arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2211.14958cs.CV
收藏

MGDoc:用于文档图像理解的多粒度层次预训练

MGDoc: Pre-training with Multi-granular Hierarchy for Document Image Understanding

University of California, San Diego(加州大学圣地亚哥分校);Adobe Research(Adobe研究院)

Zilong Wang, Jiuxiang Gu, Chris Tensmeyer, Nikolaos Barmpalios, Ani Nenkova, Tong Sun, Jingbo Shang, Vlad I. Morariu

摘要:

文档图像是无处不在的数据源,其中文本被组织在复杂的分层结构中,字),中等粒度(例如,诸如段落或图的区域),到粗粒度(例如,整页)。不同粒度级别的内容之间的空间层次关系对于文档图像理解任务至关重要。现有的方法从词级或区域级学习特征,但不能同时考虑两者。词级模型的局限性在于它们源自纯文本语言模型,纯文本模型只对词级上下文进行编码。相比之下,区域级模型试图将对应于段落或文本块的区域编码到单个嵌入中,但它们在附加单词级特征的情况下表现更差。为了解决这些问题,我们提出了MGDoc,一个新的多模式多粒度预训练框架,同时编码页面级,区域级和单词级信息。MGDoc使用统一的文本-视觉编码器来获得不同粒度的多模态特征,这使得将多粒度特征投影到同一超空间成为可能。为了对区域-单词相关性进行建模,我们为我们的模型设计了一个跨粒度的注意力机制和特定的预训练任务,以加强学习区域和单词之间的层次结构的模型。实验表明,我们提出的模型可以学习更好的功能,在粒度上表现良好,并导致下游任务的改进。

英文摘要:

Document images are a ubiquitous source of data where the text is organized in a complex hierarchical structure ranging from fine granularity (e.g., words), medium granularity (e.g., regions such as paragraphs or figures), to coarse granularity (e.g., the whole page). The spatial hierarchical relationships between content at different levels of granularity are crucial for document image understanding tasks. Existing methods learn features from either word-level or region-level but fail to consider both simultaneously. Word-level models are restricted by the fact that they originate from pure-text language models, which only encode the word-level context. In contrast, region-level models attempt to encode regions corresponding to paragraphs or text blocks into a single embedding, but they perform worse with additional word-level features. To deal with these issues, we propose MGDoc, a new multi-modal multi-granular pre-training framework that encodes page-level, region-level, and word-level information at the same time. MGDoc uses a unified text-visual encoder to obtain multi-modal features across different granularities, which makes it possible to project the multi-granular features into the same hyperspace. To model the region-word correlation, we design a cross-granular attention mechanism and specific pre-training tasks for our model to reinforce the model of learning the hierarchy between regions and words. Experiments demonstrate that our proposed model can learn better features that perform well across granularities and lead to improvements in downstream tasks.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑