Abstract
Understanding documents is central to many real-world tasks but remains a challenging topic. Unfortunately, there is no well-established consensus on how to comprehensively evaluate document understanding abilities, which significantly hinders the fair comparison and measuring the progress of the field. To benchmark document understanding research, this paper summarizes four representative abilities: document classification, document structural analysis, document information extraction, and document transcription. Under this new evaluation framework, we propose Document Language Understanding Evaluation (DLUE), a new task suite covering a wide range of tasks in various forms, domains, and document genres. We systematically evaluate six well-established transformer models on DLUE and find that due to lengthy content, complicated underlying structures, and dispersed knowledge, document understanding is still far from being solved. Currently, no neural architecture dominates all tasks, highlighting the need for a universal document understanding architecture.
Introduction: Beyond Short Sentences
Most popular NLP benchmarks, such as GLUE and SuperGLUE, focus primarily on short utterances—sentences or single paragraphs. However, real-world documents like legal contracts, scientific papers, and government reports present unique challenges that these benchmarks ignore. The authors identify three primary hurdles in document understanding:
- Lengthy Content: Documents often exceed the memory and runtime limits of standard neural networks.
- Underlying Structure: Documents possess discourse and argumentative structures that dictate meaning beyond simple word sequences.
- Dispersed Knowledge: Critical information is often scattered across many pages, requiring models to "connect the dots" over long distances.
While some "long-context" benchmarks exist, they often rely on synthetic data. DLUE aims to provide a more naturalistic and comprehensive evaluation suite.
The DLUE Framework
The authors propose a framework based on four representative document abilities, mapped across ten diverse datasets and multiple domains.
Core Abilities and Datasets
- Document Classification: Understanding overall semantics (e.g., political standpoint in the Hyperpartisan news dataset).
- Document Structural Analysis: Analyzing discourse and argument flow (e.g., RR for science argument mining and GUM for rhetorical structure).
- Document Information Extraction: Identifying long-distance relations (e.g., LitBank for coreference resolution).
- Document Transcription: Capturing and condensing key information (e.g., GovReport for summarization and Qasper for abstractive QA).
Benchmarking Efficient Transformers
To evaluate these tasks, the researchers benchmarked six state-of-the-art "efficient" Transformer variants, categorized by their long-sequence handling strategies:
- Memory-based: XLNet (uses recurrence to connect blocks).
- Pattern-based: Longformer, BigBird, and Sparse Transformer (use fixed or learnable attention patterns).
- Low-rank/Kernel-based: Linformer and Performer (approximate the attention matrix to reduce complexity).
Key Insights and Results
No "Silver Bullet" Architecture
One of the most significant findings is that no single neural architecture dominates all document tasks. For instance, XLNet (recurrence-based) performed best on structural analysis, while BigBird and Longformer (pattern-based) excelled at classification and transcription. This suggests that different architectural priors are suited for different types of document reasoning.
The Performance Gap
The best-performing model (BigBird) achieved an average score of only 44.5 across the benchmark. Given that human agreement on many of these tasks exceeds 80%, there remains a massive gap in performance. While long-range Transformers consistently outperformed vanilla BERT, simply "seeing" more of the document is insufficient for true understanding.
Reasoning Over Length
Length is only the technical hurdle; the true challenge is reasoning over that length. Models struggle significantly as the "mention distance" (the gap between related pieces of information) increases. Furthermore, the authors found evidence of label bias in long texts; in the ContractNLI legal dataset, models sometimes used document length as a proxy for meaning rather than performing true logical inference.
Conclusion and Future Work
DLUE reveals that document understanding is far from solved. Current models, particularly low-rank variants like Performer and Linformer, often sacrifice complex reasoning for speed. Future research should focus on:
- Multi-modal Integration: Incorporating document layout (tables, figures, font sizes) which is crucial for formats like PDFs.
- Document-Aware Pre-training: Teaching models to recognize document structures during the initial training phase.
- Universal Architectures: Developing a single model capable of handling both flat semantic classification and hierarchical structural analysis.
Summary updated