Sub topic 7
Human Oversight and Fallbacks
Assume you understand how software features are built and have basic familiarity with machine learning and large language models. This chapter focuses on a practical question: what should happen when an AI feature is uncertain or wrong?
AI produces probable answers, not guaranteed answers. Human oversight and fallback paths limit the damage when the answer does not meet your quality or safety requirements.
Decide what the AI is allowed to do
Start by defining the AI's authority. A feature may:
- Suggest an answer for a person to approve.
- Complete a low-risk task automatically.
- Block or reject an action.
- Trigger a high-impact action, such as changing an account or sending money.
These choices have different error costs. A wrong draft can be edited. A wrong account change may be difficult to reverse.
Use the least authority that still creates user value. You can increase authority later if measured results show that the feature is reliable enough.
A useful design separates three outcomes:
- Accept: The result meets the quality threshold and can continue.
- Review: The result may be useful, but a person should check it.
- Fallback: The system cannot safely rely on the result, so it uses a simpler path or asks the user for more information.
Design a meaningful fallback
A fallback is an alternate behavior used when the AI cannot safely complete its job. It should be a real product path, not only an error message.
Good fallbacks include:
- Showing search results instead of generating an answer.
- Asking the user to choose from known options.
- Routing a support request to a human.
- Applying a deterministic rule.
- Preserving the original input and asking the user to try again.
The fallback should also explain what happened in plain language. Do not claim that the AI completed an action when it only produced a suggestion.
def choose_action(confidence: float, needs_approval: bool) -> str:
if confidence >= 0.90 and not needs_approval:
return "apply_result"
if confidence >= 0.65:
return "send_to_human_review"
return "use_search_or_ask_user"
for confidence in (0.95, 0.72, 0.40):
print(confidence, choose_action(confidence, needs_approval=False))Confidence scores can help route cases, but do not treat them as proof that an answer is correct. A model can be confidently wrong. Test the routing rule against labeled examples and monitor its results after launch.
Choose the right human review model
Human review has a cost. Reviewers need time, training, and tools that show the input, AI output, and relevant evidence. A review step that is too slow can erase the benefit of automation.
Consider these patterns:
- Human before action: A person approves every result. Use this for high-impact or irreversible actions.
- Human after action: The system acts, then a person checks samples or exceptions. Use this only when errors are reversible and detection is fast.
- Human on uncertainty: The system routes low-confidence or unusual cases to a reviewer. This often balances speed and safety.
- User confirmation: The user sees the proposed result and confirms it. Make important details visible instead of hiding them behind a generic confirmation button.
Connect oversight to risk
Set stricter controls when errors affect safety, money, privacy, legal rights, or access to essential services. Record decisions and review outcomes so you can find repeated failure patterns.
A practical flow looks like this:
Review the design before launch
Ask:
- What is the worst plausible error?
- Can the user or team undo it?
- Which cases require approval?
- What information must the reviewer see?
- What happens if the model, provider, or network is unavailable?
- Can you measure fallback frequency and reviewer agreement?
A high fallback rate may mean the model is weak, the threshold is too strict, or the task is a poor fit for AI. Revisit the design using production evidence rather than assuming that more automation is always better.
Exercise
An AI drafts customer replies. It is usually helpful, but it sometimes invents refund policies. What is a safer first release design?
Show answer
Show the draft as a suggestion, require a trained support agent to approve it, display the source policy, and provide a manual reply path when the policy is missing or uncertain.