Vision-Language Models can extract structured fields from scanned financial documents, yet they provide no indication of when a field might be wrong. We derive per-field confidence estimates from the token log-probabilities the model already produces, via a token-to-span alignment procedure that maps logprobs onto each extracted value within the structured JSON output. Evaluated on two benchmarks (CORD v2 receipts, Kleister NDA legal contracts) with three VLM families, the minimum token probability per field achieves Area Under the ROC Curve (AUROC) 0.74-0.91 for error detection, far exceeding verbalized confidence (0.53-0.56). The uncertain fields form a natural training curriculum: fine-tuning via Group Relative Policy Optimisation (GRPO) improves accuracy from 78.5% to 87.5% on CORD (67 examples) and from 70.7% to 75.1% on multi-page NDA contracts (259 examples), while substantially improving error detection on Kleister NDA (AUROC 0.70 to 0.85, Area Under the Accuracy-Rejection Curve (AUARC) 0.78 to 0.92). The loop requires no annotation beyond the training-split ground truth, demonstrating that confidence-guided curriculum selection transfers to complex multi-page documents when combined with native multi-image training. A frontier model (Claude Sonnet 4) used as a pseudo-label judge achieves ~92% reward agreement with ground truth on both benchmarks, suggesting this loop can operate without human annotation.
Figures & tables
Figure 1. Pipeline overview. Top: A single greedy VLM call produces structured JSON with token logprobs; the confidence stage aligns logprobs to field spans and routes each field to GREEN (auto-accept) or AMBER/RED (human review). Bottom: The uncertain fields form a training curriculum for GRPO fine-tuning, closing a self-improvement loop. Dashed arrow indicates an optional next iteration. Pipeline diagram showing document image flowing through VLM extraction, logprob-based confidence scoring, RED/AMBER/GREEN routing, and an optional GRPO self-improvement loop.
Figure 2. Example documents with per-field confidence routing. Coloured bounding boxes on the images correspond to table rows. GREEN fields are auto-accepted; AMBER / RED fields are routed to human review at the field level, not the document level. Two example documents with extracted fields colour-coded by confidence: a CORD receipt and a Kleister NDA contract page, with bounding box overlays matching table row colours.
Routing Bin
n fields
Accuracy
GREEN
228
0.908
AMBER
12
0.333
RED
45
0.378
Overall (scored)
285
0.800
Table 1. Extraction accuracy by confidence routing bin (Qwen3-VL-8B, CORD v2, greedy decoding). Only the 285 fields with successful logprob-to-span alignment are included; a later experiment (Section 6.1 ) evaluates the full JSON-parseable set. AMBER accuracy is based on only 12 fields and should be interpreted cautiously.
Figure 3. Reliability diagram (Qwen3-VL-8B, CORD, greedy). ECE = 0.165. Bars show observed accuracy per confidence bin; the gap below the diagonal indicates systematic overconfidence. Bottom: sample counts per bin. Reliability diagram comparing predicted confidence to actual accuracy across ten bins, showing consistent overconfidence: observed accuracy falls well below the diagonal across all populated bins.
Figure 4. Selective prediction curve (Qwen3-VL-8B, CORD). AUARC = 0.942. Reviewing in confidence order catches errors rapidly. Selective prediction curve showing accuracy rising steeply as coverage decreases, with AUARC of 0.942.
CORD (receipts)
NDA (legal)
Model
AUROC
Acc
AUROC
Acc
Qwen3-VL-8B
0.914 ± 0.04
0.800
0.819 ± 0.06
0.791
Granite-2.9B
0.846 ± 0.03
0.787
0.768 ± 0.05
0.289
Gemma 4-5.1B
0.809 ± 0.03
0.335
0.745 ± 0.06
0.188
Verbalized
0.563
—
0.527
—
Random
0.500
—
0.500
—
Table 2. min_prob AUROC (with 95% bootstrap CI half-width) across three model families and two datasets. All CIs exclude 0.5; the signal is statistically discriminative in every condition. Verbalized and Random baselines produce only a confidence score, not extractions, so accuracy is not applicable (—).
Confidence Signal
AUROC
Composite (domain-weighted)
0.937
min_prob
0.914
avg_entropy
0.905
geo_prob
0.900
avg_prob
0.898
Rank-average ensemble
0.899
Table 3. Error detection AUROC for individual signals and combinations (Qwen3-VL-8B, CORD, greedy). The composite uses domain-calibrated weights; the rank-average ensemble is parameter-free.
Metric
CORD
NDA
Scored scalar fields
285
249
Overall accuracy
0.800
0.791
GREEN n / accuracy
228 / 0.908
168 / 0.905
AMBER n / accuracy
12 / 0.333
35 / 0.629
RED n / accuracy
45 / 0.378
46 / 0.500
AUROC ( min_prob )
0.914
0.819
Table 4. Qwen3-VL-8B performance on CORD vs. Kleister NDA. GREEN accuracy exceeds 90% on both; the fixed thresholds transfer without recalibration.
Metric
Greedy
Sampling ( T=1.0 )
Aligned fields
285
636
Overall accuracy
0.800
0.665
ECE ( ↓ )
0.165
0.247
AUARC ( ↑ )
0.942
0.858
AUROC ( min_prob )
0.914
0.864
GREEN accuracy
0.908
0.876
Table 5. Greedy vs. sampling on CORD (Qwen3-VL-8B). Sampling produces more aligned fields but degrades every calibration metric. The temperature-scaled distribution no longer reflects true uncertainty.
n labels
ECE (raw)
ECE (Platt)
GREEN acc (fixed)
GREEN acc (Platt)
10
0.174
0.146
0.881
0.931
20
0.174
0.116
0.881
0.949
50
0.174
0.093
0.881
0.963
100
0.174
0.084
0.882
0.968
Table 6. Platt scaling on min_prob (CORD, 500 random splits per size). GREEN accuracy rises substantially; AUROC is unchanged (monotone transform).
Condition
GREEN n / acc
A+R n
Overall
Base
402 / 0.903
285
0.785
SFT
587 / 0.980
282
0.824
GRPO
857 / 0.912
57
0.875
Table 7. Self-improvement on CORD (67 training examples, rank-16 QLoRA). The total field count exceeds the 285 scored fields in Table 1 because the improved model now produces valid JSON for fields previously left empty or unparseable (including nested sub-fields), expanding the scoreable set. Note: the Base A+R count of 285 is a coincidence—it refers to non-GREEN fields from the larger evaluation set, not the 285 aligned fields in Table 1 . SFT maximises precision; GRPO maximises throughput.
Figure 5. Selective prediction curves on CORD before and after GRPO fine-tuning. The post-GRPO curve is uniformly higher, reflecting both improved accuracy (87.5% vs. 78.5% on the expanded scoreable set) and better calibration (the model’s confidence ranking aligns more closely with actual correctness). Two selective prediction curves for CORD: both show accuracy decreasing with increasing coverage, but the GRPO curve is uniformly higher than the baseline.
Metric
Baseline
GRPO (8-page)
Overall accuracy
0.707
0.751
ECE ( ↓ )
0.247
0.227
AUARC ( ↑ )
0.778 ± .08
0.916 ± .04
AUROC ( avg_prob , ↑ )
0.691 ± .08
0.843 ± .06
AUROC ( min_prob , ↑ )
0.697 ± .08
0.845 ± .06
GREEN / AMBER / RED
175 / 29 / 45
219 / 15 / 15
Table 8. GRPO self-improvement on Kleister NDA (Qwen3-VL-8B, 259 training examples, rank-16 QLoRA, 3 epochs, native multi-image input). All calibration metrics improve substantially; RED fields collapse from 45 to 15 ( − 67%). Both avg_prob and min_prob AUROC are reported; they are nearly identical on NDA, unlike CORD where min_prob leads by 1.6 points (Table 3 ).
Field
Base
GRPO
Δ
+
−
effective_date
0.819
0.735
− 8.4
2
9
jurisdiction
0.723
0.916
+19.3
19
3
term
0.578
0.602
+2.4
8
6
Overall
0.707
0.751
+4.4
29
18
Table 9. Per-field accuracy on NDA before and after GRPO (8-page evaluation). Δ : percentage-point change. +/ − : fields that switched from incorrect to correct or vice versa. GRPO sharply improves the hardest field ( jurisdiction ) while slightly degrading effective_date ; the net accuracy gain of 4.4pp masks this asymmetry.
Figure 6. Selective prediction curves on Kleister NDA before and after GRPO fine-tuning. The baseline model’s confidence signal is noisy and barely exceeds overall accuracy at intermediate coverage; after GRPO, the curve is smooth and maintains near-perfect accuracy up to 20% coverage, enabling practical selective-prediction workflows on multi-page legal documents. Two selective prediction curves for NDA: the baseline curve is noisy; the GRPO curve is smooth with near-perfect accuracy at low coverage.
Selection signal
CORD err%
NDA err%
(bottom 50)
(bottom 100)
min_prob
0.68
0.32
avg_prob
0.62
0.52
geo_prob
0.62
0.52
Composite
0.66
0.42
avg_entropy
0.60
0.46
Table 10. Curriculum error rate by selection signal. On CORD (short fields), all signals are equivalent. On NDA (long fields), avg_prob identifies genuinely wrong fields while min_prob selects uncertain-but-correct ones. Higher curriculum error rate provides stronger learning signal, though training format fidelity and data volume are equally important (see text).
Vision-language models (VLMs) are increasingly used to extract structured fields from business documents, yet most evaluations report accuracy on clean benchmarks and offer little guidance to practitioners choosing an approach for a given task complexity. We address this gap with a measurement-grounded study and an open-source release. Across eleven systems (three commercial, two reasoning, five open-source VLMs in pretrained and fine-tuned form, and a non-LLM OCR->regex floor) scored on a 750-document held-out pool of synthetic checks, fine-tuning on 3K samples lifts the best open-source VLMs above F1 0.98-above every zero-shot commercial system on this task-while GPT-5 leads the commercial pool on F1 and Claude Sonnet 4.5 collapses on Date. To turn these measurements into actionable choices, we introduce a practitioner-oriented selection framework that maps a task profile (quality, latency, governance, volume) to a recommended approach via filtering and total-cost minimization, illustrated on a hypothetical mid-volume document-extraction scenario.
Vision-Language Models (VLMs) have demonstrated strong performance in structured document extraction, yet their deployment in high-stakes applications requires reliable confidence estimates for individual fields. Existing uncertainty estimators often aggregate signals across an entire generation, obscuring field-specific reasoning uncertainty while overlooking visual degradations that may lead to confident extraction errors. To address these limitations, we introduce FiReIQ, a field-level confidence estimation framework that combines field-aligned reasoning signals from a single VLM generation with local and global image-quality features through quality-conditioned visual fusion. To facilitate systematic evaluation, we further introduce FiReIQ-Bench, a benchmark spanning financial receipts and legal contracts. Experiments with two reasoning VLMs show that FiReIQ consistently improves confidence discrimination, selective prediction, and probabilistic accuracy over existing estimators. These gains extend to private financial service data, where FiReIQ improves AUROC by 6.8% and coverage at 95% precision by 10.6% over an existing baseline. Together, these results highlight the potential of FiReIQ to reduce manual review while enabling more reliable document automation.
Intelligent document processing (IDP) with vision-language models (VLMs) hinges on confidence scores trustworthy enough to route extractions between automation and human review. Existing document benchmarks are dominated by clean, high-quality samples, leaving low accuracy regions too sparse for calibration assessment. We introduce ConfBench, the first calibration-specific benchmark for key information extraction (KIE), built by applying 20 controlled degradation pipelines to a diverse document set, yielding 1,346 variants and 70K+ entity-level evaluations spanning the full accuracy spectrum. We evaluate four proprietary and three open-weight VLMs under verbalized and log-probability confidence estimation methods across three input modalities, and find: (i) OCR+Image modality results in more accurate confidence estimates; (ii) model capability is the dominant factor: within the Claude family confidence quality scales monotonically with capability, while across families parameter count is a poor predictor; (iii) calibration quality varies widely across models, from near-perfect to severely overconfident, and per-model post-hoc correction rescales these absolute confidence values for threshold-based routing without altering ranking-based operational metrics; and (iv) log-probability with first-token aggregation consistently outperforms mean-token and margin aggregations. We also introduce ECARB, a review-budget metric translating discriminative gains into operational savings. We release ConfBench publicly to enable systematic study of confidence estimators and calibration methods for trustworthy IDP application deployment.
Priyashree Roy, Sujitha Martin, Mohammad Rostami +6