READoc: A Unified Benchmark for Realistic Document Structured Extraction

Zichao Li, Aizier Abulaiti, Yaojie Lu, Xuanang Chen, Jia Zheng, Hongyu Lin, Xianpei Han, Le Sun

TL;DR

The paper introduces READoc, a new end-to-end benchmark that redefines Document Structured Extraction (DSE) as the task of converting complete, multi-page PDFs into structured Markdown. Alongside a diverse dataset of 3,576 real-world documents, the authors present the Evaluation $S^3$uite to systematically expose the performance and efficiency gaps in current pipeline tools, specialized expert models, and general Vision-Language Models (VLMs).

What Problem Does This Paper Address?

When we interact with modern LLM applications like Retrieval-Augmented Generation (RAG), the quality of the output heavily depends on how well we can parse raw, unstructured documents (like PDFs) into clean, machine-readable text. This process is known as Document Structured Extraction (DSE).

However, evaluating DSE systems has historically been a mess. As shown in Figure 1, existing benchmarks fragment the problem into isolated, localized subtasks—such as layout analysis, OCR, table recognition, or formula conversion—often evaluated on single pages or isolated blocks using inconsistent formats.

Figure 1: A comparison between fragmented and lo- calized DSE task views and the READOC benchmark paradigm.

Real-world documents are multi-page, multi-column, and hierarchically complex. By focusing only on isolated pieces, current benchmarks fail to measure how well a system preserves global document structure, reading order, and long-range dependencies.

Methods

The authors propose a unified, end-to-end task paradigm: PDF-to-Markdown. Markdown serves as an ideal target format because it is lightweight, supports hierarchical headings, and can natively embed $\LaTeX$ syntax for complex tables and mathematical formulas.

To evaluate DSE systems fairly, they developed the Evaluation $S^3$uite, which processes outputs through three sequential modules:

  1. Standardization: Unifies variations in model outputs (e.g., aligning different inline/isolated formula boundaries like $$ or \[ \] to a standard format and converting tables to standard $\LaTeX$).
  2. Segmentation: Divides the standardized text into four distinct semantic units: Headings, Formulas, Tables, and Plain Text.
  3. Scoring: Computes specialized metrics for each unit. It uses Edit Distance Similarity (EDS) for text and formulas, Tree Edit Distance Similarity (TEDS) for hierarchical Table-of-Contents (ToC) trees and table structures, and Kendall’s Tau Distance Similarity (KTDS) to evaluate reading order detection at both the block and token levels.

Datasets

The authors introduced the READoc dataset, containing 3,576 diverse, real-world PDF-Markdown pairs split into three distinct subsets to test different structural challenges:

  • READoc-arXiv (1,009 documents): Focuses on complex academic papers featuring dense mathematical formulas, multi-column layouts, and structural tables.
  • READoc-GitHub (1,224 documents): Derived from popular project READMEs. These feature clean, single-column layouts but present highly varied, unmarked heading styles that challenge a model's ability to build accurate Table-of-Contents trees.
  • READoc-Zenodo (1,343 documents): Contains long-form real-world documents (often exceeding 30 pages) such as textbooks, government reports, and theses spanning 27 different languages.
Figure 2: Visualization of data distribution in READOC. (a) Document disciplines of READOC-arXiv. (b) Document topics of READOC-GitHub. (c) Language distribution of READOC-Zenodo.

Key Insights and Ideas

  • The Generalization Trap for Expert Models: Specialized models like Nougat perform exceptionally well on documents similar to their training data (academic papers) but suffer severe performance drops when applied to different layouts (e.g., GitHub READMEs or multi-lingual Zenodo reports).
  • The Multi-Page Trade-off for VLMs: Feeding an entire multi-page document simultaneously to a VLM (like GPT-4o-mini) significantly improves its global understanding, leading to much better hierarchical ToC tree generation. However, this global view comes at a cost: it degrades the model's fine-grained local extraction capabilities, resulting in poorer table and formula conversions.
  • Pipeline Engineering Bottlenecks: Traditional parsing pipelines (like Marker or Docling) are often bottlenecked by their complex internal engineering. For instance, a failure in an early layout analysis submodel can completely blind the system to embedded formulas later in the pipeline.
  • Reading Order is a Solved Problem: Across almost all evaluated systems, reading order detection scores were consistently high. Even basic heuristic-based OCR tools like Tesseract achieved over 96% block-level similarity, indicating this subtask is no longer the primary bottleneck for DSE.

Key Results

The benchmark revealed clear performance trade-offs across different system categories:

  • Academic Performance: On the READoc-arXiv subset, the specialized expert model Nougat-base achieved the highest average score (81.42), outperforming the best pipeline tool, MinerU (73.07), and GPT-4o-mini (57.98).
  • Cross-Domain Generalization: On READoc-GitHub, Nougat-base’s performance fell sharply to 74.12, allowing pipeline tools like Marker (81.02) and MinerU (80.39) to take the lead.
  • Multilingual and Long-form Robustness: On the diverse READoc-Zenodo subset, GPT-4o-mini achieved the top score (55.56), proving highly robust to multi-lingual text, while Nougat-base dropped to 49.94.
  • Efficiency Metrics: Computational cost remains a massive hurdle for Vision-Language Models. While pipeline tools like Marker processed documents in an average of 23.86 seconds on a single GPU, open-source VLMs like InternVL-Chat-V1.5 required a staggering 1,182.02 seconds across two A100 GPUs.

Limitations and Future Work

The authors note two primary limitations:

  1. Dataset Noise: Because the PDF-Markdown pairs are generated via an automated pipeline (converting $\LaTeX$/HTML to Markdown and then rendering to PDF), some structural noise and formatting anomalies inevitably persist in the ground truth data.
  2. Standardization Edge Cases: While the Evaluation $S^3$uite successfully unifies many common formatting discrepancies, it cannot fully account for every stylistic variation generated by diverse LLMs.

Future work will focus on developing more robust, noise-free data processing paradigms and expanding the standardization module to handle broader formatting variations.

Summary updated

BibTeX
@inproceedings{li2025readoc,
  author = {Zichao Li and Aizier Abulaiti and Yaojie Lu and Xuanang Chen and Jia Zheng and Hongyu Lin and Xianpei Han and Le Sun},
  title = {{READoc: A Unified Benchmark for Realistic Document Structured Extraction}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2025},
}
Figure