AI ENGINEERING | LIVING GLOSSARY | #012
HUMAN-IN-THE-LOOP (HITL)
Designing Human Oversight into AI Systems
Chapter 2: Engineering AI for Reliability
AIYING — Accomplishing with AI
An AI assistant processes employee reimbursement claims. It reads receipts, checks company policy, and recommends whether each claim should be approved.
For routine claims, the assistant appears accurate and efficient.
Then it encounters a ₹75,000 claim with incomplete supporting documents and an unusual expense category.
Should the AI approve it? Reject it? Or ask a human to decide?
This is not simply a question about model accuracy. It is a question about how responsibility and authority are designed into an AI system.
1. What Is Human-in-the-Loop?
Human-in-the-Loop (HITL) describes a system design in which human participation is deliberately incorporated into an automated process.
In AI applications, people may review outputs, provide corrections, resolve uncertainty, approve actions, or make final decisions.
HITL may involve:
- Reviewing AI-generated recommendations.
- Correcting inaccurate information.
- Providing additional context.
- Resolving ambiguous cases.
- Approving consequential actions.
- Rejecting or overriding proposed decisions.
- Escalating exceptional cases.
Human participation can occur during development, training, evaluation, or production. This lesson focuses primarily on operational oversight in deployed AI applications.
Human oversight is a broader governance concept. HITL is one possible technical and organizational approach to implementing it.
↑ Back to contents2. Why Human-in-the-Loop Matters
AI applications can process information quickly, but speed and scale do not eliminate uncertainty, errors, or accountability requirements.
Human judgment can be especially important when decisions have significant consequences.
| Engineering challenge | Potential HITL contribution |
|---|---|
| Incomplete information | Request clarification or additional evidence. |
| Ambiguous policy interpretation | Route to an authorized reviewer. |
| High-impact action | Require approval before execution. |
| Unexpected model behavior | Enable investigation and intervention. |
| Conflicting evidence | Allow informed resolution. |
| Model errors | Support correction and feedback. |
However, human involvement does not automatically make a system reliable.
Reviewers may lack information, have insufficient time, or over-trust AI recommendations. Meaningful oversight requires suitable interfaces, authority, competence, and working conditions.
↑ Back to contents3. Human Oversight Patterns
A. Human-in-the-Loop
A human participates at defined stages of an AI workflow, such as reviewing a proposed transaction before execution.
B. Human-on-the-Loop
A human supervises an operating system and can intervene when necessary. The degree of practical control depends on system design and response time.
C. Human-out-of-the-Loop
The system operates without routine human intervention during the relevant process. This may be suitable for some low-risk tasks but requires appropriate risk assessment.
D. Human approval
Designated actions remain blocked until an authorized person explicitly approves them.
E. Human escalation
Uncertain, exceptional, or high-risk cases are routed to a person with the appropriate responsibility.
F. Human correction
Reviewers can edit, reject, or replace AI-generated outputs.
4. How HITL Works
Consider an AI-assisted expense approval process.
Employee Submits Claim
|
v
AI Extracts and Checks Information
|
v
Policy and Risk Checks
|
v
Decision Routing
/ \
v v
Routine Case Review Required
| |
v v
Permitted Human Reviews
Processing |
| Approve / Reject /
| Request Information
| |
v v
Authorized Workflow Continues
|
v
Audit Record and Feedback
In this illustrative design, routine processing does not mean unrestricted autonomous payment approval. Any action requiring authorization remains subject to the applicable controls.
The key design question is where human intervention provides meaningful value and where it is mandatory.
↑ Back to contents5. When Should Humans Intervene?
Human review can be triggered by risk, uncertainty, policy, or the nature of a proposed action.
A. High-impact decisions
Examples include financial approvals, employment decisions, and other consequential outcomes.
B. Missing or conflicting evidence
Escalate cases where the available information cannot adequately support a decision.
C. Policy exceptions
Require authorized review when a case falls outside established rules.
D. Irreversible actions
Consider explicit approval before operations that are difficult or impossible to undo.
E. Unusual patterns
Route anomalous or potentially fraudulent cases for further investigation.
F. Regulatory or organizational requirements
Implement human oversight where required by applicable law, policy, or governance standards.
A model's confidence score alone is not a sufficient basis for deciding when humans should intervene. Scores may be poorly calibrated and must be validated for the application.
↑ Back to contents6. Engineering HITL Architecture
Effective HITL systems require more than a review screen.
1. Decision classification
Identify which requests require human review and which can follow authorized automated workflows.
2. Review queue
Route cases to the appropriate reviewers based on responsibility, priority, and expertise.
3. Evidence presentation
Show relevant inputs, sources, policy rules, uncertainty, and the proposed AI action.
4. Reviewer controls
Provide meaningful options to approve, reject, correct, request information, or escalate.
5. Authorization enforcement
Verify reviewer identity and permissions before allowing consequential actions.
6. Execution control
Prevent the proposed operation from executing before the required approval is obtained.
7. Audit trail
Record decisions, responsible roles, timestamps, and relevant supporting evidence while respecting privacy requirements.
8. Feedback and evaluation
Use review outcomes to identify recurring errors and improve system design, with appropriate data governance.
7. Industry Applications
| AI application | Human role |
|---|---|
| Financial operations | Approve transactions and investigate exceptions. |
| Healthcare support | Qualified professionals assess clinical recommendations. |
| Recruitment support | Authorized personnel review consequential assessments. |
| AI coding agents | Review changes and authorize sensitive deployments. |
| Customer service | Handle escalations and policy exceptions. |
| Legal document analysis | Qualified reviewers validate interpretations. |
| Enterprise AI agents | Authorize designated external actions. |
The appropriate oversight pattern depends on the task, consequences, applicable requirements, and available human expertise.
↑ Back to contents8. What Must an AI Engineer Decide?
A. Which decisions require human involvement?
Classify workflows according to impact, reversibility, uncertainty, and policy requirements.
B. Who is authorized to review?
Define reviewer roles, qualifications, and approval permissions.
C. What information does the reviewer need?
Present evidence, context, relevant rules, and the proposed action clearly.
D. Can the reviewer genuinely intervene?
Ensure the reviewer can reject, modify, or stop the operation.
E. What happens when nobody responds?
Define timeouts, escalation, and safe fallback behavior.
F. How will review workload be managed?
Consider queue capacity, reviewer fatigue, turnaround time, and staffing.
G. How will disagreement be handled?
Define procedures for conflicting assessments and exceptional cases.
H. How will oversight quality be measured?
Track review accuracy, override patterns, processing time, and missed escalations.
I. How will the system learn?
Use reviewed outcomes to improve evaluations and workflows, without assuming that every human decision is correct.
↑ Back to contents9. Practical Industry Case: The Claim That Needed a Human
An enterprise AI assistant supports travel reimbursement processing.
It receives a claim for ₹75,000 containing several expense items, incomplete receipts, and a request for an exception to company policy.
The AI can extract information and prepare a recommendation, but it cannot independently authorize the exception.
Engineering approach
- Extract claim details and supporting documents.
- Validate the extracted fields.
- Retrieve the applicable reimbursement policy.
- Identify missing documentation and potential exceptions.
- Determine whether the case requires human approval.
- Prepare a review summary with supporting evidence.
- Route the case to an authorized reviewer.
- Allow the reviewer to request clarification, reject, or approve within their authority.
- Block financial execution until required approvals are recorded.
- Record the outcome and relevant audit information.
- Evaluate whether the escalation and review worked correctly.
- Use findings to improve the workflow.
Illustrative review summary
Status: Human review required
Reasons: Missing receipts and requested policy exception
AI recommendation: Request additional evidence and authorized review
Permitted next action: Route to the designated reviewer
Industry insight: AI can prepare the information needed for a decision without being granted the authority to make that decision.
↑ Back to contents10. Try It Yourself
Mini Project: Design a Human Approval Workflow
Objective: Create a simulated HITL workflow for an AI reimbursement assistant.
- Define the assistant's permitted responsibilities.
- Create a fictional expense reimbursement policy.
- Prepare ten fictional claims.
- Include routine, incomplete, exceptional, and high-impact cases.
- Define explicit human-review triggers.
- Use AI to extract information and propose next steps.
- Route designated claims to a simulated review queue.
- Prepare a reviewer interface or decision form.
- Include approve, reject, request-information, and escalate options.
- Simulate authorization checks before processing.
- Record reviewer decisions and processing time.
- Evaluate missed escalations and unnecessary reviews.
- Revise the routing rules and retest.
Suggested Evaluation Measures
| Measure | Question |
|---|---|
| Escalation recall | Were cases requiring review correctly identified? |
| Unnecessary review rate | How many routine cases were escalated unnecessarily? |
| Review turnaround time | How long did decisions take? |
| Unauthorized execution count | Did any restricted action execute without approval? |
| Reviewer correction rate | How often did reviewers change AI recommendations? |
| Decision traceability | Can the outcome and responsible reviewer be identified? |
Reflection Questions
- Which decisions should remain with humans?
- When is human review unnecessary?
- How can automation bias affect reviewers?
- What happens if a reviewer approves an incorrect recommendation?
- How should the system respond when reviewers are unavailable?
- How can HITL improve both efficiency and accountability?
Success criterion: Produce a workflow design with review triggers, reviewer permissions, simulated approval controls, audit records, and measurable evaluation results.
11. Connected Glossary Terms
- Prompt Engineering: Instructions can define when the model should request review.
- RAG: Retrieved evidence can support human decisions.
- Evals: Tests can measure escalation accuracy and review outcomes.
- Hallucination: Review can help identify unsupported claims.
- Grounding: Evidence supports informed human judgment.
- Guardrails: Authorization controls enforce mandatory approvals.
- Observability: Logs and traces record review and execution events.
Previous lessons:
- Token
- Embedding
- Vector Database
- RAG
- Context Window
- Prompt Engineering
- Evals
- Hallucination
- Grounding
- Guardrails
- Observability
Next lesson: #013 — Tool Calling: Connecting AI Models to External Capabilities.
↑ Back to contents12. Living Update
Editorial baseline: November 2026
Human oversight design continues to evolve as AI applications become more autonomous and gain access to tools and enterprise systems.
Important areas to monitor include:
- Risk-based review routing.
- Approval checkpoints for AI agents.
- Reviewer interface design and automation bias.
- Human oversight effectiveness evaluations.
- Auditability of AI-assisted decisions.
- Adaptive escalation workflows.
- Regulatory requirements for meaningful oversight.
- Balancing review capacity and system performance.
Living Glossary note: Update this entry as operational practices and regulatory requirements develop.
↑ Back to contents13. Key Takeaway
Effective oversight is not achieved merely by inserting an approval button. It requires the right reviewer, relevant evidence, genuine intervention capabilities, and enforceable authorization controls.
Think like an AI engineer: Can the human reviewer understand, challenge, and stop the AI's proposed action before consequences occur?
↑ Back to contents14. References and Further Reading
- NIST — AI Risk Management Framework
- NIST — AI RMF Playbook and Knowledge Base
- European Commission — AI Act Service Desk
- ISO/IEC 42001 — AI Management Systems
- OWASP — Generative AI Security Project

