A contextual-based approach for sarcasm detection

Author:

Helal Nivin A.ORCID,Hassan AhmedORCID,Badr Nagwa L.ORCID,Afify Yasmine M.ORCID

Abstract

AbstractSarcasm is a perplexing form of human expression that presents distinct challenges in understanding. The problem of sarcasm detection has centered around analyzing individual utterances in isolation which may not provide a comprehensive understanding of the speaker’s sarcastic intent. Our work addresses this problem by exploring and understanding the specific contextual cues that contribute to sarcasm. In this paper, we propose an enhanced approach for sarcasm detection using contextual features. Our methodology involves employing pre-trained transformer models, RoBERTa and DistilBERT, and fine-tuning them on two datasets: the News Headlines and the Mustard datasets. Incorporating contextual information, the proposed approach yielded the best performance, achieving an impressive F1 score of 99% on News Headlines dataset and 90% on Mustard dataset. Moreover, we experimented summarizing the context into a concise short sentence. This enhancement reduced training time by 35.5% of the original time. We further validated the model trained on the News headlines dataset against the Reddit dataset, which resulted in 49% F1 score without context data. However, with the inclusion of context data, the F1 score surged to 75%. Proposed approach enhances the understanding of sarcasm in different contextual settings, enabling more accurate sentiment analysis and better decision-making in various applications.

Funder

Ain Shams University

Publisher

Springer Science and Business Media LLC

Reference26 articles.

1. Wen, Z. et al. Sememe knowledge and auxiliary information enhanced approach for sarcasm detection. Inf. Process Manag. 59(3), 102883 (2022).

2. González-Ibánez, R., Muresan, S. & Wacholder, N. Identifying sarcasm in twitter: A closer look. In Proc. 49th Annual Meeting of the Association for Computational Linguistics: Human Language Technologies 581–586 (2011).

3. Barnes, J. et al. Proc. 12th Workshop on Computational Approaches to Subjectivity, Sentiment & Social Media Analysis (2022).

4. Abercrombie, G. & Hovy, D. Putting sarcasm detection into context: The effects of class imbalance and manual labelling on supervised machine classification of twitter conversations. In Proc. ACL 2016 Student Research Workshop 107–113 (2016).

5. Bouazizi, M. & Ohtsuki, T. O. A pattern-based approach for sarcasm detection on twitter. IEEE Access 4, 5477–5488 (2016).

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3