Abstract
This paper highlights the need to bring document classification benchmarking closer to real-world applications, both in the nature of data tested (multi-channel, multi-paged, multi-industry) and in classification tasks considered (multi-page document, page stream, and document bundle classification). We identify the lack of public multi-page document classification datasets, formalize different classification tasks arising in application scenarios, and motivate the value of targeting efficient multi-page document representations. An experimental study on proposed multi-page document classification datasets demonstrates that current benchmarks have become irrelevant and need to be updated to evaluate complete documents, as they naturally occur in practice. This reality check also calls for more mature evaluation methodologies, covering calibration evaluation, inference complexity, and a range of realistic distribution shifts. Our study ends on a hopeful note by recommending concrete avenues for future improvements.
Introduction: The Single-Page Bottleneck
In the field of Visual Document Understanding (VDU), most research traditionally treats a "document" as a single image—a single page. However, real-world industrial applications rarely deal with isolated pages. Whether processing loan applications, insurance claims, or invoices, documents are intrinsically multi-paged and often arrive in complex formats like bundles or continuous streams.
There is a significant divergence between academic research and industrial reality. Current benchmarks, such as the widely used RVL-CDIP, are often low-resolution, grayscale, and limited to single pages derived from decades-old archives. This creates a gap where models performing exceptionally in laboratory settings fail when confronted with the colorful, structurally complex, and multi-page documents found in modern business workflows.
A New Taxonomy: Formalizing Multi-Page Tasks
To address this gap, the researchers formalize a taxonomy of five distinct tasks that better reflect industry needs:
- Page Classification ($f_p$): Categorizing a single page (the current standard).
- Document Classification ($f_d$): Categorizing a fixed-length multi-page document as a single entity.
- Document Bundle Classification ($f_b$): Categorizing a sequence of different documents within a single "bundle."
- Page Stream Classification ($f_s$): Identifying boundaries and types within a continuous, unsegmented stream of pages.
- Page Splitting ($f_m$): Dealing with single images that contain multiple document objects, such as several receipts scanned together.
Methodology and Inference Strategies
Using the Document Image Transformer (DiT) as a baseline, the study explores various inference strategies to aggregate page-level information into document-level decisions:
- Sampling: Evaluating only specific pages (e.g., first, second, or last).
- Pooling/Voting: Aggregating predictions across all pages using methods like "Max Confidence," "Soft Voting," or "Hard Voting."
- Grid Tiling: Shrinking multiple pages and tiling them into a single image for the model to process simultaneously.
Bridging the Gap: New Benchmarks
The paper introduces two significant new benchmarks by reconstructing the original multi-page structures of existing datasets:
- RVL-CDIP-MP: A multi-page version of the standard RVL-CDIP dataset, averaging 5 pages per document.
- RVL-CDIP-N-MP: A "native" multi-page dataset with higher resolution and color, averaging 10 pages per document, designed to test out-of-distribution (OOD) robustness against modern digital documents.
Key Insights and Results
Experimental results using the DiT-Base model revealed several critical findings:
- The "First-Page Bias": In many business contexts, the most critical information is located on the first page. Consequently, classifying based solely on the first page is a surprisingly strong baseline, achieving ~91% accuracy on RVL-CDIP-MP.
- The Value of the "Tail": While the first page is dominant, incorporating subsequent pages can provide a "best-case" accuracy boost of up to +6%. This suggests that while current models are not yet fully "reading" entire documents, there is untapped potential in holistic processing.
- The Failure of Grid Strategies: Simply tiling pages into a grid performed poorly due to the resulting loss in resolution, indicating a need for more sophisticated long-document architectures.
- Performance Drop on Native Data: On the more challenging RVL-CDIP-N-MP (the native digital set), accuracy dropped significantly to 78.7%, highlighting the difficulty modern, colorful documents pose for current state-of-the-art models.
Conclusion and Future Directions
The study concludes that current benchmarks must be updated to evaluate complete documents as they occur in practice. Future research should focus on developing efficient multi-page representations that do not scale linearly in compute cost, moving toward multi-label classification for multi-purpose documents, and improving model calibration so systems know when they need to "see" more pages before reaching a decision.
Summary updated