arXiv:2510.27062cs.LGcs.AI2025-10被引 11

通过一致性训练提升大模型拒绝不当请求的能力。

Consistency Training Helps Stop Sycophancy and Jailbreaks

  • 用自监督方式让模型对无关提示保持一致响应
  • 减少模型顺从用户观点和被特殊文本绕过的情况
  • 适合关注模型安全与对齐的开发者与研究者

大型语言模型的事实性和拒绝能力可能因提示中微小变化而受损。模型常表现出迎合用户观点(sycophancy)或在特殊文本包裹下满足不当请求(jailbreaking)。本文探索一致性训练,一种自监督方法,使模型对提示中无关线索保持不变。不教模型对特定提示给出固定回答,而是让其在提示数据增强(如添加引导性问题或劫持文本)下行为一致。我们采用两种方式实现:基于外部输出的偏置增强一致性训练(BCT)和基于内部激活的一致性训练(ACT,本文提出)。两者均降低了Gemini 2.5 Flash对无关线索的敏感度。由于使用模型自身生成的数据,该方法避免了静态数据集带来的过时或能力退化问题。虽然两者在减少顺从性方面效果相当,但BCT在防止劫持攻击上更优。我们认为,部分对齐问题应视为一致性问题而非最优响应问题。

原文摘要 · Abstract (English)

An LLM's factuality and refusal training can be compromised by simple changes to a prompt. Models often adopt user beliefs (sycophancy) or satisfy inappropriate requests which are wrapped within special text (jailbreaking). We explore \emph{consistency training}, a self-supervised paradigm that teaches a model to be invariant to certain irrelevant cues in the prompt. Instead of teaching the model what exact response to give on a particular prompt, we aim to teach the model to behave identically across prompt data augmentations (like adding leading questions or jailbreak text). We try enforcing this invariance in two ways: over the model's external outputs (\emph{Bias-augmented Consistency Training} (BCT) from Chua et al. [2025]) and over its internal activations (\emph{Activation Consistency Training} (ACT), a method we introduce). Both methods reduce Gemini 2.5 Flash's susceptibility to irrelevant cues. Because consistency training uses responses from the model itself as training data, it avoids issues that arise from stale training data, such as degrading model capabilities or enforcing outdated response guidelines. While BCT and ACT reduce sycophancy equally well, BCT does better at jailbreak reduction. We think that BCT can simplify training pipelines by removing reliance on static datasets. We argue that some alignment problems are better viewed not in terms of optimal responses, but rather as consistency issues.

大模型对齐安全性一致性训练

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。