Evaluating and Training Long-Horizon Parsers on Real Cross-Page Structural Dependencies
Build a real multi-page document benchmark and training corpus with cross-page tables and split paragraphs to test whether narrow sliding output windows preserve global document structure.
Time
Compute level
Resources
What the paper used
Prerequisites
Scope
The Gap
In Section 4.1, all 200k multi-page training samples are synthesized by randomly concatenating single-page PDFs with <page> separators, and Section 5.1 evaluates long-horizon parsing on an in-house book set using only Edit Distance and Distinct-n rather than structural parsing metrics.
“We randomly generate around 200k samples, each consisting of 2 to 50 pages, with <page> used as a separator between pages.”
Limitation
Random single-page concatenation lacks true cross-page dependencies—such as multi-page tables sharing headers, split formulas, running section hierarchies, and continuous reading order—leaving it untested whether a 128-token output window suffices for coherent multi-page structure extraction.
Proposed Solution
Curate an open-source multi-page document benchmark and training mixture from real multi-page academic papers, financial reports, and legal filings containing ground-truth cross-page tables, continuing paragraphs, and nested headings. Extend evaluation to cross-page Table TEDS and section-tree F1, and test augmenting R-SWA with a small set of persistent structural state tokens (e.g., active table headers or heading stack) pinned alongside the 128-token decode window.
Why This Matters
Establishing a reproducible cross-page structural benchmark would clarify whether fixed local output windows fail when tabular or hierarchical schemas span page breaks and determine if lightweight state pinning resolves it.
How to Get Started
How to test it: Test the hypothesis that Unlimited OCR trained on concatenated single pages achieves lower Table TEDS on cross-page tables than on single-page tables, and that fine-tuning on real multi-page documents with pinned table-header state closes this gap. Compare the released checkpoint against the fine-tuned variant on a 500-document cross-page test set using cross-page Table TEDS and heading-continuity F1, stopping if the released baseline already matches single-page TEDS.
- Collect 500+ real multi-page PDFs containing cross-page tables and split paragraphs from public sources such as arXiv LaTeX-compiled papers or multi-page financial filings.
- Run the released Unlimited-OCR model on these documents and measure cross-page Table TEDS and reading-order continuity across page boundaries versus single-page tables.
- If cross-page structure degrades after <page> separators, curate a training subset of real multi-page documents and test either expanding the output window n or pinning active structural state tokens in the R-SWA cache.
Suggested by AI. Adapt it to your setup.
Has This Been Done?
Benchmarks like MPDocBench-Parse: Benchmarking Practical Multi-page Document Parsing and OmniDocBench focus on multi-page document parsing evaluation datasets. They do not evaluate cross-page structural state tokens pinned alongside a sliding decode window.
- MPDocBench-Parse: Benchmarking Practical Multi-page Document Parsing · 2026 · 7 citations
- OmniDocBench: Benchmarking Diverse PDF Document Parsing with Comprehensive Annotations · 2025 · 307 citations
We searched OpenAlex and arXiv for “multi-page table extraction cross-page document parsing benchmark” and “Evaluating and Training Long-Horizon Parsers on Real Cross-Page Structural Dependencies” and an AI compared the idea with the top 10 results. A small search can miss relevant work.
Source Paper
Unlimited OCR WorksYouyang Yin, Huanhuan Liu, YY +14 more · 2026
Unlimited OCR addresses the memory and latency bottlenecks of long-horizon end-to-end document parsing, where standard LLM decoders accumulate linearly growing KV caches across dozens of pages. The authors introduce Reference Sliding Window Attention (R-SWA), enabling one-shot multi-page transcription with constant decode-side KV cache memory and generation speed while achieving state-of-the-art accuracy on OmniDocBench.
Related Ideas
- Hierarchical Cell-Level Parallelism for Large TablesDolphin: Document Image Parsing via Heterogeneous Anchor Prompting🟠Medium
- Long-Context Hierarchical Heads and Retrieval Wrappers for Fixed-Length Pretrained ModelsHuggingFace's Transformers: State-of-the-art Natural Language Processing🟡Fairly easy
- Grammar-Constrained Decoding for Structured DocTagsSmolDocling: An ultra-compact vision-language model for end-to-end multi-modal document conversion🟡Fairly easy
- Multimodal and Full-Document Soundness Assessment Across Figures and AppendicesPaperCritic: Training AI Reviewers to Assess the Soundness of Papers🔴Hard
- Graph-Neural-Network Based Reading Order RegressionMinerU: An Open-Source Solution for Precise Document Content Extraction🟠Medium