arXivDaily arXiv每日学术速递 周一至周五更新
​通知:联邦节假日调休:哥伦布日 / 原住民日(Columbus Day / Indigenous Peoples' Day),今日(13日)无更新。
arXiv 2309.02045cs.CLcs.AIcs.LG

通过提示策略增强评论文本的多领域情感分析

Enhance Multi-domain Sentiment Analysis of Review Texts through Prompting Strategies

Hong Kong Baptist University(香港浸会大学);BNU-UIC Institute of AI and Future Networks(北师大-联合国际学院人工智能与未来网络研究院);BNU-HKBU United International College(北师大-港浸大联合国际学院);Beijing Normal University(北京师范大学)

Yajing Wang, Zongwei Luo

AI总结:

本文针对大型语言模型在特定任务中的性能提升问题,提出了角色扮演(RP)提示、思维链(CoT)提示及二者结合的RP-CoT提示策略,实验证明这些策略有效提升了多领域情感分析及隐式情感分析的准确性。

摘要:

大型语言模型(LLMs)在科学研究和实际应用中均取得了显著进展。现有研究已证明 LLMs 在各种自然语言处理任务中取得了最先进(SOTA)的性能。然而,如何使用提示策略在特定任务中进一步提升 LLMs 的性能仍然是一个关键问题。本文探讨了通过应用提示策略来提升 LLMs 在情感分析中的性能。我们系统化了情感分析任务的提示过程,并引入了两种专为情感分析设计的新颖策略:角色扮演(RP)提示和思维链(CoT)提示。具体而言,我们还提出了 RP-CoT 提示策略,它是 RP 提示和 CoT 提示的结合。我们在三个不同领域的数据集上进行了对比实验,以评估所提出的情感分析策略的有效性。结果表明,采用所提出的提示策略使情感分析的准确性获得了持续提升。此外,CoT 提示策略对隐式情感分析表现出显著影响,其中 RP-CoT 提示策略在所有策略中表现最为优越。

英文摘要:

Large Language Models (LLMs) have made significant strides in both scientific research and practical applications. Existing studies have demonstrated the state-of-the-art (SOTA) performance of LLMs in various natural language processing tasks. However, the question of how to further enhance LLMs' performance in specific task using prompting strategies remains a pivotal concern. This paper explores the enhancement of LLMs' performance in sentiment analysis through the application of prompting strategies. We formulate the process of prompting for sentiment analysis tasks and introduce two novel strategies tailored for sentiment analysis: RolePlaying (RP) prompting and Chain-of-thought (CoT) prompting. Specifically, we also propose the RP-CoT prompting strategy which is a combination of RP prompting and CoT prompting. We conduct comparative experiments on three distinct domain datasets to evaluate the effectiveness of the proposed sentiment analysis strategies. The results demonstrate that the adoption of the proposed prompting strategies leads to a increasing enhancement in sentiment analysis accuracy. Further, the CoT prompting strategy exhibits a notable impact on implicit sentiment analysis, with the RP-CoT prompting strategy delivering the most superior performance among all strategies.

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

↑