Abstract
This paper presents a modernized approach to Document Image Classification (DIC) by leveraging EfficientNet architectures, BERT-based text analysis, and multi-GPU scaling. The authors achieve new state-of-the-art (SOTA) results on the Tobacco datasets while significantly reducing computational overhead and model size compared to traditional heavy CNNs. By parallelizing training across multiple GPUs, they achieved a ~75% reduction in training time while setting new accuracy records.
Introduction
Document Image Classification (DIC) is the task of automatically sorting scanned documents—such as letters, memos, and forms—into predefined categories. This task is historically difficult due to high intra-class variability (e.g., two memos looking completely different) and low inter-class variability (e.g., a letter and a report sharing identical visual layouts). Previous SOTA models relied on massive, parameter-heavy Convolutional Neural Networks (CNNs) like VGG-16, which are slow to train and computationally expensive to deploy. This research aims to prove that smarter architecture choices and multimodal ensembles can deliver superior accuracy with fewer parameters and less time.
Methodology
The researchers employed a three-pronged strategy to enhance classification performance and efficiency:
- EfficientNet for Vision: Instead of relying on brute-force depth or width, the authors utilized EfficientNet, which uses compound scaling to balance depth, width, and resolution. Variants from B0 to B4 were tested to find the optimal balance between speed and accuracy.
- Multimodal Ensemble: The system does not rely solely on visual pixels. Using Tesseract OCR, text is extracted from documents and processed via a BERT model. The final classification is a weighted ensemble of the image model's prediction and the text model's semantic analysis.
- Parallel Systems: To handle the massive RVL-CDIP (BigTobacco) dataset of 400,000 images, the authors utilized data parallelism across up to four NVIDIA V100 GPUs, comparing the scaling efficiency of PyTorch and TensorFlow.
Datasets and Experimental Setup
The study utilizes the industry-standard "Tobacco" datasets:
- RVL-CDIP (BigTobacco): 400,000 grayscale images across 16 classes.
- Tobacco3482 (SmallTobacco): A subset of 3,482 images used to evaluate transfer learning and performance in data-scarce environments.
Key Results and Discussion
The proposed methods achieved significant improvements across all metrics. EfficientNet-B4 reached 92.31% accuracy on BigTobacco, surpassing previous benchmarks. On the smaller dataset, the multimodal approach proved particularly effective; fine-tuned EfficientNet-B1 reached 94.04% accuracy, which climbed to 94.9% when combined with BERT. This suggests that when visual cues are ambiguous, semantic meaning provides a critical "tie-breaker."
Furthermore, the research demonstrated massive gains in efficiency. EfficientNet-B0 (5.3M parameters) outperformed the much larger VGG-16 (138M parameters), representing a ~26x reduction in model size. In terms of speed, utilizing 4 GPUs reduced training time for EfficientNet-B0 by 75.4% compared to a single-GPU setup.
Conclusion
This work demonstrates that "lighter" models like EfficientNet, when paired with multimodal text analysis and parallel processing, can outperform traditional heavy architectures. While the system is dependent on OCR quality, the results set a new standard for industrial document organization. Future work will focus on refining distributed training across multiple nodes and testing various OCR engines to mitigate noise in textual features.
Summary updated