构建首个端到端的复杂结构化信息提取基准,解决大模型在真实场景下的可靠性问题。
ExtractBench: A Benchmark and Evaluation Methodology for Complex Structured Extraction
- 以可执行模式定义字段评分规则,支持嵌套结构与多类型正确性判断
- 覆盖35份真实文档、12867个字段,最大模板达369字段,模型准确率降为0%
- 适合金融、医疗等需高可靠性的企业级文档自动化场景
无结构文档如PDF包含宝贵结构化信息,但下游系统需要可靠、标准化的数据格式。大语言模型(LLMs)正被用于自动化提取,准确性与可靠性至关重要。然而进展受制于两大瓶颈:一是缺乏面向企业级宽泛模式的端到端评估基准;二是缺乏捕捉嵌套提取语义的系统化方法——字段需不同正确性标准(标识符要求精确匹配,数值允许容差,名称要求语义等价),数组需对齐,遗漏必须区别于幻觉。本文提出ExtractBench,一个开源基准与评估框架,用于PDF到JSON的结构化提取。该基准包含35份真实文档与对应JSON Schema及人工标注真值标签,覆盖经济价值高的领域,共12,867个可评估字段,涵盖从数十到数百字段的复杂度。评估框架将模式视为可执行规范:每个字段声明其评分指标。基线测试显示,前沿模型(GPT-5/5.2、Gemini-3 Flash/Pro、Claude 4.5 Opus/Sonnet)在真实模式下仍不可靠,性能随模式广度急剧下降,在369字段财务报告模板上所有模型输出有效率均为0%。项目已开源:https://github.com/ContextualAI/extract-bench。
原文摘要 · Abstract (English)
Unstructured documents like PDFs contain valuable structured information, but downstream systems require this data in reliable, standardized formats. LLMs are increasingly deployed to automate this extraction, making accuracy and reliability paramount. However, progress is bottlenecked by two gaps. First, no end-to-end benchmark evaluates PDF-to-JSON extraction under enterprise-scale schema breadth. Second, no principled methodology captures the semantics of nested extraction, where fields demand different notions of correctness (exact match for identifiers, tolerance for quantities, semantic equivalence for names), arrays require alignment, and omission must be distinguished from hallucination. We address both gaps with ExtractBench, an open-source benchmark and evaluation framework for PDF-to-JSON structured extraction. The benchmark pairs 35 PDF documents with JSON Schemas and human-annotated gold labels across economically valuable domains, yielding 12,867 evaluatable fields spanning schema complexities from tens to hundreds of fields. The evaluation framework treats the schema as an executable specification: each field declares its scoring metric. Baseline evaluations reveal that frontier models (GPT-5/5.2, Gemini-3 Flash/Pro, Claude 4.5 Opus/Sonnet) remain unreliable on realistic schemas. Performance degrades sharply with schema breadth, culminating in 0% valid output on a 369-field financial reporting schema across all tested models. We release ExtractBench at https://github.com/ContextualAI/extract-bench.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。