Discern Truth from Falsehood: Reducing Over-Refusal via Contrastive Refinement

Yuxiao Lu, Lin Xu, Yang Sun, Wenjun Li, Jie Shi
2/10/2026
cs.CLcs.AI

No confident code implementation found for this paper.

Abstract

Large language models (LLMs) aligned for safety often suffer from over-refusal, the tendency to reject seemingly toxic or benign prompts by misclassifying them as toxic. This behavior undermines models' helpfulness and restricts usability in sensitive or nuanced contexts.

Show full abstract

While prior work has proposed mitigation strategies such as data augmentation and activation steering, these approaches often face a trade-off: reducing over-refusal typically degrades the model's ability to reject genuinely harmful content. We argue that this issue arises from the ambiguous influence of toxic and seemingly toxic prompts on the model's learning dynamics. To address it, we introduce a preceding alignment stage, DCR: Discernment via Contrastive Refinement. Both theoretically and empirically, we demonstrate that contrastive refinement improves an LLM's capacity to distinguish truly toxic prompts from superficially toxic ones. Evaluation across diverse benchmarks shows that our method effectively reduces over-refusal while preserving the safety benefits of alignment. Importantly, it achieves this with minimal degradation of general capabilities, offering a more principled and robust direction for safety alignment.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{lu2026discern,
  title  = {Discern Truth from Falsehood: Reducing Over-Refusal via Contrastive Refinement},
  author = {Yuxiao Lu and Lin Xu and Yang Sun and Wenjun Li and Jie Shi},
  year   = {2026},
  eprint = {2603.03323},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2603.03323v1},
  journal = {ICLR 2026 2026}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2603.03323.svg)](https://codeofpaper.com/paper/2603.03323)

Discussion