Evaluating Structured Information Extraction with Open Models in a High Risk Public Sector Application
在高风险公共部门文档任务中,开源AI开箱即用有四分之三不合格
研究人员用德国一个数据科学硕士项目收到的100份真实成绩单构建了一个基准测试,评估了35种开源OCR引擎、大语言模型(LLM)与视觉语言模型(VLM)组合在抽取课程名称、成绩和学分这类结构化信息上的表现。结果显示,35种配置中只有4种F1分数超过0.5,约75%的配置得分低于0.25,基本属于失败水平。这说明这类系统在欧盟人工智能法案归类为高风险的公共部门场景中,不能不加调整就直接投入使用。
METAL MEDIA 解读图
在高风险公共部门文档任务中,开源AI开箱即用有四分之三不合格
- 01研究团队用100份真实、格式混乱的PDF成绩单(表格、自由文本、机构印章混杂)手工标注了标准答案,以代表欧盟AI法案视为高风险的公共行政文档处理任务。
- 02他们在完全不做针对性微调的零样本(zero-shot)设定下,比较了两条流程:一是OCR引擎(Pytesseract、PaddleOCR、MinerU、EasyOCR、docTR)搭配参数量从0.6B到235B不等的Qwen3语言模型;二是直接读取文档图像的视觉语言模型(LLaVA、Ministral-3、Gemma3、Qwen2.5VL、Qwen3VL)。
- 03表现最好的OCR+LLM组合是MinerU搭配Qwen3:235B,F1为0.509,与表现最好的VLM Qwen2.5-VL(同为0.509)打平,而LLaVA和Gemma3的得分几乎为零。MinerU的优势在于保留了页面的空间排版,并用HTML标签编码表格结构,而不是把文字逐块拆散。
- 04模型越大并不代表表现越好,Qwen2.5-VL甚至优于其后续版本Qwen3-VL,而极小的0.6B版Qwen3常常陷入重复输出的死循环。如果去掉成绩和学分列、只抽取课程名称,分数会明显提升,说明各种不一致的成绩表示方式是主要的出错来源。
他们做了什么
- 研究团队用100份真实、格式混乱的PDF成绩单(表格、自由文本、机构印章混杂)手工标注了标准答案,以代表欧盟AI法案视为高风险的公共行政文档处理任务。
- 他们在完全不做针对性微调的零样本(zero-shot)设定下,比较了两条流程:一是OCR引擎(Pytesseract、PaddleOCR、MinerU、EasyOCR、docTR)搭配参数量从0.6B到235B不等的Qwen3语言模型;二是直接读取文档图像的视觉语言模型(LLaVA、Ministral-3、Gemma3、Qwen2.5VL、Qwen3VL)。
- 表现最好的OCR+LLM组合是MinerU搭配Qwen3:235B,F1为0.509,与表现最好的VLM Qwen2.5-VL(同为0.509)打平,而LLaVA和Gemma3的得分几乎为零。MinerU的优势在于保留了页面的空间排版,并用HTML标签编码表格结构,而不是把文字逐块拆散。
- 模型越大并不代表表现越好,Qwen2.5-VL甚至优于其后续版本Qwen3-VL,而极小的0.6B版Qwen3常常陷入重复输出的死循环。如果去掉成绩和学分列、只抽取课程名称,分数会明显提升,说明各种不一致的成绩表示方式是主要的出错来源。

| Academic Field | Course Name | Grade | Awarded Credits |
|---|---|---|---|
| Mathematics | MATHEMATICS FOR COMPUTER THEORY ENGINEERING & INFORMATION TECHNOLOGY | B | 4.00 |
| Computer Science | OPERATING SYSTEMS | B | 3.00 |
| Computer Science | DESIGN AND ANALYSIS OF ALGORITHMS | C | 3.00 |
| Computer Science | APPLICATION DEVELOPMENT TOOLS | B | 2.00 |
| Computer Science | PROGRAMMING FOR SCIENTIFIC THEORY COMPUTING | B+ | 3.00 |
| Computer Science | NO SQL DATABASE SYSTEMS | B+ | 1.00 |

| Model | Input | Language Config | Output Format |
|---|---|---|---|
| docTR | auto-detect | Unstructured; line breaks between text blocks | |
| EasyOCR | Image (JPG) | English | Unstructured; tabs between text blocks (manually added) |
| MinerU | English | Structured; HTML tags for tables, line breaks between text rows | |
| PPOCRv5 | Image (JPG) | English | Unstructured; tabs between text blocks (manually added) |
| PPStructureV3 | English | Structured; HTML tags for tables, line breaks between text blocks | |
| Pytesseract | Image (JPG) | English | Structured; line breaks between text rows |
| Model | Orient. Class. | Doc Unwarping | Text Detection | Textline Orient. | Text Recognition |
|---|---|---|---|---|---|
| docTR | — | — | db_resnet50 | — | master |
| EasyOCR | — | — | — | — | — |
| MinerU | — | — | — | — | — |
| PPOCRv5 | PP-LCNet_x1_0_doc_ori | UVDoc | OCRv5_server_det | PP-LCNet_x1_0_textline_ori | PP-OCRv5_server_rec |
| PPStructureV3 | PP-LCNet_x1_0_doc_ori | UVDoc | OCRv5_server_det | PP-LCNet_x1_0_textline_ori | PP-OCRv5_server_rec |
| Pytesseract | — | — | — | — | — |
| Model | Parameters | Context Length | Layers | Heads (Q / KV) |
|---|---|---|---|---|
| Qwen3 | 0.6B | 40K | 28 | 16 / 8 |
| Qwen3 | 4B | 256K | 36 | 32 / 8 |
| Qwen3 | 14B | 40K | 40 | 40 / 8 |
| Qwen3 | 32B | 40K | 64 | 64 / 8 |
| Qwen3 | 235B | 256K | 94 | 64 / 4 |
| Model | Year | Architecture | Parameters | Context | Vision Encoder |
|---|---|---|---|---|---|
| Gemma 3 | 2025 | Decoder-only | 27B | 128K | SigLIP |
| LLaVA | 2024 | Encoder-decoder | 7B | 32K | CLIP |
| Ministral 3 | 2025 | Decoder-only | 14B | 256K | ViT |
| Qwen2.5-VL | 2025 | Encoder-decoder | 32B | 125K | ViT |
| Qwen3-VL | 2025 | Encoder-decoder | 32B | 256K | SigLIP-2 |
| OCR Engine | LLM Model | Precision | Recall | F1 |
|---|---|---|---|---|
| OCR + LLM Pipeline | ||||
| docTR | Qwen3 0.6B | 0.014 | 0.022 | 0.016 |
| docTR | Qwen3 4B | 0.199 | 0.217 | 0.201 |
| docTR | Qwen3 14B | 0.202 | 0.238 | 0.215 |
| docTR | Qwen3 32B | 0.204 | 0.222 | 0.209 |
| docTR | Qwen3 235B | 0.301 | 0.329 | 0.311 |
| EasyOCR | Qwen3 0.6B | 0.007 | 0.009 | 0.008 |
| EasyOCR | Qwen3 4B | 0.079 | 0.088 | 0.080 |
| EasyOCR | Qwen3 14B | 0.079 | 0.111 | 0.088 |
| EasyOCR | Qwen3 32B | 0.103 | 0.125 | 0.108 |
| EasyOCR | Qwen3 235B | 0.104 | 0.126 | 0.112 |
| MinerU | Qwen3 0.6B | 0.078 | 0.081 | 0.075 |
| MinerU | Qwen3 4B | 0.415 | 0.472 | 0.427 |
| MinerU | Qwen3 14B | 0.455 | 0.499 | 0.465 |
| MinerU | Qwen3 32B | 0.471 | 0.551 | 0.501 |
| MinerU | Qwen3 235B | 0.489 | 0.542 | 0.509 |
| PPOCRv5 | Qwen3 0.6B | 0.002 | 0.002 | 0.002 |
| PPOCRv5 | Qwen3 4B | 0.160 | 0.199 | 0.170 |
| PPOCRv5 | Qwen3 14B | 0.207 | 0.262 | 0.222 |
| PPOCRv5 | Qwen3 32B | 0.163 | 0.184 | 0.169 |
| PPOCRv5 | Qwen3 235B | 0.312 | 0.345 | 0.324 |
| PPStructureV3 | Qwen3 0.6B | 0.022 | 0.020 | 0.020 |
| PPStructureV3 | Qwen3 4B | 0.132 | 0.146 | 0.129 |
| PPStructureV3 | Qwen3 14B | 0.123 | 0.133 | 0.124 |
| PPStructureV3 | Qwen3 32B | 0.157 | 0.163 | 0.157 |
| PPStructureV3 | Qwen3 235B | 0.176 | 0.191 | 0.179 |
| Pytesseract | Qwen3 0.6B | 0.005 | 0.005 | 0.005 |
| Pytesseract | Qwen3 4B | 0.091 | 0.095 | 0.092 |
| Pytesseract | Qwen3 14B | 0.086 | 0.100 | 0.091 |
| Pytesseract | Qwen3 32B | 0.090 | 0.096 | 0.092 |
为什么重要
这项研究用具体数据说明,认为'更大更新的开源模型自然更可靠'的假设在受监管的高风险文档处理场景中存在明显风险。对于要依据欧盟AI法案等规则评估AI系统的从业者而言,它表明OCR输出是否保留文档结构,与所用模型本身的能力同样重要。
本文术语
无法转载的图表
- Figure 3: Tokenization visualized
论文原文摘要(英文)
The extraction of structured information from unstructured documents represents a critical component of digital transformations in all sectors. While proprietary solutions dominate commercial applications, a rapidly growing ecosystem of open-source Optical Character Recognition (OCR) engines, Large Language Models (LLMs), and Vision-Language Models (VLMs) offers accessible alternatives. However, systematic evaluations on realistic, multi-step extraction pipelines remain scarce. Responsible usage of such extraction tools require comprehensive evaluations on realistic tasks, especially as these solutions will be key components of applications in the public sector that the EU AI act categorizes as high risk. To address this gap we present a comprehensive benchmark assessing the end-to-end performance of open-source systems on a complex real-world document processing task classified as high risk: Student applications for an international study program. We conduct a comprehensive empirical evaluation with state-of-the-art OCR engines, LLMs and VLMs. Our results reveal that while VLMs generally outperform OCR+LLM pipelines, even state-of-the-art open-source models struggle to handle such tasks reliably in zero-shot settings. Only 4 of 35 configurations achieved F1 scores above 0.5, with the best OCR+LLM pipeline matching top VLM performance, though most OCR+LLM combinations performed substantially worse. Roughly 75\% of all configurations scored below 0.25. Model scale influences performance, yet the relationship is non-linear: substantially larger models do not guarantee proportionally better results. Input quality, particularly the structural preservation of OCR output, emerges as a critical factor independent of downstream model capability.
在 arXiv 阅读最新论文
- SWE-bench Science: Can Coding Agents Resolve Engineering Tasks in Science?让AI编程助手去修复真实科学软件,连最强的那个也有一半以上任务没做对
- FlashPrefill V2: Block-Sparse Prefill Attention for Long-Context LLM Serving把稀疏注意力从论文原型变成能真正上线服务的加速方案
- PolicyGuide: From Guarding One Action to Guiding the Whole Workflow for Policy-Compliant LLM Agents让客服AI坐席不只是拦住一个危险动作,而是把整个流程走对
- EXIMO: VLM Guided Exploration of VLA Policies不用人工遥控演示,让会说话的AI来教机械臂做新家务
- EnvHarness: Awakening Static Worlds for Agent Learning不重新搭建训练环境,而是给现有环境套一层可插拔组件,针对每个智能体的具体弱点重新塑形
- Bounded Sovereignty and the Control Tax: Pricing AI Oversight When the Deployer Does Not Own the Model租用AI而非拥有AI的机构,安全监管能力只剩一半
- Beyond Imitation: Filtering On-Policy Distillation by Reasoning ProgressAI模仿老师模型学习时,会误伤本来推理正确的步骤,新方法专门过滤掉这种误伤
- PersonalBench: Measuring the Authorship Gap in LLM Personalization让AI模仿某人的文风,结果发现它始终摆脱不了自己的腔调
METAL MEDIA 最新报道
图片来源: Elias Schubert et al., arXiv:2608.18289, CC BY-SA 4.0