A novel transformer attention‐based approach for sarcasm detection

Author:

Khan Shumaila1ORCID,Qasim Iqbal1,Khan Wahab1,Aurangzeb Khursheed2,Khan Javed Ali3,Anwar Muhammad Shahid4ORCID

Affiliation:

1. Institute of CS & IT University of Science & Technology Bannu Bannu Pakistan

2. Department of Computer Engineering College of Computer and Information Sciences, King Saud University Riyadh Saudi Arabia

3. Department of Software Engineering University of Science & Technology Bannu Bannu Pakistan

4. Department of AI and Software Gachon University Seongnam‐si South Korea

Abstract

AbstractSarcasm detection is challenging in natural language processing (NLP) due to its implicit nature, particularly in low‐resource languages. Despite limited linguistic resources, researchers have focused on detecting sarcasm on social media platforms, leading to the development of specialized algorithms and models tailored for Urdu text. Researchers have significantly improved sarcasm detection accuracy by analysing patterns and linguistic cues unique to the language, thereby advancing NLP capabilities in low‐resource languages and facilitating better communication within diverse online communities. This work introduces UrduSarcasmNet, a novel architecture using cascaded group multi‐head attention, which is an innovative deep‐learning approach that employs cascaded group multi‐head attention techniques to enhance effectiveness. By employing a series of attention heads in a cascading manner, our model captures both local and global contexts, facilitating a more comprehensive understanding of the text. Adding a group attention mechanism enables simultaneous consideration of various sub‐topics within the content, thereby enriching the model's effectiveness. The proposed UrduSarcasmNet approach is validated with the Urdu‐sarcastic‐tweets‐dataset (UST) dataset, which has been curated for this purpose. Our experimental results on the UST dataset show that the proposed UrduSarcasmNet framework outperforms the simple‐attention mechanism and other state‐of‐the‐art models. This research significantly enhances natural language processing (NLP) and provides valuable insights for improving sarcasm recognition tools in low‐resource languages like Urdu.

Funder

King Saud University

Publisher

Wiley

Reference54 articles.

1. Did you really mean what you said?: Sarcasm detection in Hindi‐English code‐mixed data using bilingual word embeddings;Aggarwal A.;arXiv preprint arXiv:2010.00310,2020

2. Amir S. Wallace B. C. Lyu H. &Silva P. C. M. J.(2016).Modelling context with user embeddings for sarcasm detection in social media. arXiv preprint arXiv:1607.00976.

3. Ashish V.(2017).Attention is all you need. arXiv preprint arXiv:1706.03762.

4. Disambiguating sentiment: An ensemble of humour, sarcasm, and hate speech features for sentiment classification;Badlani R.;W‐NUT,2019

5. Bamman D. &Smith N.(2015).Contextualized sarcasm detection on twitter. In Proceedings of the international AAAI conference on web and social media vol. 9 (pp. 574–577).

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

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

www.globalauthorid.com

TOP

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