esc
  • WorkflowsPages
  • Case studiesPages
  • Machine Learning FoundationsLearn
  • AI EngineeringLearn
  • AI Guardrails & Red TeamingLearn
  • UI/UXLearn
  • Design SystemsLearn
  • Production System DesignLearn
  • AI papersPages
  • Interview KitPages
  • Book a callContact
  • Download ResumeContact
Let’s talk

I’ll build the agent for it.

How Do You Balance Safety and Helpfulness?

How to balance safety and helpfulness: two costly failures, a ladder of routes from full help to a clear no, and how to measure both, for your AI interview.

In short

Balancing means avoiding two costly failures: help with something harmful, and refusing ordinary requests. Sort each request by harm and by how easy it is to undo, pick the lightest safe route, keep hard limits in code, and measure both errors on one test set.

12 min readIntermediateCommon · estimateFacts checked 26 November 2026

Say it out loud

Read it once, then say it without looking. Start with the short one; use the long one when they ask you to go deeper.

Balancing safety and helpfulness means avoiding two failures. An assistant can help with something harmful, or it can refuse ordinary questions, and both cost something. I sort each request by how bad the worst case is and whether the damage can be undone. Then I pick the lightest safe route: answer in full, answer with limits, hand to a person, or decline with a reason. Hard limits sit in code, and I measure both error rates on the same labelled test set.

What is the balance, in plain words?

Safety means the assistant does not give help that could cause real harm. Helpfulness means it gives a real answer to what the person asked. Balancing them means neither one wins every time.

Picture a triage nurse on a clinic's phone line. If she sends every caller to the emergency room, the line is useless and real emergencies wait behind false alarms. If she tells a caller with chest pain to rest, someone could die. She sorts each call by how urgent it is and what happens if she is wrong. An AI assistant has the same job, at a much bigger scale.

A bank's card assistant must refuse to show the balance of someone else's account to a stranger. The same assistant, asked what to do after a card is stolen, should answer fully, because a slow answer costs the customer money.

Key words

Over-refusal
The assistant says no to a fair request because it looks risky on the surface.
Harmful help
An answer that a bad actor or a careless user could use to cause real damage.
Dual-use request
A question that can protect people or hurt them, such as how a scam works.
Safe partial answer
The part of a reply that is fine to give, with the risky part left out.

Why doesn't a stricter rule fix it?

A stricter rule moves the line. It stops more risky chats, and it also turns away more fair ones. OpenAI put this trade-off in one sentence in its write-up on safe completion, a new training approach:

  • “It can be easy to trade off helpfulness for safety - a model can be safe if it refuses everything.”

    OpenAI

  • “Claude should never see unhelpful responses to the operator and user as an automatically safe choice.”

    Anthropic

OpenAI says earlier production models such as ChatGPT relied on refusal-based training, where the model should either fully comply or refuse. A binary line like that is badly suited to dual-use questions, so the research looks for a better design. Safe completion trains the model on the safety of its own answer. OpenAI reports that this improves both safety and helpfulness, especially in dual-use areas.

Two ways to tune one assistant

Only tighten the rules

Raise the refusal bar

more blocks, more false alarms

Redesign the response

Sort risk, add routes

answer, limit, hand off, decline

Harm down, refusals up

helpful users pay the cost

Both errors can fall

the aim of the whole design

  1. 1A stricter bar stops more risky chats, and turns away more fair ones.
  2. 2A better design sorts risk and picks a route, so both errors can fall.
Tightening the rules trades one error for the other, so harm falls and refusals rise. A redesigned response can improve both, which is what OpenAI reports for its safe-completion training. The worked example below shows the same trade-off in numbers.

How do you decide how much to help?

Start by sorting each request on two questions: how bad is the worst outcome, and can the damage be undone? Anthropic's guidance asks for clear, objective information unless the hazards are very high or the user is clearly malicious. It also notes that most everyday work has no conflict between being safe and being helpful.

Then pick the lightest route that is still safe. The ladder runs from answering in full, through answering with limits, to a person, and last to declining with a reason. OpenAI's wording for one kind of safe reply is an informative refusal with helpful and safe alternatives. Anthropic's guidance adds that the model does not need to act as the last line of defence, because other safeguards exist.

From request to the lightest safe route

A request arrives

from a customer or a tool

Sort by risk

harm if wrong, and can it be undone

Lightest safe route

Answer in full

low harm, easy to undo

Answer with limits

the safe part, plus a warning

Hand to a person

money moves, medical risk

Decline with a path

clear harm only, say why

  1. 1The request is checked before any answer is written.
  2. 2Low harm and easy to undo: answer in full.
  3. 3Mostly safe: give the safe part and say what is left out.
  4. 4Money or medical stakes: a person takes over.
  5. 5Clear harm: decline, say why, and offer another route.
A request is sorted by risk, then takes the lightest route that is still safe. The top route answers in full. Only clear harm reaches the decline route, and even that route says why and offers a next step.
  1. 1

    Sort by harm and undo

    How bad is the worst case, and can the damage be reversed? A balance check costs little. A wrong payment costs a lot.

  2. 2

    Pick the lightest safe route

    Answer, answer with the risky part left out, hand to a person, or decline with a reason and a next step.

  3. 3

    Keep hard limits in code

    Payment caps, account access and dosage checks live in your code. The model asks, and the code decides.

  4. 4

    Decline with a path

    Say what you can't do, why in one line, and where the customer can go next.

Tip

A quick check from Anthropic's guidance is the dual newspaper test. Would a reporter covering harmful AI call this answer harmful? Would a reporter covering preachy AI call it needlessly unhelpful? A good answer survives both.

How do you measure both errors?

You cannot read the balance from one number. Build a labelled test set of ordinary and risky chats, run each setting on it, and count two things: risky chats that got through, and good chats that were refused. NIST, the US standards body behind its AI Risk Management Framework, says measurement gives a traceable basis for these decisions:

  • “Where tradeoffs among the trustworthy characteristics arise, measurement provides a traceable basis to inform management decisions.”

    NIST

Here is a made-up bank. Its card assistant is tested on 1,000 labelled chats: 900 ordinary questions and 100 risky ones, such as a request for another customer's account. The script below counts three settings.

Python
# Made-up test set for a bank's card assistant: 1,000 labelled chats.
# 900 are ordinary questions. 100 are risky, such as a request for someone else's account.
GOOD, RISKY = 900, 100
assert GOOD + RISKY == 1000

# Each setting: risky chats that got through, and good chats refused.
RESULTS = {
    "Loose": (15, 20),
    "Strict": (6, 120),
    "Redesigned": (3, 27),
}

print(f"{'Setting':<12}{'Risky through':>15}{'Good refused':>14}")
for name, (risky_through, good_refused) in RESULTS.items():
    through = 100 * risky_through / RISKY
    refused = 100 * good_refused / GOOD
    print(f"{name:<12}{through:>14.1f}%{refused:>13.1f}%")

Output

Setting       Risky through  Good refused
Loose                 15.0%          2.2%
Strict                 6.0%         13.3%
Redesigned             3.0%          3.0%

In words: the loose setting lets 15% of risky chats through and refuses 2.2% of good ones. The strict setting lets 6% through, but it refuses 120 ordinary customers, which is 13.3%. The redesigned setting, with routes, hard limits and a handoff, lets 3% through and refuses 3%. The numbers are made up, but the pattern holds: tightening moves the errors, and a redesign can improve both, as OpenAI reports for its own model.

Tip

Always report both numbers together. A team that reports only the harm rate will pick the strictest setting every time.

How would you set the balance for a clinic's chatbot?

A clinic puts a chatbot on its patient portal. Most messages are routine: opening hours, booking a slot, asking for a repeat prescription. A few ask about doses, or describe symptoms that could be urgent. Each of those needs its own route.

  • Routine

    Answer in full

    Opening hours, bookings and repeat-prescription steps. Low harm, and easy to fix if it is wrong.

  • Urgent

    Route to a nurse now

    Chest pain or trouble breathing gets the emergency number first, then a person. Code makes this route fixed.

Measure the urgent route on its own. Missing one real emergency costs far more than a slow reply, so that route is tuned to miss less, and you accept more false alarms there.

What does the interviewer want to hear?

A strong answer covers

  • Two ways to fail: harmful help, and refusing fair requests.
  • Sort requests by how harmful the worst case is and whether it can be undone.
  • A ladder of routes, not a single yes or no.
  • Hard limits in code, outside the model's judgement.
  • Both error rates measured on one labelled test set before launch.
  • The balance depends on the product, and you name the trade-off.

Common traps

  • Trap"When in doubt, refuse. That's the safe choice."

    BetterRefusing everything is safe only in the narrow sense. Each refusal of a fair request is a real cost to a real customer.

  • Trap"The system prompt keeps it safe."

    BetterA prompt is a partial control. Hard limits belong in code that the model cannot override.

  • Trap"A bigger model will find the balance."

    BetterA better model helps, but the balance still needs routes, limits and a test set that counts both errors.

Can you spot the balance going wrong?

Spot the problem

A bank's card assistant has four rules. Which one is the problem?

Quick check

The assistant refused 120 good customers last month. What is the best first step?

Can you answer these from memory?

Flash cards · tap a card to flip it

1 / 6

What will they ask next?

  1. Q232What is over-refusal?11 min
  2. Q234How should an app handle refusals?Coming soon
  3. Q243Why confirm irreversible actions?10 min
  4. Q244How do you measure guardrail false positives and negatives?12 min
  5. Q245Design a guardrail pipeline for a public chatbot.14 min

Last updated on 26 November 2026

Building an assistant that sometimes has to say no?

I design and build AI assistants and agents with routes, hard limits and a test set that counts both errors. Book a short call and tell me what yours needs to do.