DOCR-Inspector: Fine-Grained and Automated Evaluation of Document Parsing with VLM

Qintong Zhang, Junyuan Zhang, Zhifei Ren, Linke Ouyang, Zichen Wen +6 more
12/11/2025
cs.CV

Official code: ZZZZZQT/DOCR-Inspector (8 stars, last commit 2025-12-16).

Abstract

Document parsing aims to transform unstructured PDF images into semi-structured data, facilitating the digitization and utilization of information in diverse domains. While vision language models (VLMs) have significantly advanced this task, achieving reliable, high-quality parsing in real-world scenarios remains challenging. Common practice often selects the top-performing model on standard benchmarks. However, these benchmarks may carry dataset-specific biases, leading to inconsistent model rankings and limited correlation with real-world performance. Moreover, benchmark metrics typically provide only overall scores, which can obscure distinct error patterns in output. This raises a key challenge: how can we reliably and comprehensively assess document parsing quality in the wild? We address this problem with DOCR-Inspector, which formalizes document parsing assessment as fine-grained error detection and analysis. Leveraging VLM-as-a-Judge, DOCR-Inspector analyzes a document image and its parsed output, identifies all errors, assigns them to one of 28 predefined types, and produces a comprehensive quality assessment. To enable this capability, we construct DOCRcase-200K for training and propose the Chain-of-Checklist reasoning paradigm to enable the hierarchical structure of parsing quality assessment. For empirical validation, we introduce DOCRcaseBench, a set of 882 real-world document parsing cases with manual annotations. On this benchmark, DOCR-Inspector-7B outperforms commercial models like Gemini 2.5 Pro, as well as leading open-source models. Further experiments demonstrate that its quality assessments provide valuable guidance for parsing results refinement, making DOCR-Inspector both a practical evaluator and a driver for advancing document parsing systems at scale. Model and code are released at: https://github.com/ZZZZZQT/DOCR-Inspector.

View on arXivView PDF

Code Implementations(1)

80Python, Jupyter NotebookNov 29, 202510 months ago

Similar Papers

Cite this paper

@article{zhang2025docrinspector,
  title  = {DOCR-Inspector: Fine-Grained and Automated Evaluation of Document Parsing with VLM},
  author = {Qintong Zhang and Junyuan Zhang and Zhifei Ren and Linke Ouyang and Zichen Wen and Junbo Niu and Yuan Qu and Bin Wang and Ka-Ho Chow and Conghui He and Wentao Zhang},
  year   = {2025},
  eprint = {2512.10619},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2512.10619v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2512.10619.svg)](https://codeofpaper.com/paper/2512.10619)

Discussion