Over-refusal: what it is and how naive safety FT causes it
Same topic, related formats. Practice these next.
Same topic, related formats. Practice these next.
Define over-refusal in the context of fine-tuned chat models. Explain mechanically how a naive safety fine-tune produces it, and what data trick mitigates it. Mention an evaluation benchmark.
Over-refusal is a model declining safe queries that look dangerous. Naive safety tuning learns keyword-to-refusal. Mix in benign hard-negatives and measure with XSTest.
Imagine training a new security guard by only showing him photos of real burglars holding crowbars. He learns one rule: crowbar means burglar, slam the door. Now a plumber arrives carrying a crowbar to fix a pipe, and the guard refuses to let him in. The guard never learned to read intent, only to spot the scary object. A safety-tuned model does the same thing when it only sees dangerous-looking prompts paired with refusals. It starts refusing a movie review about a bomb scene, or a chemistry question about mixing cleaners safely. The fix is to also show the guard plumbers with crowbars, the helpful people who carry the scary-looking tool, so he learns to judge the situation, not just the prop.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example.
Everything important, quickly.
5 min: define over-refusal + the keyword shortcut mechanism + why intent is harder to learn + benign hard-negative mitigation with the two to five ratio + XSTest and a paired harm eval + production framing.
| Aspect | Naive safety tune | Contrastive safety tune |
|---|---|---|
| Training data | Dangerous prompt to refusal pairs only | Dangerous refusals plus benign hard-negatives |
| Feature learned | Trigger keyword maps to refusal | Intent and context separate the classes |
| Benign queries | Frequently refused (over-refusal) | Mostly answered, better calibration |
| XSTest score | Often drops into the 70s or below | Recovers toward 90 percent and above |
| Failure visibility | Hidden, refusals look confident | Surfaced by the benign stress set |
Real products, models, and research that use this idea.
What an interviewer would ask next. Try answering before peeking at the approach.
Red flags and common mistakes that signal junior thinking. Click to expand.
Treating over-refusal as harmless caution. It is a calibration failure that quietly destroys helpfulness, and naive safety tuning makes it worse by teaching keyword reflexes instead of intent.
The night-before-the-interview bullets. Scan these on the way to the call.
Primary sources. Skim if you want the original framing.