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

提示中的情感重要吗?情感框架对大语言模型的影响

Do Emotions in Prompts Matter? Effects of Emotional Framing on Large Language Models

Harvard University(哈佛大学);Bryn Mawr College(布林莫尔学院)

Minda Zhao, Yutong Yang, Chufei Peng, Rachel Gonsalves, Weiyue Li, Ruyi Yang, Zhixi Liu, Mengyu Wang

AI总结:

研究探讨了用户查询中第一人称情感框架对大语言模型在六个基准领域性能的影响,发现静态情感前缀通常仅产生小幅度变化,但社交相关任务中效果更不稳定,引入自适应情感提示框架EmotionRL后,适应性选择比固定情感提示更有效。

摘要:

情感语调在人类交流中普遍存在,但其对大语言模型(LLM)行为的影响仍不明确。本文研究了用户侧查询中的第一人称情感框架如何影响LLM在六个基准领域(包括数学推理、医疗问答、阅读理解、常识推理和社会推理)的性能。在不同模型和任务中,静态情感前缀通常仅产生微小的准确性变化,表明情感性表述通常是轻微的扰动而非可靠的通用干预。这种稳定性并非一致:效果在社交相关任务中更不稳定,其中情感上下文更可能与人际推理相互作用。进一步分析显示,更强的情感表述仅引起适度额外变化,且人类撰写的前缀与LLM生成的前缀在定性模式上相同。我们随后引入EmotionRL,一种自适应情感提示框架,该框架为每个查询自适应选择情感框架。尽管没有单一情感始终有益,但自适应选择比固定情感提示产生更可靠的增益。这些发现表明,情感语调既不是LLM性能的主要驱动因素,也不是无关噪声,而是一种弱且输入依赖的信号,可以通过自适应控制加以利用。

英文摘要:

Emotional tone is pervasive in human communication, yet its influence on large language model (LLM) behaviour remains unclear. Here, we examine how first-person emotional framing in user-side queries affect LLM performance across six benchmark domains, including mathematical reasoning, medical question answering, reading comprehension, commonsense reasoning and social inference. Across models and tasks, static emotional prefixes usually produce only small changes in accuracy, suggesting that affective phrasing is typically a mild perturbation rather than a reliable general-purpose intervention. This stability is not uniform: effects are more variable in socially grounded tasks, where emotional context more plausibly interacts with interpersonal reasoning. Additional analyses show that stronger emotional wording induces only modest extra change, and that human-written prefixes reproduce the same qualitative pattern as LLM-generated ones. We then introduce EmotionRL, an adaptive emotional prompting framework that selects emotional framing adaptively for each query. Although no single emotion is consistently beneficial, adaptive selection yields more reliable gains than fixed emotional prompting. Together, these findings show that emotional tone is neither a dominant driver of LLM performance nor irrelevant noise, but a weak and input-dependent signal that can be exploited through adaptive control.

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

↑