arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2305.15005cs.CL
收藏

大语言模型时代的情感分析:现实检验

Sentiment Analysis in the Era of Large Language Models: A Reality Check

DAMO Academy, Alibaba Group(阿里巴巴集团达摩院);Nanyang Technological University(南洋理工大学);University of Illinois at Chicago(伊利诺伊大学芝加哥分校);The Chinese University of Hong Kong(香港中文大学)

Wenxuan Zhang, Yue Deng, Bing Liu, Sinno Jialin Pan, Lidong Bing

AI总结:

本文全面评估了大语言模型在13个情感分析任务上的表现,发现其在简单任务中表现良好但在复杂任务中落后于小模型,且在少样本设置下优势显著,并提出了新基准SentiEval。

摘要:

情感分析(SA)一直是自然语言处理领域的一个长期研究方向。它能够提供对人类情感和观点的深刻见解,因此受到了学术界和工业界的广泛关注。随着诸如ChatGPT等大语言模型(LLMs)的出现,将其应用于SA问题具有巨大潜力。然而,现有LLMs能在多大程度上被用于不同的情感分析任务仍不清楚。本文旨在全面调查LLMs在执行各种情感分析任务中的能力,从传统的情感分类到基于方面的情感分析以及主观文本的多方面分析。我们在26个数据集上评估了13个任务的性能,并将结果与在特定领域数据集上训练的小语言模型(SLMs)进行了比较。我们的研究表明,尽管LLMs在较简单的任务中表现出令人满意的性能,但在需要更深入理解或结构化情感信息的更复杂任务中却落后于SLMs。然而,在少样本学习设置下,LLMs显著优于SLMs,这表明在标注资源有限时它们具有巨大潜力。我们还强调了当前评估实践在评估LLMs的SA能力方面的局限性,并提出了一个新颖的基准SentiEval,以进行更全面和现实的评估。我们调查期间的数据和代码可在https://github.com/DAMO-NLP-SG/LLM-Sentiment获取。

英文摘要:

Sentiment analysis (SA) has been a long-standing research area in natural language processing. It can offer rich insights into human sentiments and opinions and has thus seen considerable interest from both academia and industry. With the advent of large language models (LLMs) such as ChatGPT, there is a great potential for their employment on SA problems. However, the extent to which existing LLMs can be leveraged for different sentiment analysis tasks remains unclear. This paper aims to provide a comprehensive investigation into the capabilities of LLMs in performing various sentiment analysis tasks, from conventional sentiment classification to aspect-based sentiment analysis and multifaceted analysis of subjective texts. We evaluate performance across 13 tasks on 26 datasets and compare the results against small language models (SLMs) trained on domain-specific datasets. Our study reveals that while LLMs demonstrate satisfactory performance in simpler tasks, they lag behind in more complex tasks requiring deeper understanding or structured sentiment information. However, LLMs significantly outperform SLMs in few-shot learning settings, suggesting their potential when annotation resources are limited. We also highlight the limitations of current evaluation practices in assessing LLMs' SA abilities and propose a novel benchmark, \textsc{SentiEval}, for a more comprehensive and realistic evaluation. Data and code during our investigations are available at \url{https://github.com/DAMO-NLP-SG/LLM-Sentiment}.

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

↑