arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2610.41661cs.CLcs.AI
收藏

当引导转向话语:识别和干预大语言模型中激活引导导致的话语层面变化

When Steering Shifts Discourse: Identifying and Intervening on Discourse-Level Changes due to Activation Steering in LLMs

University of Copenhagen(哥本哈根大学)

Shivam Adarsh, Hetianyu Huang, Lau Safin, Maria Maistro, Christina Lioma

AI总结:

本研究针对大语言模型激活引导导致的话语层面意外变化,提出添加互补向量的干预方法,可恢复约78%的意外话语变化并保留约93%的预期引导行为。

摘要:

激活引导是一种推理时技术,用于在不重新训练大语言模型(LLM)权重或编辑输入提示的情况下,仅通过向其残差流激活添加向量来控制或修改LLM的行为、语气或安全属性。然而,激活引导也会以与预期行为改变无关的意外方式改变生成文本,这些方式尚未得到充分理解。现有工作仅通过困惑度等粗略信号测量这些变化。在本研究中,我们表明引导会系统性地在生成文本的话语维度产生显著变化,例如其正式度、证据使用和歧义性。我们提出了一种应对方法,即添加第二个互补向量,以针对受影响的话语维度。这种干预可恢复约78%的意外话语变化,同时在约93%的生成中保留预期的引导行为。

英文摘要:

Activation steering is an inference-time technique used to control or modify the behavior, tone, or safety properties of a large language model (LLM) without retraining the model's weights or editing its input prompt, but simply by adding a vector to its residual-stream activations. However, activation steering also changes the generated text in unintended ways, unrelated to intended behavior change, that are not well understood. Prior work has measured these changes only through coarse signals such as perplexity. In this work, we show that steering systematically produces significant changes in discourse dimensions of the generated text, such as its formality, use of evidence, and ambiguity. We present a way of countering this by adding a second, complementary vector that targets the affected discourse dimension. This intervention restores about 78% of the unintended discourse changes while preserving the intended steering behavior in about 93% of the generations.

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

↑