Human-in-the-Loop Decision Making
Timing decides whether a person can be placed in the decision path at all: some processes must act immediately, while others can hold uncertain cases for confirmation.
A Question Before the Machine Answers
Building a machine learning system is only part of the design job. The other part is deciding how the system will sit inside a real process, and in particular whether a human being should be part of that process at all. Some systems are built so that the model's output goes straight into action. Others are built so that a person looks at certain outputs before anything happens. This article is about making that choice deliberately, and about the reasoning that should guide it.
The phrase human in the loop describes a design in which human judgment is built into the decision process of a machine learning system. Including a person does not mean the model is useless. It means some decisions carry consequences that call for a second look, or the model is weakest on certain kinds of input. The real question is less about whether people are good or bad at the task and more about timing and about the cost of a wrong answer.
What do you think happens?
Ten cases arrive in one batch. Each gets a confidence score from the model. Any case scored at least 0.90 is decided by the machine, and any case below 0.90 is held for a person. How many cases reach a person?
Reveal answer
Five of the ten
The batch used in this article has five scores at or above 0.90 and five below it. The five low-scoring cases wait for a person, and the other five are decided immediately by the machine. Tracing the batch step by step is the goal of the rest of the article.
Following One Case From Arrival to Decision
Start with a single case. Every case enters the model first, and the model produces both an answer and its own assessment of how certain it is. That assessment decides which path the case takes. Follow one uncertain case, scored 0.42, through a design that holds uncertain cases for a person. It is received, then scored, and because its score falls below the threshold it is queued for review. It does not reach a final decision until a person has looked at it and recorded one.
Now compare with a confident case, scored 0.97. It passes through the same first two states, but the threshold check sends it straight to an automatic decision. No queue is involved, and no person ever touches it. The two cases share the same starting point and end in different places, and the only thing that separated them was the model's own certainty.
Why the First Question Is About Time
The first thing to examine is how quickly a decision must be made. Some processes have no room for waiting. A system that must react to a fast-moving situation cannot pause while a reviewer reads a report, so a human cannot sit in that path. Pedestrian detection in a self-driving car is the standard example: the car has to act on what it sees right away.
Other processes are different. If a result can wait a few minutes, hours, or days, the system can hold an uncertain case and ask a person to confirm it before acting. Timing therefore decides whether a person can be placed in the decision path at all. Only after that question is answered does the design ask about the model's skill on the specific case.
Read the flowchart from the top. The first question is about timing, not about the model's skill. If the process cannot wait, the algorithm acts and no person is inserted. If there is time to wait, the second question asks whether this particular case is simple enough for the algorithm. A no answer means the algorithm cannot decide, so the case is rerouted rather than forced through a weak answer. The person enters only where the design has decided the machine should not finish the job alone.
Required precision also matters. Medical settings are a clear case where a very high level of precision may be required, and that level may not be something a machine learning algorithm can reach on its own. When the required precision sits above what the algorithm can deliver alone, a person has to be part of the decision for at least some cases. In lower-stakes settings, a looser standard may be acceptable and the algorithm can carry more of the load.
Partial Automation Still Helps
A common misreading is that an algorithm must be fully accurate before it is worth using. The source material takes a different view. If an algorithm can take over even a modest share of decisions, that share can still shorten response times or lower costs. The share might be 90 percent, 50 percent, or only 10 percent. Each of those is a real gain, because the cases the algorithm handles no longer wait in a queue for a person.
Many applications are dominated by simple cases. A large number of inputs are easy for the algorithm, and a smaller number are complicated. The sensible design sends the easy cases through automatically and reroutes the complicated ones to a human. The algorithm does not need to be perfect on the complicated cases, because those are the ones being handed to a person in the first place. Routing only the complicated or uncertain cases keeps human workload tied to the cases that need judgment.
| Design | Cases a person reviews | Effect on the queue |
|---|---|---|
| Person reviews everything | All 10 of 10 cases | Every case waits for a person |
| Threshold split at 0.90 | 5 of 10 cases | Only the uncertain half waits; the other half is decided at once |
Same ten-case batch, two designs. The split design halves the reviewer workload in this example.
Tracing a Batch of Ten Cases
Now trace a whole batch through a simple pipeline. The model scores each of ten cases, and a threshold of 0.90 separates them. Cases scored at or above 0.90 are decided by the machine. Cases below 0.90 are held for a person. The scores in this batch are 0.97, 0.42, 0.91, 0.88, 0.99, 0.65, 0.95, 0.30, 0.93, and 0.79.
Counting how many cases reach a person
Using a threshold of 0.90, how many of the ten cases are decided by the machine, and how many reach a person?
- 1Check the first case
Case scored 0.97 is at least 0.90, so the machine decides it. It does not reach a person.
- 2Check the second case
Case scored 0.42 is below 0.90, so it is held for a person.
- 3Check the remaining cases
Scores 0.91, 0.99, 0.95, and 0.93 are at least 0.90, so the machine decides them. Scores 0.88, 0.65, 0.30, and 0.79 are below 0.90, so they are held for a person.
- 4Count each group
Machine-decided cases: 0.97, 0.91, 0.99, 0.95, 0.93, which is 5 cases. Held cases: 0.42, 0.88, 0.65, 0.30, 0.79, which is also 5 cases.
- 5State the result
Five of the ten cases reach a person, which is half the batch. The other five are handled with no human delay.
5 of 10 cases reach a person; 5 of 10 are auto-decided by the machine.
Moving the Confidence Threshold
The threshold is a design choice, and moving it changes both the workload and the risk. A cell is auto-decided when its score satisfies $s \geq t$, where $t$ is the threshold. Raising $t$ means fewer cases pass the check and more go to a person. Lowering $t$ means the machine decides more cases on its own. The same batch of ten scores gives different splits at different thresholds.
| Threshold | Auto-decided by machine | Held for a person | Effect on error exposure |
|---|---|---|---|
| 0.95 | 3 cases (0.97, 0.99, 0.95) | 7 cases | Lower: fewer machine decisions are made on borderline scores |
| 0.90 | 5 cases | 5 cases | Moderate: the batch split used in this article |
| 0.85 | 6 cases (adds 0.91 and 0.88 relative to 0.95 and tracks 0.93) | 4 cases | Higher: more machine decisions rest on less certain scores |
Raising the threshold shifts work toward the person. Lowering it shifts work toward the machine and accepts more risk of a wrong automatic answer.
Mistakes Beginners Make With Routing
Common mistake Requiring the algorithm to be fully accurate before using it at all
What it looks likeRejecting a model because it handles only 50 percent of cases on its own.
Why it failsEven a modest automated share shortens response times or lowers costs, because those cases no longer wait in a queue for a person.
Do this insteadMeasure the share the algorithm can safely take over and count the gain from that share.
Common mistake Putting a person in the path of a process that cannot wait
What it looks likeHaving a reviewer confirm each pedestrian detection before a self-driving car reacts.
Why it failsSome processes must act immediately, so a human cannot sit in that path.
Do this insteadAsk first whether the process has time to wait. Only then decide whether a person can be inserted.
Common mistake Sending every case to a person because the model is sometimes wrong
What it looks likeReviewing all ten cases in a batch when five are clearly simple.
Why it failsThis wastes reviewer time on cases the algorithm handles well and keeps the whole queue slow.
Do this insteadRoute only the complicated or uncertain cases to a person.
Common mistake Forgetting that the threshold trades coverage against error risk
What it looks likeLowering the threshold to 0.80 to automate more, without checking how many automatic decisions are now uncertain.
Why it failsLowering the threshold lets the machine decide cases it is less sure about, which increases the chance of a wrong automatic answer.
Do this insteadReview the error cost before moving the threshold, and check the split again after any change.
Practice: Trace a New Batch
A new batch of six cases arrives. The model scores them 0.96, 0.50, 0.89, 0.92, 0.70, and 0.99. The design uses a threshold of 0.90, and any case below the threshold is held for a person. Trace the batch through the pipeline. How many cases are decided by the machine, and how many reach a person? Then say whether the answer would change if the process could not wait for a person at all.
Hints
- Compare each score against 0.90 one at a time, and sort each case into the machine group or the person group.
- A score of exactly 0.90 would count as auto-decided, because the rule is at least 0.90.
- If the process cannot wait, no case can be held for a person, so the routing question about simplicity no longer applies.
Key Takeaways
- Timing decides whether a person can be placed in the decision path at all: a process that cannot wait cannot hold cases for review.
- Each case is routed by the model's own assessment of its certainty. Confident cases are decided immediately, and uncertain cases are held for a person.
- Partial automation is valuable even at modest shares, because every automated case avoids the queue and reduces response time or cost.
- Moving a confidence threshold shifts the balance: a higher threshold sends more cases to a person and a lower threshold automates more at greater risk of error.
- In a batch of ten cases split at 0.90, five reached a person, so the human workload was tied only to the cases that needed judgment.