DocOCR-Eval: A Correction-Based Framework for OCR Tool Selection Without Ground Truth

Zihan Xu, Puzhen Wu, Lawrence Chun Man Lau, Wei Liu, Sirui Li, Yifan Peng, Yihao DingarXiv 2026

TL;DR

DocOCR-Eval is a new annotation-free framework that automatically selects the best OCR tool for any given document collection without requiring expensive ground-truth labels. By using Multimodal Large Language Models (MLLMs) to diagnose and correct OCR outputs, the system uses the "correction delta" to rank candidate engines, achieving high alignment with human-annotated rankings.

What Problem Does This Paper Address?

Document parsing—converting scanned images into structured text and layout—is the first step in almost every document AI pipeline. However, the "best" tool for the job is a moving target. Traditional OCR engines (like Tesseract or PaddleOCR) are fast but prone to "hallucinating" characters or messing up complex layouts. Modern MLLMs (like GPT-4o or Qwen-VL) are smarter but expensive and slow for bulk processing.

Currently, engineers usually pick a tool based on ad-hoc testing or costly manual benchmarking. There is no standard way to determine which OCR engine will perform best on a specific, unlabeled dataset (e.g., a new batch of French medical records or Chinese exam papers) without actually labeling a subset of that data first.

Methods

The authors introduce DocOCR-Eval, a three-staged pipeline that treats MLLMs not as the primary OCR engine, but as expert "editors" to evaluate other engines.

Figure 1: Workflow of the DOCOCR-EVAL with a case study.
  1. Error Diagnosing: The framework uses three specialized modules to flag issues in the raw OCR output:
  2. Character Noise Detector ($D_c$): Finds typos and confused characters.
  3. Tokenization Error Identifier ($D_t$): Spots bad word boundaries or line breaks.
  4. Semantic Consistency Checker ($D_s$): Checks if the text actually makes sense within the context of the whole document.
  5. Error Correcting: Based on the diagnosis, the system triggers one of two MLLM-based correctors:
  6. Text-based Corrector ($C_t$): Fixes linguistic errors using context.
  7. Vision-based Corrector ($C_v$): If the error is severe, the MLLM "re-reads" the specific image crop to extract the text from scratch.
  8. Ranking: The system calculates the similarity (ANLS) between the original OCR output and the MLLM-corrected version. The engine that requires the least correction is ranked as the most suitable for that dataset. To avoid single-model bias, they aggregate scores across multiple MLLMs (e.g., Qwen3-VL, GPT-4o-mini, Gemini).

Datasets

The researchers evaluated their framework across five diverse benchmarks to ensure cross-domain and cross-language robustness:

  • FUNSD: English forms with complex layouts.
  • SROIE: English scanned receipts.
  • EPHOIE: Chinese educational exam papers.
  • RXPAD: French clinical notes and prescriptions.
  • XFUND: A multilingual dataset covering seven languages (Japanese, Spanish, Italian, German, Portuguese, etc.).
Table 2: Summary of adopted datasets. H: Handwritten. LA: Layout Analysis

Key Insights and Ideas

  • No Universal Winner: The study confirms that OCR performance is highly dataset-dependent. For example, PaddleOCR excels at English forms (FUNSD), while Google Cloud Vision is superior for Chinese exam papers (EPHOIE). This highlights why automated selection is necessary.
  • Correction as a Proxy for Quality: The core "aha moment" is that an MLLM's ability to fix an OCR result is a reliable signal of that result's initial quality. If an MLLM barely changes the text, the OCR engine likely got it right.
  • Wisdom of the MLLM Crowd: Aggregating results from multiple MLLMs significantly improves the ranking accuracy, narrowing the gap between this "blind" selection and a selection based on ground-truth labels.
  • Dataset-Adaptive Strategies: Different datasets require different correction logic. For instance, medical documents (RXPAD) benefit more from text-only normalization because vision-based re-reading can be confused by domain-specific abbreviations.

Key Results

The framework's effectiveness was measured using NDCG (Normalized Discounted Cumulative Gain), which quantifies how closely the DocOCR-Eval ranking matches the "true" ranking derived from ground-truth data.

  • High Ranking Accuracy: On the FUNSD dataset, the framework achieved an Avg.d (NDCG) of 0.9752, meaning it perfectly recovered the relative performance of the candidate OCR tools without seeing a single human label.
  • Robustness: Even on challenging datasets like EPHOIE and RXPAD, alignment remained high (0.9679 and 0.9699, respectively).
  • Performance Benchmarking: The paper provides a comprehensive look at how modern tools stack up. As shown in the table below, MLLM-based models generally outperform traditional OCR engines in raw accuracy (ANLS), but the gap varies significantly by domain.
Table 3: ANLS of text recognition with ground-truth.

Limitations and Future Work

  • Latency and Cost: While DocOCR-Eval saves money on human annotation, running multiple MLLMs for the evaluation phase introduces significant computational latency and API costs. The authors suggest this should be a "configurable option" rather than a default for every single document.
  • Downstream Task Impact: The current work focuses on text recognition accuracy. Future research could explore how this selection framework impacts specific downstream tasks like Key Information Extraction (KIE) or Visual Question Answering (VQA).
  • Hallucination Risks: While MLLMs are powerful, they can still hallucinate. The framework attempts to mitigate this through the staged diagnostic process, but it remains a factor in high-stakes environments.

Summary updated

BibTeX
@misc{xu2026dococr,
  author = {Zihan Xu and Puzhen Wu and Lawrence Chun Man Lau and Wei Liu and Sirui Li and Yifan Peng and Yihao Ding},
  title = {{DocOCR-Eval: A Correction-Based Framework for OCR Tool Selection Without Ground Truth}},
  year = {2026},
  eprint = {2607.16203},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2607.16203},
}
Figure