Retrieved article excerpt
Open article · Retrieved 2026-11-25T11:21:48.186405+00:00
In my [previous post](https://www.cesarsotovalero.net/blog/reading-financial-documents-with-ai), I described three ways to build pipelines that read financial documents with AI, with a stack of trust layers ending, at the bottom, in a confidence threshold.
I gave that layer a single line: *“necessary, never sufficient”*.
This post is about that line.
Think about the best junior credit analyst you have worked with.
It was probably not the one who never made mistakes.
It was the one who knocked on your door and said: “I’m not sure about this number. The scan is blurry, and it doesn’t match last quarter.”
An analyst who is right 98% of the time but never tells you which 2% are wrong forces you to re-check everything they hand in.
A carved stone face, part of an architectural relief, embedded in the raw rock wall of a Stockholm metro station
*"A model that never says 'I don't know' has to be checked every time it says anything."*
LLMs are not good at saying “I don’t know.”
Most benchmarks give zero points for an honest abstention and some points for a lucky guess, so guessing wins.[1](https://www.cesarsotovalero.net/blog/teaching-financial-ai-to-say-i-dont-know.html#fn:1)
What works is a *confidence layer* around the model: independent signals, a small scorer that combines them, a calibration step that turns the score into a real probability, a threshold with a statistical guarantee, and a review process designed for the moments when the answer is “I don’t know.”
I’ll keep the running example from the last post: covenant monitoring.
Every quarter, a corporate borrower sends a compliance pack. The system extracts a dozen values (EBITDA, net debt, interest expense, and so on), code computes the ratios, and the ratios are tested against the loan agreement’s covenants.
Some values are covenant inputs, where an error can hide a breach; others feed analytics, where an error is cheap.
To make every claim checkable, I built a simulation: 24,000 synthetic compliance packs with 12 values each (288,000 values), with realistic error types and the signals a real pipeline would produce.
Every chart and number marked as simulated comes from it; the mechanics are what I would run on real data.
In this post:
- Why abstention is a feature and how to measure it
- How extraction fails *confidently* and which signals catch which failures
- How to turn signals into a calibrated probability and a threshold you can promise
- How to design the human side (review modes, canaries, audits)
- How to keep the promise in production, including what supervisors will ask about it
The confidence layer: an extraction produces signals; a scorer combines them; calibration turns the score into a probability; a decision compares it with a certified threshold per tier. Values that pass are auto-approved and stored with lineage; the rest go to a review queue with a reason, or are rejected when the document is unusable. Review decisions, random audits of auto-approvals, and canaries become labels, which feed an offline step that trains, calibrates, and certifies a new versioned release, and a monitoring step that can lower the automation level.
Figure 1. The confidence layer: signals are combined into a score, calibrated into a probability, and compared with a certified threshold per tier. Everything else goes to people, with a reason, and becomes labels that retrain and recertify the layer.
## Why “I Don’t Know” Is a Feature
Most document pipelines in banks start with 100% review: the model pre-fills every value, and a person checks all of them.
That is safe, and also where most projects stall, since the bank now pays for a model *and* the same checking as before.
Automation only pays off when you can skip checks, and to skip one you need to know which values don’t need it, which is a different question from “how accurate is the model?”, and the one this post answers.
### The Arithmetic of Many Fields
Suppose the extractor is right 99.5% of the time, which is excellent.
A set of financial statements easily has 40 values that matter.
If errors are independent, the chance that *every* value is right is 0.995 to the power of 40, or about 82%.
Line chart. Share of documents in which every value is correct, as a function of the number of values extracted per document, for per-value accuracy of 99.9%, 99.5%, and 99.0%. At 40 values: 96.1%, 81.8%, and 66.9%. At 100 values: 90%, 61%, and 37%.
Figure 2. The arithmetic of many fields. At 99.5% accuracy per value, roughly one 40-value pack in five contains at least one wrong number, and you can't tell which.
So roughly one pack in five has a wrong number somewhere, and you can’t tell which.
Trusting a whole document lets it through, reviewing it means checking 40 values to find one, the decision has to happen at the level of individual values: *can this go into the database without a person looking at it?*
### A Vocabulary for Abstention
- **Coverage.** The share of values auto-approved; the automation rate.
- **Wrong auto-approval rate (WAR).** The share of auto-approved values that are wrong (*selective risk* in the literature).
- **Abstention.** Routing a value to review, or a document back, instead of trusting it.
- **Straight-through processing (STP).** The share of *documents* with no human touch, always lower than coverage, for the reason above.
- **Risk–coverage curve.** Sort values by confidence and plot coverage against WAR at every cut-off: the single most useful picture of a confidence layer.[2](https://www.cesarsotovalero.net/blog/teaching-financial-ai-to-say-i-dont-know.html#fn:2) [3](https://www.cesarsotovalero.net/blog/teaching-financial-ai-to-say-i-dont-know.html#fn:3)
The number I look at first is *coverage at risk*: at the risk I can accept, how much can I automate?
### Ranking Beats Accuracy
Take two extractors: A is right 98% of the time, but its confidence scores barely separate right from wrong; B is right only 95%, but separates them well.
Which should the bank use?
Line chart of wrong auto-approval rate against coverage for two hypothetical extractors. Extractor A, 98% accurate with poor ranking (AUROC 0.70), reaches the 0.5% target at only 14% coverage. Extractor B, 95% accurate with good ranking (AUROC 0.97), stays near zero until about 80% coverage and reaches the 0.5% target at 86% coverage.
Figure 3. Accuracy is not the point; knowing which answers are wrong is. Extractor A auto-approves only 14% of values at 0.5% WAR; extractor B, less accurate but better ranked, auto-approves 86% at the same risk.
B, by a mile: at a target of 0.5% wrong auto-approvals, A can automate 14% of values and B can automate 86%.
What separates them is *ranking*, the probability a random correct value scores higher than a random wrong one (AUROC), which matters more than accuracy here, since the job is to put wrong values at the bottom of the list.
So “how accurate is your extractor?” is the wrong question for a vendor; ask instead “what coverage do you get at 0.5% WAR on my documents?”
### Chow’s Rule: Abstaining Has a Price, and So Does Guessing
Abstention is an economic decision with a clean, old answer: in 1970, C. K. Chow derived the optimal rule for a recognition system allowed to refuse.[4](https://www.cesarsotovalero.net/blog/teaching-financial-ai-to-say-i-dont-know.html#fn:4)
Let \(c\_r\) be the cost of a human review and \(c\_e\) the cost of a wrong value nobody catches; if \(p\) is the probability the value is correct, auto-approve when:
\[p > 1 - \frac{c\_r}{c\_e}\]
With a €4 review and a €1,000 undetected error, the bar is 0.996; at €200 it drops to 0.98, at €5,000 it rises to 0.9992.
The rule assumes \(p\) is a *real* probability: if the system says 0.999 for values right only 99% of the time, it silently approves values meant for people, which is why calibration, covered later, is what makes the threshold mean anything.
A go-around is a normal, blameless option for pilots, never a failure; an abstention should feel the same way inside your system.
The failure is the confident wrong number nobody looked at.
## A Short History of Knowing What You Don’t Know
None of the ideas here are new, which is good news: a validator can find textbooks about them.
Timeline from 1950 to 2025 in four eras. Rejecting at a cost: 1950 Brier score, 1957 reject option for optical character recognition (Chow), 1970 error–reject trade-off (Chow). Calibrated probabilities: 1983 calibrated forecasters, 1999 Platt scaling, 2002 isotonic calibration. Guarantees: 2005 conformal prediction, 2010 selective classification, 2017 overconfident modern networks and temperature scaling, 2017 selection with guaranteed risk, 2021 Learn then Test. Language models: 2022–23 LMs mostly know what they know and post-training hurts calibration, 2024 conformal factuality and semantic entropy, 2025 evaluations reward guessing and reasoning can hurt abstention.
Figure 4. Seventy years of teaching machines to abstain. Reject options, calibration, and distribution-free guarantees all predate LLMs by decades.
The story starts with the weather: in 1950, Glenn Brier proposed scoring probability forecasts by the squared difference between the forecast and what happened,[5](https://www.cesarsotovalero.net/blog/teaching-financial-ai-to-say-i-dont-know.html#fn:5) later formalized as *calibration*, the idea behind the reliability diagram used later in this post.
The reject option was invented for the same problem: in 1957 Chow described a character recognizer that refuses to classify when unsure, and in 1970 worked out the optimal trade-off between errors and rejections.[4](https://www.cesarsotovalero.net/blog/teaching-financial-ai-to-say-i-dont-know.html#fn:4)
Around 2000, machine learning learned to turn classifier scores into probabilities (Platt scaling fits a sigmoid, isotonic regression fits any monotone step function),[6](https://www.cesarsotovalero.net/blog/teaching-financial-ai-to-say-i-dont-know.html#fn:6) both still production workhorses.
Then came the guarantees: conformal prediction wraps any model with error guarantees that hold without model assumptions, as long as the future looks like the calibration data.[7](https://www.cesarsotovalero.net/blog/teaching-financial-ai-to-say-i-dont-know.html#fn:7)
Selective classification formalized the coverage–risk trade-off,[2](https://www.cesarsotovalero.net/blog/teaching-financial-ai-to-say-i-dont-know.html#fn:2) and in 2017 Geifman and El-Yaniv showed how to pick a threshold so the risk of accepted predictions stays below a target with high probability,[3](https://www.cesarsotovalero.net/blog/teaching-financial-ai-to-say-i-dont-know.html#fn:3) the recipe this post’s certification follows; in 2021, *Learn then Test* generalized it to almost any tunable parameter.[8](https://www.cesarsotovalero.net/blog/teaching-financial-ai-to-say-i-dont-know.html#fn:8)
That same year, Guo and colleagues showed modern neural networks are far more overconfident than older ones, and that temperature scaling recovers most of the calibration.[9](https://www.cesarsotovalero.net/blog/teaching-financial-ai-to-say-i-dont-know.html#fn:9)
The pattern repeated with language models: pretrained models are reasonably calibrated on multiple-choice questions,[10](https://www.cesarsotovalero.net/blog/teaching-financial-ai-to-say-i-dont-know.html#fn:10) but post-training for chat makes calibration worse, and confidence *stated in words* tends to be overconfident.[11](https://www.cesarsotovalero.net/blog/teaching-financial-ai-to-say-i-dont-know.html#fn:11)
The latest results pull in two directions: reasoning models express better-calibrated confidence, yet reasoning fine-tuning can make abstention worse, and OpenAI researchers argue hallucination persists because training and evaluation reward guessing over admitting uncertainty.[1](https://www.cesarsotovalero.net/blog/teaching-financial-ai-to-say-i-dont-know.html#fn:1)
In one sentence: newer models de