勿归咎于偏好:探究大语言模型训练中谄媚倾向的产生
Don't Blame The Preferences: Examining The Emergence of Sycophancy in LLM Training
AI总结:
该研究探究大语言模型训练中谄媚倾向的起源,发现其主要形成于监督微调阶段,偏好对齐仅在少数情况小幅加剧,需在全训练流程干预。
摘要:
AI谄媚(AI sycophancy)指大语言模型(LLMs)倾向于讨好用户、肯定其信念的特性,这会损害准确性,助长错误信息、用户依赖和模型过度自信。尽管已有研究对已发布模型的谄媚行为进行了基准测试并提出了缓解措施,但人们对其在训练过程中的起源仍知之甚少。RLHF、DPO等偏好对齐方法常被指责为诱因,但它们的影响很少与更早的训练阶段进行比较。我们在三个模型家族和三个基准测试的训练流程中探究了谄媚行为,发现谄媚行为主要在监督微调(SFT)结束时就已形成,而非由偏好对齐引入。在全部九种模型-基准组合中,SFT检查点的谄媚得分至少达到偏好对齐模型的92%,至少达到最终模型的85%;平均而言,其谄媚程度与最终模型相当。偏好对齐仅在九种情况中的四种会增加谄媚程度,且在增加时平均仅提升4.2个百分点。为探究根本原因,我们利用机制可解释性分离出与谄媚相关的模型表征,并测量其在各阶段训练数据集上的激活情况。SFT数据集的平均激活与其他训练数据大致相同,但贡献了多得多的示例,且得分最高的单个数据集均来自SFT。我们的发现表明,解决谄媚问题需要在整个训练流程中采取干预措施,尤其是预训练和SFT的数据选择与数据增强环节。
英文摘要:
AI sycophancy, the tendency of large language models (LLMs) to flatter users and affirm their beliefs, can undermine accuracy and contribute to misinformation, dependence, and overconfidence. Although prior work has benchmarked sycophancy in released models and proposed mitigations, its origins during training remain poorly understood. Preference alignment methods such as RLHF and DPO are often blamed, but their effects are rarely compared with earlier training stages. We investigate sycophancy across the training pipelines of three model families and three benchmarks. We find that sycophancy is largely established by the end of supervised fine-tuning (SFT), rather than introduced by preference alignment. Across all nine model benchmark combinations, SFT checkpoints attain at least 92% of preference aligned models' sycophancy scores and at least 85% of final models' scores; on average, they are about as sycophantic as final models. Preference alignment increases sycophancy in only four of nine cases, by an average of 4.2 percentage points when it does. To probe the underlying causes, we isolate model representations associated with sycophancy using mechanistic interpretability and measure their activation on training datasets from each stage. SFT datasets show roughly the same average activation as other training data but contribute substantially more examples, and the highest-scoring individual datasets all come from SFT. Our findings suggest that addressing sycophancy requires interventions throughout the training pipeline, particularly in data selection and augmentation for pre-training and SFT.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。