Could This BE Any More Wrong? Teaching VLMs to Know What They Don't Know in Document Extraction
Abstract
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.
Create a lesson
Metadata
- Comments
- 11 pages, 6 figures, 10 tables. Accepted at the AI4Finance Summit at ICAIF '26 (7th ACM International Conference on AI in Finance), Milan, Italy. An extended version with a revised experimental protocol will follow
Related papers
When Does Optical Context Compression Pay Off? A Decode-Aware Cost Analysis of Reasoning VLMs
Shared title terminologycs.AIZiqing Ge
Post-Training Agents for Long-Document Reasoning
Shared title terminologycs.AISushant Mehta, Logan Ritchie, Edwin Chen
Rethinking Closed-Ended Medical VLM Evaluation: From Stable Wrongness to Counterfactual Answer Sensitivity
Shared title terminologycs.AIQi Wu, Xiaoyu Liu, Ao Wang et al.
Do You Even Know What I Want? Improving LLMs Ability to Detect Hidden User Intent
Shared title terminologycs.AIKelsey Sikes, Sarath Sreedharan
When Wrong Answers Remain Unsettled: Failure Dynamics in Recurrent Reasoners
Shared title terminologycs.AIJiucheng Zang, Congkai Peng, Yankai Wei
Does a Frontier Large Language Model Know What It Can Solve? A 100-Conjecture Calibration Study
Shared title terminologycs.AIAyush Khaitan, Liam Fowl, Tomàs Ortega et al.