Addressing Over-Refusal in LLMs with Competing Rewards
Abstract
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.
Create a lesson
Related papers
Recursive Self-Editing: LLMs Program Their Own Weight Edits for Self-Improvement
Shared title terminologycs.LGLinghua Zhang, Yunhe Li
Reward Tilting via Semantic Noising
Shared title terminologycs.LGRafał Karczewski, Peter Blohm, Markus Heinonen et al.
RadAG: Reward-Adversarial Attention Guidance for Efficient Inference-Time Alignment of Diffusion Models
Shared title terminologycs.LGHyeongchan Jeon, Kwanyoung Kim
Synthetic EHR Generators Should Be Audited Like LLMs
Shared title terminologycs.LGInigo Stibbe, Padmanabhan Ramnarayan, A. Aldo Faisal
Understanding and Mitigating the Fragility of Self-Rewarding Optimization
Shared title terminologycs.LGRongyi Zhu, Tanqiu Jiang, Fenglong Ma et al.
Right in the Right Way: LM Training with Verifiable Rewards and Human Demonstrations
Shared title terminologycs.LGMehul Damani, Isha Puri, Idan Shenfeld et al.