Heading Hierarchy Reconstruction for Complex and Long Documents with Level-Wise Multimodal Memory
Abstract
Vision-language models (VLMs) have been widely adopted for document parsing and optical character recognition (OCR), as they can accurately extract page-level elements. However, downstream applications such as retrieval-augmented generation (RAG) also require coherent document-level structure. Although these models indicate heading levels using different numbers of preceding ``\#'' symbols, page-by-page prediction often lacks document-level consistency. In practice, input-resolution and context-length constraints make it infeasible for a VLM to jointly process all page images in documents containing tens or hundreds of pages. To address this limitation, we propose a VLM-based framework that incrementally reconstructs heading hierarchies with a level-wise multimodal memory. The memory retains a compact subset of all previously processed pages, selected by anchors. Our framework supports flexible anchor selection, and in this work we select the most recent node at each level, allowing the VLM to observe the visual, textual, and layout patterns of headings at every level. For comprehensive evaluation, we also introduce the Complex and Long Document Heading Hierarchy Reconstruction Benchmark (CLDoc-HHRBench), comprising 250 documents and 11,212 pages with expert-verified annotations. Experiments on CLDoc-HHRBench and three existing benchmarks demonstrate the effectiveness of our method.
Create a lesson
Metadata
- Categories
- cs.CV, cs.AI
Related papers
Embodied-VGGT: Preserving Reliable Local Geometry for Long-Sequence Reconstruction
Shared title terminologycs.CVYiheng Han, Ziang Chen, Zhuyong Fu et al.
Recall4D: Forgetting, Not Misalignment, Limits Long-Horizon Feed-Forward 4D Reconstruction
Shared title terminologycs.CVTianle Lyu
VELD-QA: A Large-Scale Dataset for Visual Evidence Grounding and Question Answering in Long Documents
Shared title terminologycs.CVZhivar Sourati, Marianne Menglin Liu, Rongguang Wang et al.
ReasonUni: Reasoning-Augmented Reconstruction Advances Unified Multimodal Models
Shared title terminologycs.CVFeize Wu, Zhiyuan Yan, Yuhuan Hong et al.
Remember, Revisit, Revise: Scaffold Memory for Long-Horizon 3D Geometry
Shared title terminologycs.CVSoumick Sarker, Mengmi Zhang
Long-horizon Video Generation with Slot Memory Addressed By Region Tokens
Shared title terminologycs.CVEren Cetin, Julius Erbach, Vukasin Bozic et al.