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

基于检索示例排序的指令微调用于方面级情感分析

Instruction Tuning with Retrieval-based Examples Ranking for Aspect-based Sentiment Analysis

School of Information Science and Engineering, Yunnan University(云南大学信息科学与工程学院);Yuan Ze University(元智大学)

Guangmin Zheng, Jin Wang, Liang-Chih Yu, Xuejie Zhang

AI总结:

提出基于检索示例排序的指令微调方法,利用LM评分排序训练示例,交替训练检索器和LM,在ABSA三个子任务上超越强基线。

摘要:

方面级情感分析(ABSA)识别与特定方面相关的情感信息,为企业和组织提供更深入的市场洞察。随着大型语言模型(LM)的出现,近期研究提出使用固定示例进行指令微调,将ABSA重新表述为生成任务。然而,性能对上下文示例的选择敏感;一些检索方法基于表面相似性,且独立于LM的生成目标。本研究提出了一种基于检索示例排序的指令学习方法,用于ABSA任务。对于每个目标样本,应用LM作为评分器,估计在给定输入和候选示例作为提示的情况下输出的可能性,并通过排序分数将训练示例标记为正或负。提出了一种交替训练方案,同时训练检索器和LM。可以使用高质量示例构建指令提示。LM用于评分和推理,提高了生成效率,且不产生额外计算成本或训练困难。在三个ABSA子任务上的大量实验验证了所提方法的有效性,展示了其相对于各种强基线模型的优越性。代码和数据发布于https://github.com/zgMin/IT-RER-ABSA。

英文摘要:

Aspect-based sentiment analysis (ABSA) identifies sentiment information related to specific aspects and provides deeper market insights to businesses and organizations. With the emergence of large language models (LMs), recent studies have proposed using fixed examples for instruction tuning to reformulate ABSA as a generation task. However, the performance is sensitive to the selection of in-context examples; several retrieval methods are based on surface similarity and are independent of the LM generative objective. This study proposes an instruction learning method with retrieval-based example ranking for ABSA tasks. For each target sample, an LM was applied as a scorer to estimate the likelihood of the output given the input and a candidate example as the prompt, and training examples were labeled as positive or negative by ranking the scores. An alternating training schema is proposed to train both the retriever and LM. Instructional prompts can be constructed using high-quality examples. The LM is used for both scoring and inference, improving the generation efficiency without incurring additional computational costs or training difficulties. Extensive experiments on three ABSA subtasks verified the effectiveness of the proposed method, demonstrating its superiority over various strong baseline models. Code and data are released at https://github.com/zgMin/IT-RER-ABSA.

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

↑