Abstract
Understanding visually-rich business documents to extract structured data and automate business workflows has been receiving attention both in academia and industry. Although recent multi-modal language models have achieved impressive results, we find that existing benchmarks do not reflect the complexity of real documents seen in industry. In this work, we identify the desiderata for a more comprehensive benchmark and propose one we call Visually Rich Document Understanding (VRDU). VRDU contains two datasets that represent several challenges: rich schema including diverse data types as well as hierarchical entities, complex templates including tables and multi-column layouts, and diversity of different layouts (templates) within a single document type. We design few-shot and conventional experiment settings along with a carefully designed matching algorithm to evaluate extraction results. We report the performance of strong baselines and offer three observations: (1) generalizing to new document templates is still very challenging, (2) few-shot performance has a lot of headroom, and (3) models struggle with hierarchical fields such as line-items in an invoice. We plan to open source the benchmark and the evaluation toolkit. We hope this helps the community make progress on these challenging tasks in extracting structured data from visually rich documents.
Introduction
Automating business workflows—such as processing insurance claims or procurement invoices—requires robust Visually-rich Document Understanding (VRDU). While multimodal models combining text, layout, and image features have shown progress, existing benchmarks like FUNSD or SROIE often fail to reflect industrial complexity. They frequently feature simplistic schemas, lack layout diversity, and suffer from poor annotation quality. The VRDU benchmark addresses these gaps by introducing a more rigorous framework that demands generalization to unseen templates and the extraction of complex, hierarchical data structures.
Methodology
The VRDU benchmark is built upon a comprehensive evaluation framework designed to test model robustness across various scenarios.
The framework includes three distinct task settings:
- Single Template Learning (STL): Training and testing on identical layouts.
- Mixed Template Learning (MTL): Training and testing on a diverse set of shared layouts.
- Unseen Template Learning (UTL): Training on one set of layouts and testing on entirely different ones to evaluate true generalization.
To ensure fair evaluation, the benchmark employs Type-aware Matching. Instead of strict string matching, it uses fuzzy matching tailored to specific data types (e.g., dates, prices, addresses). Additionally, a Hierarchical Grouping algorithm is used to associate related repeated entities, such as the multiple sub-fields within an invoice line item, into structured objects.
Datasets
The benchmark consists of two primary datasets crawled from public records, providing high-quality OCR and token-level annotations.
- Ad-buy Forms (FCC): Contains 641 documents with complex tables and hierarchical "line items" (e.g., advertisement descriptions grouped with dates and prices).
- Registration Forms (FARA): Includes 1,915 documents from the Foreign Agents Registration Act, featuring three distinct templates and a rich schema of unrepeated entities like names and IDs.
Results and Discussion
Evaluations of state-of-the-art models including LayoutLM, LayoutLMv2, LayoutLMv3, and FormNet revealed several key insights:
- The Generalization Gap: A significant performance drop occurs when models encounter unseen layouts (UTL). For instance, on Registration Forms, performance dropped by 13–17 percentage points compared to STL, suggesting models act more as "memorizers" than "understanders."
- Complexity of Hierarchy: Extracting hierarchical line items remains the most difficult task. On the Ad-buy dataset, Micro-F1 scores plummeted to the 40-46% range, far below the 90%+ scores seen on simpler benchmarks.
- Few-shot Learning: Model performance does not plateau even with 200 training samples, indicating that reliable extraction with minimal data (e.g., 10 examples) remains an open challenge.
Conclusion
The VRDU benchmark highlights that while current models excel at known layouts, they struggle with generalization and hierarchical structures. Current hierarchical grouping relies on heuristic post-processing; future research should focus on models capable of natively predicting these structures. The open-sourcing of VRDU and its evaluation toolkit aims to drive progress in these high-headroom areas of document understanding.
Summary updated