Back to Search Start Over

Detecting sarcasm in multi-domain datasets using convolutional neural networks and long short term memory network model

Authors :
Eysha Saad
Ramish Jamil
Furqan Rustam
Gyu Sang Choi
Imran Ashraf
Arif Mehmood
Source :
PeerJ Computer Science, Vol 7, p e645 (2021), PeerJ Computer Science
Publication Year :
2021
Publisher :
PeerJ Inc., 2021.

Abstract

Sarcasm emerges as a common phenomenon across social networking sites because people express their negative thoughts, hatred and opinions using positive vocabulary which makes it a challenging task to detect sarcasm. Although various studies have investigated the sarcasm detection on baseline datasets, this work is the first to detect sarcasm from a multi-domain dataset that is constructed by combining Twitter and News Headlines datasets. This study proposes a hybrid approach where the convolutional neural networks (CNN) are used for feature extraction while the long short-term memory (LSTM) is trained and tested on those features. For performance analysis, several machine learning algorithms such as random forest, support vector classifier, extra tree classifier and decision tree are used. The performance of both the proposed model and machine learning algorithms is analyzed using the term frequency-inverse document frequency, bag of words approach, and global vectors for word representations. Experimental results indicate that the proposed model surpasses the performance of the traditional machine learning algorithms with an accuracy of 91.60%. Several state-of-the-art approaches for sarcasm detection are compared with the proposed model and results suggest that the proposed model outperforms these approaches concerning the precision, recall and F1 scores. The proposed model is accurate, robust, and performs sarcasm detection on a multi-domain dataset.

Details

Language :
English
ISSN :
23765992
Volume :
7
Database :
OpenAIRE
Journal :
PeerJ Computer Science
Accession number :
edsair.doi.dedup.....412b910860b68b21a526e4ef5d7e3ede