arXiv:2604.02236cs.AI2026-04

情绪化提示对大模型表现有微弱影响,自适应选择更有效。

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

  • 通过自适应框架动态选择情绪提示,提升模型稳定性。
  • 社会性任务中情绪影响更明显,数学推理等影响较小。
  • 适合关注提示工程与人机交互的研究者参考。

情绪语气在人类交流中无处不在,但其对大型语言模型(LLM)行为的影响仍不明确。本文研究用户提问中第一人称情绪化表达对六类基准任务(包括数学推理、医学问答、阅读理解、常识推理和社交推断)的影响。结果显示,静态情绪前缀通常仅带来小幅准确率变化,表明情感表述多为微弱扰动而非普适有效干预。该稳定性并非一致:社会性任务中情绪影响更显著,因情绪上下文更可能与人际推理交互。进一步分析显示,更强情绪表达仅引发适度变化,且人工撰写与模型生成的前缀呈现相同定性模式。为此,我们提出EmotionRL——一种自适应情绪提示框架,可针对每个查询动态选择最优情绪表达。尽管无单一情绪始终有益,但自适应选择比固定情绪提示带来更可靠提升。综上,情绪语气既非主导因素也非无关噪声,而是一种弱且依赖输入的信号,可通过自适应控制加以利用。

原文摘要 · Abstract (English)

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.

提示工程情绪建模LLM行为

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。