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) frequently suffer from "over-refusal," mistakenly rejecting completely benign user prompts simply because they contain sensitive keywords or touch on controversial topics. To solve this, the authors introduce FalseReject, a comprehensive dataset of 16k complex, pseudo-harmful queries paired with structured, context-aware responses that teach models how to reason through ambiguity. Fine-tuning with FalseReject dramatically reduces unnecessary refusals across both standard and reasoning LLMs without compromising their core safety or general capabilities.

What Problem Does This Paper Address?

When we align LLMs to be safe using techniques like Reinforcement Learning from Human Feedback (RLHF), we often make them overly cautious. This leads to over-refusal (or false rejections), where a model flatly refuses a safe request—such as an academic inquiry into historical hate speech or a query about computer security settings—because it superficially resembles something malicious.

Figure 1: Examples include a non-reasoning LLM that directly refuses a benign prompt and a reasoning model that fully complies without considering safety. In contrast, models fine-tuned with our FalseReject dataset can effectively distinguish between safe and unsafe contexts and provide helpful information while maintaining safety.

Existing datasets designed to evaluate this problem are either too small, too simple for modern state-of-the-art (SOTA) models, or only provide evaluation sets. Crucially, prior work lacks high-quality training data that can actively teach models how to navigate the inherent ambiguity of natural language and safely fulfill complex, sensitive requests.

Methods

The authors propose a novel graph-informed adversarial multi-agent interaction framework to synthetically generate diverse, high-difficulty over-refusal queries at scale, alongside structured reasoning traces to resolve them.

1. Query Generation Pipeline

  • Entity Graph Extraction: To prevent the synthetic data from becoming repetitive, the authors use Llama-3.1-405B to extract key entities (people, locations, concepts) from existing toxic datasets, building a relational graph that guides diverse prompt generation.
  • Adversarial Loop: A Generator agent creates prompts that look unsafe but are actually benign, while a Discriminator agent evaluates them to see through the deception. Prompts are then validated against a pool of LLMs; if at least one LLM refuses the prompt, it is passed to an Orchestrator agent for a final quality check.
Figure 2: The overall pipeline for generating over-refusal queries in our FalseReject dataset.

2. Context-Aware Safety Responses

Instead of teaching the model to give a binary "yes" or "no", the authors structure responses to explicitly distinguish between safe and unsafe contexts:

  1. Acknowledgment & Differentiation: Explicitly identify the safe vs. unsafe interpretations of the query.
  2. Detailed Explanation: Provide a thorough, helpful answer to the safe aspect of the prompt.
  3. Clarification & Guidance: Address potential risks with caution and advise the user appropriately.
  4. Closing Statement: Summarize the safe info while emphasizing caution.

For reasoning-focused models, they utilize DeepSeek-R1 to generate long, monologue-style Chain-of-Thought (CoT) thinking traces before delivering the final answer.

Datasets

The primary contribution is the FalseReject resource, which includes:

  • FalseReject-Train-Instruct (15k samples): Query-response pairs tailored for standard instruction-tuned models.
  • FalseReject-Train-CoT (15k samples): Query-response pairs featuring long chain-of-thought reasoning traces for reasoning-oriented models.
  • FalseReject-Test (1.1k samples): A high-quality evaluation benchmark filtered and verified through rigorous human annotation.

The paper evaluates safety and jailbreak robustness using standard benchmarks like AdvBench, MaliciousInstructions, StrongREJECT, and Sorry-Bench, while general capabilities are tracked via MMLU and GSM8K.

Key Insights and Ideas

  • SOTA Models are Overly Sensitive: Benchmarking 29 frontier LLMs revealed that over-refusal remains a massive hurdle. Widely used models like GPT-4.5 and Claude-3.5-Sonnet have compliance rates below 50% on the FalseReject-Test set, showing they frequently fail to balance safety with helpfulness.
  • Reasoning Models Exhibit Inconsistent Behavior: Emerging reasoning models show wild variance. While DeepSeek-R1 achieved an impressive 87.53% compliance rate out of the box, OpenAI's o1 and QwQ-32B-Preview exhibited substantially lower compliance rates, underperforming compared to many non-reasoning models.
  • Deep vs. Shallow Alignment: By analyzing token-wise KL divergence, the authors discovered that training with FalseReject alters the model's generative distribution deeply throughout the entire response. This prevents "shallow safety alignment," where a model is easily jailbroken because its safety training only dictates the first few tokens of its output (e.g., forcing it to start with "I cannot fulfill this request").

Key Results

  • A Harder Benchmark: The average rejection rate on FalseReject-Test across the evaluated models is 40.65%, making it significantly more challenging than older datasets like XSTest (12.10%) or OR-Bench (6.20%).
Figure 3: Benchmarking results on the FalseReject-Test dataset, comparing Compliance Rate and USR metrics across various language models. Closed-source models are indicated with dark green labels, while open-source models are shown in black. Reasoning-specific models (o1, Deepseek-R1, and QwQ) are additionally marked with a star (⋆).
  • Effective Mitigation: Supervised Fine-Tuning (SFT) with the FalseReject training sets consistently and substantially improved the Useful Safety Rate (USR) on benign prompts. For instance, a baseline Qwen-2.5-7B model improved its over-refusal score from 65.54% to 99.24%.
  • Jailbreak Robustness Maintained: Crucially, teaching models to be less defensive against benign prompts did not make them more vulnerable to actual malicious attacks. Across multiple jailbreak methods (GCG, Prefilling, AutoDAN), models fine-tuned with FalseReject maintained or even slightly improved their resilience.

Limitations and Future Work

Not discussed in detail in the paper. However, implicit limitations include the heavy reliance on frontier models (like Claude-3.5-Sonnet) to act as generators and discriminators during data creation, and the fact that the dataset is currently optimized primarily for English-language contextual safety.

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