arXivDaily arXiv每日学术速递 周一至周五更新
稍安勿躁,官方尚未更新
arXiv 2405.02454cs.CLcs.AI
收藏

情感对语言模型究竟意味着什么?

What is Sentiment Meant to Mean to Language Models?

Pennsylvania State University(宾夕法尼亚州立大学)

Michael Burnham

AI总结:

本文探讨大语言模型在情感分析任务中的实际行为,发现情感标签主要反映情绪效价,并指出使用更精确的维度(如效价或立场)能提升分类效果,建议研究者超越模糊的“情感”概念。

摘要:

情感分析是文本分析中应用最广泛的技术之一。近年来,随着大语言模型的进步,情感分析变得比以往更加准确和易用,研究人员只需使用简单的英文提示即可对文本进行分类。然而,“情感”一词在不同领域和工具中涵盖着多种多样的概念,它曾被用来表示情绪、观点、市场走势,或者仅仅是一个笼统的“好—坏”维度。这引出了一个问题:当语言模型被提示按情感为文档打标签时,它们究竟在做什么?本文首先概述了情感在不同语境中的定义方式,并指出它是一个混淆的测量构念,因为它同时包含多个变量,例如情绪效价和观点,却没有对这些变量加以区分。随后,我在两个数据集上测试了三个语言模型,分别使用要求进行情感、效价和立场分类的提示。结果发现,情感标签与效价标签的相关性最强。我还发现,当研究人员更精确地指定他们关注的维度,而不是使用定义不够明确的情感概念时,分类效果会有所提升。最后,我鼓励研究人员在可行的情况下超越“情感”这一概念,转而使用更精确的测量构念。

英文摘要:

Sentiment analysis is one of the most widely used techniques in text analysis. Recent advancements with Large Language Models have made it more accurate and accessible than ever, allowing researchers to classify text with only a plain English prompt. However, "sentiment" entails a wide variety of concepts depending on the domain and tools used. It has been used to mean emotion, opinions, market movements, or simply a general ``good-bad'' dimension. This raises a question: What exactly are language models doing when prompted to label documents by sentiment? This paper first overviews how sentiment is defined across different contexts, highlighting that it is a confounded measurement construct in that it entails multiple variables, such as emotional valence and opinion, without disentangling them. I then test three language models across two data sets with prompts requesting sentiment, valence, and stance classification. I find that sentiment labels most strongly correlate with valence labels. I further find that classification improves when researchers more precisely specify their dimension of interest rather than using the less well-defined concept of sentiment. I conclude by encouraging researchers to move beyond "sentiment" when feasible and use a more precise measurement construct.

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

↑