Document intelligence requires accurate text extraction and reliable reasoning over document content. We introduce DISCO, a Document Intelligence Suite for COmparative Evaluation, that evaluates optical character recognition (OCR) pipelines and vision-language models (VLMs) separately on parsing and question answering across diverse document types, including handwritten text, multilingual scripts, medical forms, infographics, and multi-page documents. Our evaluation shows that performance varies substantially across tasks and document characteristics, underscoring the need for complexity-aware approach selection. OCR pipelines are generally more reliable for handwriting and for long or multi-page documents, where explicit text grounding supports text-heavy reasoning, while VLMs perform better on multilingual text and visually rich layouts. Task-aware prompting yields mixed effects, improving performance on some document types while degrading it on others. These findings provide empirical guidance for selecting document processing strategies based on document structure and reasoning demands.
Figures & tables
Task
Dataset
Description
Parsing
IAM DISCO from Marti and Bunke (2002)
Handwritten text
Parsing
ICDAR 2015 DISCO from Karatzas and others (2019)
Multilingual scene text
Parsing
PubLayNet DISCO from Zhong et al. (2019)
Scientific document pages (layout)
Parsing
RxPad DISCO from Pattin et al. (2026)
Medical forms (French)
QA
DocVQA DISCO from Mathew et al. (2021)
Scanned forms and letters
QA
InfographicVQA DISCO from Mathew et al. (2022)
Infographics
Table 1: Benchmark suite composition: datasets and document types evaluated in DISCO. Note: All DISCO dataset subsets and accompanying evaluation artifacts will be released upon paper acceptance and with the final version of the paper. VisR-Bench and PubLayNet are included in the suite, but we do not report experimental results on them in this paper.
Task
Dataset
POCR
PVLM-base
PVLM-task
Parsing - SCER
IAM DISCO
0.087
0.171
0.080
ICDAR DISCO
0.553
0.213
0.073
RxPad
0.654
0.660
0.659
Task
Dataset
QAOCR
QAVLM-2stage
QAVLM-direct
QA - SGT-in-Pred
DocVQA DISCO
0.876
0.896
0.908
InfographicVQA DISCO
0.754
0.711
0.785
Table 2: DISCO benchmark results - Parsing SCER and QA SGT-in-Pred across OCR a VLM pipeline variants.
Appendix figures & tables30 assets
Supplementary material from the paper’s appendix.
Appendix
Figure 1: Model performance across phases on IAM DISCO .
Approach
CER ↓
WER ↓
ANLS ↑
SCS↑
OCR models
5.53
4.67
0.07
0.45
VLM (generic prompt)
2.13
2.02
0.18
0.56
VLM (task-aware prompt)
0.73
0.85
0.22
0.47
Appendix
Table 3: Parsing average performance on ICDAR Mini. Results averaged across models within each phase.
Script Category
OCR (CER) ↓
VLM (CER) ↓
n
Chinese
5.04
1.93
94
Chinese, Latin
1.59
0.59
85
Hindi
3.16
1.17
106
Japanese
1.75
1.61
64
Korean
0.89
0.35
67
Latin
1.69
2.07
24
Appendix
Table 4: CER by script category for best-performing OCR ( azure-ai-documentintelligence ) vs best-performing VLM ( gpt-5-mini ). Sample counts in parentheses.
Figure 2: Model performance across phases on ICDAR DISCO . POCR : OCR baseline; PVLM-base : VLM with generic prompting; PVLM-task : VLM with task-aware prompting. For CER and WER, lower (green) is better; for ANLS and Cosine Similarity, higher is better.
Phase
SCER↓
SWER↓
SCS↑
POCR
0.654
0.589
0.482
PVLM-base
0.660
0.594
0.476
PVLM-task
0.659
0.583
0.482
Appendix
Table 5: Mean performance metrics across experimental phases on RxPad, averaged across all evaluated models.
Field (French)
GT Presence ↑
VLM Recall ↑
mg (Milligrams)
70.0%
100.0%
comprimé (Tablet)
46.5%
100.0%
traitement (Treatment)
31.5%
100.0%
médecin (Doctor)
32.0%
139.1%
ordonnance (Prescription)
13.5%
100.0%
fois par jour (Times/day)
25.0%
4.0%
Appendix
Table 6: Field extraction recall for VLMs in Phase PVLM-task . Values above 100% indicate the model detected more instances than present in ground truth annotations.
Figure 3: Model performance across phases on RxPad. POCR : OCR baseline; PVLM-base : VLM with base prompting; PVLM-task : VLM with task-aware prompting. For SCER and SWER , lower (green) is better; for SCS , higher is better.
Strategy
Best Configuration
SGT-in-Pred↑
SANLS↑
SEM↑
SCS↑
QAOCR
azure-ai-documentintelligence → gpt-5-mini
0.876
0.841
0.744
0.855
QAVLM-2stage
gpt-5-mini → gpt-5-mini
0.896
0.868
0.779
0.876
QAVLM-direct
gpt-5-mini
0.908
0.632
0.482
0.786
Appendix
Table 7: Best model performance by strategy on DocVQA. SGT-in-Pred is the primary metric.
Figure 4: Regression performance when predicting QA correctness from the parsed document data (DocVQA).
Strategy
Mean SGT-in-Pred↑
Mean SANLS↑
QAOCR
0.840
0.720
QAVLM-2stage
0.725
0.480
QAVLM-direct
0.893
0.450
Appendix
Table 8: Mean QA performance by strategy on DocVQA (reported separately for SGT-in-Pred and SANLS ).
Figure 5: DocVQA strategy heatmaps using the primary strategy metric SGT-in-Pred for (1) QAOCR , (2) QAVLM-2stage , and (3) QAVLM-direct .
Model / system
SGT-in-Extracted-Text↑
azure-ai-documentintelligence
0.8712
mistral-ocr-2505
0.8479
mistral-ocr-2512
0.6146
gpt-5-nano
0.4479
gpt-5-mini
0.8695
claude-3.5-sonnet
0.8677
Appendix
Table 9: SGT-in-Extracted-Text from parsed document data on DocVQA.
OCR system
QAOCRgeneric
QAOCRcot
QAOCRtask-aware
SGT-in-Pred (primary metric) ↑
azure-ai-documentintelligence
0.814
0.846
0.831
mistral-ocr-2505
0.785
0.805
0.794
mistral-ocr-2512
0.574
0.555
0.579
SANLS (string similarity) ↑
azure-ai-documentintelligence
0.623
0.833
0.733
Appendix
Table 10: OCR system performance on DocVQA DISCO by phase (all using gpt-5-mini for QA).
Figure 6: InfographicVQA strategy heatmaps. Each row corresponds to a QA strategy ( QAOCR , QAVLM-2stage , QAVLM-direct ) and reports four metrics: SGT-in-Pred , SANLS , SEM , and SCS (Cosine Similarity).
Table 16: Ground truth coverage in parsed data for different parsing methods.
Parsing
QA Performance
OCR System
GT-in-Ext
Rank
QA OCRcot
QA OCRtask
Azure Intelligence
0.505
1
0.475 (2)
0.567 (2)
Mistral OCR 2
0.468
2
0.475 (2)
0.567 (2)
Mistral OCR 3
0.391
3
0.468 (3)
0.579 (1)
Appendix
Table 17: Relationship between parsing effectiveness (GT-in-Extracted-Text) and QA performance on DUDEDISCO.
OCR System
DocVQA
InfographicVQA
DUDE
Azure Intelligence
0.871
0.754
0.505
Mistral OCR 2 (2505)
0.848
0.357
0.468
Mistral OCR 3 (2512)
0.615
0.321
0.391
GPT-5 Mini (VLM parsing for reference)
GPT-5 Mini
0.869
0.465
0.694
Appendix
Table 18: Ground truth coverage in parsed text by OCR system (GT-in-Extracted-Text metric). Higher values indicate more reliable text extraction.
OCR System
GT-in-Pred ↑
ANLS ↑
Exact Match ↑
Mistral OCR 3 → GPT-5 Mini
0.579
0.000
0.000
Mistral OCR 2 → GPT-5 Mini
0.567
0.004
0.000
Azure Intelligence → GPT-5 Mini
0.567
0.000
0.000
Appendix
Table 19: QA1c phase anomaly on DUDEDISCO: high answer containment with zero format compliance across all OCR systems.
P-a (OCR baseline)
P-b (generic VLM extraction)
P-c (task-aware VLM extraction)
Dataset
CER ↓
WER ↓
SCS↑
CER ↓
WER ↓
SCS↑
CER ↓
WER ↓
SCS↑
IAM (handwriting)
0.0894
0.3011
0.9457
0.1626
0.2234
0.9046
0.0800
0.1098
0.9136
ICDAR (scene text)
5.5261
4.6697
0.4547
2.1256
2.0210
0.5589
0.7336
0.8544
0.4744
RxPad (prescriptions)
0.6541
0.5886
0.4820
0.6601
0.5935
0.4758
0.6591
0.5828
0.4818
Appendix
Table 20: Parsing metrics (cosine similarity, CER, WER) across datasets and phases, extracted from the notebook summary outputs. Where multiple systems are reported within a phase, the row reflects the system with the highest cosine similarity for that phase on that dataset (and its corresponding CER/WER).
Dataset
Phase
System
SGT-in-Pred↑
SANLS↑
SEM↑
DocVQA
QA1a
azure_intelligence__gpt-5-mini
0.8405
0.6284
0.4622
DocVQA
QA1b
azure_intelligence__gpt-5-mini
0.8763
0.8406
0.7444
DocVQA
QA1c
azure_intelligence__gpt-5-mini
0.8571
0.7412
0.5714
DocVQA
QA2a
gpt-5-mini__gpt-5-mini
0.8514
0.6159
0.4438
DocVQA
QA2b
gpt-5-mini__gpt-5-mini
0.8956
0.8683
0.7791
DocVQA
QA3fewshot
gpt-5-nano
0.8740
0.7455
0.4360
Appendix
Table 21: QA metrics ( SGT-in-Pred , SANLS , SEM ) across datasets and phases, extracted from the notebook summary outputs. For each dataset and phase, the row reflects the best run among those marked [PRIMARY] in the notebook outputs (selected by SANLS , then SEM ).
Figure 8: Speed vs accuracy trade-off across QA strategies on DocVQA DISCO . QAVLM-direct (green) achieves the best efficiency frontier: highest accuracy with lowest latency. QAVLM-2stage (olive) incurs 2–4 × longer inference times due to sequential parsing and reasoning stages.
SCS (Cosine Similarity): semantic similarity between the parsed output and the ground-truth text embeddings. We use SCS as the primary parsing metric because it captures semantic closeness between extracted and reference text, even when the surface form differs (e.g., minor OCR noise, punctuation, or formatting changes).
SGT-in-Pred (Ground-Truth-in-Prediction): binary substring-based metric equal to 1 if the ground-truth answer string appears in the prediction, 0 otherwise. We use SGT-in-Pred as the primary QA metric because it supports a binary correctness check and is robust to verbose LLM outputs (where the correct answer may be embedded in a longer explanation).
Other metrics
CER (Character Error Rate): character-level edit distance normalised by ground-truth length; WER (Word Error Rate): word-level edit distance normalised by ground-truth word count.
EM (Exact Match): 1 if the prediction exactly matches the ground truth, 0 otherwise; ANLS (Average Normalised Levenshtein Similarity): normalised string similarity based on Levenshtein distance.
Document parsing and recognition are fundamental capabilities for vision-language models (VLMs) and document processing systems. However, existing Optical Character Recognition (OCR) and document parsing benchmarks are increasingly limited in coverage and difficulty: many focus on common document genres or uniformly sampled pages where modern parsers already perform strongly, while offering limited annotation for expert-domain structures such as chemical formula, music notation, complex tables, and cross-page layouts. We introduce Dr. DocBench, a difficulty-aware benchmark for expert-level document parsing. Built from a large-scale multilingual book corpus, Dr. DocBench spans 52 BISAC subject domains and selects challenging documents through parser-failure-based sampling, targeting cases where multiple state-of-the-art systems struggle. It contains 4,514 annotated pages from long documents averaging around 100 pages, with 65k high-quality page- and block-level annotations for layout, reading order, hierarchical relations, and domain-specific visual contents. Evaluations of pipeline-based parsers and general-purpose VLMs show that strong performance on existing benchmarks does not transfer to our expert-level document parsing. Our analysis reveals substantial failures across subjects, content types, and structural attributes, highlighting Dr. DocBench as a comprehensive testbed for diagnosing and advancing document intelligence.
Minglai Yang, Xinyan Velocity Yu, Pengyuan Li +22
2077AI · University of Arizona · University of Southern California +8
We present Qianfan-OCR, a 4B-parameter end-to-end vision-language model that unifies document parsing, layout analysis, and document understanding within a single architecture. It performs direct image-to-Markdown conversion and supports diverse prompt-driven tasks including table extraction, chart understanding, document QA, and key information extraction. To address the loss of explicit layout analysis in end-to-end OCR, we propose Layout-as-Thought, an optional thinking phase triggered by special think tokens that generates structured layout representations -- bounding boxes, element types, and reading order -- before producing final outputs, recovering layout grounding capabilities while improving accuracy on complex layouts. Qianfan-OCR ranks first among end-to-end models on OmniDocBench v1.5 (93.12) and OlmOCR Bench (79.8), achieves competitive results on OCRBench, CCOCR, DocVQA, and ChartQA against general VLMs of comparable scale, and attains the highest average score on public key information extraction benchmarks, surpassing Gemini-3.1-Pro, Seed-2.0, and Qwen3-VL-235B. The model is publicly accessible via the Baidu AI Cloud Qianfan platform.
We introduce OvisOCR2, a 0.8B document parsing model. OvisOCR2 is designed as an end-to-end parser: given a document page image, it generates a Markdown representation in natural reading order, covering text, formulas, tables, and visual regions. We build a data engine that combines filtered real-document annotations with synthetic pages whose rendered images and Markdown targets are derived from the same HTML source. The training recipe includes supervised fine-tuning, reinforcement learning on a 4B branch with a multi-component reward design, on-policy distillation into the 0.8B model, and model fusion. On OmniDocBench v1.6, OvisOCR2 achieves a state-of-the-art overall score of 96.58, placing an end-to-end model at the top of this leaderboard previously dominated by pipeline methods and highlighting the potential of end-to-end document parsing. On PureDocBench, OvisOCR2 also achieves the highest Avg3 score of 75.06. Beyond these two public benchmarks, we evaluate OvisOCR2 on an in-house benchmark designed to cover a broader set of long-tail and challenging scenarios. OvisOCR2 obtains the best overall performance among the compared methods, providing further evidence of its generalization and robustness. OvisOCR2 is available at https://huggingface.co/ATH-MaaS/OvisOCR2.