Benchmarks¶
ezmd is measured against free converters on public benchmarks, scored by each benchmark's own code. The ezmd project wrote the harness; the harness, the pinned competitor versions and the results are in the repository, so every number on this page can be rerun and checked. Report a problem with it as an issue.
The short version: on web articles ezmd is second to Trafilatura, which its web converter is built on. On PDFs,
the layout-model tools (MinerU, Marker, Docling) are well ahead. The default install has no layout model and no
OCR: on PDFs it is light and fast (about 0.1 s and 250 MB per page), not accurate. ezmd[docs] closes part of the
gap but still scores below Docling on its own, although it runs Docling; that is a known issue for 0.1.x. OCR comes
in Phase 2; see the roadmap. On whole born-digital papers, measured by what a model can answer from
the output (below), every converter ties; ezmd keeps the most text and is the only
one that says when it loses some, and its output is about 25% larger in tokens than Docling's, for reasons that are
listed and fixable.
Results¶
Measured on 2026-10-13. The ezmd PDF scores are a 0.1.0rc5 build whose PDF code differs from 0.1.0 only in comments; the ezmd web scores are 0.1.0rc4, because the rc5 rerun covered the PDF benchmarks only (rc5 also changed web tables and Wikipedia pages). Each cell is the score with its 95% bootstrap interval. Higher is better.
The rc5 PDF fixes were developed while looking at these samples, so the default-install PDF scores here may be fitted to them. The held-out scores below are on documents ezmd was never tuned on.
| tool | olmOCR-Bench (pass rate) | OmniDocBench text (1 - edit distance) | OmniDocBench tables (TEDS) | Web articles (body F1) |
|---|---|---|---|---|
| MinerU 4.0.12 | 0.797 [0.782, 0.811] | 0.946 [0.932, 0.960] | 0.847 [0.800, 0.892] | not supported |
| Marker 2.0.0 (non-default, see below) | 0.759 [0.742, 0.775] | 0.882 [0.857, 0.906] | 0.657 [0.599, 0.711] | not supported |
| Docling 2.138.0 | 0.543 [0.527, 0.557] | 0.851 [0.817, 0.882] | 0.580 [0.514, 0.641] | 0.713 [0.685, 0.742] |
| ezmd[docs] | 0.480 [0.464, 0.494] | 0.666 [0.618, 0.712] | 0.421 [0.347, 0.495] | 0.914 [0.895, 0.930] |
| ezmd (default install) | 0.335 [0.318, 0.352] | 0.498 [0.455, 0.543] | 0.179 [0.129, 0.233] | 0.914 [0.895, 0.930] |
| pymupdf4llm 1.28.2 | 0.333 [0.314, 0.351] | 0.620 [0.570, 0.669] | 0.433 [0.362, 0.501] | not supported |
| Unstructured 0.27.27-dev2 | 0.313 [0.297, 0.330] | 0.676 [0.629, 0.721] | 0.002 [0.000, 0.005] | 0.755 [0.726, 0.783] |
| MarkItDown 0.1.8 | 0.264 [0.247, 0.282] | 0.443 [0.391, 0.491] | 0.097 [0.056, 0.139] | 0.653 [0.622, 0.683] |
| Trafilatura 2.3.1 | not supported | not supported | not supported | 0.952 [0.939, 0.963] |
Samples: olmOCR-Bench, 336 of its 1,403 PDFs (up to 50 per test file); OmniDocBench, 300 of the 981 pages that have
original PDFs (129 with tables); the ScrapingHub article-extraction benchmark, all 181 pages. The samples use seed
20261013, and the document ids are in results.json.
Whole papers: what a model gets¶
Measured on 2026-10-24 on 30 whole arXiv papers (CC BY 4.0, a seeded sample of 109; bench/CORPORA.md). The page
benchmarks above score a page's edit distance against a human transcription. This one scores what a downstream model
gets from the converted file, with the PDF itself as the witness, so the comparison needs no human ground truth:
- Answer accuracy. A local model (gpt-oss-20b through LM Studio) wrote five questions per paper from the PDF's own text layer, never from a converter's output, each backed by a quote checked against the text layer. The same model answered the 148 questions from each tool's Markdown and graded the answers against the references. The whole-paper rerun below asks two questions per 8,000-token segment of the text layer instead (176 questions) and lets the model read each tool's whole output.
- Text recall. The share of the text layer's word occurrences present in the output.
- Source recall. The same share against the paper's LaTeX source (the arXiv e-print, turned into plain text with math, preamble, labels and link targets removed). The source is the one witness no converter's extractor produced, so it cannot favour the tool that shares a library with the witness. Over the 27 papers that have a source (three were submitted as PDF only). The raw pdfium text layer itself scores 0.945 against it, which is the reference to read the column by: nobody reaches 1.0 because the source holds words that never print.
- Silent loss. The paper lost more than 5% of its words and the tool raised no warning that means content was dropped or cut. Only ezmd has a warning channel; its always-on notices (removed running headers, hidden elements) do not count, so this standard is stricter for ezmd than for the others, for whom every such loss is silent.
- Outline recall. The share of the PDF's bookmarks found as a heading in the output, over the 24 papers with three or more bookmarks.
- Tokens per page. o200k tokens of the output per PDF page, frontmatter removed; MinerU's embedded images count
as one placeholder each. The second figure is the exact Claude count of the same text from Anthropic's
token-counting endpoint (
tools/bench/tokens.py, modelclaude-sonnet-5-5; Sonnet, Opus and Haiku share one tokenizer and return the same count, checked on one paper). Claude's tokenizer runs 1.47 to 1.53 times o200k on every tool's Markdown, so the ranking and the gaps between tools are the same in both. For the average paper here (25 pages) that is about 32,000 Claude tokens from Docling, 36,000 from pymupdf4llm, 39,000 from ezmd's full profile, 41,000 from MinerU, 47,000 from MarkItDown and from ezmd's rag profile, and 18,000 from compact, which cuts at 16,000 o200k tokens. ezmd's default output does not save tokens over Docling today; the fixes listed below are what would change that. - Against uploading the PDF itself. The same endpoint counts the PDF as a document block, which is what Claude charges when a user attaches the paper instead of converting it: the extracted text plus an image of every page. Over the 28 papers within the API's limits (100 pages, 32 MB) that is 3,054 Claude tokens per page, so converted Markdown costs 37% of the upload from ezmd's compact profile, 47% from Docling, 55% from ezmd's full profile and 69% from MarkItDown. This is a cost comparison, not a quality one: the upload also gives the model the figures, tables and layout as images, which no text converter's output carries, and how well Claude answers from the raw PDF was not measured (it would cost about 85,000 tokens a paper). The right way to get the pictures back without paying for every page is a placeholder in the Markdown and the cropped figure in the sidecar, fetched on demand; that is on the roadmap.
Paper-level columns are means over the 30 papers, except source recall (27 papers with a source) and outline recall
(24 papers with bookmarks); answer accuracy covers the 148 questions across the 30 papers and is the one column shown
with its 95% bootstrap interval here (every column's interval is in bench/results/2026-10-24/summary.md). ezmd
main is the unreleased code of
this repository at 7a13bd5 (the 0.1.1 release plus the PDF fixes of PR #19) under the full, rag and compact
profiles; ezmd 0.1.0 is the release.
| tool | answer accuracy | correct answers per 10k tokens | text recall | source recall | silent loss (lower is better) | outline recall | tokens per page, o200k / Claude (lower is better) |
|---|---|---|---|---|---|---|---|
| MinerU 4.0.12 | 0.816 [0.758, 0.869] | 2.13 | 0.969 | 0.944 | 0.13 | 0.874 | 1,226 / 1,819 |
| ezmd main, rag | 0.802 [0.722, 0.876] | 1.89 | 0.992 | 0.946 | 0.00 | 0.786 | 1,363 / 2,067 |
| Docling 2.138.0 | 0.800 [0.707, 0.887] | 2.52 | 0.978 | 0.943 | 0.10 | 0.844 | 930 / 1,425 |
| ezmd 0.1.0 | 0.776 [0.698, 0.849] | 2.03 | 0.994 | 0.946 | 0.00 | 0.506 | 1,181 / 1,739 |
| pymupdf4llm 1.28.2 | 0.776 [0.676, 0.860] | 2.27 | 0.973 | 0.935 | 0.17 | 0.843 | 1,055 / 1,591 |
| ezmd main, full | 0.762 [0.673, 0.847] | 2.05 | 0.992 | 0.947 | 0.00 | 0.786 | 1,158 / 1,710 |
| MarkItDown 0.1.8 | 0.738 [0.651, 0.820] | 1.68 | 0.677 | 0.616 | 0.90 | 0.010 | 1,441 / 2,112 |
| ezmd main, compact | 0.729 [0.636, 0.813] | 3.05 | 0.707 | 0.707 | 0.00 | 0.567 | 727 / 1,097 |
Answer accuracy is graded consistently: the grader's verdict for a given document, question and answer text is cached and shared by every tool and run, because the local grader, asked twice about the same answer, changed its mind on 20 of 1,119 answers in this run alone. The same cache holds the model's answers keyed by the exact text it saw, so a tool whose output does not change between runs scores the same in both (the answers themselves proved deterministic: 148 of 148 identical on a re-run over the same text).
One limit of that table to know before reading the compact row: the questions were written from the first
24,000 tokens of each paper and every output was cut there before it was sent, because the model ran with a
24,000-token window. The compact profile stops at 16,000 tokens and dropped the tail of 19 of the 30 papers (half
of a paper's words on average), yet 145 of the 148 questions had their evidence inside what compact kept. The
rerun of 2026-10-25 (bench/results/2026-10-24-whole/) removes that limit: two questions per 8,000-token segment
of the text layer (176 over the 30 papers), the model reading each tool's whole output in a 131,072-token
context, and a second column for the questions whose evidence is in the second half of the paper. Same outputs,
same grader, same machine:
| tool | answer accuracy, whole paper | on second-half questions |
|---|---|---|
| ezmd [docs] (Docling engine) | 0.808 [0.723, 0.881] | 0.741 [0.634, 0.841] |
| MarkItDown 0.1.8 | 0.787 [0.688, 0.870] | 0.753 [0.642, 0.858] |
| ezmd main, full | 0.780 [0.691, 0.862] | 0.716 [0.603, 0.815] |
| ezmd main, rag | 0.761 [0.668, 0.844] | 0.706 [0.603, 0.800] |
| Docling 2.138.0 | 0.758 [0.667, 0.839] | 0.707 [0.595, 0.810] |
| MinerU 4.0.12 | 0.753 [0.657, 0.835] | 0.684 [0.573, 0.793] |
| ezmd 0.1.0 | 0.698 [0.577, 0.805] | 0.621 [0.483, 0.750] |
| pymupdf4llm 1.28.2 | 0.677 [0.558, 0.788] | 0.582 [0.456, 0.711] |
| ezmd main, compact | 0.564 [0.425, 0.695] | 0.453 [0.306, 0.608] |
Compact's cut costs 0.22 of accuracy over the whole paper (0.564 against the full profile's 0.780 on the same
papers and questions) and 0.26 on second-half questions; against MarkItDown, the best competitor row, the paired
difference is -0.223 [-0.324, -0.136]. That is the number the first table could not show. The full profile ties MarkItDown, Docling and MinerU on the
paired test (-0.006 [-0.070, +0.051] against MarkItDown), and 0.1.0 to main is a real gain for the text-layer
engine on the same questions (0.698 to 0.780). The figure-lettering fix of #27, measured the same way on the
same papers (bench/results/2026-10-25-figtext/compare.md), leaves accuracy where it was (full -0.004 [-0.013,
+0.000]) and trims 19 o200k tokens per page.
What it says, with the paired tests over the same 30 papers (bench/results/2026-10-24/summary.md):
- On born-digital papers the converter barely moves answer accuracy. All three ezmd rows tie with Docling and MinerU on the paired test, and every tool's interval overlaps every other's; even MarkItDown's output, which glues words together and loses a third of the text, still answers 74% of the questions. The questions are facts a model can often find in a damaged text. Where converters differ is in what reaches the model and whether anyone is told.
- Against the independent witness the text-recall lead mostly disappears. Text recall against the PDF's own text layer puts ezmd 0.014 ahead of Docling ([+0.008, +0.020], paired) and 0.023 ahead of MinerU. Against the LaTeX source the same comparison is +0.004 [+0.002, +0.006] over Docling and +0.003 [-0.001, +0.007] over MinerU: a lead of under half a point that still clears zero against Docling and is a tie with MinerU. Most of the text-layer lead was agreement with ezmd's own extractor, which is why this column exists. ezmd's recall is as high as anyone's, not higher.
- ezmd is the only tool that says when it loses some. Docling, MinerU and pymupdf4llm each lost more than
5% of the words on 3 to 5 of the 30 papers with no signal; MarkItDown did on 27. ezmd lost that much on 0 papers
in the full and rag profiles. In the compact profile, which caps output at 16k tokens, it lost it on 19 papers and
declared every one (
truncated: true), which is why compact's silent-loss rate is also 0: declared loss is not silent, and 0.707 recall is the price the profile's cap sets. - ezmd's output is bigger than it should be. The full profile costs 228 more tokens per page than Docling ([+160, +301], paired), and rag 433 more. The gap is not the kept text (1.4% more words). It is, measured over the 30 outputs: paragraphs split on each PDF line in manuscripts with wide line spacing (ezmd emits 19,194 paragraphs where Docling emits 4,660, and 13,627 of ezmd's are fragments under 120 characters that end mid-sentence); citation links kept with their full URLs (15,340 tokens); the generated contents list, orientation line, anchors and page markers (21,000 tokens); figure lettering emitted as tables with synthesized headers; and in the rag profile two chunk markers around every 400 tokens (about 150,000 tokens over the sample). Each of these is a converter fix or a profile default, and they are the next work.
- Outline recall jumped with the PDF fixes (0.506 for 0.1.0 to 0.786 for main) and still trails MinerU (0.874) and Docling (0.844).
- Compact is the one profile that beats Docling on correct answers per token (3.05 against 2.52), at the cost of answer accuracy on the papers it cuts.
After the fixes¶
The measurements above are the state of main on the morning of 2026-10-24. The same day, four changes went in
because of them, and the three ezmd main rows were converted and scored again on the same papers with the same
cached questions and verdicts (bench/results/2026-10-24-fix2/compare.md for full and compact,
bench/results/2026-10-24-fix3/compare.md for rag, which was run once more after the marker change):
- paragraphs follow the page's own line spacing (double-spaced manuscripts were one paragraph per line);
- a damaged PDF that qpdf repairs on open carries a
file_repairedwarning (#23, the one silent loss below); - headerless tables render an empty header row instead of
| col_1 | col_2 |, a marker comment and aColumns:line; ragchunk markers carry the chunk number only; the content hash and token count stay in the sidecar (D-0073).
| profile | answer accuracy before → after | tokens per page, o200k before → after | Claude | correct answers per 10k tokens | text recall | source recall |
|---|---|---|---|---|---|---|
| ezmd main, full | 0.762 → 0.762 | 1,158 → 1,140 | 1,710 → 1,681 | 2.05 → 2.12 | 0.992 → 0.992 | 0.947 → 0.947 |
| ezmd main, compact | 0.729 → 0.742 | 727 → 736 | 1,097 → 1,112 | 3.05 → 3.06 | 0.707 → 0.723 | 0.707 → 0.714 |
| ezmd main, rag | 0.802 → 0.742 | 1,363 → 1,295 | 2,067 → 1,975 | 1.89 → 1.84 | 0.992 → 0.992 | 0.946 → 0.946 |
What moved and what did not: recall is unchanged to the third decimal, because none of the four changes touches a word of the document; they remove text ezmd had added around it. Full is 1.6% smaller and compact fits 2% more of each paper under its cap. Rag is 5% smaller. The rag profile's answer accuracy fell by nine of 148 answers: its text did not change, its chunk boundaries did (joined paragraphs pack differently), and the answering model, deterministic on identical text, answered 22 questions differently on the re-laid-out text, 14 of them worse. The full profile over the same text moved zero. That is the measured width of this metric's sensitivity to layout, about the same as its confidence interval, and the reason the page leads with recall and silent loss rather than with answer accuracy. On the damaged set, the fixed build's silent loss is 0 of 30 (from 1 of 30) with recall unchanged, and the warning still names the unreadable pages exactly. The same fix on damaged copies of the 79 held-out papers, which no converter change was ever checked against: 0 of 237 silent (0.1.0: 1 of 237), and all 46 truncated files qpdf could repair carry the warning (details).
The token gap that remains is, to the word, what ezmd keeps and Docling does not: ezmd's output has 451,000 words
to Docling's 378,000 over the 30 papers, and after the fixes the largest single difference is the equations,
which Docling replaces with 850 formula-not-decoded comments and ezmd writes out as text. The next converter
work is the figure lettering that still becomes tables.
Speed and footprint, from a second pass over the same 30 papers with the GPU otherwise idle (the first pass shared it with a game client; outputs were identical, so every other column stands):
| tool | median s per paper | p95 s per paper | peak memory |
|---|---|---|---|
| ezmd 0.1.0 | 1.2 | 4.3 | 358 MB |
| ezmd main, rag | 1.3 | 4.8 | 352 MB |
| MarkItDown 0.1.8 | 1.5 | 15.1 | 900 MB |
| ezmd main, full | 1.5 | 5.0 | 350 MB |
| ezmd main, compact | 1.5 | 4.2 | 349 MB |
| pymupdf4llm 1.28.2 | 4.7 | 26.6 | 657 MB |
| Docling 2.138.0 | 5.8 | 20.3 | 5.0 GB |
| MinerU 4.0.12 | 12.6 | 64.5 | 6.8 GB |
ezmd converts a whole paper in about a second and a half on the CPU with no model loaded, four times faster than
Docling and eight times faster than MinerU at a fourteenth of their memory, and its worst papers take five seconds
where theirs take twenty to sixty. MarkItDown's median is as fast but its slowest papers take fifteen seconds.
Docling and MinerU use the GPU; the CPU-only tools do not, so a machine without one would widen the gap. One
desktop (bench/results/2026-10-24/summary.md lists it), one pass, so treat the medians as indicative to within
about 20%.
Conditions and caveats: the text-layer witness is pdfium's, which is also what ezmd's default PDF engine reads (Docling and MinerU extract text their own way), so read the text-recall column with the source-recall column beside it, and the questions were written from that same text layer; one run, one grader model, 148 questions, and the grader's judgment of short answers is the metric; the questions ask for short stated facts (some from tables, none from figures), so a converter that garbles a table's structure can still score when the value survives somewhere in its text. Marker and Unstructured were not run (Docker was off). Everything needed to rerun it, including the question cache's seed, is in the repository; the questions themselves are regenerated by the local model.
Damaged papers: does the tool say what it lost¶
The intact papers show that other tools lose text silently. They cannot show that ezmd's warnings fire when they
should, because nothing in an intact paper is missing. So ten of the thirty papers were damaged on purpose
(tools/bench/damage.py), three ways each, and every tool converted all thirty copies on 2026-10-24:
- scan: every page rendered to an image at 150 dpi and written back as an image-only PDF. The paper is all there to the eye and absent from the text layer.
- pages: a block of a fifth of the pages, starting a third of the way in, replaced by their renders. The rest of the text layer is intact.
- trunc: the file cut at 80% of its bytes. The cross-reference table and the last objects are gone.
The witness is the intact paper's text layer, so the scorer knows what was lost and asks whether the tool said so.
Silent loss has the same definition as above; a conversion that fails outright is loud and counts as neither. For
ezmd, page accuracy is the overlap between the pages its pages_without_text warning names and the pages that
have no text (the replaced ones plus any the paper never had text on, such as full-page figures).
| tool | silent loss, all 30 (lower is better) | scan: text recall / silent | pages: text recall / silent | trunc: text recall / silent / failed loudly | page accuracy |
|---|---|---|---|---|---|
| ezmd main | 0.03 (1 of 30) | 0.00 / 0 of 10 | 0.77 / 0 of 10 | 0.49 / 1 of 10 / 5 | 1.00 |
| ezmd 0.1.0 | 0.03 (1 of 30) | 0.00 / 0 of 10 | 0.77 / 0 of 10 | 0.49 / 1 of 10 / 5 | 1.00 |
| MinerU 4.0.12 | 0.07 (2 of 30) | 0.97 / 1 of 10 | 0.97 / 1 of 10 | 0.10 / 0 of 10 / 9 | no channel |
| Docling 2.138.0 | 0.40 (12 of 30) | 0.92 / 8 of 10 | 0.96 / 3 of 10 | 0.48 / 1 of 10 / 5 | no channel |
| pymupdf4llm 1.28.2 | 0.67 (20 of 30) | 0.00 / 10 of 10 | 0.75 / 10 of 10 | 0.59 / 0 of 10 / 4 | no channel |
| MarkItDown 0.1.8 | 0.67 (20 of 30) | 0.00 / 10 of 10 | 0.49 / 10 of 10 | 0.00 / 0 of 10 / 10 | no channel |
What it says:
- ezmd names the unreadable pages exactly. On all twenty image variants its warning lists the replaced pages and nothing else, except the pages the paper itself never had text on, which it also lists, correctly. It recovers none of their text, because it has no OCR yet; this corpus is the acceptance test for that work, and MinerU's 0.97 is the bar.
- The OCR tools recover the text and lose a little of it quietly. MinerU's OCR gets 94 to 99% of a scanned paper back and fell under the 95% line once. Docling's gets 84 to 97% back and fell under it on eight of ten, with no signal in either case: an OCR'd page carries no confidence, so a reader cannot tell a clean page from one with a tenth of its words wrong. That is the same silent loss as a dropped page, smaller.
- pymupdf4llm and MarkItDown return an empty or partial document and say nothing. Twenty of twenty each.
- Truncated files split the tools three ways. MinerU and MarkItDown refuse nine or ten of ten (loud). pymupdf4llm's
MuPDF repairs six and keeps over 97% of their words, so it loses nothing to declare. ezmd and Docling refuse
five and repair five; of ezmd's five, four kept over 97% and one,
2402.18566, kept 91% with no warning. The file was repaired by QPDF (cross-reference table rebuilt, one object truncated), and ezmd did not pass that on. This was ezmd's one silent loss in the benchmark, and it was a real gap: the repair is visible to the library and is now afile_repairedwarning (#23). The words themselves are gone from the file, so the fix changed the declared-loss column, not recall: 1 of 30 silent before, 0 of 30 after, trunc recall 0.49 both times. Both rows above are the build before the fix.
Held out. A fix found on ten files could be shaped to them, so the same three variants were built from the
79 arXiv papers outside the 30-paper sample, which no converter change was ever checked against (237 copies,
run --corpus arxiv-damaged --split heldout, bench/results/2026-10-24-heldout/). The fixed build is silent on
0 of 237; the published 0.1.0 on 1 of 237, the one truncated file of the 46 qpdf repaired that fell under the 95%
line (2605.03112, 94.9% kept), now declared. All 46 repaired files carry the warning, the other 33 are refused
loudly, recall is unchanged, and the pages warning names the unreadable pages exactly on all 158 image variants.
Where the loss is. A file-level flag says less than it could, so the warning now places what the object
graph can place (ezmd_converters/pdf/repair.py, bench/results/2026-10-24-repair/): the pages whose content
stream is gone or cut, the pages that draw a figure or form that is gone, and a count of fonts that lost part of
their definition. The third is a count and not a page list on purpose. Truncation takes a LaTeX PDF's tail, and
the tail is font data: programs, width tables, ToUnicode maps, Type3 glyph procedures. Whether losing one costs
any text depends on the font type and the reader's fallbacks, and on the 51 repaired papers of the sample and
held-out sets the pages carrying a damaged font and the pages that lost words barely overlap (any broken
reference flags 803 pages for 28 that lost text; the text-mapping subset flags 375 and still misses 11 of the
28). The words that did go were figure axis labels, math symbols and ligatures, which is what a font without
its program or map loses. So on the 30-paper sample the five repaired truncated files all carry the located
detail; the one that lost over 5% of its words (2402.18566, 91% kept) names page 1, whose second content
stream is gone, and 16 damaged fonts, and the message says the text set in them may be incomplete on pages it
cannot pinpoint. On the held-out split, 44 of the 46 repaired files carry located detail (42 count fonts, 18 name
pages that lost a figure, 2 name pages that lost their content stream), and the one that lost over 5%
(2605.03112) names page 6 and 27 fonts. Silent loss stays at 0 of 30 and 0 of 237, and recall is unchanged.
Caveats: ten papers per kind is enough to see the pattern and not enough for narrow intervals; the 5% line is the same for a dropped page and an OCR error, which is deliberate (the reader downstream cannot tell them apart) but is harsher on OCR than a per-page view would be; the renders are pdfium's at 150 dpi, cleaner than a real scanner, so the OCR numbers are a ceiling for real scans.
Held-out¶
ezmd 0.1.0 (from PyPI, default install) also runs on the olmOCR-Bench PDFs outside the published sample: 1,067 documents ezmd was never tuned on.
| split | documents | olmOCR-Bench (pass rate) |
|---|---|---|
| published sample | 336 | 0.335 [0.318, 0.352] |
| held-out | 1,067 | 0.381 [0.365, 0.397] |
The headline is the mean of the per-category pass rates, so the two rows do not compare directly: every
old_scans_math PDF is in the sample (where ezmd scores 0), and none is held out. Per category:
| category | sample | held-out |
|---|---|---|
| headers and footers | 0.286 | 0.408 |
| multi-column | 0.573 | 0.551 |
| long tiny text | 0.307 | 0.271 |
| tables | 0.390 | 0.292 |
| old scans | 0.123 | 0.141 |
| arXiv math | 0.000 | 0.000 |
Over the same categories the two splits score about the same, but tables score lower on unseen documents, so the table numbers in the main table are likely fitted to the sample. The other tools have not run on the held-out split, and the OmniDocBench held-out pages (681) are converted but not scored yet.
The full scorecards are in
bench/results/2026-10-13/summary.md,
with OmniDocBench reading order and formulas, ezmd's fixture corpus, speed, and memory for each tool. The rc5 rerun
of ezmd against the same documents is in
bench/results/rc5/compare.md.
Conditions¶
- One desktop: Ryzen 9 7900X, 96 GB RAM, RTX 4090 (24 GB), Windows 11. Every tool ran through its documented default entry point, in its own pinned environment, with a 300 s timeout per document.
- An idle game shared the machine during the run (about half the GPU and 6 GB of VRAM), so the speed and memory numbers are indicative only. It can also lower scores: a timeout or crash scores zero, and Marker's settings were changed because of it (next item).
- Marker ran with
VLLM_GPU_MEMORY_UTILIZATION=0.65instead of its default 0.85. At 0.85, with the game present, its vLLM server could not finish a document within the timeout. On a GPU with nothing else running, the default may score differently. - Every tool runs at its defaults, through its documented entry point with no tuning. That is what a new user
gets, but some tools have slower modes that score higher: Unstructured's default strategy reads the text layer
and detects no tables (hence its 0.002 TEDS), while its
hi_resstrategy does. - OmniDocBench here is not its leaderboard setup. The ground truth is the current release (v1.6), the inputs are the original PDF slices from v1.0, so only the 981 pages that have one are eligible (they lean towards digital, text-layer pages), and every tool gets the PDF rather than the page image. The scores are not comparable with the published Overall.
- Scoring: ezmd's YAML frontmatter is removed before scoring (only ezmd writes one); other tools' output is scored as written. On olmOCR-Bench a document a tool failed to convert fails all of its tests.
- OmniDocBench formulas use edit distance, because its CDM metric needs a Linux TeX setup. Image-only benchmarks (PubTabNet, FinTabNet) and paid APIs were not run.
- ezmd's fixture corpus is self-graded: the fixtures were written alongside ezmd's converters. The full scorecard includes it as supporting evidence only.
Rerun it¶
git clone https://github.com/larpey/ezmd && cd ezmd
uv sync --all-packages
uv run python -m tools.bench install # competitor environments, pinned in tools/bench/competitors.toml
uv run python -m tools.bench fetch # the public corpora and their official scorers, pinned
uv run python -m tools.bench run --corpus olmocr # the published sample
uv run python -m tools.bench run --corpus olmocr --split heldout # the rest (use another --date)
uv run python -m tools.bench score --corpus olmocr
uv run python -m tools.bench report # bench/results/<date>/summary.md
make bench-full runs every corpus and every tool, which takes hours on one GPU. The harness, its options and the
corpus pins are described in
tools/bench/README.md and
bench/CORPORA.md.