DDOR: Delta Debugging for Explainable Overrefusal Testing and Repair
Qinyan Zhou, Peixin Zhang (3762457), Jun Sun, Haonan Zhang, Dongxia Wang
Southeast University · Singapore Management University
Key points
From the paper's conclusion- We present DDOR (Delta Debugging for OverRefusal), a fully automated and explainable framework for overrefusal testing and repair in a black-box setting, where only model inputs and outputs are accessible and internal safety mechanisms remain opaque.
Abstract
While safety alignment and guardrails help large language models (LLMs) avoid harmful outputs, they can also induce overrefusal, i.e., unwarranted rejection of benign queries that merely appear risky. We present DDOR (Delta Debugging for OverRefusal), a fully automated and explainable framework for overrefusal testing and repair in a black-box setting, where only model inputs and outputs are accessible and internal safety mechanisms remain opaque. DDOR applies delta debugging to localize minimal refusal-triggering fragments (mRTFs) that provide phrase-level, explainable evidence for why a refusal occurs. Conditioned on these mRTFs, DDOR generates diverse, context-rich prompts and performs multi-oracle validation to filter intrinsically unsafe or ambiguous cases, producing scalable and model-specific overrefusal test suites (approximately 1K cases per model). Beyond evaluation, we further leverage localized mRTFs to perform targeted prompt repair, substantially reducing overrefusal while preserving the original intent and maintaining safety on genuinely harmful inputs. Overall, DDOR offers a practical end-to-end solution to both evaluate and mitigate overrefusal, improving LLM usability without sacrificing safety.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Behavior Beyond Text: Evaluating Refusal Transfer Failure in LLM AgentsarXiv · 2026
- Fool's Gold: Defensive Deception Against Safety-Removal Attacks on Open-Weight ModelsarXiv · 2026
- Attention Sees, MLP Refuses: Tracing the Attention-to-MLP Safety Pathway in LLMsarXiv · 2026
- Trained on Harm, Still Refusing: A Training-Time Defense for Code GenerationarXiv · 2026
- RL-ATTACK: A Generalized Black-Box Adversarial Attack on Language Models via Reinforcement LearningarXiv · 2026
- TRACE: Trajectory Return Attribution and Contrastive Erasure for Multi-Turn SafetyarXiv · 2026