What is over-refusal?
Over-refusal is when an AI model, because safety training or guardrails are applied too broadly, refuses harmless and legitimate requests, or buries them in needless warnings, merely because they contain a word or topic that looks risky on the surface.
Refusal behaviour is the general name for a model declining a request, desirable for truly harmful ones; over-refusal is that behaviour spilling over to requests that should be answered. The aim is not to remove refusal but to refuse in the right place.
- Topic
- Machine learning, models and training
- Also known as
- Exaggerated safety, false refusal
How over-refusal works
- Safety training can make a model link certain words or topics with risk.
- Input or output classifiers with low thresholds can also block legitimate requests.
- A security team's request to summarise its own incident report, or a doctor's dosage question, can then go unanswered.
- Measurement uses test sets of harmless prompts that look harmful, alongside genuinely harmful ones.
In more detail
Mechanistic causes: lexical shortcuts and the refusal direction
Mechanistically, over-refusal often stems from lexical shortcut learning during RLHF or DPO safety tuning, where models latch onto trigger words such as "exploit", "kill" or "bomb" regardless of benign defensive, medical or historical context, as well as an overly sensitive threshold along the model's internal linear "refusal direction" in activation space.
The safety and helpfulness trade-off: ASR, FRR and OR-Bench
Proper safety evaluation tracks the Pareto trade-off between attack success rate (ASR) on genuinely harmful prompts and false refusal rate (FRR) on benign edge-case prompts. Benchmarks such as XSTest and the larger OR-Bench (2024) are widely used for jointly measuring compliance on safe look-alike prompts alongside true safety enforcement.
Modern mitigations: deliberative alignment and safe completion
Modern mitigation strategies move beyond crude keyword filters toward deliberative alignment (training models to reason explicitly over written safety specifications before refusing), safe completion or partial compliance (answering the benign educational or defensive part without providing actionable harm) and representation-engineering calibration.
Commonly confused terms
| Term | How it differs |
|---|---|
| Under-refusal | Under-refusal (or jailbreak vulnerability) is the opposite failure mode, where a model complies with genuinely harmful requests; balancing safety alignment requires jointly minimising both under-refusal and over-refusal. |
| Abstention | Model abstention (or selective refusal due to uncertainty or lack of knowledge) happens when a model refuses to answer because it lacks reliable facts or grounding to avoid hallucination, whereas over-refusal stems from overly conservative safety boundaries or keyword triggers. |
Why over-refusal matters for on-premises AI
If in-house assistants often refuse legitimate work requests, staff may switch to unsupervised outside tools, raising shadow AI risk. It is a quality problem, not a sign of safety. Organisations should measure both how often harmful requests are refused and how often legitimate ones are wrongly refused. Adding role and context to the system prompt, tuning guardrail thresholds on company data and collecting false-refusal examples are effective steps.
A bank's security team finds the in-house assistant refusing to summarise its own incident reports because they mention malware; it adds the requester's verified role to the system prompt, tunes the classifier threshold on company data and tracks false refusals.
Common questions
Does over-refusal mean a model is safer?
No. Refusing legitimate requests adds no safety; it cuts usefulness and can push users to unsupervised tools.
How is over-refusal measured?
With test sets of harmless prompts that look harmful. Refusal rate on these is tracked alongside refusal rate on genuinely harmful prompts.
Related terms
Sources
In the glossary: Glossary, M to Q