Safety, Security & Responsible AI·Question 23 of 70Intermediate

What is over-refusal, and how do you manage the helpfulness-vs-safety tension?

Type it the way you would explain it to an interviewer. A few sentences is enough; you can't break anything.

Model answer: the part to lead with

Over-refusal (a.k.a. over-alignment or the "safety tax") is when a model refuses, hedges, or lectures on benign requests because they superficially resemble harmful ones: refusing to explain how to "kill a Python process," to write a villain's dialogue for a novel, or to discuss the pharmacology of a drug for a legitimate medical question. It's the failure mode on the other side of the same coin as unsafe compliance.

Full worked answer

Over-refusal (a.k.a. over-alignment or the "safety tax") is when a model refuses, hedges, or lectures on benign requests because they superficially resemble harmful ones: refusing to explain how to "kill a Python process," to write a villain's dialogue for a novel, or to discuss the pharmacology of a drug for a legitimate medical question. It's the failure mode on the other side of the same coin as unsafe compliance.

Why it's a real problem: a model that refuses everything is trivially "safe" and useless, so you cannot evaluate safety without simultaneously measuring over-refusal - otherwise you'll happily ship a model that's safe because it's incompetent. This is why safety evals pair a harmful-compliance benchmark with a benign-refusal benchmark like XSTest (prompts that look dangerous but are fine). The right metric is a two-dimensional operating point: low harmful-compliance and low benign-refusal, and you choose where on the trade-off curve to sit based on the product's risk profile.

Managing it in practice:

  • Calibrate to the use case - a coding assistant for security researchers should sit at a much more permissive point than a kids' education app.
  • Prefer soft handling over hard refusal - ask a clarifying question, or answer the safe interpretation, rather than blanket-refusing.
  • Tune guardrail thresholds and system-prompt tone to reduce moralising and false blocks; over-strict input classifiers are a common cause.
  • Measure both rates on real traffic and treat a spike in benign refusals as a regression, not a win.
  • Push back in reviews on "just make it refuse more" - that's optimising one number while silently destroying the product.

The senior signal is refusing to treat safety as monotonic: more refusal is not more safe, it's a different failure.

What a good answer covers

  • Over-refusal (a.k.a
  • It's the failure mode on the other side of the same coin as unsafe compliance
  • Why it's a real problem: a model that refuses everything is trivially "safe" and useless, so you cannot…
  • This is why safety evals pair a harmful-compliance benchmark with a benign-refusal benchmark like XSTest…
  • The right metric is a two-dimensional operating point

Key terms: Over-refusal · benign · XSTest · Calibrate to the use case

Interviewer follow-ups to expect

  1. How would you build an eval that catches over-refusal?

  2. Why can't you optimise the refusal rate in isolation?

  3. Where would you set the operating point for a security-research assistant vs. a mental-health chatbot?

Worked answer from AI-Engineer-Interview-Questions by Om (MIT), reformatted for LLM Prep · answer text last updated 6 November 2026 · scoring and review schedule by LLM Prep