‹ All demos
29 Nov 2026 · AI

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.

Luiz G. A. Alves, Aaron Vermeersch

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:

p̂ = σ(w⊤z + b),    zj = (hj − μj) / sj

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:

ECE = Σm (|Bm|/n) · |acc(Bm) − conf(Bm)|
Brier = REL − RES + UNC,   REL = Σ (|Bm|/n)(conf − acc)²,   RES = Σ (|Bm|/n)(acc − ȳ)²,   UNC = ȳ(1 − ȳ)

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.

Scorer:
Calibration and data settings
–
ROC-AUC (ranking quality)
–
threshold t picked for the target
–
answers automated (coverage)
–
accuracy of automated answers
–
of all answers: wrong and acted on
–
wrong share in the human review queue

Scores of right and wrong answers
right answers wrong answers threshold t
Moving the threshold: accuracy vs coverage (paper Fig. 4)
accuracy of accepted answers coverage target
Reliability diagram (10 bins)
accuracy in bin (width ∝ answers) perfect calibration
Calibration is not resolution
–
ECE (lower better)
–
REL, calibration error
–
RES, resolution (higher better)
–
Brier (base-rate guess: )
–
distinct score values

Coverage at each accuracy target (paper Table 2, simulated)

ScorerROC-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

How to use it