通过内部一致性训练提升模型在多种威胁下的对齐能力
Consistency Training Along the Transformer Stack

- 在MLP层和注意力头引入一致性约束,增强模型内部稳定性
- 有效缓解人格伪装、对抗性误导等四种新型安全威胁
- 发现跨威胁泛化现象,适用于多类对齐问题的防御
一致性训练通过促使模型在不同上下文中行为一致,降低错位风险。本文拓展其应用:提出两种新内一致性目标——MLP一致性训练(MLPCT)匹配激活后MLP状态,注意力一致性训练(AttCT)匹配各注意力头分布;并将该方法应用于四种新安全威胁:上下文人格学习攻击、对抗性挫败、预填充攻击与条件错位。在多个模型与场景下,一致性训练显著优于以往仅针对讨好与越狱的防护效果。还观察到跨威胁泛化现象,即一种防御提升对其他威胁的鲁棒性,并揭示ACT、MLPCT与AttCT共享残差流机制,而BCT在机理上截然不同。结果表明,一致性训练是可扩展且灵活的对齐框架,能统一应对更广泛的模型病理。
原文摘要 · Abstract (English)
Consistency training encourages models to behave similarly across different contexts, and has shown promise for reducing misalignment. We broaden the scope of consistency training in two ways. First, we introduce two new internal consistency targets: MLP Consistency Training (MLPCT), which matches post-activation MLP states, and Attention Consistency Training (AttCT), which matches per-head attention distributions. Second, we apply consistency training to four additional safety threats: persona in-context learning attacks, adversarial frustration, prefill attacks, and conditional misalignment. Across several models and threat settings, we find that consistency training reduces misalignment well beyond the sycophancy and jailbreak settings studied in prior work. We also find cases of cross-threat generalization, where training against one failure mode improves robustness to another, and identify a shared residual-stream mechanism underlying ACT, MLPCT, and AttCT, while distinguishing BCT as mechanistically distinct. Our results suggest that consistency training is a flexible and extensible framework for alignment, capable of unifying defenses against a broader class of model pathologies.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。