ERNIE-Layout: Layout Knowledge Enhanced Pre-training for Visually-rich Document Understanding
Qiming Peng, Yinxu Pan, Wenjin Wang, Bin Luo, Zhenyu Zhang, Zhengjie Huang, Yuhui Cao, Weichong Yin
Abstract
Recent years have witnessed the rise and success of pre-training techniques in visually-rich document understanding. However, most existing methods lack the systematic mining and utilization of layout-centered knowledge, leading to sub-optimal performances. In this paper, we propose ERNIE-Layout, a novel document pre-training solution with layout knowledge enhancement in the whole workflow, to learn better representations that combine the features from text, layout, and image. Specifically, we first rearrange input sequences in the serialization stage, and then present a correlative pre-training task, reading order prediction, to learn the proper reading order of documents. To improve the layout awareness of the model, we integrate a spatial-aware disentangled attention into the multi-modal transformer and a replaced regions prediction task into the pre-training phase. Experimental results show that ERNIE-Layout achieves superior performance on various downstream tasks, setting new state-of-the-art on key information extraction, document image classification, and document question answering datasets. The code and models are publicly available at PaddleNLP.
BibTeX
@inproceedings{peng-etal-2022-ernie,
title = "{ERNIE}-Layout: Layout Knowledge Enhanced Pre-training for Visually-rich Document Understanding",
author = "Peng, Qiming and
Pan, Yinxu and
Wang, Wenjin and
Luo, Bin and
Zhang, Zhenyu and
Huang, Zhengjie and
Cao, Yuhui and
Yin, Weichong and
Chen, Yongfeng and
Zhang, Yin and
Feng, Shikun and
Sun, Yu and
Tian, Hao and
Wu, Hua and
Wang, Haifeng",
editor = "Goldberg, Yoav and
Kozareva, Zornitsa and
Zhang, Yue",
booktitle = "Findings of the Association for Computational Linguistics: EMNLP 2022",
month = dec,
year = "2022",
address = "Abu Dhabi, United Arab Emirates",
publisher = "Association for Computational Linguistics",
url = "https://aclanthology.org/2022.findings-emnlp.274/",
doi = "10.18653/v1/2022.findings-emnlp.274",
pages = "3744--3756"
}