arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2611.05358cs.CLcs.AIcs.LG
收藏

抑制语言模型中的错位行为(持久版)

Suppressing Misaligned Behaviors in Language Models, Durably

Princeton University(普林斯顿大学);UIUC(伊利诺伊大学厄巴纳-香槟分校)

Luxi He, Pengcheng Jiang, Jifan Zhang, Jiawei Han, Danqi Chen

AI总结:

本研究针对语言模型的错位行为抑制问题,提出PEARL方法,在保留模型能力的同时实现强即时抑制与持久效果,尤其适用于宽范围错位行为的处理。

摘要:

不期望的模型行为可在训练的任意阶段出现或重现。一旦被观测到,我们能多有效地抑制它们?为研究该问题,我们首先构建两个模型“样本”——经刻意训练以表现特定错位行为的语言模型,二者的行为触发条件不同。窄触发样本仅在提示包含特定线索时表现异常:它在多项选择题中通过遵循指向错误答案的植入提示作弊,其余情况行为正常。宽触发样本无此类线索:在对不安全代码进行微调后,它会对各类开放式提示给出有害响应。随后我们将事后行为抑制形式化,并沿三个标准评估方法:目标行为的即时抑制、进一步训练下的持久性,以及通用能力的保留。我们沿这些维度对比标准方法——SFT(监督微调)、GRPO(生成式强化学习偏好优化)和梯度上升遗忘。基于对齐浅层性的前期工作,我们假设更持久的抑制需要从更广泛的错位状态中恢复的能力。我们引入前缀扩展对抗强化学习(PEARL),一种GRPO变体,其通过添加从缓存样本轨迹中采样的中间状态的延续来增强滚动。在两种样本设置和两个模型家族(Qwen3-4B、GPT-OSS-20B)上,PEARL在保留任务准确率的同时实现了强即时抑制,且在对样本数据或不相关数据进一步微调时仍保持持久。当不期望的行为范围广泛且无法通过针对性SFT解决时,PEARL的收益最大。总体而言,我们的框架和方法为更持久地事后移除不期望行为提供了一步进展。

英文摘要:

Undesired model behaviors can emerge or re-emerge at any stage of training. Once observed, how effectively can we suppress them? To study this question, we first construct two model organisms--language models deliberately trained to exhibit a specific misalignment--that differ in what triggers the behavior. The narrow-trigger organism misbehaves only when the prompt contains a specific cue: it cheats on multiple-choice questions by following a planted hint that points to a wrong answer, and behaves normally otherwise. The broad-trigger organism has no such cue: after fine-tuning on insecure code, it gives harmful responses across a wide range of open-ended prompts. We then formalize post-hoc behavioral suppression and evaluate methods along three criteria: immediate suppression of the target behavior, durability under further training, and preservation of general capability. We compare standard methods--SFT, GRPO, and gradient-ascent unlearning--along these dimensions. Building on prior work on alignment shallowness, we hypothesize that more durable suppression requires the ability to recover from a wider range of misalignment states. We introduce Prefix-Expanded Adversarial Reinforcement Learning (PEARL), a GRPO variant that augments rollouts with continuations from intermediate states sampled along cached organism trajectories. Across both organism settings and two model families (Qwen3-4B, GPT-OSS-20B), PEARL achieves strong immediate suppression while preserving task accuracy, and remains durable under further fine-tuning on either the organism's data or unrelated data. It obtains the greatest benefit when the undesirable behavior is broad and cannot be addressed through targeted SFT. Together, our framework and method offer a step toward more durable post-hoc removal of undesired behaviors.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑