Research Papers 论文研究 4d ago Updated 3d ago 更新于 3天前 46

Valid Per-Field Selective Risk Control for Document Extraction: Three Failure Modes, a Validity Ladder, and When Conditioning Pays 文档提取的有效逐字段选择性风险控制:三种失效模式、有效性阶梯与条件控制的收益时机

Per-field selective risk control in document extraction silently violates its own trust contract on real documents due to three diagnosed 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 tie-mass pathology (degenerate score collapsing threshold grid from 0.030 to 0.001) A "validity ladder" organizes progressively rigorous fixes with guarantee forms stated per tier, including a fit/val spli 文档提取系统的逐字段选择性风险控制存在三种失败模式:文档聚类效应(设计效应1.84-2.45)、分数重拟合泄漏(覆盖率0.416违反alpha=0.10)、平局质量病理(阈值网格崩溃) 提出"有效性阶梯"框架,通过fit/val分割协议恢复学习融合的预期选择性风险控制(覆盖率0.318,风险0.096) Mondrian Learn-then-Test结合精确二项分布尾概率可提供逐组PAC证书,但文档级独立场景下保证近乎空泛 Support-bin预指定谱系分类法在严格性各层级均胜出,但该优势在haiku/qwen模型上无法复现 高准确率语料库中池化阈值方法更优,条件方法仅在池化无法认证的场景

58
Hot 热度
74
Quality 质量
66
Impact 影响力

Analysis 深度分析

TL;DR

  • Per-field selective risk control in document extraction silently violates its own trust contract on real documents due to three diagnosed 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 tie-mass pathology (degenerate score collapsing threshold grid from 0.030 to 0.001)
  • A "validity ladder" organizes progressively rigorous fixes with guarantee forms stated per tier, including a fit/val split protocol that restores expected-selective-risk control for learned fusion (coverage 0.318 at risk 0.096 at nominal alpha=0.10)
  • Mondrian Learn-then-Test with exact binomial tails yields per-group PAC certificates across field-iid (0.171 at risk 0.068), cluster-corrected (0.140), and doc-iid (0.060) tiers, with the document-level tier being the only one matching real deployment conditions but currently near-vacuous in coverage
  • Support-bin (pre-specified provenance taxonomy) wins every rigor tier on sonnet CORD capture (p<1e-4, Bonferroni-corrected) but fails to replicate under haiku or qwen on the same documents; pooled thresholds win on higher-accuracy corpora instead
  • A blind three-annotator human-gold audit verifies the practical tier's accepted-set risk at 1.3% against a 10% budget (Fleiss' kappa=0.83), and the full Apache-2.0 release includes seed-pinned, regression-gated procedures

Why It Matters

This work directly addresses a critical reliability gap in production document-extraction systems: selective risk control—the mechanism by which systems decide which fields to auto-accept versus route for human review—is systematically broken on real-world data. For AI practitioners building extraction pipelines, the findings mean that naive confidence-thresholding will silently overpromise accuracy, and the validity ladder provides a practical roadmap to progressively stronger guarantees. The paper also establishes an important empirical principle: no single certification strategy universally wins, with conditioning helping where pooled methods cannot certify and vice versa.

Technical Details

  • Failure mode diagnosis: On 13,859 fields from 800 CORD receipts (49.0% baseline accuracy with Claude Sonnet 5), the authors identify document clustering inducing design effects of 1.84–2.45, score-refit leakage causing severe overfitting to validation thresholds, and tie-mass pathology where degenerate scores collapse the usable threshold range
  • Mondrian Learn-then-Test framework: Applies conformal prediction with exact binomial tails to produce per-group PAC certificates, stratifying by field-iid, cluster-corrected, and document-iid assumptions; the document-iid tier achieves the tightest certificate (0.060) but at near-vacuous coverage
  • Support-bin taxonomy: A pre-specified provenance-based stratification that dominates on low-accuracy corpora under rigorous tiers but fails to generalize across model families (Sonnet vs. Haiku vs. Qwen on identical documents)
  • Fit/val split protocol: A learned fusion approach using held-out validation restores expected risk control (0.096 realized at nominal 0.10) but is not a certificate—realized risk exceeds alpha in 47.5% of resplits
  • Human validation: Three-annotator blind audit confirms 1.3% actual error rate in the accepted set against a 10% budget, with high inter-annotator agreement (kappa=0.83) and labels biased one-sidedly pessimistic

Industry Insight

  • Teams deploying document extraction at scale should treat per-field selective risk control as a certification problem, not a threshold-tuning problem; the three failure modes are likely endemic across receipt, invoice, and form extraction pipelines using off-the-shelf LLM APIs
  • The non-replicability of Support-bin across model families suggests that provenance-based conditioning is model-dependent and should be validated per-deployment, while pooled thresholds remain the more portable default for high-accuracy systems
  • The Apache-2.0 release with seed-pinned, regression-gated procedures offers a rare reproducible benchmark for the emerging field of certified selective prediction in NLP, and the validity ladder framework could become a standard reference for auditing production extraction systems

TL;DR

  • 文档提取系统的逐字段选择性风险控制存在三种失败模式:文档聚类效应(设计效应1.84-2.45)、分数重拟合泄漏(覆盖率0.416违反alpha=0.10)、平局质量病理(阈值网格崩溃)
  • 提出"有效性阶梯"框架,通过fit/val分割协议恢复学习融合的预期选择性风险控制(覆盖率0.318,风险0.096)
  • Mondrian Learn-then-Test结合精确二项分布尾概率可提供逐组PAC证书,但文档级独立场景下保证近乎空泛
  • Support-bin预指定谱系分类法在严格性各层级均胜出,但该优势在haiku/qwen模型上无法复现
  • 高准确率语料库中池化阈值方法更优,条件方法仅在池化无法认证的场景有价值

为什么值得看

本文揭示了文档提取系统中选择性风险控制的实际失效机制,为构建可信AI系统提供了重要的理论框架和实证依据。研究结果对开发需要严格错误率控制的文档处理系统具有直接指导意义。

技术解析

  • 在800份CORD收据的13,859个claude-sonnet-5字段上诊断出三种失败模式:文档聚类(设计效应1.84-2.45)、分数重拟合泄漏(覆盖率0.416,风险0.127,违反alpha=0.10)、平局质量病理(退化分数使阈值网格崩溃至0.030-0.001)
  • 提出"有效性阶梯"框架,通过fit/val分割协议实现学习融合的预期选择性风险控制(覆盖率0.318,风险0.096,名义alpha=0.10),生产变体覆盖率0.326
  • 采用Mondrian Learn-then-Test方法结合精确二项分布尾概率,获得逐组PAC证书:field-iid 0.171/风险0.068、cluster-corrected 0.140、doc-iid 0.060
  • Support-bin预指定谱系分类法在sonnet CORD捕获任务的所有严格性层级均胜出(p<1e-4,Bonferroni校正),但该结果在haiku或qwen模型上无法复现
  • 冻结配置验证和三人盲注人类黄金标准审计证实实际接受集风险为1.3%(远低于10%预算),Fleiss' kappa=0.83,标签存在单向悲观误差

行业启示

  • 文档提取系统的风险控制不能依赖直觉或简单阈值,必须考虑文档聚类效应和分数泄漏等系统性问题,否则选择性风险控制承诺将 silently violated
  • 方法选择应基于数据特性:低准确率场景(如49%正确率)适合条件方法,高准确率场景池化阈值更优,需根据实际准确率水平选择策略
  • 研究结果的可复现性有限,不同模型架构下最优策略可能不同,Support-bin优势仅在特定模型上成立,需针对具体应用场景进行验证

Disclaimer: The above content is generated by AI and is for reference only. 免责声明:以上内容由 AI 生成,仅供参考。

Claude Claude LLM 大模型 Evaluation 评测 Research 科学研究 Deployment 部署