EMNLP Findings2024
PDF-to-Tree: Parsing PDF Text Blocks into a Tree
Yue Zhang, Zhihao Zhang, Wenbin Lai, Chong Zhang, Tao Gui, Qi Zhang, Xuanjing Huang
Abstract
In many PDF documents, the reading order of text blocks is missing, which can hinder machine understanding of the document's content. Existing works try to extract one universal reading order for a PDF file. However, applications, like Retrieval Augmented Generation (RAG), require breaking long articles into sections, subsections and table cells for better indexing. For this reason, this paper introduces a new task and dataset, PDF-to-Tree, which organizes the text blocks of a PDF into a tree structure. Since a PDF may contain thousands of text blocks, this paper proposes a transition-based parser that uses a greedy strategy to build the tree structure. Compared to the parser for plain text, we also use multi-modal features to encode the parser state. Experiments show that our approach achieves an accuracy of 93.93%, surpassing the performance of baseline methods by an improvement of 6.72%. The dataset is public available at https://github.com/yuezh000/PDF-to-Tree.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
2 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Spatial Dependency Parsing for Semi-Structured Document Information Extraction cites LayoutLM: Pre-training of Text and Layout for Document Image Understanding
- TRIE: End-to-End Text Reading and Information Extraction for Document Understanding cites LayoutLM: Pre-training of Text and Layout for Document Image Understanding
- StrucTexT: Structured Text Understanding with Multi-Modal Transformers cites Spatial Dependency Parsing for Semi-Structured Document Information Extraction
- StrucTexT: Structured Text Understanding with Multi-Modal Transformers cites LayoutLM: Pre-training of Text and Layout for Document Image Understanding
- StrucTexT: Structured Text Understanding with Multi-Modal Transformers cites TRIE: End-to-End Text Reading and Information Extraction for Document Understanding
- M3DocDep: Multi-modal, Multi-page, Multi-document Dependency Chunking with Large Vision-Language Models cites MultiDocFusion : Hierarchical and Multimodal Chunking Pipeline for Enhanced RAG on Long Industrial Documents
- BROS: A Pre-trained Language Model Focusing on Text and Layout for Better Key Information Extraction from Documents cites Spatial Dependency Parsing for Semi-Structured Document Information Extraction
- BROS: A Pre-trained Language Model Focusing on Text and Layout for Better Key Information Extraction from Documents cites LayoutLM: Pre-training of Text and Layout for Document Image Understanding
Cited by top-tier papers2
- M3DocDep: Multi-modal, Multi-page, Multi-document Dependency Chunking with Large Vision-Language ModelsJoongmin Shin, Jeongbae Park, Jaehyung Seo, Heuiseok LimCVPR 2026
- MultiDocFusion : Hierarchical and Multimodal Chunking Pipeline for Enhanced RAG on Long Industrial DocumentsJoongmin Shin, Chanjun Park, Jeongbae Park, Jaehyung Seo et al.EMNLP 2025
Builds on10
- LayoutLM: Pre-training of Text and Layout for Document Image UnderstandingYiheng Xu, Minghao Li, Lei Cui, Shaohan Huang et al.KDD 2020 · 575 citations
- BROS: A Pre-trained Language Model Focusing on Text and Layout for Better Key Information Extraction from DocumentsTeakgyu Hong, Donghyun Kim, Mingi Ji, Wonseok Hwang et al.AAAI 2022 · 186 citations
- StrucTexT: Structured Text Understanding with Multi-Modal TransformersYulin Li, Yuxi Qian, Yuechen Yu, Xiameng Qin et al.ACM MM 2021 · 124 citations
- TRIE: End-to-End Text Reading and Information Extraction for Document UnderstandingPeng Zhang, Yunlu Xu, Zhanzhan Cheng, Shiliang Pu et al.ACM MM 2020 · 113 citations
- Spatial Dependency Parsing for Semi-Structured Document Information ExtractionWonseok Hwang, Jinyeong Yim, Seunghyun Park, Sohee Yang et al.ACL Findings 2021 · 84 citations
Related papers
- TreeRAG: Unleashing the Power of Hierarchical Storage for Enhanced Knowledge Retrieval in Long DocumentsWenyu Tao, Xiaofen Xing, Yirong Chen, Linyi Huang et al.ACL Findings 2025 · 4 citations
- BookRAG: A Hierarchical Structure-aware Index-based Approach for Retrieval-Augmented Generation on Complex DocumentsShu Wang, Yingli Zhou, Yixiang FangVLDB 2026 · 16 citations
- cAST: Enhancing Code Retrieval-Augmented Generation with Structural Chunking via Abstract Syntax TreeYilin Zhang, Xinran Zhao, Zora Zhiruo Wang, Chenyang Yang et al.EMNLP Findings 2025 · 11 citations
- VisRAG: Vision-based Retrieval-augmented Generation on Multi-modality DocumentsShi Yu, Chaoyue Tang, Bokai Xu, Junbo Cui et al.ICLR 2025
- Unified Active Retrieval for Retrieval Augmented GenerationQinyuan Cheng, Xiaonan Li, Shimin Li, Qin Zhu et al.EMNLP Findings 2024 · 13 citations
