arrow
Return

HEADoC: Highly Efficient and Accurate Document Classifier Optimized Using Semantic Distances

delete2025-10-01
delete0
PRE
AI
M
Muhammad Usman Khan *
M
Muhammad Adnan Tariq
M
Muhammad Shaoor Siddique
DOI:10.1007/s13748-025-00411-xdelete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Automated document classification is a vital research domain, utilizing approaches that employ textual features (e.g., plain text analysis), visual features (e.g., feature extraction from document images), or hybrid techniques that combine both modalities to capture both textual and visual features to enhance performance. Our work introduces two hybrid models, HEADoCBASE\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$_{BASE}$$\end{document} with 27.7 million parameters and HEADoCLARGE\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$_{LARGE}$$\end{document} with 90.58 million parameters. A key innovation is our deep attention mechanism, a streamlined yet efficient method inspired by conventional attention frameworks, which facilitates the smooth integration of the two modalities. During experimentation, we observed that ArcFace loss, a metric learning approach effective for heterogeneous datasets with distinct intra-class characteristics, performed poorly in our task due to the homogeneity of document classes in standard benchmarks. Both models were evaluated on the RVL-CDIP and Tobacco3482 datasets. On Tobacco3482, HEADoCBASE\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$_{BASE}$$\end{document} achieved 95.98% accuracy, while HEADoCLARGE\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$_{LARGE}$$\end{document} reached 96.66%. For RVL-CDIP, accuracies were 92.95% and 93.62%, respectively. HEADoCBASE\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$_{BASE}$$\end{document} not only surpassed numerous state-of-the-art models but also proved itself to be the most compact architecture in comparison, highlighting efficiency without sacrificing performance. Having the most compact sizes amongst their competitors, our models can be trained faster than its rival architectures.
Keywords:
Document classification
Efficient deep learning
Ensemble
Deep attention
Arcface loss

Journal

P
Progress in Artificial Intelligence
IF:
2.4
Papers:
57
Citations:
0

Organization

No organization information available
Cited Papers

Cited Papers

err
IF0
err
err0
PREAI
err
errShare
errSave
EmmDocClassifier: Efficient Multimodal Document Image Classifier for Scarce Data
err2022-01-29
err0
errOAAI
errShrinidhi Kanchi; Alain Pagani; Hamam Mokayed; Marcus Liwicki; Didier Stricker; Muhammad Zeshan Afzal
errShare
errSave
Document image classification: Progress over two decades
err2021-09-01
err14
PREAI
errLiu, Li; Wang, Zhiyu; Qiu, Taorong; Chen, Qiu; Lu, Yue; Suen, Ching Y.
errShare
errSave
err
IF0
err
err0
PREAI
err
errShare
errSave
errShare
errSave
researcher View more