A MEMORY-EFFICIENT APPROACH FOR SARCASM DETECTION IN SOCIAL NETWORKS

Sarcasm detection in social media has become a crucial task in natural language processing (NLP), where social media has become a fundamental aspect of communication, enabling billions of users to interact, share information, and express opinions. Platforms like Facebook, Instagram, and Twitter have transformed how news and entertainment are consumed, often replacing traditional media outlets. Unlike traditional sentiment analysis, sarcasm detection requires understanding the deeper context behind a statement, as the literal meaning often contrasts with the intended sentiment. This complexity is compounded by the lack of facial expressions or vocal cues, which typically aid in detecting sarcasm in face-to-face conversations. As a result, accurately identifying sarcastic content on social media demands sophisticated models that can account for both contextual and emotional subtleties within conversations. In this work, we propose an enhanced approach for sarcasm detection that combines both conversational context and emotional cues. Our method extracts emotions from the main post and each comment surrounding a response tweet, summarizes the conversation to reduce the context size while preserving key information, and incorporates both the response and the summarized, emotion-rich context into a RoBERTa-based model for classification. We evaluate our approach on a Twitter dataset. Experimental results demonstrate that our approach, which combines summarized context and emotional cues, achieves an F1-score of 0.8374, outperforming models that use only the response or rely solely on summarized context. Furthermore, our approach significantly reduces the data size by 41%, leading to less memory usage, addressing computational challenges posed by large conversational contexts.

Authors

Institutions

Publication Details

Journal
International journal of intelligent computing and information sciences/International Journal of Intelligent Computing and Information Sciences
Published
2024-12-01
DOI
https://doi.org/10.21608/ijicis.2024.332007.1360
Primary Topic
Cybercrime and Law Enforcement Studies
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A MEMORY-EFFICIENT APPROACH FOR SARCASM DETECTION IN SOCIAL NETWORKS

Nagwa Badr, Ahmed H. Abdel-Gawad, Nivin A. Helal, Yasmine M. Afify
International journal of intelligent computing and information sciences/International Journal of Intelligent Computing and Information Sciences
Cybercrime and Law Enforcement Studies
article

A MEMORY-EFFICIENT APPROACH FOR SARCASM DETECTION IN SOCIAL NETWORKS

Nagwa Badr, Ahmed H. Abdel-Gawad, Nivin A. Helal, Yasmine M. Afify
article en

Abstract

Sarcasm detection in social media has become a crucial task in natural language processing (NLP), where social media has become a fundamental aspect of communication, enabling billions of users to interact, share information, and express opinions. Platforms like Facebook, Instagram, and Twitter have transformed how news and entertainment are consumed, often replacing traditional media outlets. Unlike traditional sentiment analysis, sarcasm detection requires understanding the deeper context behind a statement, as the literal meaning often contrasts with the intended sentiment. This complexity is compounded by the lack of facial expressions or vocal cues, which typically aid in detecting sarcasm in face-to-face conversations. As a result, accurately identifying sarcastic content on social media demands sophisticated models that can account for both contextual and emotional subtleties within conversations. In this work, we propose an enhanced approach for sarcasm detection that combines both conversational context and emotional cues. Our method extracts emotions from the main post and each comment surrounding a response tweet, summarizes the conversation to reduce the context size while preserving key information, and incorporates both the response and the summarized, emotion-rich context into a RoBERTa-based model for classification. We evaluate our approach on a Twitter dataset. Experimental results demonstrate that our approach, which combines summarized context and emotional cues, achieves an F1-score of 0.8374, outperforming models that use only the response or rely solely on summarized context. Furthermore, our approach significantly reduces the data size by 41%, leading to less memory usage, addressing computational challenges posed by large conversational contexts.

International journal of intelligent computing and information sciences/International Journal of Intelligent Computing and Information SciencesVol. 24(4)
Ain Shams University (EG)
Reduced inequalities
Openalex Percentile: Top 57%
Cybercrime and Law Enforcement Studies
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.