Datasets:
File size: 18,002 Bytes
20f2b99 b5bc4b9 20f2b99 4f52980 9395c04 4f52980 b5bc4b9 4f52980 b5bc4b9 4f52980 b5bc4b9 4f52980 b5bc4b9 4f52980 b5bc4b9 4f52980 b5bc4b9 4f52980 b5bc4b9 4f52980 b5bc4b9 4f52980 b5bc4b9 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 | ---
license: apache-2.0
task_categories:
- image-to-text
---
<h1 align="center">MORE: A <u><strong>M</strong></u>ultilingual D<u><strong>o</strong></u>cument Pa<u><strong>r</strong></u>sing B<u><strong>e</strong></u>nchmark and Evaluation</h1>
<p align="center"><nobr><a href="https://huggingface.co/papers/2607.02956"><img alt="Paper" src="https://img.shields.io/badge/HF-Paper-blue.svg"></a> <a href="https://arxiv.org/pdf/2607.02956"><img alt="Paper: ICML2026" src="https://img.shields.io/badge/Paper-ICML2026-b31b1b.svg"></a> <a href="https://github.com/zimoqingfeng/MORE"><img alt="GitHub: MORE" src="https://img.shields.io/badge/GitHub-MORE-181717.svg?logo=github"></a></nobr></p>
<p align="center">
<a href="#overview">π Overview</a> |
<a href="#benchmark-snapshot">π Benchmark</a> |
<a href="#data-construction">π§± Data</a> |
<a href="#quick-start">π Quick Start</a> |
<a href="#data-format">ποΈ Data Format</a> |
<a href="#evaluation">π§ͺ Evaluation</a> |
<a href="#leaderboard">π Leaderboard</a>
</p>
<a id="overview"></a>
## π Overview
**MORE** is a large-scale benchmark for multilingual document parsing. It evaluates whether OCR and document parsing systems can recover not only plain text, but also formulas, tables, code blocks, catalogs, and reading order across a broad set of languages and scripts.
The name stands for **M**ultilingual D**o**cument Pa**r**sing B**e**nchmark. MORE targets the evaluation blind spot created by document parsers that claim broad multilingual support while most public benchmarks still focus on high-resource languages such as English and Chinese.
The benchmark is designed around three goals:
- **π Language coverage:** 149 languages spanning six major script families.
- **π§© Structural coverage:** text, formulas, tables, code, catalogs, and reading order are evaluated as separate tasks.
- **π Authentic data:** samples are curated from real-world documents with a model-assisted and human-refined annotation pipeline.
The camera-ready paper describes a stratified 1,237-page real-document sample during data collection, and reports 1,288 images in the benchmark statistics table. The current annotations include 8,221 text samples, 82 formulas, 94 tables, 73 code blocks, 104 catalogs, and 1,072 reading-order samples.
<a id="benchmark-snapshot"></a>
## π Benchmark Snapshot
### β
Task Coverage
| Dataset | Languages | Images | Text | Formula | Table | Code | Catalog | Reading Order | Open Source |
| --- | ---: | ---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: |
| OmniDocBench | 2 | 1,200 | ✔ | ✔ | ✔ | - | - | ✔ | ✔ |
| ICDAR RRC-MLT | 6 | 1,800 | ✔ | - | - | - | - | - | ✔ |
| CC-OCR | 10 | 1,500 | ✔ | - | - | - | - | - | ✔ |
| Mistral-OCR | 11 | - | ✔ | - | - | - | - | - | - |
| MDPBench | 17 | 3,400 | ✔ | ✔ | ✔ | - | - | ✔ | ✔ |
| XDocParse | 126 | - | ✔ | ✔ | ✔ | - | - | ✔ | - |
| **MORE** | **149** | **1,288** | **✔** | **✔** | **✔** | **✔** | **✔** | **✔** | **✔** |
### π§Ύ Annotation Statistics
| Dataset | Images | Languages | Text | Formula | Table | Code | Catalog | Reading Order | Open Source |
| --- | ---: | ---: | ---: | ---: | ---: | ---: | ---: | ---: | :---: |
| ICDAR RRC-MLT 2017 | 1,800 | 6 | 1,800 | - | - | - | - | - | ✔ |
| CC-OCR | 1,500 | 10 | 1,500 | - | - | - | - | - | ✔ |
| Mistral-OCR | - | 11 | - | - | - | - | - | - | - |
| XDocParse | - | 126 | - | - | - | - | - | - | - |
| **MORE** | **1,288** | **149** | **8,221** | **82** | **94** | **73** | **104** | **1,072** | **✔** |
<a id="data-construction"></a>
## π§± Data Construction
MORE is curated from real-world PDFs rather than synthetic pages.
**Construction pipeline:**
1. π Crawl more than 20 million PDFs from diverse web sources.
2. π§Ή Filter low-quality documents with spam, broken-encoding, and layout-density heuristics.
3. π·οΈ Classify languages, remove Chinese, English, and unlabeled documents to prioritize under-represented languages, leaving roughly 5.7 million candidate documents.
4. βοΈ Stratify by language, selecting up to 10 PDFs per language and one random page per PDF.
5. βοΈ Annotate layout, reading order, and element content through a model-assisted, human-refined process.
**Language coverage:** MORE is intentionally broad rather than concentrated in a few high-resource scripts. It covers 149 languages across six major script families; non-Latin scripts account for **46.31%** of the benchmark.
| Script Family | # Languages | Share |
| --- | ---: | ---: |
| Latin | 80 | 53.69% |
| Cyrillic | 26 | 17.45% |
| Sanskrit | 20 | 13.42% |
| Arabic | 11 | 7.38% |
| Chinese | 4 | 2.68% |
| Other | 8 | 5.37% |
<div align="center">
<p><strong>Word clouds across six major script families</strong></p>
<img src="assets/word_clouds.png" alt="MORE word clouds across six script families" width="95%">
</div>
The word clouds summarize frequent tokens across the major script families, offering a quick visual sense of MORE's multilingual content diversity beyond the numeric language counts.
**Annotation workflow:** Page-wise structure annotation verifies layout boxes and reading-order links. Element-wise content annotation aggregates predictions from multiple OCR/VLM systems, then human experts adopt exact matches, refine errors, and discard ambiguous cases.
<a id="quick-start"></a>
## π Quick Start
### 1. Create Environment and Install Python Dependencies
```bash
conda create -n more python=3.10
conda activate more
pip install -r requirements.txt
```
### 2. Install CDM System Dependencies
MORE follows the OmniDocBench v1.5 evaluation protocol and uses CDM for formula recognition. CDM renders LaTeX before matching visual characters, so formula evaluation requires Ghostscript, TeX Live, and Node.js.
Install Ghostscript and TeX Live:
```bash
sudo apt-get update
sudo apt-get install -y ghostscript texlive-full wget
```
Install Node.js 16.x:
```bash
tmp_dir=$(mktemp -d)
cd "$tmp_dir"
wget https://registry.npmmirror.com/-/binary/node/latest-v16.x/node-v16.13.1-linux-x64.tar.gz
tar -xvf node-v16.13.1-linux-x64.tar.gz
sudo mkdir -p /usr/local/nodejs
sudo cp -r node-v16.13.1-linux-x64/* /usr/local/nodejs/
sudo ln -sf /usr/local/nodejs/bin/node /usr/local/bin/node
sudo ln -sf /usr/local/nodejs/bin/npm /usr/local/bin/npm
cd -
```
Check the required commands:
```bash
gs --version
pdflatex --version
node -v
npm -v
```
### 3. Run the Evaluation
Run any config with:
```bash
mkdir -p result
python pdf_validation.py --config <config_path>
```
The repository also includes a small `md2md` demo with paired ground-truth and prediction Markdown files:
```bash
python pdf_validation.py --config configs/md2md.yaml
```
The runner writes detailed outputs to `result/`, including per-task matched samples, per-page edit-distance files, CDM artifacts, TEDS scores, and the final metric summary.
<details>
<summary>View common output files</summary>
```text
result/
pred_quick_match_metric_result.json
pred_quick_match_text_block_result.json
pred_quick_match_display_formula_result.json
pred_quick_match_table_result.json
pred_quick_match_reading_order_result.json
```
</details>
If you only want a lightweight text-style smoke test, create a local config from the recognition example below and point it at one of the files under `demo_data/recognition/`.
<a id="data-format"></a>
## ποΈ Data Format
MORE supports two common evaluation formats.
### π§Ύ Single-module Recognition JSON
The current single-module loader expects ground truth and prediction fields in the same JSON file. Each item contains `layout_dets`, and every layout item stores the target value plus a prediction field, usually named `pred`.
<details>
<summary>View recognition JSON example</summary>
```json
[
{
"layout_dets": [
{
"category_type": "text_block",
"text": "ground-truth text",
"pred": "model prediction",
"attribute": {
"text_language": "text_english"
}
}
],
"page_info": {
"image_path": "sample.jpg",
"page_attribute": {}
},
"extra": {}
}
]
```
</details>
Use these ground-truth keys for the provided demos:
| Task | Demo File | Ground-truth Key | Prediction Key | Normalization |
| --- | --- | --- | --- | --- |
| Text | `demo_data/recognition/MORE_demo_paragraph.json` | `text` | `pred` | `text` |
| Code | `demo_data/recognition/MORE_demo_code.json` | `text` | `pred` | `text` |
| Catalog | `demo_data/recognition/MORE_demo_catalog.json` | `text` | `pred` | `text` |
| Formula | `demo_data/recognition/MORE_demo_formula.json` | `latex` | `pred` | `formula` |
| Table | `demo_data/recognition/MORE_demo_table.json` | `html` | `pred` | `table` |
<details>
<summary>View recognition config example</summary>
```yaml
recogition_eval:
metrics:
- Edit_dist
dataset:
dataset_name: omnidocbench_single_module_dataset
ground_truth:
data_path: ./demo_data/recognition/MORE_demo_paragraph.json
data_key: text
prediction:
data_key: pred
category_type: text
```
</details>
> Note: `recogition_eval` is intentionally spelled this way to match the current task registry.
### π Markdown-to-Markdown Evaluation
For full-page parsing, put matching `.md` files in ground-truth and prediction folders:
```text
demo_data/md2md/
gt/
sample_001.md
pred/
sample_001.md
```
`md2md_dataset` extracts and matches:
- text blocks
- isolated formulas written with `$$...$$`, `$...$`, `\[...\]`, or `\(...\)`
- HTML tables and LaTeX tables
- reading order from the matched element positions
<details>
<summary>View Markdown-to-Markdown config example</summary>
```yaml
end2end_eval:
metrics:
text_block:
metric:
- Edit_dist
display_formula:
metric:
- Edit_dist
- CDM
table:
metric:
- TEDS
- Edit_dist
reading_order:
metric:
- Edit_dist
dataset:
dataset_name: md2md_dataset
ground_truth:
data_path: ./demo_data/md2md/gt
prediction:
data_path: ./demo_data/md2md/pred
match_method: quick_match
```
</details>
Available `match_method` values are `quick_match`, `simple_match`, and `no_split`.
### π― Expected Model Outputs
The camera-ready evaluation uses task-specific output formats so different model families can be compared fairly.
| Task | Expected Output |
| --- | --- |
| Text / Catalog | Plain extracted text. |
| Code | Markdown code block. |
| Formula | LaTeX expression. |
| Table | HTML table. |
| End-to-end parsing | Markdown body content in reading order, with tables represented as HTML and formulas represented as LaTeX. Headers and footers are ignored. |
<a id="evaluation"></a>
## π§ͺ Evaluation
Run any config with:
```bash
mkdir -p result
python pdf_validation.py --config <config_path>
```
<div align="center">
<img src="assets/task.png" alt="MORE evaluation tasks" width="95%">
</div>
### π Metrics
MORE follows the OmniDocBench v1.5 evaluation protocol and extends it to code and catalog evaluation. The final benchmark score is decoupled across tasks so one stage does not silently propagate errors into another.
| Task | Metric | Config Example | Notes |
| --- | --- | --- | --- |
| Text | NED | `configs/ocr.yaml` | Raw runner output is `Edit_dist`; leaderboard reports `1 - Edit_dist`. |
| Code | NED | custom recognition config | Same JSON shape as text, with code-specific content. |
| Catalog | NED | custom recognition config | Same JSON shape as text. |
| Reading Order | NED | `configs/md2md.yaml` | Computed from matched element order. |
| Formula | CDM | `configs/formula_recognition.yaml` | Requires LaTeX, Ghostscript, and Node.js. |
| Table | TEDS | `configs/table_recognition.yaml` | Evaluates HTML tree similarity. |
Sequential tasks use normalized edit distance:
```math
\begin{aligned}
\mathrm{NED}
&= 1 - \frac{1}{N} \sum_{i=1}^{N}
\frac{\mathrm{EditDist}(P_i, G_i)}
{\max(\lvert P_i\rvert, \lvert G_i\rvert)}
\end{aligned}
```
Formula recognition uses Character Detection Matching:
```math
\begin{aligned}
\mathrm{CDM}
&= \frac{1}{N} \sum_{i=1}^{N}
\frac{2 \cdot TP_i}{2 \cdot TP_i + FP_i + FN_i}
\end{aligned}
```
Table recognition uses TEDS:
```math
\begin{aligned}
\mathrm{TEDS}
&= 1 - \frac{1}{N} \sum_{i=1}^{N}
\frac{\mathrm{TreeEditDist}(T_{p,i}, T_{g,i})}
{\max(\lvert T_{p,i}\rvert, \lvert T_{g,i}\rvert)}
\end{aligned}
```
The overall score is the arithmetic mean of the six task scores:
```math
\begin{aligned}
\mathrm{Overall}
&= \frac{1}{6}
\left(
\mathrm{TEDS}
+ \mathrm{CDM}
+ \sum_{k \in \mathcal{S}} \mathrm{NED}_k
\right)
\end{aligned}
```
<a id="leaderboard"></a>
## π Leaderboard
Scores are reported as percentages. Higher is better. The table below lists task-wise averages from the camera-ready paper; page-wise averages are reported in the paper appendix.
| Model | Size | Overall β | Text NED β | Formula CDM β | Table TEDS β | Code NED β | Catalog NED β | Read Order NED β |
| --- | ---: | ---: | ---: | ---: | ---: | ---: | ---: | ---: |
| HunyuanOCR | 1B | **92.42** | 93.81 | **93.28** | <ins>78.56</ins> | **97.07** | **95.36** | <ins>96.45</ins> |
| Gemini 3 | - | <ins>91.61</ins> | **95.39** | 90.27 | **81.02** | 93.05 | <ins>94.31</ins> | 95.63 |
| PaddleOCR-VL | 0.9B | 87.96 | 90.99 | <ins>91.11</ins> | 61.11 | <ins>96.29</ins> | 93.04 | 95.19 |
| dots.ocr | 3B | 84.31 | <ins>94.45</ins> | 90.77 | 39.81 | 95.38 | 88.26 | **97.18** |
| Qwen2.5-VL | 3B | 83.93 | 89.36 | 84.48 | 68.27 | 86.69 | 92.54 | 82.23 |
| Qwen3-VL | 2B | 83.56 | 92.02 | 65.45 | 65.21 | 92.38 | 93.76 | 92.53 |
| DeepSeekOCR | 3B-A570M | 82.91 | 85.27 | 75.67 | 61.63 | 92.26 | 88.26 | 94.36 |
| MinerU2.5 | 1.2B | 48.85 | 27.12 | 73.29 | 33.83 | 72.41 | 21.61 | 64.81 |
Key observations from the paper:
- π₯ HunyuanOCR achieves the best overall score and leads formula, code, and catalog recognition.
- π Gemini 3 is strongest on text and table recognition, while dots.ocr leads reading order.
- π§± Table parsing remains the largest structural bottleneck; text, code, and catalog recognition are much closer to saturation for the strongest models.
- π Non-Latin scripts account for 46.31% of MORE, making long-tail script robustness a central part of the benchmark rather than an appendix-only concern.
## π§ Repository Layout
```text
MORE/
assets/ README figures
configs/ evaluation configs
dataset/ dataset loaders
demo_data/ small recognition and md2md demos
metrics/ Edit distance, TEDS, CDM, and reporting utilities
registry/ task, dataset, and metric registries
task/ evaluation task wrappers
tools/ visualization, conversion, and model inference scripts
utils/ matching, extraction, normalization, and IO helpers
pdf_validation.py config-driven evaluation entry point
```
The scripts under `tools/model_infer/` are adapters for generating predictions from OCR or document parsing models. They are not called automatically by `pdf_validation.py`; run or adapt them first, then evaluate the generated predictions with a config file.
## π©Ί Troubleshooting
- `FileNotFoundError` under `result/`: create the output directory with `mkdir -p result` before running the evaluator.
- `Cannot find pred for ...`: make sure prediction filenames match the ground-truth filenames for `md2md`, or that every JSON layout item has the configured prediction key.
- CDM or LaTeX rendering errors: confirm that Ghostscript, TeX Live, and Node.js are available in the active environment.
- Empty or surprising recognition scores: check `ground_truth.data_key`, `prediction.data_key`, `category_filter`, and `category_type` in the config.
## π Acknowledgement
- [OmniDocBench v1.5](https://github.com/opendatalab/OmniDocBench/tree/v1_5) for the document parsing evaluation protocol and implementation reference.
- [CDM](https://github.com/opendatalab/OmniDocBench/tree/main/metrics/cdm) for formula recognition evaluation.
- [PubTabNet](https://github.com/ibm-aur-nlp/PubTabNet) for the TEDS table evaluation metric.
- We thank the open-source OCR and document parsing community for the models, tools, and shared practices that support multilingual baseline evaluation.
- We are deeply grateful to the annotators and reviewers whose meticulous verification of multilingual layouts, reading order, and element-level transcriptions forms the foundation of MORE's reliability.
## βοΈ Copyright Statement
MORE includes materials derived from collected document resources and community contributions. We have made reasonable efforts to exclude materials that should not be redistributed. The released data and evaluation resources are intended for academic research and benchmark evaluation only, and should not be used for commercial purposes. If you are a rights holder and have concerns about any included content, please contact [bing-hong.wu@foxmail.com](mailto:bing-hong.wu@foxmail.com); we will review the request and take appropriate action.
## π Citation
We sincerely hope MORE is useful for your research. If it helps your work, we would be grateful if you could cite our paper. Please replace the venue metadata with the official proceedings entry once it is available.
```bibtex
@inproceedings{xu2026more,
title = {MORE: A Multilingual Document Parsing Benchmark and Evaluation},
author = {Long Xu and Binghong Wu and Tinghao Yu and Hao Feng and Zhenyu Huang and Haoqing Jiang and Yunhao Wang and Shuo Huang and Feng Zhang},
booktitle = {International Conference on Machine Learning},
year = {2026}
}
``` |