Spatial functional organization is a hallmark of biological brains: neurons are arranged topographically according to their response properties, at multiple scales. In contrast, representations within most machine learning models lack spatial biases, instead manifesting as disorganized vector spaces that are difficult to visualize and interpret. Here, we propose a novel form of self-attention that turns Transformers into "Topoformers" with topographic organization. We introduce spatial querying - where keys and queries are arranged on 2D grids, and local pools of queries are associated with a given key - and spatial reweighting, where we convert the standard fully connected layer of self-attention into a locally connected layer. We first demonstrate the feasibility of our approach by training a 1-layer Topoformer on a sentiment classification task. Training with spatial querying encourages topographic organization in the queries and keys, and spatial reweighting separately encourages topographic organization in the values and self-attention outputs. We then apply the Topoformer motifs at scale, training a BERT architecture with a masked language modeling objective. We find that the topographic variant performs on par with a non-topographic control model on NLP benchmarks, yet produces interpretable topographic organization as evaluated via eight linguistic test suites. Finally, analyzing an fMRI dataset of human brain responses to a large set of naturalistic sentences, we demonstrate alignment between low-dimensional topographic variability in the Topoformer model and human brain language network. Scaling up Topoformers further holds promise for greater interpretability in NLP research, and for more accurate models of the organization of linguistic information in the human brain.
空间功能组织是生物大脑的一个显著特征:根据神经元的响应特性,它们在多个尺度上按拓扑结构排列。相比之下,大多数机器学习模型中的表示缺乏空间偏差,反而表现为难以可视化和解释的无序向量空间。在这里,我们提出了一种新颖的自我注意形式,将Transformer转化为具有拓扑组织的"Topoformer"。我们引入了空间查询——其中键和查询在二维网格上排列,并且特定键与局部查询池相关联——以及空间重新加权,即将自注意力的标准全连接层转换为局部连接层。首先,我们通过在一个情感分类任务上训练一个单层的Topoformer来证明我们的方法的可行性。使用空间查询进行训练鼓励在查询和键中形成拓扑组织,并且空间重新加权单独地促进了值和自我注意输出中的拓扑组织。然后,我们在大规模上应用了Topoformer模式,在BERT架构的基础上以掩码语言建模为目标进行了训练。我们发现,拓扑变体在NLP基准测试中与非拓扑对照模型的表现相当,但通过八套语言测试评估时产生了可解释的拓扑结构。最后,通过对大量自然句子的人脑功能磁共振成像(fMRI)数据集进行分析,我们展示了Topoformer模型中的低维拓扑变化与人类大脑语言网络之间的对齐关系。扩大Topoformers的规模有望进一步提高NLP研究的可解释性,并为更好地描述人脑中语言信息组织提供更准确的模型。
https://arxiv.org/abs/2510.18745
Proverbs are among the most fascinating linguistic phenomena that transcend cultural and linguistic boundaries. Yet, much of the global landscape of proverbs remains underexplored, as many cultures preserve their traditional wisdom within their own communities due to the oral tradition of the phenomenon. Taking advantage of the current advances in Natural Language Processing (NLP), we focus on Greek proverbs, analyzing their sentiment. Departing from an annotated dataset of Greek proverbs, we expand it to include local dialects, effectively mapping the annotated sentiment. We present (1) a way to exploit LLMs in order to perform sentiment classification of proverbs, (2) a map of Greece that provides an overview of the distribution of sentiment, (3) a combinatory analysis in terms of the geographic position, dialect, and topic of proverbs. Our findings show that LLMs can provide us with an accurate enough picture of the sentiment of proverbs, especially when approached as a non-conventional sentiment polarity task. Moreover, in most areas of Greece negative sentiment is more prevalent.
谚语是跨越文化和语言界限的最迷人的语言现象之一。然而,全球谚语图景中的许多部分仍然未被充分探索,因为许多文化由于这种现象的传统口头传统,将它们的传统智慧保存在自己的社区内。利用当前自然语言处理(NLP)领域的进展,我们专注于希腊谚语,并对其情感进行分析。基于一个已标注的希腊谚语数据集,我们将该数据集扩展到包括地方方言,从而有效地绘制了情感标注图。 我们提出了以下内容: 1. 利用大型语言模型(LLMs)来执行谚语的情感分类; 2. 一张展示希腊各地情感分布的地图; 3. 结合地理位置、方言和话题进行的组合分析。 我们的研究发现表明,LLM可以为我们提供足够准确的谚语情感画面,特别是在将其视为非传统的情感极性任务时。此外,在希腊的大部分地区,负面情绪更为普遍。
https://arxiv.org/abs/2510.13341
Ensuring fairness in natural language processing for moral sentiment classification is challenging, particularly under cross-domain shifts where transformer models are increasingly deployed. Using the Moral Foundations Twitter Corpus (MFTC) and Moral Foundations Reddit Corpus (MFRC), this work evaluates BERT and DistilBERT in a multi-label setting with in-domain and cross-domain protocols. Aggregate performance can mask disparities: we observe pronounced asymmetry in transfer, with Twitter->Reddit degrading micro-F1 by 14.9% versus only 1.5% for Reddit->Twitter. Per-label analysis reveals fairness violations hidden by overall scores; notably, the authority label exhibits Demographic Parity Differences of 0.22-0.23 and Equalized Odds Differences of 0.40-0.41. To address this gap, we introduce the Moral Fairness Consistency (MFC) metric, which quantifies the cross-domain stability of moral foundation detection. MFC shows strong empirical validity, achieving a perfect negative correlation with Demographic Parity Difference (rho = -1.000, p < 0.001) while remaining independent of standard performance metrics. Across labels, loyalty demonstrates the highest consistency (MFC = 0.96) and authority the lowest (MFC = 0.78). These findings establish MFC as a complementary, diagnosis-oriented metric for fairness-aware evaluation of moral reasoning models, enabling more reliable deployment across heterogeneous linguistic contexts. .
确保在道德情感分类中的自然语言处理的公平性是一项挑战,尤其是在变换器模型日益被部署的情况下。当出现跨域转移时,这一问题尤为突出。本研究使用《道德基础推特语料库》(MFTC)和《道德基础Reddit语料库》(MFRC),在多标签设置下评估了BERT和DistilBERT模型,并采用了同领域及跨领域的协议。总体性能掩盖不平等:我们观察到显著的转移不对称,从Twitter到Reddit的微F1得分下降了14.9%,而从Reddit到Twitter则只下降了1.5%。按标签分析揭示了一些整体分数所未能显现出来的公平性问题;特别地,“权威”这一标签在不同人口统计学中的表现差异显著,其人口均衡差异为0.22-0.23,平等机会差异为0.40-0.41。 为了填补这项空白,我们引入了道德公平一致性(MFC)指标,以量化道德基础检测的跨域稳定性。MFC在经验验证中表现出很强的有效性,与人口均衡差异呈完美的负相关关系(rho = -1.000, p < 0.001),同时保持独立于标准性能度量。 各项标签下,“忠诚”表现出了最高的一致性(MFC = 0.96)而“权威”则最低(MFC = 0.78)。这些发现确立了MFC作为一个补充的、以诊断为导向的公平性评估指标的地位,有助于在异质语言环境中实现道德推理模型更可靠的部署。
https://arxiv.org/abs/2510.11222
The global impact of the COVID-19 pandemic has highlighted the need for a comprehensive understanding of public sentiment and reactions. Despite the availability of numerous public datasets on COVID-19, some reaching volumes of up to 100 billion data points, challenges persist regarding the availability of labeled data and the presence of coarse-grained or inappropriate sentiment labels. In this paper, we introduce SenWave, a novel fine-grained multi-language sentiment analysis dataset specifically designed for analyzing COVID-19 tweets, featuring ten sentiment categories across five languages. The dataset comprises 10,000 annotated tweets each in English and Arabic, along with 30,000 translated tweets in Spanish, French, and Italian, derived from English tweets. Additionally, it includes over 105 million unlabeled tweets collected during various COVID-19 waves. To enable accurate fine-grained sentiment classification, we fine-tuned pre-trained transformer-based language models using the labeled tweets. Our study provides an in-depth analysis of the evolving emotional landscape across languages, countries, and topics, revealing significant insights over time. Furthermore, we assess the compatibility of our dataset with ChatGPT, demonstrating its robustness and versatility in various applications. Our dataset and accompanying code are publicly accessible on the repository\footnote{this https URL}. We anticipate that this work will foster further exploration into fine-grained sentiment analysis for complex events within the NLP community, promoting more nuanced understanding and research innovations.
COVID-19大流行对全球的影响凸显了全面理解公众情绪和反应的必要性。尽管有大量关于COVID-19的公共数据集可用,其中一些包含多达100亿个数据点,但仍有挑战存在,特别是在标记数据的可用性和粗粒度或不适当的感情标签方面。在本文中,我们介绍了SenWave,这是一个新颖的细粒度多语言情感分析数据集,专门用于分析COVID-19推文,涵盖了五种语言中的十个情绪类别。该数据集包括每种英语和阿拉伯语各10,000条标注推文,以及从英语推文中翻译出的30,000条西班牙语、法语和意大利语推文。此外,它还包括在各种COVID-19浪潮中收集到的大约1.05亿条未标记的推文。为了实现准确的细粒度情感分类,我们使用标注过的推文对预训练的基于转换器的语言模型进行了微调。我们的研究深入分析了跨语言、国家和地区的情绪演变情况,并随着时间的推移揭示了一些重要的见解。此外,我们还评估了我们的数据集与ChatGPT的兼容性,证明其在各种应用中的稳健性和多功能性。我们的数据集和配套代码可公开访问于该存储库\footnote{this https URL}。我们预计这项工作将促进自然语言处理社区对复杂事件中细粒度情感分析进一步探索,推动更细腻的理解和研究创新。
https://arxiv.org/abs/2510.08214
Sentiment analysis is an essential part of text analysis, which is a larger field that includes determining and evaluating the author's emotional state. This method is essential since it makes it easier to comprehend consumers' feelings, viewpoints, and preferences holistically. The introduction of large language models (LLMs), such as Llama, has greatly increased the availability of cutting-edge model applications, such as sentiment analysis. However, accurate sentiment analysis is hampered by the intricacy of written language and the diversity of languages used in evaluations. The viability of using transformer-based BERT models and other LLMs for sentiment analysis from Bangladesh e commerce reviews is investigated in this paper. A subset of 4000 samples from the original dataset of Bangla and English customer reviews was utilized to fine-tune the model. The fine tuned Llama-3.1-8B model outperformed other fine-tuned models, including Phi-3.5-mini-instruct, Mistral-7B-v0.1, DistilBERT-multilingual, mBERT, and XLM-R-base, with an overall accuracy, precision, recall, and F1 score of 95.5%, 93%, 88%, 90%. The study emphasizes how parameter efficient fine-tuning methods (LoRA and PEFT) can lower computational overhead and make it appropriate for contexts with limited resources. The results show how LLMs can
情感分析是文本分析的一个重要组成部分,而文本分析则涵盖了确定和评估作者的情感状态。这种方法至关重要,因为它使得更全面地理解消费者的情绪、观点和偏好变得更容易。大型语言模型(LLMs)的引入,如Llama,极大地提高了尖端模型应用的可用性,包括情感分析。然而,书面语言的复杂性和评价中所使用语言的多样性阻碍了准确的情感分析。本文研究了在孟加拉国电子商务评论中使用基于变压器的BERT模型和其他大型语言模型进行情感分析的可能性。我们从包含孟加拉语和英语客户评论的原始数据集中选取了一部分共4000个样本,用于微调这些模型。微调后的Llama-3.1-8B模型在整体准确率、精确度、召回率以及F1分数上均优于其他微调过的模型(包括Phi-3.5-mini-instruct, Mistral-7B-v0.1, DistilBERT-multilingual, mBERT和XLM-R-base),分别达到了95.5%,93%,88%和90%。研究强调了参数高效的微调方法(如LoRA和PEFT)如何能够降低计算开销,并使之适应资源有限的环境。实验结果表明,大型语言模型可以有效应用于情感分析任务中,特别是在多语言场景下展现出强大的性能潜力。 总结: 该研究展示了在孟加拉国电子商务评论的情感分析领域使用大规模预训练模型(如Llama-3.1-8B)进行微调的有效性,并且通过实验验证了这些方法的参数效率优势。此外,结果还表明,大型语言模型能够提供更准确和全面的理解,有助于更好地服务于资源受限的情境下的应用需求。
https://arxiv.org/abs/2510.01276
Aspect-based sentiment analysis (ABSA) in natural language processing enables organizations to understand customer opinions on specific product aspects. While deep learning models are widely used for English ABSA, their application in Arabic is limited due to the scarcity of labeled data. Researchers have attempted to tackle this issue by using pre-trained contextualized language models such as BERT. However, these models are often based on fact-based data, which can introduce bias in domain-specific tasks like ABSA. To our knowledge, no studies have applied adaptive pre-training with Arabic contextualized models for ABSA. This research proposes a novel approach using domain-adaptive pre-training for aspect-sentiment classification (ASC) and opinion target expression (OTE) extraction. We examine fine-tuning strategies - feature extraction, full fine-tuning, and adapter-based methods - to enhance performance and efficiency, utilizing multiple adaptation corpora and contextualized models. Our results show that in-domain adaptive pre-training yields modest improvements. Adapter-based fine-tuning is a computationally efficient method that achieves competitive results. However, error analyses reveal issues with model predictions and dataset labeling. In ASC, common problems include incorrect sentiment labeling, misinterpretation of contrastive markers, positivity bias for early terms, and challenges with conflicting opinions and subword tokenization. For OTE, issues involve mislabeling targets, confusion over syntactic roles, difficulty with multi-word expressions, and reliance on shallow heuristics. These findings underscore the need for syntax- and semantics-aware models, such as graph convolutional networks, to more effectively capture long-distance relations and complex aspect-based opinion alignments.
在自然语言处理领域,基于方面的情感分析(ABSA)使组织能够理解客户对产品特定方面的意见。虽然深度学习模型广泛用于英语的ABSA任务,但由于缺乏标注数据,在阿拉伯语中的应用却受到限制。研究人员尝试通过使用像BERT这样的预训练上下文化语言模型来解决这一问题。然而,这些基于事实的数据的模型在领域特定任务如ABSA中可能引入偏差。据我们所知,尚未有研究将自适应预训练与阿拉伯语上下文化模型应用于ABSA。 这项研究提出了一种新颖的方法,使用领域自适应预训练来进行方面情感分类(ASC)和意见目标表达(OTE)提取。我们探讨了三种微调策略:特征抽取、全量微调以及基于适配器的方法,以提高性能和效率,并利用多种适应语料库和上下文化模型进行测试。我们的结果显示,在领域内自适应预训练可获得适度改进。基于适配器的微调是一种计算效率高的方法,能够取得竞争性的结果。然而,错误分析揭示了与模型预测及数据集标注有关的问题。 在ASC中,常见问题包括情感标签不正确、对比标志误读、早期术语积极偏见以及对立意见和子词分词的挑战。对于OTE而言,则涉及目标标记不正确、句法角色混淆、多词表达困难以及对浅层启发式方法依赖等问题。这些发现强调了使用语法和语义感知模型(如图卷积网络)以更有效地捕捉长距离关系及复杂的基于方面意见对齐的重要性。
https://arxiv.org/abs/2509.16788
Large language models are increasingly deployed across diverse applications. This often includes tasks LLMs have not encountered during training. This implies that enumerating and obtaining the high-quality training data for all tasks is infeasible. Thus, we often need to rely on transfer learning using datasets with different characteristics, and anticipate out-of-distribution requests. Motivated by this practical need, we propose an analysis framework, building a transfer learning matrix and dimensionality reduction, to dissect these cross-task interactions. We train and analyze 10 models to identify latent abilities (e.g., Reasoning, Sentiment Classification, NLU, Arithmetic) and discover the side effects of the transfer learning. Our findings reveal that performance improvements often defy explanations based on surface-level dataset similarity or source data quality. Instead, hidden statistical factors of the source dataset, such as class distribution and generation length proclivities, alongside specific linguistic features, are actually more influential. This work offers insights into the complex dynamics of transfer learning, paving the way for more predictable and effective LLM adaptation.
大型语言模型在各种应用中越来越广泛地部署。这通常包括那些在训练过程中未遇到的任务。这意味着为所有任务枚举并获取高质量的训练数据是不可行的。因此,我们常常需要依赖于使用具有不同特征的数据集进行迁移学习,并且要预料到分布外请求的情况。出于这一实际需求,我们提出了一种分析框架,构建一个转移学习矩阵和维度缩减,以剖析这些跨任务交互。通过训练并分析10个模型来识别潜在的能力(如推理、情感分类、自然语言理解、算术),我们发现迁移学习的副作用。我们的研究结果表明,性能提升往往无法用基于表面数据集相似性或源数据质量的解释来充分说明。相反,源数据集中隐藏的统计因素,例如类别分布和生成长度倾向,以及特定的语言特征实际上更具影响力。这项工作提供了对迁移学习复杂动态的理解,并为更可预测且有效的大型语言模型适应铺平了道路。
https://arxiv.org/abs/2509.13624
Financial news sentiment analysis is crucial for anticipating market movements. With the rise of AI techniques such as Large Language Models (LLMs), which demonstrate strong text understanding capabilities, there has been renewed interest in enhancing these systems. Existing methods, however, often struggle to capture the complex economic context of news and lack transparent reasoning, which undermines their reliability. We propose Analogy-Driven Financial Chain-of-Thought (AD-FCoT), a prompting framework that integrates analogical reasoning with chain-of-thought (CoT) prompting for sentiment prediction on historical financial news. AD-FCoT guides LLMs to draw parallels between new events and relevant historical scenarios with known outcomes, embedding these analogies into a structured, step-by-step reasoning chain. To our knowledge, this is among the first approaches to explicitly combine analogical examples with CoT reasoning in finance. Operating purely through prompting, AD-FCoT requires no additional training data or fine-tuning and leverages the model's internal financial knowledge to generate rationales that mirror human analytical reasoning. Experiments on thousands of news articles show that AD-FCoT outperforms strong baselines in sentiment classification accuracy and achieves substantially higher correlation with market returns. Its generated explanations also align with domain expertise, providing interpretable insights suitable for real-world financial analysis.
财务新闻情绪分析对于预测市场走势至关重要。随着人工智能技术,如大型语言模型(LLMs)的兴起,这些技术展现出强大的文本理解能力,增强了改进此类系统的兴趣。然而,现有的方法往往难以捕捉复杂的经济背景,并且缺乏透明的推理过程,这削弱了它们的可靠性。我们提出了一个基于类比驱动的金融链式思维(AD-FCoT)框架,该框架将类比推理与链式思考(CoT)提示结合在一起,用于对历史财务新闻的情绪预测。通过引导大型语言模型在新事件和相关的历史场景之间建立联系,并利用这些历史场景已知的结果构建结构化的、逐步的推理链条,AD-FCoT能够提升情绪分析的准确性。 据我们所知,这种方法是首个明确将类比示例与CoT推理相结合应用于金融领域的尝试。AD-FCoT完全依靠提示操作,并不需要额外的数据训练或微调,而是利用模型内部的财务知识生成类似于人类分析师的解释性理由。实验结果表明,在对数千篇新闻文章进行分析后,AD-FCoT在情绪分类准确性方面超越了强大的基准方法,并且与市场收益的相关度显著提高。此外,其生成的解释也符合领域专家的知识,提供了适合实际金融分析的可解释见解。 该框架不仅提高了财务新闻情绪预测的准确性和透明性,而且还增强了模型输出结果的应用价值,为金融市场投资者和分析师提供更加可靠的工具和支持。
https://arxiv.org/abs/2509.12611
Entity-level sentiment classification involves identifying the sentiment polarity linked to specific entities within text. This task poses several challenges: effectively modeling the subtle and complex interactions between entities and their surrounding sentiment expressions; capturing dependencies that may span across sentences; and ensuring consistent sentiment predictions for multiple mentions of the same entity through coreference resolution. Additionally, linguistic phenomena such as negation, ambiguity, and overlapping opinions further complicate the analysis. These complexities make entity-level sentiment classification a difficult problem, especially in real-world, noisy textual data. To address these issues, we propose SpanEIT, a novel framework integrating dynamic span interaction and graph-aware memory mechanisms for enhanced entity-sentiment relational modeling. SpanEIT builds span-based representations for entities and candidate sentiment phrases, employs bidirectional attention for fine-grained interactions, and uses a graph attention network to capture syntactic and co-occurrence relations. A coreference-aware memory module ensures entity-level consistency across documents. Experiments on FSAD, BARU, and IMDB datasets show SpanEIT outperforms state-of-the-art transformer and hybrid baselines in accuracy and F1 scores. Ablation and interpretability analyses validate the effectiveness of our approach, underscoring its potential for fine-grained sentiment analysis in applications like social media monitoring and customer feedback analysis.
实体级别的情感分类涉及识别文本中特定实体所关联的情感极性。这一任务面临几个挑战:有效建模实体与其周围情感表达之间的细微和复杂交互;捕捉可能跨越句子的情感依赖关系;以及通过共指解析确保同一实体的多次提及具有一致的情感预测。此外,语言现象如否定、歧义及重叠意见进一步增加了分析难度。这些复杂性使得实体级别的文本情感分类成为一个难题,特别是在现实世界中的嘈杂文本数据中更为明显。 为了应对这些问题,我们提出了一种名为SpanEIT的新框架,该框架集成了动态跨度互动和图感知内存机制,以增强对实体-情感关系的建模。SpanEIT构建了基于跨度的实体及候选情感短语表示,并采用双向注意力机制来实现细粒度交互,同时使用图形注意力网络捕获句法和共现关系。一个能够识别共指关系的记忆模块确保了文档中同一实体的情感一致性。 在FSAD、BARU和IMDB数据集上的实验表明,SpanEIT在准确率和F1分数上优于现有的变压器和混合基准模型。消融分析及可解释性研究验证了我们方法的有效性,并强调其在社交网络监控与客户反馈分析等应用中进行细粒度情感分析的潜力。
https://arxiv.org/abs/2509.11604
This study presents the first multi-platform sentiment analysis of public opinion on the 15-minute city concept across Twitter, Reddit, and news media. Using compressed transformer models and Llama-3-8B for annotation, we classify sentiment across heterogeneous text domains. Our pipeline handles long-form and short-form text, supports consistent annotation, and enables reproducible evaluation. We benchmark five models (DistilRoBERTa, DistilBERT, MiniLM, ELECTRA, TinyBERT) using stratified 5-fold cross-validation, reporting F1-score, AUC, and training time. DistilRoBERTa achieved the highest F1 (0.8292), TinyBERT the best efficiency, and MiniLM the best cross-platform consistency. Results show News data yields inflated performance due to class imbalance, Reddit suffers from summarization loss, and Twitter offers moderate challenge. Compressed models perform competitively, challenging assumptions that larger models are necessary. We identify platform-specific trade-offs and propose directions for scalable, real-world sentiment classification in urban planning discourse.
本研究首次对“15分钟城市”概念在Twitter、Reddit和新闻媒体上的公众意见进行了多平台情感分析。我们使用压缩的Transformer模型和Llama-3-8B进行注释,能够跨异构文本领域分类情感。我们的工作流程处理长格式和短格式文本,支持一致的注释,并使可重复性评估成为可能。通过分层五折交叉验证对五个模型(DistilRoBERTa、DistilBERT、MiniLM、ELECTRA、TinyBERT)进行基准测试,报告F1分数、AUC值和训练时间。其中,DistilRoBERTa取得了最高的F1得分(0.8292),而TinyBERT则在效率方面表现最佳,MiniLM表现出最佳的跨平台一致性。结果表明,新闻数据由于类别不平衡而导致性能虚高,Reddit因总结损失而受到影响,Twitter提供了适度的挑战性。压缩模型的表现竞争激烈,挑战了更大规模模型必不可少的假设。我们识别出各平台特定的权衡,并提出方向以在城市规划讨论中实现可扩展且现实的情感分类。
https://arxiv.org/abs/2509.11443
Target-oriented multimodal sentiment classification seeks to predict sentiment polarity for specific targets from image-text pairs. While existing works achieve competitive performance, they often over-rely on textual content and fail to consider dataset biases, in particular word-level contextual biases. This leads to spurious correlations between text features and output labels, impairing classification accuracy. In this paper, we introduce a novel counterfactual-enhanced debiasing framework to reduce such spurious correlations. Our framework incorporates a counterfactual data augmentation strategy that minimally alters sentiment-related causal features, generating detail-matched image-text samples to guide the model's attention toward content tied to sentiment. Furthermore, for learning robust features from counterfactual data and prompting model decisions, we introduce an adaptive debiasing contrastive learning mechanism, which effectively mitigates the influence of biased words. Experimental results on several benchmark datasets show that our proposed method outperforms state-of-the-art baselines.
以目标为导向的多模态情感分类旨在从图像-文本对中预测特定目标的情感极性。尽管现有研究已经取得了竞争性的性能,但它们往往过度依赖于文本内容,并且未能考虑数据集中的偏差,尤其是词级别的上下文偏见。这导致了文本特征与输出标签之间的虚假相关性,从而损害了分类的准确性。在本文中,我们引入了一种新颖的反事实增强去偏框架,以减少此类虚假相关性。我们的框架结合了一个反事实数据扩充策略,该策略最小程度地修改情感相关的因果特征,并生成细节匹配的图像-文本样本,引导模型关注与情感内容相关的内容。此外,为了从反事实数据中学习稳健的功能并提示模型决策,我们引入了一种自适应去偏对比学习机制,这有效地减轻了有偏差单词的影响。在几个基准数据集上的实验结果表明,我们提出的方法优于现有的最先进基线方法。
https://arxiv.org/abs/2509.09160
Sentiment classification in short text datasets faces significant challenges such as class imbalance, limited training samples, and the inherent subjectivity of sentiment labels -- issues that are further intensified by the limited context in short texts. These factors make it difficult to resolve ambiguity and exacerbate data sparsity, hindering effective learning. In this paper, we evaluate the effectiveness of small Transformer-based models (i.e., BERT and RoBERTa, with fewer than 1 billion parameters) for multi-label sentiment classification, with a particular focus on short-text settings. Specifically, we evaluated three key factors influencing model performance: (1) continued domain-specific pre-training, (2) data augmentation using automatically generated examples, specifically generative data augmentation, and (3) architectural variations of the classification head. Our experiment results show that data augmentation improves classification performance, while continued pre-training on augmented datasets can introduce noise rather than boost accuracy. Furthermore, we confirm that modifications to the classification head yield only marginal benefits. These findings provide practical guidance for optimizing BERT-based models in resource-constrained settings and refining strategies for sentiment classification in short-text datasets.
在短文本数据集上进行情感分类面临诸如类别不平衡、训练样本有限以及情感标签主观性强等重大挑战,这些问题因短文中上下文信息的局限性而变得更加复杂。这些因素使得解决模棱两可的问题变得困难,并加剧了数据稀疏性,从而阻碍了有效的学习过程。在这篇论文中,我们评估了基于小规模Transformer模型(即参数数量少于10亿个的BERT和RoBERTa)在多标签情感分类任务中的有效性,特别是在处理短文本场景时的效果。具体来说,我们重点研究了影响模型性能的三个关键因素:(1) 在特定领域内进行持续预训练;(2) 使用自动生成样例的数据增强技术(特别是利用生成式数据增强方法);以及 (3) 分类头的设计变体。 我们的实验结果显示,在短文本情感分类中,数据增强可以显著提高模型的分类性能。然而,继续在扩充后的数据集上进行预训练可能会引入噪声而不是提升准确率。此外,我们确认对分类头部所做的修改仅带来了边际效益。 这些发现为优化资源受限环境下的BERT及其衍生模型提供了实用指导,并有助于完善针对短文本情感分类策略的方法论。
https://arxiv.org/abs/2509.04982
With the increasing prevalence of multimodal content on social media, sentiment analysis faces significant challenges in effectively processing heterogeneous data and recognizing multi-label emotions. Existing methods often lack effective cross-modal fusion and external knowledge integration. We propose SentiMM, a novel multi-agent framework designed to systematically address these challenges. SentiMM processes text and visual inputs through specialized agents, fuses multimodal features, enriches context via knowledge retrieval, and aggregates results for final sentiment classification. We also introduce SentiMMD, a large-scale multimodal dataset with seven fine-grained sentiment categories. Extensive experiments demonstrate that SentiMM achieves superior performance compared to state-of-the-art baselines, validating the effectiveness of our structured approach.
随着社交媒体上多模态内容的日益普及,情感分析面临着在处理异质数据和识别多标签情绪方面的重要挑战。现有的方法往往缺乏有效的跨模式融合和外部知识整合能力。为此,我们提出了SentiMM,这是一个旨在系统地解决这些问题的新颖多代理框架。SentiMM通过专门的代理来处理文本和视觉输入,融合多模态特征,并通过知识检索丰富上下文信息,最后聚合结果以进行最终的情感分类。 为了支持这一研究,我们还引入了SentiMMD,这是一个包含七个细粒度情感类别的大规模多模态数据集。广泛的实验表明,与最先进的基线方法相比,SentiMM在性能上表现出显著优势,这验证了我们的结构化方法的有效性。
https://arxiv.org/abs/2508.18108
Despite the overwhelming performance improvements offered by recent natural language procesing (NLP) models, the decisions made by these models are largely a black box. Towards closing this gap, the field of causal NLP combines causal inference literature with modern NLP models to elucidate causal effects of text features. We replicate and extend Bansal et al's work on regularizing text classifiers to adhere to estimated effects, focusing instead on model interpretability. Specifically, we focus on developing a two-headed RieszNet-based neural network architecture which achieves better treatment effect estimation accuracy. Our framework, CausalSent, accurately predicts treatment effects in semi-synthetic IMDB movie reviews, reducing MAE of effect estimates by 2-3x compared to Bansal et al's MAE on synthetic Civil Comments data. With an ensemble of validated models, we perform an observational case study on the causal effect of the word "love" in IMDB movie reviews, finding that the presence of the word "love" causes a +2.9% increase in the probability of a positive sentiment.
尽管最近的自然语言处理(NLP)模型提供了显著的性能改进,但这些模型做出决策的过程仍然很大程度上是一个黑盒。为了填补这一空白,因果NLP领域将因果推理文献与现代NLP模型结合在一起,以阐明文本特征的因果效应。我们复制并扩展了Bansal等人关于通过正则化使文本分类器遵循估计效果的工作,并侧重于提高模型可解释性。具体而言,我们专注于开发一种基于RieszNet的双头神经网络架构,该架构在治疗效果估计准确性方面表现更好。 我们的框架CausalSent能够在半合成IMDB电影评论数据上准确预测治疗效应,与Bansal等人在合成Civil Comments数据上的平均绝对误差(MAE)相比,我们对效果估计的MAE减少了2到3倍。通过使用一组经过验证的模型进行集合分析,我们在IMDB电影评论中进行了观察性案例研究,以探究单词“love”的因果效应,发现该词的存在使正面情感的概率增加了+2.9%。
https://arxiv.org/abs/2508.17576
Understanding how visual content communicates sentiment is critical in an era where online interaction is increasingly dominated by this kind of media on social platforms. However, this remains a challenging problem, as sentiment perception is closely tied to complex, scene-level semantics. In this paper, we propose an original framework, MLLMsent, to investigate the sentiment reasoning capabilities of Multimodal Large Language Models (MLLMs) through three perspectives: (1) using those MLLMs for direct sentiment classification from images; (2) associating them with pre-trained LLMs for sentiment analysis on automatically generated image descriptions; and (3) fine-tuning the LLMs on sentiment-labeled image descriptions. Experiments on a recent and established benchmark demonstrate that our proposal, particularly the fine-tuned approach, achieves state-of-the-art results outperforming Lexicon-, CNN-, and Transformer-based baselines by up to 30.9%, 64.8%, and 42.4%, respectively, across different levels of evaluators' agreement and sentiment polarity categories. Remarkably, in a cross-dataset test, without any training on these new data, our model still outperforms, by up to 8.26%, the best runner-up, which has been trained directly on them. These results highlight the potential of the proposed visual reasoning scheme for advancing affective computing, while also establishing new benchmarks for future research.
理解视觉内容如何传达情感在社交媒体平台上这种媒体形式主导在线互动的时代至关重要。然而,这仍然是一个挑战性问题,因为情感感知与复杂的场景级语义紧密相关。为此,本文提出了一种原创框架MLLMsent,用于通过三种视角来研究多模态大型语言模型(MLLM)的情感推理能力:(1)直接使用这些MLLM从图像进行情感分类;(2)将它们与预训练的语言模型关联起来,在自动产生的图像描述上进行情感分析;以及 (3)在带有情感标签的图像描述上对语言模型进行微调。实验表明,基于最近且已被确立的基准测试,我们的提案——尤其是微调方法——实现了最先进的结果,分别比词典、CNN和Transformer基线方法提高了高达30.9%、64.8% 和 42.4%,在不同级别的评估者共识和情感极性类别中均表现出色。特别值得注意的是,在跨数据集测试中,即使没有在这类新数据上进行任何训练,我们的模型仍然优于最佳竞争对手多达8.26%,后者直接在这些数据上进行了训练。这些结果突显了所提出的视觉推理方案在推进情绪计算方面的潜力,并为未来研究建立了新的基准。
https://arxiv.org/abs/2508.16873
Aspect-based sentiment analysis (ABSA) is a fine-grained sentiment analysis task that focuses on understanding opinions at the aspect level, including sentiment towards specific aspect terms, categories, and opinions. While ABSA research has seen significant progress, much of the focus has been on monolingual settings. Cross-lingual ABSA, which aims to transfer knowledge from resource-rich languages (such as English) to low-resource languages, remains an under-explored area, with no systematic review of the field. This paper aims to fill that gap by providing a comprehensive survey of cross-lingual ABSA. We summarize key ABSA tasks, including aspect term extraction, aspect sentiment classification, and compound tasks involving multiple sentiment elements. Additionally, we review the datasets, modelling paradigms, and cross-lingual transfer methods used to solve these tasks. We also examine how existing work in monolingual and multilingual ABSA, as well as ABSA with LLMs, contributes to the development of cross-lingual ABSA. Finally, we highlight the main challenges and suggest directions for future research to advance cross-lingual ABSA systems.
基于方面的情感分析(ABSA)是一项精细粒度的情感分析任务,专注于在特定层面理解意见,包括对具体方面术语、类别和观点的情感态度。尽管ABSA研究已经取得了显著进展,但大多数的研究重点仍然放在单语环境上。跨语言ABSA旨在将知识从资源丰富的语言(如英语)转移到低资源语言中,这一领域仍然是一个尚未充分探索的区域,并且没有系统的文献回顾。本文旨在填补这一空白,提供一份全面的跨语言ABSA调查报告。我们总结了关键的ABSA任务,包括方面术语提取、方面情感分类以及涉及多个情感元素的复合任务。此外,我们还审查了解决这些任务所使用的数据集、建模范式和跨语言迁移方法。我们还探讨了单语和多语ABSA以及使用大规模语言模型(LLMs)进行ABSA的相关工作如何推动跨语言ABSA的发展。最后,本文强调主要挑战,并提出未来研究的方向,以促进跨语言ABSA系统的发展。
https://arxiv.org/abs/2508.09516
This paper introduces the first prompt-based methods for aspect-based sentiment analysis and sentiment classification in Czech. We employ the sequence-to-sequence models to solve the aspect-based tasks simultaneously and demonstrate the superiority of our prompt-based approach over traditional fine-tuning. In addition, we conduct zero-shot and few-shot learning experiments for sentiment classification and show that prompting yields significantly better results with limited training examples compared to traditional fine-tuning. We also demonstrate that pre-training on data from the target domain can lead to significant improvements in a zero-shot scenario.
本文介绍了首个用于捷克语基于方面的情感分析和情感分类的提示(prompt)方法。我们采用序列到序列模型同时解决基于方面的任务,并展示了我们的提示方法相对于传统微调方法的优势。此外,我们在情感分类中进行了零样本学习和少量样本学习实验,结果显示,在训练示例有限的情况下,使用提示能够显著优于传统的微调方法。另外,我们也证明了在目标领域的数据上进行预训练可以在零样本场景下带来显著的改进。
https://arxiv.org/abs/2508.08651
The surge in rich multimodal content on social media platforms has greatly advanced Multimodal Sentiment Analysis (MSA), with Large Language Models (LLMs) further accelerating progress in this field. Current approaches primarily leverage the knowledge and reasoning capabilities of parameter-heavy (Multimodal) LLMs for sentiment classification, overlooking autonomous multimodal sentiment reasoning generation in resource-constrained environments. Therefore, we focus on the Resource-Limited Joint Multimodal Sentiment Reasoning and Classification task, JMSRC, which simultaneously performs multimodal sentiment reasoning chain generation and sentiment classification only with a lightweight model. We propose a Multimodal Chain-of-Thought Reasoning Distillation model, MulCoT-RD, designed for JMSRC that employs a "Teacher-Assistant-Student" distillation paradigm to address deployment constraints in resource-limited environments. We first leverage a high-performance Multimodal Large Language Model (MLLM) to generate the initial reasoning dataset and train a medium-sized assistant model with a multi-task learning mechanism. A lightweight student model is jointly trained to perform efficient multimodal sentiment reasoning generation and classification. Extensive experiments on four datasets demonstrate that MulCoT-RD with only 3B parameters achieves strong performance on JMSRC, while exhibiting robust generalization and enhanced interpretability.
社交媒体平台上丰富多模态内容的激增极大地推动了多模态情感分析(Multimodal Sentiment Analysis,MSA)的发展。大型语言模型(Large Language Models,LLMs)进一步加速了这一领域的进步。然而,当前的方法主要依赖于参数量大的(多模态)LLM进行情感分类,而忽视了在资源受限环境中自主生成的多模态情感推理。因此,我们专注于“资源限制下的联合多模态情感推理与分类”任务,简称JMSRC,该任务仅使用轻量级模型同时执行多模态情感推理链生成和情感分类。 为此,我们提出了一种名为Multimodal Chain-of-Thought Reasoning Distillation(MulCoT-RD)的模型,专门针对JMSRC任务设计。此模型采用“教师-助理-学生”蒸馏范式,以解决资源受限环境中的部署约束问题。首先利用高性能多模态大型语言模型(Multimodal Large Language Model, MLLM)生成初始推理数据集,并通过多任务学习机制训练一个中等规模的辅助模型。然后共同训练一个轻量级学生模型,用于执行高效的多模态情感推理生成和分类。 在四个数据集上的广泛实验表明,仅拥有30亿参数的MulCoT-RD在JMSRC任务上表现出色,并展示了强大的泛化能力和增强的可解释性。
https://arxiv.org/abs/2508.05234
This study investigates political discourse in the German parliament, the Bundestag, by analyzing approximately 28,000 parliamentary speeches from the last five years. Two machine learning models for topic and sentiment classification were developed and trained on a manually labeled dataset. The models showed strong classification performance, achieving an area under the receiver operating characteristic curve (AUROC) of 0.94 for topic classification (average across topics) and 0.89 for sentiment classification. Both models were applied to assess topic trends and sentiment distributions across political parties and over time. The analysis reveals remarkable relationships between parties and their role in parliament. In particular, a change in style can be observed for parties moving from government to opposition. While ideological positions matter, governing responsibilities also shape discourse. The analysis directly addresses key questions about the evolution of topics, sentiment dynamics, and party-specific discourse strategies in the Bundestag.
这项研究通过对过去五年内约28,000篇德国联邦议院(Bundestag)的议会演讲进行分析,探讨了政治话语。为此开发并训练了两个用于主题和情感分类的机器学习模型,这些模型是在手动标记的数据集上训练出来的。在评估中,这两个模型表现出色:主题分类的受试者操作特征曲线下面积(AUROC)为0.94(平均值),情感分类则为0.89。 这两种模型被用于评估各政党及其随时间变化的主题趋势和情感分布情况。分析结果揭示了党派之间令人瞩目的关系以及他们在议会中的角色作用。尤其是,从执政党转变为反对党的过程中可以看到明显的风格转变。虽然意识形态立场很重要,但治理责任也塑造着政治话语的内容。 这项研究直接回答了关于主题演变、情感动态变化及各政党特定的议会议程策略在联邦议院中如何发展的关键问题。
https://arxiv.org/abs/2508.03181
Arabic-language patient feedback remains under-analysed because dialect diversity and scarce aspect-level sentiment labels hinder automated assessment. To address this gap, we introduce EHSAN, a data-centric hybrid pipeline that merges ChatGPT pseudo-labelling with targeted human review to build the first explainable Arabic aspect-based sentiment dataset for healthcare. Each sentence is annotated with an aspect and sentiment label (positive, negative, or neutral), forming a pioneering Arabic dataset aligned with healthcare themes, with ChatGPT-generated rationales provided for each label to enhance transparency. To evaluate the impact of annotation quality on model performance, we created three versions of the training data: a fully supervised set with all labels reviewed by humans, a semi-supervised set with 50% human review, and an unsupervised set with only machine-generated labels. We fine-tuned two transformer models on these datasets for both aspect and sentiment classification. Experimental results show that our Arabic-specific model achieved high accuracy even with minimal human supervision, reflecting only a minor performance drop when using ChatGPT-only labels. Reducing the number of aspect classes notably improved classification metrics across the board. These findings demonstrate an effective, scalable approach to Arabic aspect-based sentiment analysis (SA) in healthcare, combining large language model annotation with human expertise to produce a robust and explainable dataset. Future directions include generalisation across hospitals, prompt refinement, and interpretable data-driven modelling.
阿拉伯语患者反馈的分析仍然不足,主要是因为方言多样性以及情感标签稀缺阻碍了自动化评估。为了填补这一空白,我们引入了一个名为EHSAN的数据中心化混合管道,该系统结合了ChatGPT伪标注和定向人工审核,以构建首个解释性的阿拉伯语基于方面的医疗保健情感数据集。每个句子都用一个方面及其相应的情感标签(正面、负面或中立)进行了注释,形成了与健康主题对齐的开创性阿拉伯语数据集,并且为每一个标签提供了ChatGPT生成的理由,以此来增强透明度。 为了评估标注质量对模型性能的影响,我们创建了训练数据的三个版本:完全监督的数据集(所有标签都由人类审核)、半监督数据集(50%的人工审核)和无监督数据集(仅包含机器生成的标签)。我们在这些数据集上微调了两个转换器模型以进行基于方面的情感分类。实验结果显示,即使在最小人工监督的情况下,我们的阿拉伯语特定模型也达到了高准确率,而使用ChatGPT生成的标签时,其性能仅略有下降。 值得注意的是,在将情感类别减少到更少数量后,所有类别的分类指标都有显著改善。这些发现表明了一种有效的、可扩展的方法来在医疗保健领域进行基于方面的阿拉伯语情感分析(SA),通过结合大型语言模型标注和人类专业知识来生成稳健且解释性高的数据集。未来的方向包括医院间的推广、提示优化以及基于数据的可解释建模方法的发展。
https://arxiv.org/abs/2508.02574