When can an AI's answer go out without a human check?
An AI agent that fills in records or answers customers needs to know which of its answers it can act on and which a person should check. A score is placed on every answer, and only answers above a threshold are automated. Luiz Alves and Aaron Vermeersch at Egen AI show that the usual ways of getting this score, such as asking the model how sure it is or asking another model to grade it, can look well calibrated yet hardly separate right answers from wrong ones. A tiny linear "confidence head" trained on the model's own hidden state does much better. The demo below rebuilds the paper's gate and its calibration maths on 10,705 simulated answers.
Why it matters
Businesses want AI agents to act on their own, but a model can be wrong while sounding sure, so today they either accept its mistakes or pay people to check everything. This paper shows that a 2,305-parameter probe on the model's hidden state can let 62% of answers through unchecked at 95% accuracy, where the model's own stated confidence lets through none, and that a score which merely looks calibrated is not safe to set a threshold on.
The paper
Confidence scores for gated automation of large language models
Luiz G. A. Alves and Aaron Vermeersch (Egen AI, Chicago, IL, USA). arXiv:2611.33394 [cs.AI], submitted 24 November 2026. Read on arXiv · PDF
In plain language: the authors had a small open model (gemma-2-2b-it, run at 4-bit precision) answer about 10,700 SQuAD reading-comprehension questions plus some TruthfulQA questions. Each answer was graded automatically, and 81% were correct. They then compared eight ways of scoring how likely each answer is to be right. These were the average token log-probability, the model rating itself, a second call acting as judge, an off-the-shelf "typed-decision" model, three text-only metamodels, and their own head. The head standardises the final-layer hidden state h (2,304 numbers) at the last token and applies one linear layer and a sigmoid:
The gate accepts every answer with p̂ ≥ t. The threshold t is the lowest one whose accepted answers reach the accuracy target. Coverage is the share of answers accepted. To judge the scores themselves, the paper uses the expected calibration error over ten equal-width bins Bm, and Murphy's split of the Brier score:
Reliability (REL) asks whether the scores mean what they say. Resolution (RES) asks whether they actually sort right answers from wrong ones. A score that always says "81%" has perfect calibration and zero resolution. Miscalibration can be fixed afterwards with Platt scaling, p̂cal = σ(a·logit p̂ + b). No reshaping that keeps the order can add resolution, because it never changes which answers are ranked above which.
Try it: build a scorer and gate 10,705 answers
Each simulated answer is right with probability ȳ. A hidden "evidence" value is drawn from a bell curve that sits higher for right answers by the separation. A share of wrong answers is confidently wrong, meaning their evidence looks like a right answer's. The evidence is turned into a probability. Spread and shift then distort it. Spread 1 and shift 0 give a score that is calibrated apart from the confidently wrong answers. Spread near 0 squashes every score onto the base rate. Shift below 0 makes the scorer under-confident. Score levels rounds scores to a few values, as when a model writes "0.8" or "0.9". The presets are rough stand-ins tuned to the paper's ROC-AUC and calibration numbers. They are not the paper's data.
Calibration and data settings
Coverage at each accuracy target (paper Table 2, simulated)
| Scorer | ROC-AUC | ≥ 90% | ≥ 95% | ≥ 97% | paper at 95% |
|---|
The paper's real coverages at 90/95/97% were 85.5/62.1/38.2% for the confidence head, 71.8/15.4/8.4% for token log-probability, 0.5/0.5/0.5% for LLM-as-Judge and 0/0/0% for the self-score.
What the paper finds
- The hidden state knows more than the model says. The confidence head reaches ROC-AUC 0.88, against 0.80 for token log-probability and the metamodels, 0.74 for the typed-decision model, 0.72 for LLM-as-Judge and 0.57 for the self-score. Its result was steady across 100 random restarts (0.87–0.88).
- The gap is far bigger at strict targets. At 90% accuracy most methods automate more than half the work. At 95% the head keeps 62.1%, the best other method 22.7%, and the self-score none. ROC-AUC averages over every threshold, but a strict target only looks at the very top scores, and the weaker scorers mix confidently wrong answers in there.
- Looking calibrated is not enough. LLM-as-Judge and the self-score have the lowest ECE (0.07) only because their scores cluster near the base rate, taking just 13 and 8 distinct values across 10,705 answers. Their resolution is 0.029 and 0.012, against 0.064 for the head. The head is under-confident (ECE 0.22), but Platt scaling cuts that to 0.006 without changing its ranking.
- The review queue gets smarter. At the 95% target, wrong answers make up 43% of what the head sends to people, against 19% in the whole workload. Wrong answers that slip through are about 3% of all answers.
- Limits. Everything comes from one 2B model, and the data is about 98% SQuAD. On six new QA datasets the head's AUC fell to 0.83 and its 95%-target coverage fell to 20.7%, though every other method automated 0.4% or less there.
How to use it
- Start with confidence head at a 95% target. The black line on the left chart is the threshold. Answers to its right go out automatically, and those to its left go to a person. About 60% of answers are automated, and the review queue is full of wrong (red) answers.
- Switch to token log-prob. Its AUC is only a little lower, but some confidently wrong answers sit among its top scores, so reaching 95% pushes the threshold far right and coverage collapses. Drag Wrong answers that look right up and down to see this one setting do most of the damage.
- Try LLM-as-Judge and self-score. The reliability bars hug the diagonal and the ECE is low, yet the scores fall on only a handful of values near 81%. The accuracy curve moves in steps, and no threshold reaches the target. That is the paper's point that calibrated is not the same as useful.
- Open Calibration and data settings, pick the confidence head, and tick Platt scaling. ECE and REL fall almost to zero, but AUC, RES and coverage barely move, because the rescaling keeps the order of the answers. Then lower Spread to 0 to see a perfectly calibrated score that can automate nothing.
- Lower Share of answers that are right to about 65%, as on the paper's out-of-domain datasets. The same scorer now has to use a much stricter threshold to hit 95%, so coverage drops, as the paper found when it tested on new datasets.