文档提取的逐字段选择性风险控制:三种失败模式、有效性阶梯及条件化何时值得
其他资讯 · 2026/08/18
本文针对文档提取中的逐字段选择性风险控制问题,指出自然程序在真实文档上会静默违反风险约束。基于13,859个真实字段,诊断出三种失败模式:文档聚类、分数重拟合泄漏和并列质量病理。提出有效性阶梯,按层级给出保证形式。通过拟合/验证分割协议恢复期望选择性风险控制,但仅提供平均意义上的保证。Mondrian Learn-then-Test提供逐组PAC证书,但当前几乎空洞。支持箱(预指定来源分类法)在严格性层级上获胜,但无法在其他模型或更高精度语料上复制。冻结配置确认和盲审验证了实际层级的风险控制。代码已开源。
该论文针对文档提取中的关键信任问题,提供了系统的失败模式分析和分层解决方案,实验设计严谨,结果具有实际指导意义,且代码开源,值得相关领域研究者阅读。
Per-field accept/review with selective risk at most alpha -- accept a field only if the error rate among accepted fields is controlled -- is the trust contract document-extraction systems need, and the natural procedure silently violates it on real documents. On 13,859 genuine claude-sonnet-5 fields from 800 CORD receipts (49.0% correct) we diagnose three failure modes: document clustering (design effect 1.84-2.45), score-refit leakage (coverage 0.416 at risk 0.127, violating alpha=0.10 in 95% of splits), and a tie-mass pathology (a degenerate score collapses the threshold grid, 0.030 to 0.001). We organize the fixes as a validity ladder, guarantee form stated per tier. A fit/val split protocol restores expected-selective-risk control for a learned fusion: coverage 0.318 at risk 0.096 at nominal alpha=0.10, no tolerance band (production variant 0.326) -- an on-average point whose realized risk exceeds alpha in 47.5% of resplits, not a certificate. Mondrian Learn-then-Test with exact binomial tails yields per-group PAC certificates: field-iid 0.171 at risk 0.068, cluster-corrected 0.140, doc-iid 0.060 -- the only tier matching documents, honestly near-vacuous today. Support-bin, the pre-specified provenance taxonomy, wins every rigor tier on the sonnet CORD capture (p<1e-4, Bonferroni-corrected) -- a win that does not replicate on the same documents under haiku or qwen -- while on higher-accuracy corpora pooled thresholds win: conditioning helps exactly where pooled cannot certify, subsumed by a learned score elsewhere. A frozen-configuration confirmation on selection-untouched claude-haiku-4-5 held at both risk levels, and a blind three-annotator human-gold audit verifies the practical tier's accepted-set risk at 1.3% against its 10% budget (Fleiss' kappa=0.83; labels err one-sidedly pessimistic). Released Apache-2.0 with seed-pinned, regression-gated procedures.