cs.AIAug 15, 2026

LongDocBench: Benchmarking TOC Hierarchy and Contextual Relationship Recovery in Long Documents

Authors: Yuefeng Zou, Yichen Lu, Jingxiao Yang, Bingtao Fu, Gaoyang Zhang, Xiongfei Bai, Tian Chen, Xiang Qi

Organizations: Ant Group · Zhejiang University

Abstract

Parsing visual documents into machine-readable representations is fundamental to document intelligence. Existing benchmarks focus on page-level element recognition, reading order, formula recognition, and table structure. Long documents, however, also require document-level structure recovery. This includes reconstructing cross-page table-of-contents (TOC) hierarchies and identifying typed links from tables and figures to their captions, notes, and sources, often in one-to-many form. Because these structures are covered only partially or subsumed within broader parsing protocols, existing benchmarks cannot directly evaluate two key document-level tasks: Table-of-Contents Hierarchy Recovery and Contextual Relationship Recovery. To benchmark these two tasks, we introduce LongDocBench, comprising 85 real-world financial reports, textbooks, and academic papers spanning 2,582 pages, with up to 105 pages per document. It provides human-verified annotations for 3,937 heading nodes (mean node depth 3.55; maximum depth 9) and 3,258 contextual relationships annotated across 2,680 table and figure objects. We further evaluate both the downstream utility and recoverability of these structures. Long-document question-answering experiments show that human-verified TOC hierarchies and contextual relationships improve reasoning, with their combination providing complementary benefits. Meanwhile, representative document parsers remain limited on both recovery tasks despite strong page-level performance. To support further progress, we publicly release LongDocBench and its evaluation protocol and reproducible testbed for advancing document-level structure recovery in long documents.

Figures & tables

Explore similar work

CardsList
  1. XL-DocBench: Benchmarking Evidence-Grounded Extra-Long Document Understanding

    Jul 21, 2026Hongchen Wei, Yuanzhe Wang, Bei Liu +9Long-Context RetrievalLLM Evaluation

  2. Dr. DocBench: A Comprehensive Benchmark for Expert-Level and Difficult Document Parsing

    May 31, 2026Minglai Yang, Xinyan Velocity Yu, Pengyuan Li +22VLM EvaluationDocument Parsing Benchmarks

  3. DocScope: Benchmarking Verifiable Reasoning for Trustworthy Long-Document Understanding

    May 9, 2026Xiang Feng, Jiawei Zhou, Zhangfeng Huang +6Multimodal UnderstandingLLM Answer Verification