arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.29522cs.LGcs.CL
收藏

模型是否读取它们写的内容?草稿推理中的因果寄存器

When Does Activation Steering Change What a Model Computes From?

Institute for Computational and Mathematical Engineering(计算与数学工程研究所);Stanford University(斯坦福大学)

Benjamin Shih, John Winnicki, Eric Darve

AI总结:

通过状态跟踪任务,发现训练模型在草稿中写入中间状态后,模型会因果性地使用这些状态进行后续计算,而非仅作为文本输出。

摘要:

过程监督的一个核心希望是模型能够暴露对其后续行为重要的中间变量。为了帮助对齐,草稿必须与计算紧密关联:当模型写入一个状态时,后续步骤应基于该状态进行计算。为了测试这一要求,我们使用一个具有已知更新规则的控制状态跟踪任务,比较仅训练报告最终状态的模型与训练在给出最终答案前写入中间状态的模型。在评估时,我们编辑一个写入状态的内部表示,同时保持可见的草稿文本不变。由于转换规则已知,该编辑有一个唯一正确的下游结果。在Qwen2.5-Coder-7B中,状态写入模型在两种任务变体中分别有80%和91%的保留样本预测了由编辑状态隐含的下一阶段位,而预训练和仅最终答案的控制模型保持接近基线。额外的控制排除了通用下一词元引导和复制另一个延续的可能性:预测依赖于编辑状态和当前移动。相同的因果使用模式在多个模型家族中复现。总之,这些结果表明草稿监督的一个更明确目标:不仅使中间推理可读,而且训练模型在其计算中使用的写入状态。

英文摘要:

Activation steering can reliably change an agent's output by modifying its internal activations. Yet arriving at the same answer need not involve the same computation: behavioral equivalence does not imply mechanistic equivalence. We test whether an activation edit changes the state used in subsequent computation or biases that computation toward the desired output. In a controlled state-tracking task, trace supervision creates an editable register: changing its internal value makes the model apply the next operation to the edited state. We next ask whether widely used mean activation steering admits a similar interpretation: does steering recreate the internal configuration the model naturally uses when performing a task? If so, transplanting that activation should be effective, and steering should remain effective at the scale of the natural source-to-target activation change. Neither prediction holds in the two selected model-task settings. Replacing the activation at one layer produces less than 2% of the target-answer margin gain from patching through all remaining layers, while natural-scale steering is similarly ineffective. The steering vectors have norms 77 and 26 times the median natural change in Qwen and Llama, producing 54% and 82% of the reference effect. Thus, a successful steering intervention need not reproduce the natural target activation at the intervention layer. More generally, an intervention should be interpreted as changing the computational state only when a later computation uses the edited value according to the semantics of that state.

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

↑