arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.31748cs.LG
收藏

用竞争奖励解决大语言模型中的过度拒绝问题

Addressing Over-Refusal in LLMs with Competing Rewards

Carnegie Mellon University(卡内基梅隆大学);SynthLabs

Taeyoun Kim, Aviral Kumar

AI总结:

提出SEAR方法,通过对抗优化和过程奖励,让模型在推理中探索有害思路但最终输出安全答案,从而缓解安全训练导致的过度拒绝问题。

摘要:

语言模型的安全训练常常导致过度拒绝:在有害提示上提高了安全性,但代价是增加了对无害提示的拒绝。虽然通过强化学习(RL)训练模型在回答前进行推理可以缓解这种权衡,但并未消除根本问题,即推理往往只是对预定回答的“橡皮图章”。在本文中,我们通过重新思考模型如何训练以进行安全推理来解决安全-拒绝权衡。我们的关键见解是,不安全的推理本身可以作为有用的探索信号。我们不是预先阻止有害想法,而是鼓励模型充分探索不安全的推理,但产生安全的回答。有害探索通过解决歧义来提高模型区分有害和无害提示的能力,使其在保持安全的同时仅在适当的时候服从。我们将其视为一个对抗优化问题,其中推理玩家探索产生不安全回答的策略,而回答玩家确保最终输出是安全的。我们使用密集奖励训练一个单一模型,在同一个思维链中扮演两个角色,跨越不同片段。为此,我们发现过程奖励对于稳定优化竞争目标至关重要。我们得到的模型SEAR有意识地参与有害推理作为探索,同时可靠地切换回安全答案。我们证明这种行为有助于缓解过度拒绝,并防御直接操纵推理使其有害的攻击。

英文摘要:

Safety training on language models often induces over-refusal: improved safety on harmful prompts at the cost of increased refusal on harmless ones. Though this trade-off can be mitigated by training models with reinforcement learning (RL) to reason before answering, it does not remove the underlying problem that reasoning can often be a "rubber stamp" for a predetermined response. In this paper, we address the safety-refusal trade-off by rethinking how models are trained to reason about safety. Our key insight is that unsafe reasoning can itself serve as a useful exploratory signal. Rather than preemptively blocking harmful thoughts, we encourage the model to sufficiently explore unsafe reasoning but produce a safe response. The harmful exploration improves the model's ability to distinguish harmful from harmless prompts by resolving ambiguity, allowing it to remain safe while complying only when appropriate. We cast this as an adversarial optimization problem in which a reasoning player explores strategies for producing an unsafe response and an answer player ensures that the final output is safe. We train a single model with dense rewards to play both roles within one chain-of-thought, across different segments. To achieve this, we find that process rewards are crucial for stable optimization of competing objectives. Our resulting model SEAR deliberately engages in harmful reasoning as exploration while reliably flipping back to a safe answer. We demonstrate that this behavior helps mitigate over-refusal and defend against attacks that directly manipulate the reasoning to be harmful.

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

↑