Abstract
Emotion plays an important role in human cognition and performance. Motivated by this, we investigate whether analogous emotional signals can shape the behavior of large language models (LLMs) and agents. Existing emotion-aware studies mainly treat emotion as a surface-level style factor or a perception target, overlooking its mechanistic role in task processing. To address this limitation, we propose E-STEER, an interpretable emotion steering framework that enables direct representation-level intervention in LLMs and agents. It embeds emotion as a structured, controllable variable in hidden states, and with it, we examine the impact of emotion on objective reasoning, subjective generation, safety, and multi-step agent behaviors. The results reveal non-monotonic emotion-behavior relations consistent with established psychological theories, and show that specific emotions not only enhance LLM capability but also improve safety, and systematically shape multi-step agent behaviors.
Abstract (translated)
情感在人类认知与表现中扮演重要角色。受此启发,我们探究类似的情感信号是否能够影响大型语言模型(LLMs)与智能体的行为。现有情感感知研究多将情感视为表层风格因素或感知目标,忽视了其在任务处理中的机制性作用。为突破此局限,我们提出E-STEER——一个可解释的情感引导框架,能够在LLMs与智能体中实现直接的表征层干预。该框架将情感作为隐藏状态中的结构化可控变量嵌入,并借此考察情感对客观推理、主观生成、安全性及多步骤智能体行为的影响。结果表明,情感与行为间存在与既有心理学理论一致的非单调关系,且特定情感不仅能增强LLM能力,还可提升安全性,并系统性地塑造多步骤智能体行为。
URL
https://arxiv.org/abs/2604.00005