Multilingual Emotion Detection in Social Media Using an Attention-Enhanced and Explainable Machine Learning Framework

IF 4.6 2区 计算机科学 Q1 COMPUTER SCIENCE, CYBERNETICS
Muhammad Ahmad;Abubakar Siddique;Rita Orji;Segun Olatinwo;Grigori Sidorov
{"title":"Multilingual Emotion Detection in Social Media Using an Attention-Enhanced and Explainable Machine Learning Framework","authors":"Muhammad Ahmad;Abubakar Siddique;Rita Orji;Segun Olatinwo;Grigori Sidorov","doi":"10.1109/TCSS.2026.3710752","DOIUrl":null,"url":null,"abstract":"Emotions play a central role in human experience, influencing decisions, behaviors, and social interactions. Despite substantial advances in natural language processing, detecting emotions in multilingual and code-mixed texts remains challenging due to the linguistic diversity of social media users, particularly in low-resource languages. While prior work has focused mainly on monolingual approaches, with limited exploration of multilingual scenarios. This study addresses multilingual emotion detection by creating a machine learning framework enhanced with a custom attention mechanism and fine-tuning strategy. The proposed custom attention mechanism is devised to capture emotionally salient information and improve classification accuracy. Two complementary approaches are explored: 1) a joint multilingual model based on a universal emotion classifier for multiple languages; and 2) a translation-based model that standardizes all inputs into a single target language. Additionally, explainable artificial intelligence (XAI) techniques are implemented to interpret the model’s decisions and enhance transparency. To obtain a proof-of-concept, two existing datasets are transformed into three new multilingual resources with four additional emotion categories. Experiments are conducted using both conventional and advanced machine learning models—integrated with the custom attention mechanism—to evaluate the system’s effectiveness for multilingual emotion recognition tasks. The proposed model achieved superior performance, with accuracy-scores of <inline-formula><tex-math>$93.1\\%,79.6\\%$</tex-math></inline-formula>, and <inline-formula><tex-math>$93.3\\%$</tex-math></inline-formula> for augmented English, augmented Urdu, and multilingual datasets, respectively.","PeriodicalId":13044,"journal":{"name":"IEEE Transactions on Computational Social Systems","volume":"13 5","pages":"5817-5830"},"PeriodicalIF":4.6000,"publicationDate":"2026-10-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"IEEE Transactions on Computational Social Systems","FirstCategoryId":"94","ListUrlMain":"https://ieeexplore.ieee.org/document/11614447/","RegionNum":2,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2026/7/20 0:00:00","PubModel":"Epub","JCR":"Q1","JCRName":"COMPUTER SCIENCE, CYBERNETICS","Score":null,"Total":0}
引用次数: 0

Abstract

Emotions play a central role in human experience, influencing decisions, behaviors, and social interactions. Despite substantial advances in natural language processing, detecting emotions in multilingual and code-mixed texts remains challenging due to the linguistic diversity of social media users, particularly in low-resource languages. While prior work has focused mainly on monolingual approaches, with limited exploration of multilingual scenarios. This study addresses multilingual emotion detection by creating a machine learning framework enhanced with a custom attention mechanism and fine-tuning strategy. The proposed custom attention mechanism is devised to capture emotionally salient information and improve classification accuracy. Two complementary approaches are explored: 1) a joint multilingual model based on a universal emotion classifier for multiple languages; and 2) a translation-based model that standardizes all inputs into a single target language. Additionally, explainable artificial intelligence (XAI) techniques are implemented to interpret the model’s decisions and enhance transparency. To obtain a proof-of-concept, two existing datasets are transformed into three new multilingual resources with four additional emotion categories. Experiments are conducted using both conventional and advanced machine learning models—integrated with the custom attention mechanism—to evaluate the system’s effectiveness for multilingual emotion recognition tasks. The proposed model achieved superior performance, with accuracy-scores of $93.1\%,79.6\%$, and $93.3\%$ for augmented English, augmented Urdu, and multilingual datasets, respectively.
使用注意力增强和可解释的机器学习框架的社交媒体多语言情感检测
情感在人类经历中扮演着核心角色,影响着决策、行为和社会互动。尽管在自然语言处理方面取得了实质性进展,但由于社交媒体用户的语言多样性,特别是在资源匮乏的语言中,检测多语言和代码混合文本中的情绪仍然具有挑战性。而先前的工作主要集中在单语方法上,对多语场景的探索有限。本研究通过创建一个带有自定义注意机制和微调策略的机器学习框架来解决多语言情感检测问题。所提出的自定义注意机制旨在捕获情感显著信息,提高分类精度。本文探索了两种互补的方法:1)基于多语言通用情感分类器的联合多语言模型;2)基于翻译的模型,将所有输入标准化为单一目标语言。此外,实现了可解释的人工智能(XAI)技术来解释模型的决策并提高透明度。为了获得概念验证,将两个现有数据集转换为三个新的多语言资源,其中包含四个额外的情感类别。实验使用传统和先进的机器学习模型-与自定义注意机制集成-来评估系统在多语言情感识别任务中的有效性。所提出的模型取得了优异的性能,在增强英语、增强乌尔都语和多语言数据集上的准确率分别为93.1%、79.6%和93.3%。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
IEEE Transactions on Computational Social Systems
IEEE Transactions on Computational Social Systems Social Sciences-Social Sciences (miscellaneous)
CiteScore
10.00
自引率
20.00%
发文量
316
期刊介绍: IEEE Transactions on Computational Social Systems focuses on such topics as modeling, simulation, analysis and understanding of social systems from the quantitative and/or computational perspective. "Systems" include man-man, man-machine and machine-machine organizations and adversarial situations as well as social media structures and their dynamics. More specifically, the proposed transactions publishes articles on modeling the dynamics of social systems, methodologies for incorporating and representing socio-cultural and behavioral aspects in computational modeling, analysis of social system behavior and structure, and paradigms for social systems modeling and simulation. The journal also features articles on social network dynamics, social intelligence and cognition, social systems design and architectures, socio-cultural modeling and representation, and computational behavior modeling, and their applications.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书