FalseReject: A Resource for Improving Contextual Safety and Mitigating Over-Refusals in LLMs via Structured Reasoning

Zhehao Zhang, Weijie Xu, Fanyou Wu, Chandan K. Reddy

TL;DR

Large language models (LLMs) often refuse benign queries, hindering their usefulness. This paper introduces FalseReject, a new dataset and framework to address this "over-refusal" problem. By training LLMs with structured reasoning on this dataset, the authors show significant reductions in unnecessary refusals without compromising safety or general capabilities.

What Problem Does This Paper Address?

As LLMs become more integrated into real-world applications, a critical challenge is balancing their helpfulness with safety. While significant effort has gone into aligning LLMs to refuse harmful requests, this often leads to "over-refusal" – models unnecessarily rejecting benign queries. This diminishes their utility, especially in sensitive scenarios. Existing datasets for evaluating this issue are becoming outdated, and there's a lack of resources for training models to better distinguish safe from unsafe contexts. The inherent ambiguity of natural language makes it difficult for LLMs to navigate these nuanced situations, leading to a persistent over-refusal problem.

Methods

The core of this work is the FalseReject dataset and a novel generation framework.

  1. Graph-Informed Adversarial Multi-Agent Interaction: To create diverse and challenging over-refusal prompts, the authors employ a multi-agent system. An LLM "Generator" creates prompts that appear harmful but are actually benign, guided by entity graphs extracted from existing safety datasets. A "Discriminator" evaluates these prompts, and a pool of LLMs tests for refusals. This iterative process refines prompts to be convincing enough to trigger refusals while remaining harmless.
  2. Structured Reasoning Responses: For the generated prompts, the authors create responses that include explicit reasoning. This helps LLMs learn to differentiate safe from unsafe interpretations of ambiguous queries, moving beyond simple refusal.
  3. Supervised Fine-Tuning (SFT): The FalseReject dataset is used to fine-tune LLMs. Two training sets are provided: FalseReject-Train-Instruct for standard models and FalseReject-Train-CoT for reasoning-oriented models.

Datasets

  • FalseReject Dataset: A newly introduced resource comprising 16,000 queries and structured responses.
  • FalseReject-Test: A 1.1k sample human-annotated test set.
  • FalseReject-Train-Instruct: 15k query-response pairs for training non-reasoning LLMs.
  • FalseReject-Train-CoT: 15k query-response pairs for training reasoning LLMs.
  • Covers 44 safety-related categories.
  • Existing Datasets Used for Generation: ALERT, CoCoNot, HarmBench, HEX-PHI, Or-Bench, JailbreakBench, Sorry-Bench, XSTest.
  • Evaluation Datasets: FalseReject-Test, OR-Bench-Hard-1K, AdvBench, MaliciousInstructions, Sorry-Bench, StrongREJECT, GSM8K, MMLU.

Key Insights and Ideas

  • Over-refusal is a persistent problem: Even state-of-the-art LLMs struggle significantly with over-refusal, with many showing compliance rates far below 100% on benign queries.
  • Reasoning models aren't immune: While some reasoning models perform well on over-refusal metrics, others show inconsistent behavior, highlighting that specific alignment strategies are crucial.
  • Model size isn't the sole determinant: Smaller models can outperform larger ones within the same family on over-refusal metrics, suggesting that alignment strategies are more critical than raw capacity.
  • General language ability doesn't guarantee good refusal behavior: High-performing general LLMs don't necessarily exhibit better over-refusal behavior, indicating a need for targeted alignment.
  • Open-source models are competitive: Some open-source models demonstrate strong performance on over-refusal metrics, rivaling or even surpassing closed-source counterparts.
  • Structured reasoning is key: Fine-tuning with FalseReject, which includes structured reasoning, leads to deeper and more sustained alignment compared to standard instruction tuning.

Key Results

  • FalseReject Dataset Generation: The graph-informed adversarial multi-agent framework successfully generated diverse and challenging over-refusal queries.
  • Benchmarking: Comprehensive benchmarking of 29 SOTA LLMs revealed significant variability in over-refusal behaviors.
  • SFT Effectiveness: Supervised fine-tuning with FalseReject-Train-Instruct substantially reduced unnecessary refusals in non-reasoning LLMs, improving USRBenign (Useful Safety Rate for benign prompts) by up to 20 percentage points.
  • Safety Improvement in Reasoning Models: SFT with FalseReject-Train-CoT significantly improved safety metrics for reasoning LLMs, even surpassing non-reasoning models, while maintaining high over-refusal performance.
  • Robustness: Fine-tuning with FalseReject did not increase vulnerability to jailbreak attacks; in fact, it often improved or maintained resilience.
  • Alignment Depth: Per-token KL divergence analysis showed that SFT with FalseReject achieves deeper and more consistent alignment compared to typical instruction-tuned models.

Limitations and Future Work

  • Limitations: The paper acknowledges that while the dataset is large (16k examples), it's still a subset of all possible over-refusal scenarios. The authors also note that their evaluation relies on LLM-as-a-judge, which, while validated, is not perfect.
  • Future Work: The authors suggest that their FalseReject dataset and framework can be extended to cover more safety-related categories and more complex reasoning scenarios. They also highlight the potential for further research into understanding the nuanced differences in refusal behaviors across various model families and architectures.

Summary updated

BibTeX
@inproceedings{zhang2025falsereject,
  author = {Zhehao Zhang and Weijie Xu and Fanyou Wu and Chandan K. Reddy},
  title = {{FalseReject: A Resource for Improving Contextual Safety and Mitigating Over-Refusals in LLMs via Structured Reasoning}},
  booktitle = {COLM},
  year = {2025},
  url = {https://openreview.net/forum?id=1w9Hay7tvm},
}
Figure