理解语言模型中转向向量的不可靠性:几何预测器与线性近似的局限性
Understanding Unreliability of Steering Vectors in Language Models: Geometric Predictors and the Limits of Linear Approximations
AI总结:
该研究探讨了语言模型中转向向量的可靠性问题,发现训练数据和行为表示对转向效果有显著影响,提出几何预测器和非线性近似方法以提升稳定性。
摘要:
转向向量是一种轻量级方法,通过在推理时向激活值添加学习到的偏差来控制语言模型的行为。尽管在平均上有效,但转向效果的大小在样本之间有所不同,并且对于许多目标行为来说不可靠。在我的论文中,我调查了为什么转向可靠性在不同行为之间有所不同,以及转向向量训练数据如何影响这种可靠性。首先,我发现训练激活差异之间的余弦相似度越高,转向的可靠性越高。其次,我观察到在正负激活沿转向方向更好分离的行为数据集中,转向的可靠性更高。最后,训练于不同提示变体的转向向量在方向上不同,但表现相似,并且在不同数据集上表现出相关的效果。我的发现表明,当潜在的目标行为表示无法被线性转向方向有效近似时,转向向量是不可靠的。综合来看,这些见解为转向不可靠性提供了实用的诊断,并激励了开发更稳健的转向方法,这些方法明确考虑了非线性潜在行为表示。
英文摘要:
Steering vectors are a lightweight method for controlling language model behavior by adding a learned bias to the activations at inference time. Although effective on average, steering effect sizes vary across samples and are unreliable for many target behaviors. In my thesis, I investigate why steering reliability differs across behaviors and how it is impacted by steering vector training data. First, I find that higher cosine similarity between training activation differences predicts more reliable steering. Second, I observe that behavior datasets where positive and negative activations are better separated along the steering direction are more reliably steerable. Finally, steering vectors trained on different prompt variations are directionally distinct, yet perform similarly well and exhibit correlated efficacy across datasets. My findings suggest that steering vectors are unreliable when the latent target behavior representation is not effectively approximated by the linear steering direction. Taken together, these insights offer a practical diagnostic for steering unreliability and motivate the development of more robust steering methods that explicitly account for non-linear latent behavior representations.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。