Document Image Classification with Intra-Domain Transfer Learning and Stacked Generalization of Deep Convolutional Neural Networks

Arindam Das, Saikat Roy, Ujjwal Bhattacharya, Swapan K. ParuiICPR 2018 · DOI

Abstract

Automated document classification is critical for managing large-scale digital archives, yet it faces challenges due to high inter-class similarity and intra-class variability. This paper presents a novel framework for document image classification using a two-tier transfer learning strategy and stacked generalization. By leveraging intra-domain transfer learning—moving from holistic document models to regional sub-models—the approach significantly accelerates training convergence. An ensemble of regional VGG16 models, combined via a multilayer neural network meta-classifier, achieves a state-of-the-art accuracy of 92.21% on the RVL-CDIP dataset.

Introduction

In the era of massive digital libraries, automatically sorting scanned documents such as invoices, memos, and resumes is a significant logistical challenge. Unlike standard image classification, document images exhibit high inter-class similarity (e.g., news items and advertisements sharing similar layouts) and high intra-class variability (e.g., forms with vastly different structures).

While Optical Character Recognition (OCR) can assist, it is computationally expensive and error-prone. This research focuses on structural classification, identifying documents based on visual layout. The primary challenge lies in the resource-intensive nature of training deep neural networks on specific document regions from scratch. The study utilizes the RVL-CDIP (Ryerson Vision Lab Complex Document Information Processing) dataset, which contains 400,000 grayscale images across 16 diverse categories.

Examples of the 16 document classes in the RVL-CDIP dataset, illustrating the complexity of visual layout classification.

Methodology

The proposed framework utilizes the VGG16 architecture and a hierarchical training strategy to optimize performance and training efficiency.

Two-Tier Transfer Learning

  1. Inter-Domain Transfer Learning (L1): A VGG16 model pre-trained on ImageNet (general objects) is fine-tuned on whole document images to create a "Holistic" model that captures the general visual characteristics of documents.
  2. Intra-Domain Transfer Learning (L2): Regional classifiers (Header, Footer, Left Body, Right Body) are initialized using weights from the Holistic document model rather than ImageNet. This "intra-domain" approach leverages the visual similarity between document regions and whole documents, leading to significantly faster convergence.

Stacked Generalization

To synthesize a final classification, the framework employs stacked generalization. Predictions from the Holistic model and the four regional models are concatenated and fed into a meta-classifier. While several meta-classifiers were evaluated, a Multilayer Neural Network (MLNN) provided the highest accuracy.

The proposed framework architecture, detailing region extraction, hierarchical transfer learning, and the meta-classifier ensemble.

Results and Discussion

The proposed method achieved a new state-of-the-art accuracy of 92.21% on the RVL-CDIP test set, outperforming previous benchmarks such as Harley et al. (89.3%).

Efficiency Gains

The L2 transfer learning approach provided a 6x speedup in training regional sub-models. Specifically, regional models converged in just 4 iterations when initialized with holistic document weights, compared to the 25 iterations required for the holistic model to learn from ImageNet.

Regional Importance

The results confirm that specific regions serve as "anchors" for different document types. For instance, headers are often definitive for scientific publications, while central bodies distinguish memos. The meta-classifier effectively learns to weight these regional predictions based on the document class, leading to the observed performance boost over single-model approaches (91.11% for the holistic model alone).

Conclusion

This research demonstrates that combining regional deep learning models through intra-domain transfer learning and stacked generalization significantly improves document classification accuracy and training efficiency. Future work will focus on exploring lighter base models to reduce the computational footprint of the ensemble and further refining the granularity of regional segments.

Summary updated

BibTeX
@inproceedings{das2018document,
  author = {Arindam Das and Saikat Roy and Ujjwal Bhattacharya and Swapan K. Parui},
  title = {{Document Image Classification with Intra-Domain Transfer Learning and Stacked Generalization of Deep Convolutional Neural Networks}},
  booktitle = {ICPR},
  year = {2018},
  doi = {10.1109/icpr.2018.8545630},
}
Figure