Abstract
Document classification is one of the most critical steps in the document analysis pipeline. There are two types of approaches for document classification, known as image-based and multimodal approaches. Image-based document classification approaches are solely based on the inherent visual cues of the document images. In contrast, the multimodal approach co-learns the visual and textual features, and it has proved to be more effective. Nonetheless, these approaches require a huge amount of data. This paper presents a novel approach for document classification that works with a small amount of data and outperforms other approaches. The proposed approach incorporates a hierarchical attention network (HAN) for the textual stream and the EfficientNet-B0 for the image stream. The hierarchical attention network in the textual stream uses dynamic word embedding through fine-tuned BERT. HAN incorporates both the word level and sentence level features. While earlier approaches rely on training on a large corpus (RVL-CDIP), we show that our approach works with a small amount of data (Tobacco-3482). To this end, we trained the neural network at Tobacco-3482 from scratch. Therefore, we outperform the state-of-the-art by obtaining an accuracy of 90.3%. This results in a relative error reduction rate of 7.9%.
Highlights
Documents play a pivotal role in all of the fields of business communication and record-keeping [1]
While the visual part is inspired by the work of Javier et al [13], we introduced an improved way of extraction of the textual features that are based on Hierarchical Attention Network
RVL-CDIP stands for Ryerson Vision Lab Complex Document Information Processing
Summary
Documents play a pivotal role in all of the fields of business communication and record-keeping [1]. Automatic information extraction from documents is a challenging task [2]. The physical documents are first scanned or photographed before the information extraction process can begin. Document classification is considered an essential task in various Document Image Processing Pipelines (DIPP). The classification of documents into different known classes helps to improve the overall performance of document processing systems [1]. Many approaches are proposed for document classification that uses either text content [3,4,5] or document structure [6,7,8,9] to categorize documents into different classes or use both of the modalities [10,11,12,13]. There has been much advancement in this area, especially using deep learning methods [6,14,15]
Published Version (Free)
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have