DocMamba:基于状态空间模型的高效文档预训练
DocMamba: Efficient Document Pre-training with State Space Model
AI总结:
本文提出基于状态空间模型的DocMamba框架,通过分段优先双向扫描将文档预训练复杂度降至线性,在多个文档理解数据集上取得最优结果并提升速度、降低内存。
摘要:
近年来,视觉丰富的文档理解受到越来越多的关注。基于Transformer的预训练模型已成为主流方法,并在该领域取得了显著的性能提升。然而,自注意力机制的二次计算复杂度阻碍了其效率和处理长文档的能力。在本文中,我们提出了DocMamba,一个基于状态空间模型的新型框架。它旨在将计算复杂度降低到线性,同时保持全局建模能力。为了进一步增强其在文档处理中的有效性,我们引入了分段优先双向扫描(SFBS)来捕获连续的语义信息。实验结果表明,DocMamba在FUNSD、CORD和SORIE等下游数据集上取得了新的最先进结果,同时显著提高了速度并减少了内存占用。值得注意的是,在HRDoc上的实验证实了DocMamba在长度外推方面的潜力。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。