id string | subset string | dimension string | document string | expected_markdown string | test_rules string | metadata string | tags list |
|---|---|---|---|---|---|---|---|
text/text_dense__baoutou | text | text | text/text_dense__baoutou.pdf | # BAOTOU 包头
Baotou is the largest city within the Inner Mongolia Autonomous Region in China. It's population of more than 1.6 million primarily consists of Han Chinese. Despite its location in Inner Mongolia, there are only 25,000 ethnic Mongols living in the city, in addition to 28,000 Hui Muslims, 18,000 Manchu, 650... | [{"type": "missing_sentence_percent", "bag_of_sentence": {"BAOTOU 包头": 1, "Baotou is the largest city within the Inner Mongolia Autonomous Region in China": 1, "It's population of more than 1.6 million primarily consists of Han Chinese": 1, "Despite its location in Inner Mongolia, there are only 25,000 ethnic Mongols l... | {"scoring": "next"} | [
"hard"
] |
text/text_dense__canara | text | text | text/text_dense__canara.pdf | "<page_header>\n**DRAFT RED HERRING PROSPECTUS**\nDated April 24, 2025\nPlease read Section 32 of th(...TRUNCATED) | "[{\"type\": \"missing_sentence_percent\", \"bag_of_sentence\": {\"DRAFT RED HERRING PROSPECTUS\": 1(...TRUNCATED) | {"scoring": "next"} | [
"hard"
] |
text/text_dense__cn_article | text | text | text/text_dense__cn_article.pdf | "<page_header>\n京华时报\n■2012年7月21日 ■星期六 ■责编 韩大鹏 ■图编 董世(...TRUNCATED) | "[{\"type\": \"missing_sentence_percent\", \"bag_of_sentence\": {\"京华时报 ■2012年7月21日 (...TRUNCATED) | {"scoring": "next"} | [
"hard"
] |
text/text_dense__de | text | text | text/text_dense__de.pdf | "<page_header>\nDE 11 2012 001 017 T5 2013.12.19\n</page_header>\n\n(i) Motiv 7: CREEGV[DE][QK]VFVD[(...TRUNCATED) | "[{\"type\": \"missing_sentence_percent\", \"bag_of_sentence\": {\"DE 11 2012 001 017 T5 2013.12.19\(...TRUNCATED) | {"scoring": "next"} | [
"hard"
] |
text/text_dense__japanese | text | text | text/text_dense__japanese.pdf | "中学生の時は親に食ってかかり、対決姿勢だった子どもも、高校生になる(...TRUNCATED) | "[{\"type\": \"missing_sentence_percent\", \"bag_of_sentence\": {\"中学生の時は親に食って(...TRUNCATED) | {"scoring": "next"} | [
"hard"
] |
text/text_dense__leaflet | text | text | text/text_dense__leaflet.pdf | "<page_header>\nUNIVERSITY OF THE WITWATERSRAND,\nJOHANNESBURG\n![University of the Witwatersrand cr(...TRUNCATED) | "[{\"type\": \"missing_sentence_percent\", \"bag_of_sentence\": {\"UNIVERSITY OF THE WITWATERSRAND\"(...TRUNCATED) | {"scoring": "next"} | [
"hard"
] |
text/text_dense__legalRef | text | text | text/text_dense__legalRef.pdf | "<page_header>\n\nDIÁRIO OFICIAL ELETR(...TRUNCATED) | "[{\"type\": \"missing_sentence_percent\", \"bag_of_sentence\": {\"DIÁRIO OFICIAL ELETRÔNICO DO MI(...TRUNCATED) | {"scoring": "next"} | [
"hard"
] |
text/text_dense__legalnotices | text | text | text/text_dense__legalnotices.pdf | "<page_header>\nFriday, February 17, 2012 | Las Cruces Bulletin | Legal Notices | B17\n</page_header(...TRUNCATED) | "[{\"type\": \"missing_sentence_percent\", \"bag_of_sentence\": {\"Friday, February 17, 2012 Las Cru(...TRUNCATED) | {"scoring": "next"} | [
"hard"
] |
text/text_dense__livingWord | text | text | text/text_dense__livingWord.pdf | "# The Living Word \n\n\n**Wisdom 2:12, 17-20**\n\nThe godless say to (...TRUNCATED) | "[{\"type\": \"missing_sentence_percent\", \"bag_of_sentence\": {\"The Living Word\": 1, \"Wisdom 2:(...TRUNCATED) | "{\"scoring\": \"next\", \"ground_truth_revision\": {\"revision\": \"text-gt-f0-20261105-r2\", \"sou(...TRUNCATED) | [
"hard"
] |
text/text_dense__navarra | text | text | text/text_dense__navarra.pdf | "<page_header>\n<page_number>8</page_number> SOCIEDAD **NAVARRA**\n**Diario de Noticias** — Doming(...TRUNCATED) | "[{\"type\": \"missing_sentence_percent\", \"bag_of_sentence\": {\"8 SOCIEDAD NAVARRA\": 1, \"Diario(...TRUNCATED) | {"scoring": "next"} | [
"hard"
] |
ParseBench-2
Quick links: [🌐 Website] [📜 Paper] [💻 Code] [📦 ParseBench-1]
ParseBench-2 is a document parsing benchmark that combines broad coverage of real-world documents with severity-aware metrics. It has the following characteristics:
- Six capability dimensions. Text, formatting, tables, charts, visual grounding (layout) and forms. The new Forms dimension covers 600 form pages.
- Severity-aware metrics. Each page score is the lower of a parsing score and a severity cap, so even a page that is 99% correct is still identified correctly.
- Calibrated against stated priorities. The metrics are tuned against 330 controlled scenarios in six severity test suites. Each scenario has a target score drop, and the severity levels are critical, major and minor, with benign variations that should cost nothing.
- Over 140 error types. The metrics check for changed facts, broken structural relationships, missing content, invented content and more. The evaluation reports per-error diagnostics for every page.
- 4,317 page-level test cases from 2,645 source documents. The test cases are the revised ParseBench-1 pages plus 2,293 new cases that target hard situations: complex table headers, financial and insurance tables, dense tables, headings, strikeout, underline and government forms.
- Evaluation code suite. The scorers ship with the open-source
parse-benchpackage.
Dataset Introduction
ParseBench-2 keeps most pages from ParseBench-1 and revises their annotations so the metrics can compare complete outputs. It also adds targeted datasets for cases that sparse checks miss.
- Text. Omissions, hallucinations, reading order and changed facts. A flipped negation or a misread digit caps the page score even when the rest of the text is intact.
- Formatting. Formatting that carries meaning: headings and their hierarchy, bold, strikethrough (superseded content) and underline (insertions on redlines), superscript and subscript.
- Tables. Values attached to the correct row and column headers, merged cells and hierarchical headers. A swapped header is critical, while extra HTML markup is a benign variation and costs nothing.
- Charts. Every data point of the chart, with series and axis labels, recovered as a table. An order-of-magnitude error is critical. Abbreviating a series name is minor.
- Layout (visual grounding). Every extracted element traced back to its location and class on the page.
- Forms. Field values, checkboxes and signatures on real government forms. A misread value is critical. Fields left empty must stay empty, and inventing a value for them counts as an error.
The overall score is the unweighted mean of the six dimension scores. Within a dimension, page scores are first averaged per dataset. Each targeted dataset gets 1/8 of the weight and the broad dataset gets the rest.
| Dimension | Subset folder | Cases | Weight in dimension |
|---|---|---|---|
| Text | text/ |
508 | 1 |
| Formatting | text/ |
(shared) | 3/4 |
headings/ |
100 | 1/8 | |
strikeout/ |
128 | 1/16 | |
underline/ |
125 | 1/16 | |
| Tables | tables/ |
500 | 1/2 |
complex_table_headers/ |
149 | 1/8 | |
financial_tables/ |
319 | 1/8 | |
insurance_filing_tables/ |
412 | 1/8 | |
dense_tables/ |
373 | 1/8 | |
| Charts | charts/ |
568 | 1 |
| Layout | layout/ |
535 | 1 |
| Forms | forms/ |
500 | 7/8 |
fillable_forms/ |
100 | 1/8 | |
| Total | 13 subsets | 4,317 |
Text and Formatting share the same 508 text/ pages, scored with different metrics.
Usage
The ParseBench-2 scorers are part of parse-bench. One command downloads this dataset, runs a pipeline on every subset and scores the results into the six dimension scores and the overall score:
pip install "parse-bench[runners,fast]"
# See `parse-bench pipelines` for the built-in pipelines
parse-bench run llamaparse_agentic --dataset parsebench-2
# Only some subsets; every subset that already has results is still scored
parse-bench run llamaparse_agentic --dataset parsebench-2 --group charts,tables
The dataset is downloaded to ./data_parsebench-2. Results for each subset are written to output/parsebench-2/<subset>/<pipeline>/, with per-page CSV and HTML reports. The combined score goes to output/parsebench-2/_score/<pipeline>/_next_score.json. A dimension is reported as missing until all of its subsets have been scored.
To score outputs from your own parser, write them in the ParseBench results layout and run parse-bench evaluation run <dir> --next=SUBSET=RESULTS_DIR::TEST_CASES_DIR,... (see docs/extending.md in the ParseBench repo).
Each subset's --group name is also its folder in this repository and its split in the dataset viewer.
Dataset Format
The repository has one folder per subset, in the layout the parse-bench harness reads directly, and one <subset>.jsonl index per subset for browsing:
<subset>/
├── <name>.pdf | .jpg # source page
├── <name>.test.json # answer key and test rules for that page
└── <name>.md # the reference Markdown, where it is a separate file (every text page)
<subset>.jsonl # one row per page (the dataset viewer's split)
Each case is one page. Names keep their source group as a prefix where a subset has several (text_simple__10k, annotated__0000050863-25-000054_p7, filled__...). A row of <subset>.jsonl has the page's id, subset, dimension, document path, expected_markdown (null where the answer key is held in the rules), test_rules and metadata (both JSON strings, as in the .test.json) and tags.
Differences from ParseBench-1
- Metrics. The v1 metrics (Content Faithfulness, Semantic Formatting, GTRM, ChartDataPointMatch, Element Pass Rate) are replaced by severity-capped metrics:
text_next,formatting_v2,table_next,chart_next,layout_grounding_pass_rateandforms_v2. - Annotations. v1 pages are kept but their references are revised and made more complete. Charts are annotated with full data tables in place of spot checks.
- New datasets. Targeted sets for complex table headers, financial tables, insurance filing (SERFF) tables, dense tables, headings, strikeout, underline and forms.
- New dimension. Forms, scored on 500 real government form pages (typed fills, 10% blank) plus 100 fillable-form pages.
- Scores are not comparable with ParseBench-1 scores.
Submit Results to the Leaderboard
We welcome community contributions to the ParseBench-2 leaderboard. To add a model's scores, open a PR on the model's Hugging Face repo that adds a .eval_results/parsebench-2.yaml file, with one entry per task. The tasks are overall (the unweighted mean of the six dimensions) and the six dimensions text, formatting, tables, charts, layout and forms. Report scores on a 0–100 scale; parse-bench writes them as 0–1 fractions in _next_score.json.
- dataset:
id: llamaindex/ParseBench-2
task_id: overall
value: 66.1
source:
url: https://github.com/run-llama/ParseBench
name: parse-bench
notes: "Pipeline name: <parse-bench pipeline>"
- dataset:
id: llamaindex/ParseBench-2
task_id: tables
value: 77.6
See the Hugging Face eval-results docs for every field, and this ParseBench-1 PR for a complete example.
Changelog
2026-11-11
- Initial release! :tada:
Copyright Statement
All documents are sourced from public online channels. The dataset is released under the Apache 2.0 License. If there are any copyright concerns, please contact us via the GitHub repository.
Citation
The ParseBench-2 paper, ParseBench-2: Severity-Aware Evaluation of Document Parsing, is coming soon. Until it is out, please cite ParseBench:
@misc{zhang2026parsebench,
title={ParseBench: A Document Parsing Benchmark for AI Agents},
author={Boyang Zhang and Sebastián G. Acosta and Preston Carlson and Sacha Bron and Pierre-Loïc Doulcet and Daniel B. Ospina and Simon Suo},
year={2026},
eprint={2604.08538},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2604.08538},
}
Links
- Website: parsebench.ai
- GitHub: run-llama/ParseBench
- ParseBench-1 dataset: llamaindex/ParseBench
- Downloads last month
- 63