Sub topic 7
Human oversight and fallbacks
This chapter assumes you have read the chapter on error cost. You should know that a wrong answer has a price, and that the price differs by feature. You should also be able to read short Python snippets. Here you decide what happens around the model: who checks its output, and what the product does when the output is missing or wrong.
Why oversight is a design decision
A probabilistic system will sometimes be wrong. Better prompts or models lower the error rate but do not remove it. Oversight and fallbacks are how a product stays safe given the errors that remain.
Treat them as part of the feature, not as a patch added after launch. They change the cost, the latency, the staffing and the user experience. They also decide whether a feature with costly errors can ship at all. In the scorecard from the earlier chapters, "errors are not tolerable" can still end in a yes if a human reviews every output. It ends in a no if no review is possible.
Two terms are used throughout:
- Oversight is any mechanism where a person or an automated check can inspect, correct, or stop the AI's output.
- Fallback is the behavior the product switches to when the AI output is unavailable, low quality, or rejected.
Three oversight patterns
The patterns differ in when the human acts relative to the user seeing the result.
| Pattern | When the human acts | Typical use | Main cost |
|---|---|---|---|
| Human in the loop | Before the output takes effect | Refund approvals, medical or legal drafts | Reviewer time on every item |
| Human on the loop | After the output takes effect, with the ability to intervene | Content moderation, ticket routing | Monitoring and sampling effort |
| Human as the user | The end user reviews and edits the output | Draft emails, code suggestions | User attention and trust |
Human in the loop
Every output waits for approval. This gives the strongest protection and the weakest throughput. It fits when one error is expensive and volume is modest. The AI's value here is speed for the reviewer: it prepares a draft or a recommendation, and the reviewer confirms or changes it.
A common failure is automation bias. Reviewers who see mostly correct outputs start approving without reading. The review exists on paper but catches little. Counter this by measuring reviewer behavior, for example how often reviewers change an output and how long they spend. A reviewer who changes nothing across hundreds of items is a warning sign, not a success.
Human on the loop
The output takes effect immediately. People watch aggregate behavior, sample outputs, and handle appeals. This scales well, but each error reaches a user before anyone sees it. It only suits features where an individual error is cheap or easy to reverse.
Human as the user
The product shows the output as a suggestion. The user accepts, edits, or ignores it. This is the lightest pattern, and it works when the user can judge quality faster than they could produce the result. Writing an email subject line is hard, but judging one is easy. Checking a cited legal precedent is not easy, so the pattern fits poorly there.
Choosing a pattern from error cost
The error cost you estimated earlier drives the choice. Two questions narrow it down:
- How bad is a single wrong output, and can it be undone?
- Can someone verify the output faster than producing it?
If a wrong output is severe and irreversible, use human in the loop or do not use AI. If it is cheap and reversible, human on the loop or human as the user is usually enough. If nobody can verify the output at all, no oversight pattern works, and the scorecard should say so.
Confidence thresholds and routing
Reviewing everything is often too costly. A common compromise is to review only the outputs the system is unsure about. The system produces a confidence score, a number that estimates how likely the output is to be right. Outputs above a threshold go straight through. Outputs below it go to a person.
def route(label: str, confidence: float, auto_threshold: float = 0.9,
reject_threshold: float = 0.5) -> str:
"""Decide what happens to one AI classification."""
if confidence >= auto_threshold:
return f"auto: {label}"
if confidence >= reject_threshold:
return "send to human review"
return "fallback: manual queue with no AI suggestion"
for label, conf in [("billing", 0.97), ("bug", 0.72), ("billing", 0.31)]:
print(route(label, conf))This produces three lanes: automatic, reviewed, and no-AI. Three points make this work in practice:
- Scores must be calibrated. A score of 0.9 should mean the output is right about 90% of the time. Many models, and most large language model outputs, do not provide a trustworthy number. Check calibration on labeled data before relying on a threshold. If you cannot get a reliable score, use other signals, such as disagreement between two runs, a failed format check, or a missing citation.
- The threshold is a business choice. Raising it sends more items to people and lowers errors. Lowering it saves reviewer time and lets more errors through. Set it from the cost of an error against the cost of a review, and revisit it as volume changes.
- Review capacity limits the system. If 30% of items need review and reviewers handle 10%, a queue builds up and users wait. Estimate the review load before launch.
Designing fallbacks
A fallback is needed whenever the AI path can fail. It can fail in several ways, and each needs a decision.
| Failure | Example | Reasonable fallback |
|---|---|---|
| Service unavailable | Hosted model times out or rate limits | Retry once, then use the non-AI path |
| Output invalid | Response is not in the required format | Reject it, retry, then use the default |
| Low confidence | Score below the threshold | Route to a person |
| Policy violation | Output contains blocked content | Suppress it, show a neutral message, log the event |
| Quality drift | Accuracy falls over weeks | Switch the feature off or to a safer mode |
The best fallback is usually the non-AI baseline you built in an earlier chapter. A search box with keyword matching, a rule-based router, or a plain form still works when the model does not. This is a practical reason to build the baseline first: it doubles as your safety net.
Graceful degradation
Design the product so that losing the AI makes it less convenient but not broken. A support tool that cannot suggest replies still lets an agent type one. A form that cannot auto-fill still accepts typed input. If the feature breaks the whole workflow when the model fails, the AI has become a single point of failure.
The following code shows the structure: validate the output, retry within a limit, then fall back.
import random
def call_model(text: str) -> str:
"""Stand-in for a real model call that sometimes fails."""
roll = random.random()
if roll < 0.2:
raise TimeoutError("model timed out")
if roll < 0.4:
return "???" # invalid output
return "billing" if "refund" in text else "bug"
VALID_LABELS = {"billing", "bug"}
def rule_baseline(text: str) -> str:
return "billing" if "refund" in text or "invoice" in text else "bug"
def classify(text: str, max_attempts: int = 2) -> tuple[str, str]:
"""Return (label, source) so callers can see which path produced it."""
for _ in range(max_attempts):
try:
label = call_model(text)
except TimeoutError:
continue
if label in VALID_LABELS:
return label, "ai"
return rule_baseline(text), "fallback"
print(classify("please refund my order"))The function returns the source along with the label. Recording which path answered is important. If the fallback rate climbs from 2% to 30%, something is wrong, and without the source field you would not see it.
Making oversight work for the people involved
A review step is a product with its own users. Several details decide whether it helps or only slows things down.
- Show the evidence. A reviewer who sees only the AI's answer must redo the work to check it. Show the source documents, the matched fields, or the reasoning inputs so checking is quick.
- Make correction cheap. One-click accept and an easy edit field beat a form with five required fields. If correcting is slow, reviewers stop correcting.
- Capture the corrections. Each edit is a labeled example. This links oversight to the data and feedback loop from the previous chapter: reviewers produce training and evaluation data as a side effect of their work.
- Give users an escape. Offer a visible way to reach a human, report a bad output, or turn the feature off. Users who cannot escape a wrong answer lose trust in the whole product.
- Show uncertainty honestly. Labels such as "suggested" or "draft" set expectations. Avoid wording that implies certainty the system does not have.
Common mistakes
- A human nominally in the loop. Approval takes two seconds and the reviewer never disagrees. The review gives false assurance. Measure override rates and sample reviewed items for audit.
- No fallback for the common failure. Teams plan for outages but not for plausible wrong answers, which are the more frequent problem. Plan for both.
- Fallback that was never tested. The non-AI path rots when it is unused. Exercise it in tests and, where safe, in periodic live traffic.
- Thresholds set once. Data, users, and models change. A threshold tuned at launch drifts out of date.
- Oversight with no authority. Reviewers who cannot reject outputs, pause the feature, or escalate are decoration. Name who may switch the feature off and under what conditions.
- Ignoring the affected person. When the AI affects someone who is not the user, such as a loan applicant, the user's review is not enough. That person may need an appeal route and an explanation. The next chapters on risk and compliance cover when this is required.
Effect on the decision
Bring three findings back to the scorecard:
- Which oversight pattern the feature needs, and what it costs per item.
- What the fallback is, and whether it exists and works today.
- Whether the review capacity can handle the expected volume at the chosen threshold.
If errors are intolerable and no workable oversight exists, the answer is not to use AI for that step. A narrower use is often possible. For example, let the model draft and a person send, or limit it to a low-risk subset of cases.
Exercise
A feature uses an AI model to approve or deny customer refund requests up to $500. A wrong denial angers a customer, and a wrong approval costs money. Reviewers can check each request in about a minute, and volume is 200 requests a day. Choose an oversight pattern, a routing rule, and a fallback for when the model is unavailable. Explain one risk of your design.
Show answer
Use a hybrid. Because errors cost money and customer trust and volume is small, review is affordable. Auto-approve only high-confidence, low-amount approvals, send everything else, including all proposed denials, to human review (human in the loop), and sample the auto-approved items for audit. If the model is down or returns invalid output, route all requests to the manual queue, which is the existing non-AI process. One risk is automation bias: reviewers may approve the model's suggestions without reading. Track how often reviewers change the model's decision and audit a sample of approved items. A second acceptable risk is miscalibrated confidence, which would let wrong auto-approvals through, so check calibration on labeled data before setting the threshold.
Exercise
The fallback rate of a classification feature rises from 3% to 25% over two weeks, but users have not complained. What does this tell you, and what should you do?
Show answer
The graceful fallback is hiding a problem. The AI path is failing or producing invalid output much more often, possibly from a model change, a timeout issue, or a change in input data, and users see the non-AI result instead. Investigate the cause using the logged failure type, check cost and quality of the fallback at this volume, and set an alert on the fallback rate so the problem is noticed before the fallback path is overloaded.