论文

研究揭示激活转向会引发文本语篇层面的意外变化

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

精选理由

给向量加个补偿向量,能挽回78%的语篇副作用还能保留93%的转向效果,做模型行为控制的可以看看。

论文研究激活转向(Activation Steering)这一在残差流中加向量、不改权重的推理时控制技术,发现它会系统性改变生成文本的语篇维度,如正式度、论据使用和模糊度。此前工作只用困惑度等粗粒度信号衡量这些副作用。作者提出追加一个针对受影响语篇维度的互补向量来抵消偏移,该干预在约78%的情况下恢复了意外语篇变化,同时约93%的生成保留了预期的转向效果。

原文 · arXiv cs.AI

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

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.