Evaluating Structured Information Extraction with Open Models in a High Risk Public Sector Application
Authors: Elias Schubert, Felix Bießmann
Organizations: Berlin University of Applied Sciences, Luxemburger Str. 10, 13353 Berlin, Germany · Einstein Center Digital Future, Wilhelmstraße 67, 10117 Berlin, Germany
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.
Figures & tables
Figure 1: Anonymized example document.
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
Table 1: Manually extracted Ground Truth for the Document in Figure 1
Figure 2: Workflow of extraction and evaluation pipeline
Model
Input
Language Config
Output Format
docTR
PDF
auto-detect
Unstructured; line breaks between text blocks
EasyOCR
Image (JPG)
English
Unstructured; tabs between text blocks (manually added)
MinerU
PDF
English
Structured; HTML tags for tables, line breaks between text rows
PPOCRv5
Image (JPG)
English
Unstructured; tabs between text blocks (manually added)
PPStructureV3
PDF
English
Structured; HTML tags for tables, line breaks between text blocks
Pytesseract
Image (JPG)
English
Structured; line breaks between text rows
Table 2: OCR model configurations and output formats.
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
—
—
—
—
—
Table 3: OCR model architecture components (specified models only).
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
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 ] .
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
Table 5: Vision-language model overview.
Figure 3: Tokenization visualized
Figure 4: Best F1 score per model: top OCR+LLM combination (always Qwen3:235B) versus all VLMs.
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
Table 6: Extraction performance metrics for OCR+LLM pipeline and VLM models.
Figure 5: F1 scores across Qwen3 parameter sizes for each OCR engine.
Figure 6: F1 improvement when removing grade, awarded credits, or both.