Everything K-culture — comebacks to K-beauty, straight to your inboxGet it in your inbox

METAL MEDIA

Evaluating Structured Information Extraction with Open Models in a High Risk Public Sector Application

arXiv:2608.182892026-08-20

Off-the-shelf open-source AI fails 3 out of 4 times on a high-risk public-sector document task

Researchers built a benchmark from 100 real academic transcripts submitted to a German Data Science Master's program and tested 35 combinations of open-source OCR engines, language models, and vision-language models on extracting course names, grades, and credits into a structured table. Only 4 of the 35 configurations reached an F1 score above 0.5, and about 75% scored below 0.25, essentially failing. The findings suggest these systems are not ready to be deployed as-is for tasks the EU AI Act classifies as high-risk in the public sector.

METAL MEDIA explanatory visual

Off-the-shelf open-source AI fails 3 out of 4 times on a high-risk public-sector document task

  1. 01The team built a manually annotated ground-truth benchmark from 100 messy real-world PDF transcripts (mixing tables, free text, and institutional stamps) to represent the kind of document-processing task the EU AI Act treats as high-risk in public administration.
  2. 02They compared two pipelines with no task-specific fine-tuning (zero-shot): OCR engines (Pytesseract, PaddleOCR, MinerU, EasyOCR, docTR) feeding into Qwen3 language models ranging from 0.6B to 235B parameters, versus standalone vision-language models (LLaVA, Ministral-3, Gemma3, Qwen2.5VL, Qwen3VL) that read document images directly.
  3. 03The best OCR+LLM combo, MinerU with Qwen3:235B, tied the best VLM, Qwen2.5-VL, both at F1 0.509, while LLaVA and Gemma3 scored near zero. MinerU's advantage comes from preserving the page's spatial layout and encoding tables in HTML rather than fragmenting text line by line.
  4. 04Bigger models did not reliably perform better -- Qwen2.5-VL even beat its newer successor Qwen3-VL -- and the tiny 0.6B Qwen3 model often got stuck in repetitive output loops. Dropping the grade and credit columns and extracting only course names substantially improved scores, showing that inconsistent grading formats are a major source of error.
An explanatory diagram made by METAL MEDIA, not a figure supplied by the paper's authors.

What they did

  1. The team built a manually annotated ground-truth benchmark from 100 messy real-world PDF transcripts (mixing tables, free text, and institutional stamps) to represent the kind of document-processing task the EU AI Act treats as high-risk in public administration.
  2. They compared two pipelines with no task-specific fine-tuning (zero-shot): OCR engines (Pytesseract, PaddleOCR, MinerU, EasyOCR, docTR) feeding into Qwen3 language models ranging from 0.6B to 235B parameters, versus standalone vision-language models (LLaVA, Ministral-3, Gemma3, Qwen2.5VL, Qwen3VL) that read document images directly.
  3. The best OCR+LLM combo, MinerU with Qwen3:235B, tied the best VLM, Qwen2.5-VL, both at F1 0.509, while LLaVA and Gemma3 scored near zero. MinerU's advantage comes from preserving the page's spatial layout and encoding tables in HTML rather than fragmenting text line by line.
  4. Bigger models did not reliably perform better -- Qwen2.5-VL even beat its newer successor Qwen3-VL -- and the tiny 0.6B Qwen3 model often got stuck in repetitive output loops. Dropping the grade and credit columns and extracting only course names substantially improved scores, showing that inconsistent grading formats are a major source of error.
Figure 1: Anonymized example document.
Figure 1: Anonymized example document.
Table 1: Manually extracted Ground Truth for the Document in Figure 1
Academic FieldCourse NameGradeAwarded Credits
MathematicsMATHEMATICS FOR COMPUTER THEORY ENGINEERING & INFORMATION TECHNOLOGYB4.00
Computer ScienceOPERATING SYSTEMSB3.00
Computer ScienceDESIGN AND ANALYSIS OF ALGORITHMSC3.00
Computer ScienceAPPLICATION DEVELOPMENT TOOLSB2.00
Computer SciencePROGRAMMING FOR SCIENTIFIC THEORY COMPUTINGB+3.00
Computer ScienceNO SQL DATABASE SYSTEMSB+1.00
Figure 2: Workflow of extraction and evaluation pipeline
Figure 2: Workflow of extraction and evaluation pipeline
Table 2: OCR model configurations and output formats.
ModelInputLanguage ConfigOutput Format
docTRPDFauto-detectUnstructured; line breaks between text blocks
EasyOCRImage (JPG)EnglishUnstructured; tabs between text blocks (manually added)
MinerUPDFEnglishStructured; HTML tags for tables, line breaks between text rows
PPOCRv5Image (JPG)EnglishUnstructured; tabs between text blocks (manually added)
PPStructureV3PDFEnglishStructured; HTML tags for tables, line breaks between text blocks
PytesseractImage (JPG)EnglishStructured; line breaks between text rows
Figure 4: Best F1 score per model: top OCR+LLM combination (always Qwen3:235B) versus all VLMs.
Figure 4: Best F1 score per model: top OCR+LLM combination (always Qwen3:235B) versus all VLMs.
Table 3: OCR model architecture components (specified models only).
ModelOrient. Class.Doc UnwarpingText DetectionTextline Orient.Text Recognition
docTRdb_resnet50master
EasyOCR
MinerU
PPOCRv5PP-LCNet_x1_0_doc_oriUVDocOCRv5_server_detPP-LCNet_x1_0_textline_oriPP-OCRv5_server_rec
PPStructureV3PP-LCNet_x1_0_doc_oriUVDocOCRv5_server_detPP-LCNet_x1_0_textline_oriPP-OCRv5_server_rec
Pytesseract
Figure 5: F1 scores across Qwen3 parameter sizes for each OCR engine.
Figure 5: F1 scores across Qwen3 parameter sizes for each OCR engine.
Table 4: Qwen3 model architecture parameters [31]. Context lengths as specified in Ollama [23]. Q/KV heads refer to query and key-value attention heads [29].
ModelParametersContext LengthLayersHeads (Q / KV)
Qwen30.6B40K2816 / 8
Qwen34B256K3632 / 8
Qwen314B40K4040 / 8
Qwen332B40K6464 / 8
Qwen3235B256K9464 / 4
Figure 6: F1 improvement when removing grade, awarded credits, or both.
Figure 6: F1 improvement when removing grade, awarded credits, or both.
Table 5: Vision-language model overview.
ModelYearArchitectureParametersContextVision Encoder
Gemma 32025Decoder-only27B128KSigLIP
LLaVA2024Encoder-decoder7B32KCLIP
Ministral 32025Decoder-only14B256KViT
Qwen2.5-VL2025Encoder-decoder32B125KViT
Qwen3-VL2025Encoder-decoder32B256KSigLIP-2
Table 6: Extraction performance metrics for OCR+LLM pipeline and VLM models.
OCR EngineLLM ModelPrecisionRecallF1
OCR + LLM Pipeline
docTRQwen3 0.6B0.0140.0220.016
docTRQwen3 4B0.1990.2170.201
docTRQwen3 14B0.2020.2380.215
docTRQwen3 32B0.2040.2220.209
docTRQwen3 235B0.3010.3290.311
EasyOCRQwen3 0.6B0.0070.0090.008
EasyOCRQwen3 4B0.0790.0880.080
EasyOCRQwen3 14B0.0790.1110.088
EasyOCRQwen3 32B0.1030.1250.108
EasyOCRQwen3 235B0.1040.1260.112
MinerUQwen3 0.6B0.0780.0810.075
MinerUQwen3 4B0.4150.4720.427
MinerUQwen3 14B0.4550.4990.465
MinerUQwen3 32B0.4710.5510.501
MinerUQwen3 235B0.4890.5420.509
PPOCRv5Qwen3 0.6B0.0020.0020.002
PPOCRv5Qwen3 4B0.1600.1990.170
PPOCRv5Qwen3 14B0.2070.2620.222
PPOCRv5Qwen3 32B0.1630.1840.169
PPOCRv5Qwen3 235B0.3120.3450.324
PPStructureV3Qwen3 0.6B0.0220.0200.020
PPStructureV3Qwen3 4B0.1320.1460.129
PPStructureV3Qwen3 14B0.1230.1330.124
PPStructureV3Qwen3 32B0.1570.1630.157
PPStructureV3Qwen3 235B0.1760.1910.179
PytesseractQwen3 0.6B0.0050.0050.005
PytesseractQwen3 4B0.0910.0950.092
PytesseractQwen3 14B0.0860.1000.091
PytesseractQwen3 32B0.0900.0960.092

Why it matters

This gives concrete evidence that assuming a large or newer open-source model will 'just work' for regulated, high-stakes document processing is a risky bet. For practitioners and regulators evaluating AI under rules like the EU AI Act, it shows that how OCR output preserves document structure matters as much as which model processes it.

Terms in this paper

  • OCR · Optical Character Recognition, technology that converts images of text into machine-readable text
  • LLM · Large Language Model, a text-based AI model trained on large amounts of language data
  • VLM · Vision-Language Model, an AI model that processes both images and text together
  • zero-shot · using a pretrained model on a task without any additional task-specific training
  • F1 score · a metric combining how much correct information was captured (recall) and how much of the output was correct (precision), closer to 1 is better

Figures we cannot republish

  • Figure 3: Tokenization visualized
See the figures in the original paper →

Original abstract (English)

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.

Authors · Elias Schubert, Felix Bie{\ss}mann

Read on arXiv

Latest papers

All papers →

Latest from METAL MEDIA

Figures: Elias Schubert et al., arXiv:2608.18289, CC BY-SA 4.0