CVAIIRDec 10, 2025

Benchmarking Document Parsers on Mathematical Formula Extraction from PDFs

arXiv:2512.09874v13 citationsh-index: 1Has Code
Originality Incremental advance
AI Analysis

This work addresses a critical bottleneck for training large language models and building scientific knowledge bases by providing a robust, scalable methodology for reproducible evaluation of PDF formula extraction, though it is incremental in improving benchmarking practices.

The authors tackled the problem of benchmarking document parsers for extracting mathematical formulas from PDFs, introducing a synthetic benchmarking framework and LLM-as-a-judge evaluation that achieved a Pearson correlation of 0.78 with human judgment, and evaluated over 20 parsers on 2,000+ formulas.

Correctly parsing mathematical formulas from PDFs is critical for training large language models and building scientific knowledge bases from academic literature, yet existing benchmarks either exclude formulas entirely or lack semantically-aware evaluation metrics. We introduce a novel benchmarking framework centered on synthetically generated PDFs with precise LaTeX ground truth, enabling systematic control over layout, formulas, and content characteristics. A key methodological contribution is pioneering LLM-as-a-judge for semantic formula assessment, combined with a robust two-stage matching pipeline that handles parser output inconsistencies. Through human validation on 250 formula pairs (750 ratings from 30 evaluators), we demonstrate that LLM-based evaluation achieves substantially higher correlation with human judgment (Pearson r=0.78) compared to CDM (r=0.34) and text similarity (r~0). Evaluating 20+ contemporary PDF parsers (including specialized OCR models, vision-language models, and rule-based approaches) across 100 synthetic documents with 2,000+ formulas reveals significant performance disparities. Our findings provide crucial insights for practitioners selecting parsers for downstream applications and establish a robust, scalable methodology that enables reproducible evaluation of PDF formula extraction quality. Code and benchmark data: https://github.com/phorn1/pdf-parse-bench

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes