Information Extraction from Visually Rich Documents using LLM-based Organization of Documents into Independent Textual Segments
Aniket Bhattacharyya, Anurag Tripathi, Ujjal Das, Archan Karmakar, Amit Pathak, Maneesh Gupta
TL;DR
BLOCKIE tackles information extraction from visually rich documents by organizing text into semantic blocks and applying block-level LLM reasoning, improving generalization across heterogeneous formats. The approach creates, parses, and combines self-contained semantic blocks to assemble a complete document schema, achieving state-of-the-art $F1$ on CORD, FUNSD, and SROIE and enabling smaller LLMs to outperform larger ones through structured, localized reasoning. Key contributions include the formalization of semantic blocks and semantic atoms, a block-centric pipeline with strong cross-document sharing, and demonstrated value-absent inference capabilities. This method enhances robustness to layout variability and formats not seen during training, offering practical significance for scalable VRD information extraction in real-world, diverse document collections.
Abstract
Information extraction (IE) from Visually Rich Documents (VRDs) containing layout features along with text is a critical and well-studied task. Specialized non-LLM NLP-based solutions typically involve training models using both textual and geometric information to label sequences/tokens as named entities or answers to specific questions. However, these approaches lack reasoning, are not able to infer values not explicitly present in documents, and do not generalize well to new formats. Generative LLM-based approaches proposed recently are capable of reasoning, but struggle to comprehend clues from document layout especially in previously unseen document formats, and do not show competitive performance in heterogeneous VRD benchmark datasets. In this paper, we propose BLOCKIE, a novel LLM-based approach that organizes VRDs into localized, reusable semantic textual segments called $\textit{semantic blocks}$, which are processed independently. Through focused and more generalizable reasoning,our approach outperforms the state-of-the-art on public VRD benchmarks by 1-3% in F1 scores, is resilient to document formats previously not encountered and shows abilities to correctly extract information not explicitly present in documents.
