潜意识学习是引导向量蒸馏
Subliminal Learning Is Steering Vector Distillation
AI总结:
本文发现潜意识学习通过单个引导向量实现,并证明这是引导向量蒸馏的特例,解释了非语义数据如何传递语义特征。
摘要:
潜意识学习指的是学生语言模型在教师输出上微调时获得教师的特征(例如,系统提示对猫头鹰的偏好),尽管输出与这些特征在语义上无关。目前尚不清楚没有语义意义的数据如何传递特定的语义特征。在这项工作中,我们表明潜意识学习是由单个引导向量介导的,即添加到模型激活中的向量。在两个开源模型上,我们发现教师的系统提示可以很好地近似为一个引导向量,而学生的行为是通过微调学习对齐向量驱动的。不能被引导向量很好近似的系统提示不会潜意识地学习。这是引导向量蒸馏的一个特例,其中在受引导教师输出上训练的学生学会模仿该引导。我们在一系列语义和随机向量上演示了引导向量蒸馏。向模型激活添加语义向量可以对其行为产生模型无关和模型特定(即非语义)的影响,因此非语义的生成数据可以传递具有语义效果的向量,从而实现潜意识学习。这也解释了为什么潜意识学习不能在模型之间转移。我们发现自适应优化器对于语言模型中的潜意识学习是必要的:引导数据上的激活梯度沿引导方向携带一个小但一致的分量,而非自适应优化器通过允许异常梯度主导来阻碍这一点。
英文摘要:
Subliminal learning refers to a student language model acquiring a teacher's traits (e.g. a system-prompted preference for owls) when fine-tuned on the teacher's outputs, despite the outputs being semantically unrelated to those traits. It remains poorly understood how data without semantic meaning can transfer specific semantic traits. In this work, we show that subliminal learning is mediated by a single steering vector, i.e. a vector added to the model's activations. Across two open-source models, we find that the teacher's system prompt is well approximated by a steering vector, and that the student's behavior is driven by learning an aligned vector over fine-tuning. System prompts that are not well approximated by steering vectors are not subliminally learned. This is a special case of steering vector distillation, in which a student trained on the outputs of a steered teacher learns to imitate that steering. We demonstrate steering vector distillation on a range of semantic and random vectors. Adding a semantic vector to a model's activations can have both model-independent and model-specific (i.e. non-semantic) effects on its behavior, so generated data that is non-semantic can transmit a vector with semantic effects, enabling subliminal learning. This also explains why subliminal learning does not transfer between models. We find that adaptive optimizers are necessary for subliminal learning in language models: activation gradients on steered data carry a small but consistent component along the steering direction, and non-adaptive optimizers impede this by allowing outlier gradients to dominate.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。