如何让VLM在文档抽取中知道自己错了:token概率置信度与GRPO课程学习
Could This BE Any More Wrong? Teaching VLMs to Know What They Don't Know in Document Extraction
研究从VLM已输出的token log-probabilities中推导逐字段置信度,通过token到span对齐映射到结构化JSON中的每个抽取值,在CORD v2收据与Kleister NDA合同两个基准、三个VLM系列上,字段最小token概率的误差检测AUROC达0.74-0.91,远超语言化置信度的0.53-0.56。
arXiv:2611.30119v1 Announce Type: new 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.
来源:arXiv (AI + Vision + Imaging) · arxiv.org