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

将引导向量作为大语言模型后训练中的训练信号

Steering Vectors as a Training Signal in LLM Post-Training

Arizona State University(亚利桑那州立大学);Amazon(亚马逊公司)

Tiejin Chen, Maunil Vyas, Huaiyuan Yao, Hua Wei

AI总结:

本文探究将引导向量作为LLM后训练的训练信号,在监督与RL场景中设计干预机制验证其有效性,同时确定三类失效边界,为LLM后训练提供新的有效训练信号。

摘要:

引导向量(SVs)是在推理时添加到隐藏状态中可改变大语言模型(LLMs)行为的残差流方向。现有工作主要将SVs用作事后控制,本文探究这些方向是否也能在模型后训练期间指导参数更新。我们在监督学习(包括监督微调SFT与知识蒸馏)及带可验证奖励的强化学习(RLVR)中研究该问题。我们的框架考虑两种干预机制:教师强制监督训练期间的隐藏状态钩子,以及GRPO中错误 rollout 的优势修复机制。对每种机制,我们分析三个设计维度:引导方向、其位置及与训练结合的操作。在监督场景中,SV注入优于普通SFT和蒸馏,增益随离策略差距缩放,在从思维模式教师蒸馏时可达12%的提升,且该增益在三个随机种子上均成立。在RL场景中,将正确性对比方向作为错误 rollout 的优势修复(包括原本零梯度的全错误组),可恢复能迁移到保留数学基准的学习信号,且作为可组合辅助信号添加到现有零方差补救措施(如感知熵的优势 shaping)。我们进一步确定三个失效边界:代码生成可破坏方向、跨系列层迁移可破坏位置、在SV训练的检查点上进行推理时应用可破坏干预机制。综上,这些结果表明引导向量是LLM后训练中一种有条件但有效的训练信号。我们的代码可在此获取。

英文摘要:

Steering vectors (SVs) are residual-stream directions that shift the behavior of LLMs when added to hidden states at inference time. While prior work has mainly used SVs as post-hoc controls, we ask whether the same directions can also guide parameter updates during post-training. We study this question across supervised learning, including SFT and distillation, and reinforcement learning with verifiable rewards (RLVR). Our framework considers two intervention regimes: a hidden-state hook during teacher-forced supervised training, and an advantage-repair mechanism on wrong rollouts in GRPO. For each regime, we analyze three design axes, which are the steering direction, its placement, and the operation used to combine it with training. In supervised settings, SV injection improves over plain SFT and distillation, with gains scaling with the off-policy gap and reaching up to a $12\%$ improvement when distilling from thinking-mode teachers. These gains hold across three random seeds. In RL settings, applying a correctness-contrast direction as advantage repair on wrong rollouts, including otherwise zero-gradient all-wrong groups, recovers a learning signal that transfers to held-out math benchmarks and acts as a composable auxiliary signal that adds to existing zero-variance remedies such as entropy-aware advantage shaping. We further identify three failure boundaries. In detail, code generation can break the direction, cross-family layer transfer can break the placement, and inference-time application on an SV-trained checkpoint can break the intervention regime. Together, these results establish steering vectors as a conditional but effective training signal for LLM post-training. Our code is available here.

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

↑