arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2403.01063cs.CL
收藏

FaiMA:面向多领域基于方面的情感分析的特征感知上下文内学习

FaiMA: Feature-aware In-context Learning for Multi-domain Aspect-based Sentiment Analysis

Zhengzhou University(郑州大学);Peking University(北京大学)

Songhua Yang, Xinke Jiang, Hanjie Zhao, Wenxuan Zeng, Hongde Liu, Yuxiang Jia

AI总结:

针对多领域 ABSA 中 LLM 难与图模型和语言学技术结合的问题,提出 FaiMA 框架,利用特征感知 ICL、图注意力编码、对比学习与多维示例检索,并构建首个多领域 ABSA 基准,F1 平均提升 2.07%。

摘要:

多领域基于方面的情感分析(ABSA)旨在捕捉不同领域中的细粒度情感。现有研究狭隘地聚焦于单领域应用,受到方法限制和数据稀缺的约束,而现实情况是情感自然地跨越多个领域。尽管大型语言模型(LLM)为 ABSA 提供了一种有前景的解决方案,但由于修改其内部架构并不容易,因此很难将其与既有技术有效整合,包括基于图的模型和语言学。为缓解这一问题,我们提出了一个新颖框架,即面向多领域 ABSA 的特征感知上下文内学习(FaiMA)。FaiMA 的核心洞见是利用上下文内学习(ICL)作为一种特征感知机制,以促进多领域 ABSA 任务中的自适应学习。具体而言,我们采用多头图注意力网络作为文本编码器,并通过面向语言、领域和情感特征的启发式规则对其进行优化。通过对比学习,我们通过关注这些多样特征来优化句子表示。此外,我们构建了高效的索引机制,使 FaiMA 能够针对任意给定输入,跨多个维度稳定检索高度相关的示例。为评估 FaiMA 的有效性,我们构建了首个多领域 ABSA 基准数据集。大量实验结果表明,与基线相比,FaiMA 在多个领域取得了显著性能提升,F1 平均提高 2.07%。源代码和数据集可在 https://github.com/SupritYoung/FaiMA 匿名获取。

英文摘要:

Multi-domain aspect-based sentiment analysis (ABSA) seeks to capture fine-grained sentiment across diverse domains. While existing research narrowly focuses on single-domain applications constrained by methodological limitations and data scarcity, the reality is that sentiment naturally traverses multiple domains. Although large language models (LLMs) offer a promising solution for ABSA, it is difficult to integrate effectively with established techniques, including graph-based models and linguistics, because modifying their internal architecture is not easy. To alleviate this problem, we propose a novel framework, Feature-aware In-context Learning for Multi-domain ABSA (FaiMA). The core insight of FaiMA is to utilize in-context learning (ICL) as a feature-aware mechanism that facilitates adaptive learning in multi-domain ABSA tasks. Specifically, we employ a multi-head graph attention network as a text encoder optimized by heuristic rules for linguistic, domain, and sentiment features. Through contrastive learning, we optimize sentence representations by focusing on these diverse features. Additionally, we construct an efficient indexing mechanism, allowing FaiMA to stably retrieve highly relevant examples across multiple dimensions for any given input. To evaluate the efficacy of FaiMA, we build the first multi-domain ABSA benchmark dataset. Extensive experimental results demonstrate that FaiMA achieves significant performance improvements in multiple domains compared to baselines, increasing F1 by 2.07% on average. Source code and data sets are anonymously available at https://github.com/SupritYoung/FaiMA.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑