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

理解引导强度

Towards Understanding Steering Strength

Magamed Taimeskhanov, Samuel Vaiter, Damien Garreau

AI总结:

研究大语言模型训练后控制中引导强度问题,提出对其首次理论分析,刻画其对相关量的影响并推导规律,揭示非单调效应,还通过11个语言模型实验验证了理论预测。

摘要:

大语言模型(LLMs)训练后控制的一种流行方法是对中间潜在表示进行引导。即根据手头任务确定一个精心选择的方向,并在推理时沿此方向扰动表示。虽然有很多关于选择这个方向的提议,但对于如何选择移动幅度的理解却少得多,而其重要性很明显:太少则预期行为不会出现,太多则模型性能会严重下降。在这项工作中,我们对引导强度进行了首次理论分析。我们描述了它对下一个token概率、概念的存在和交叉熵的影响,推导出了控制这些量的精确定性规律。我们的分析揭示了令人惊讶的行为,包括引导强度的非单调效应。我们在从小型GPT架构到现代模型的11个语言模型上通过实验验证了我们的理论预测。

英文摘要:

A popular approach to post-training control of large language models (LLMs) is the steering of intermediate latent representations. Namely, identify a well-chosen direction depending on the task at hand and perturbs representations along this direction at inference time. While many propositions exist to pick this direction, considerably less is understood about how to choose the magnitude of the move, whereas its importance is clear: too little and the intended behavior does not emerge, too much and the model's performance degrades beyond repair. In this work, we propose the first theoretical analysis of steering strength. We characterize its effect on next token probability, presence of a concept, and cross-entropy, deriving precise qualitative laws governing these quantities. Our analysis reveals surprising behaviors, including non-monotonic effects of steering strength. We validate our theoretical predictions empirically on eleven language models, ranging from a small GPT architecture to modern models.

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

↑