D-STEER - 通过偏好对齐技术学习行为而非信念 -- 在表象之下,DPO作为激活空间中的低秩引导机制
D-STEER: Two-Way Control of DPO-Induced Safety Behavior in Activation Space
AI总结:
D-STEER研究揭示DPO通过引导激活空间中的低秩机制实现行为对齐,而非改变模型内部信念。
摘要:
直接偏好优化(DPO)已成为对齐大语言模型的标准配方,但仍然不清楚它实际上在内部网络中引发了什么变化。本文认为DPO并非重写模型的内部信念;相反,它作为一种低秩引导机制,使激活沿少量偏好方向偏移。通过简单的推导,我们表明DPO梯度仅依赖于偏好和不偏好完成的logit嵌入之间的差异,这表明最终隐藏表示的一阶偏移,而非语义的深层重构。然后,我们从DPO调优的模型中提取一个经验引导向量,并证明将此向量加到基础激活上可以重现大部分对齐行为,而减去它几乎恢复原始模型。最后,谱分析揭示了上层的秩一主导和熵塌陷,表明对齐是通过狭窄子空间进行的。综上,这些结果支持DPO的“行为幻觉”观点:它教会模型如何行为对齐,而非改变其信念。
英文摘要:
Preference-based post-training shapes language-model behavior, but safer outputs do not reveal how that change is represented internally or how firmly it persists under direct intervention. This matters for open-weight models, where an actor with white-box access can manipulate internal representations at inference without touching parameters. Using Direct Preference Optimization (DPO), we ask whether the safety behavior it introduces becomes deeply embedded or stays accessible to targeted activation-space interventions. We introduce D-STEER, an audit of two matched instruction-tuned and harmlessness-DPO pairs: OpenHermes-2.5-Mistral-7B and Llama-3-8B OpenHermes. D-STEER derives layer-local directions from differences in matched prompt activations, adds them to the instruction-tuned model to install the DPO-associated safety change and subtracts them from the DPO model to remove it, with separate operating windows distinguishing behavioral control from degradation. On held-out HarmfulQA, all four interventions shift harmful enablement as intended and exceed norm-matched random controls; Mistral installation recovers 98% of the endpoint gap and the other three arms recover 46-50%. The intended direction transfers to HH-RLHF and AdvBench under frozen coefficients, although usable operating windows do not transfer universally. An independently rebuilt implementation reproduces the bidirectional pattern on the Mistral pair under different construction and intervention choices. A meaningful component of DPO-induced safety behavior therefore remains controllable through compact inference-time intervention, with the extent depending on the checkpoint pair and the steering implementation.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。