Self-supervised pre-training techniques have achieved remarkable progress in Document AI. Most multimodal pre-trained models use a masked language modeling objective to learn bidirectional representations on the text modality, but they differ in pre-training objectives for the image modality. This discrepancy adds difficulty to multimodal representation learning. In this paper, we propose LayoutLMv3 to pre-train multimodal Transformers for Document AI with unified text and image masking. Additionally, LayoutLMv3 is pre-trained with a word-patch alignment objective to learn cross-modal alignment by predicting whether the corresponding image patch of a text word is masked. The simple unified architecture and training objectives make LayoutLMv3 a general-purpose pre-trained model for both text-centric and image-centric Document AI tasks. Experimental results show that LayoutLMv3 achieves state-of-the-art performance not only in text-centric tasks, including form understanding, receipt understanding, and document visual question answering, but also in image-centric tasks such as document image classification and document layout analysis. The code and models are publicly available at https://aka.ms/layoutlmv3.
翻译:培训前自我监督的技术在文件AI中取得了显著进展。大多数经过培训的多式联运模式都使用隐蔽语言模型,以学习对文本模式的双向表达方式,但在图像模式的培训前目标方面却有所不同。这种差异增加了多式代表学习的困难。在本文中,我们建议DratLMv3为文件AI使用统一文本和图像掩码进行培训前多式多式联运变异器。此外,TapleLMv3还预先培训成单词匹配目标,以学习跨式对齐,预测文字对应的图像补丁是否被遮盖。简单的统一结构和培训目标使DaptLMv3成为以文字为中心的和以图像为中心的文件AI的通用预培训模式。实验结果表明,DratLMv3不仅在以文字为中心的任务中达到最新表现,包括形式理解、接收理解和文件直观回答,而且还在图像分类和文件布局分析等以图像为中心的任务中学习。代码和模型可在https://ka.ms/layvlm3上公开查阅。