DocMamba: Efficient Document Pre-training with State Space Model
DOI:
https://doi.org/10.1609/aaai.v39i22.34584Abstract
In recent years, visually-rich document understanding has attracted increasing attention. Transformer-based pre-trained models have become the mainstream approach, yielding significant performance gains in this field. However, the self-attention mechanism's quadratic computational complexity hinders their efficiency and ability to process long documents. In this paper, we present DocMamba, a novel framework based on the state space model. It is designed to reduce computational complexity to linear while preserving global modeling capabilities. To further enhance its effectiveness in document processing, we introduce the Segment-First Bidirectional Scan (SFBS) to capture contiguous semantic information. Experimental results demonstrate that DocMamba achieves new state-of-the-art results on downstream datasets such as FUNSD, CORD, and SORIE, while significantly improving speed and reducing memory usage. Notably, experiments on the HRDoc confirm DocMamba's potential for length extrapolation.Downloads
Published
2025-04-11
How to Cite
Hu, P., Zhang, Z., Ma, J., Liu, S., Du, J., & Zhang, J. (2025). DocMamba: Efficient Document Pre-training with State Space Model. Proceedings of the AAAI Conference on Artificial Intelligence, 39(22), 24095-24103. https://doi.org/10.1609/aaai.v39i22.34584
Issue
Section
AAAI Technical Track on Natural Language Processing I