基于 rollout 的分布内激活引导技术:ROAST
Watch the Model Think: On-Policy Extraction of Activation Steering Vectors
AI总结:
ROAST 通过分布内 rollout 和连续软缩放技术提升大语言模型的推理性能,有效解决高幅度激活导致的引导方向不稳问题。
摘要:
激活引导为大语言模型(LLMs)在推理时间提供了参数高效的控制,但许多方法依赖于分布外监督和离散掩码,导致干预脆弱。我们提出了 ROAST(基于 rollout 的分布内激活引导技术),该技术通过 ROC 从模型自身的分布内 rollout 估计引导方向,并通过连续软缩放(CSS)和分组均值归一化避免硬稀疏化。我们的实证分析表明,尽管激活幅度与方向一致性呈中等相关,但幅度的方差显著且往往与语义质量不成比例。这表明,如果未进行适当归一化,高幅度激活可能会主导全局引导方向。为此,ROAST 采用分组归一化以平衡样本间的贡献,确保更稳健的共识引导方向估计。在不同模型(0.6B 到 32B)上,ROAST 在多样任务上一致提升了性能(例如,Qwen3-0.6B 在 GSM8K 上提升 9.7%,GLM4-32B 在 TruthfulQA 上提升 12.1%),分析显示 CSS 更能保留激活能量。
英文摘要:
When a model solves a problem on one attempt and fails it on the next, what separates the two is rarely the final answer token; it is the trajectory that reached it. Contrastive activation steering leaves that signal unused: CAA, SADI, RepE and ITI build their direction from experimenter-supplied text, recorded while the model reads rather than reasons. That choice also caps what the vector can express, since polarity must be written into the text, and a task judged only by outcome offers nothing to write it with. ROAST makes the trajectory itself the contrast: sample rollouts, let an outcome verifier split them into successes and failures, and contrast the reasoning that worked against the reasoning that did not. A matched teacher-forced control---rollouts, labels, answer text and pair counts held fixed, the trajectory alone stripped---points to the trajectory as what matters: on GSM8K at 0.6B the pairs alone buy +0.12 points while restoring the trajectories buys +6.05, the larger and only seed-robust step. Replacing the trajectory with an equal-length neutral prefix or another question's reasoning falls below no intervention. The two corpora are also far apart geometrically, a median 70+ degrees apart at both Qwen3 scales probed, beyond what a split-half null explains. Reading from rollouts calls for two corrections---keeping the full difference vector rather than Top-10% masking, and giving each question one vote rather than one per pair---and only grouped aggregation beats the unsteered baseline under 20% verifier noise. On parser-free benchmarks (GSM8K, MATH500, IFEval), ROAST is best in all six cells over two models, by up to +9.7, at +6.4% wall-clock and no added context; it also leads on six parser-scored benchmarks across three models. Across nine models (0.6B--122B, four families), ROAST improves on the unsteered model at every scale. Code: https://github.com/TomySu404/ORBIT
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。