arXiv:2603.20704cs.IRcs.CL2026-03

用加法融合多注意力机制,提升情感分析性能

NDT: Non-Differential Transformer and Its Application to Sentiment Analysis

  • 采用纯加法策略整合多个注意力图,避免减法噪声抵消
  • 在多个数据集上达到竞争力的准确率,验证有效性
  • 适合需要精细语义理解的情感分析任务

从客户反馈到社交媒体,理解文本中的情感是机器与人有意义互动的核心。尽管已有显著进展,准确捕捉情感仍是挑战,持续推动该领域研究。为此,我们提出非微分变压器(NDT),其灵感源于但与当前最优的微分变压器(DT)模型形成对比。标准Transformer在处理无关上下文时表现不佳,而现有DT模型通过注意力图相减实现噪声抑制。本文提出不同思路:假设各注意力组件可分别专注文本中不同概念,类似信息通道复用或混合模型,而非主要依赖减法去噪。基于此概念复用(ConPlex)视角,本文设计采用纯加法策略,仅使用训练学习的正权重,确保各专业化注意力视角的建设性组合。该设计探索了仅正权重集成,但更广框架也显示在包含正负权重的线性组合下具有潜力。模型通过正权重之和计算注意力,有助于构造性整合多样化信号,可能捕捉更复杂的上下文关系。在多个数据集上的实验表明,所提模型在情感分析任务中取得竞争力表现。最后,我们总结结果、挑战及未来研究方向。

原文摘要 · Abstract (English)

From customer feedback to social media, understanding human sentiment in text is central to how machines can interact meaningfully with people. However, despite notable progress, accurately capturing sentiment remains a challenging task, which continues to motivate further research in this area. To this end, we introduce Non-Differential Transformer (NDT). It is inspired by (but in contrast to) the state-of-the-art Differential Transformer (DT) model. While standard Transformers can struggle with irrelevant context, the sota DT model uses attention map subtraction, potentially for noise cancellation. We explore an alternative motivation, hypothesizing that benefits may arise from enabling different attention components to specialize on distinct concepts within the text, similar to multiplexing information channels or mixture models, rather than primarily canceling noise via subtraction. Guided by this concept-multiplexing (ConPlex) view, the specific architecture presented in this paper employs a purely additive strategy. It uses only positive weights, learned during training, to ensure constructive combination of these specialized attention perspectives. This design choice explores positive only integration, though our broader framework also shows promise with less constrained linear combinations involving both positive and negative weights. Our model computes attention via this positively weighted sum of multiple distinct attention maps. This allows the model to constructively integrate diverse signals and potentially capture more complex contextual relationships. Competitive performance is achieved by the proposed model for Sentiment Analysis while tested on multiple datasets. We conclude by presenting our results, challenges and future research agenda in this important area of research.

情感分析注意力机制Transformer

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。