An advanced learning approach for detecting sarcasm in social media posts: Theory and solutions

Pradeep Kumar Roy
DOI: https://doi.org/10.1111/ssqu.13442
2024-09-19
Social Science Quarterly
Abstract:Objective Users of social media platforms such as Facebook, Instagram, and Twitter can view and share their daily life events through text, photographs, or videos. These platforms receive many sarcastic posts daily because there were fewer limits on what could be posted. The presence of multiple languages and media types in a single post makes it harder to identify sarcastic messages on the current platform than on posts written solely in English. Methods This study provides both the theory and solutions about sarcastic post detection on social platforms. Hindi–English code‐mixed data were used to train and test the automated models for sarcasm detection. The models in this study were constructed using traditional machine learning, deep neural networks, LSTM (long short‐term memory), CNN (convolutional neural network), and the combinations of BERT (Bidirectional Encoder Representations from Transformers) with LSTM. Results The experimental results confirm that in the Hindi–English code‐mixed data set, the CNN, LSTM, and BERT‐LSTM ensemble perform best for sarcasm detection. The proposed model achieved an accuracy of 96.29 percent and outperformed by 2.29 percent compared to the existing models. Conclusion The performance of the proposed system strengthens the code‐mixed sarcastic post detection on social platforms. The model will help filter not only English but also Hindi‐English code‐mixed sarcastic posts on social platforms.
sociology,political science
What problem does this paper attempt to address?