XDoc: Unified Pre-training for Cross-Format Document Understanding

Jingye Chen, Tengchao Lv, Lei Cui, Cha Zhang, Furu Wei
10/6/2022
cs.CL

Official code: microsoft/unilm (22,252 stars, Python, MIT, last commit 2026-01-23).

Abstract

The surge of pre-training has witnessed the rapid development of document understanding recently. Pre-training and fine-tuning framework has been effectively used to tackle texts in various formats, including plain texts, document texts, and web texts.

Show full abstract

Despite achieving promising performance, existing pre-trained models usually target one specific document format at one time, making it difficult to combine knowledge from multiple document formats. To address this, we propose XDoc, a unified pre-trained model which deals with different document formats in a single model. For parameter efficiency, we share backbone parameters for different formats such as the word embedding layer and the Transformer layers. Meanwhile, we introduce adaptive layers with lightweight parameters to enhance the distinction across different formats. Experimental results have demonstrated that with only 36.7% parameters, XDoc achieves comparable or even better performance on a variety of downstream tasks compared with the individual pre-trained models, which is cost effective for real-world deployment. The code and pre-trained models will be publicly available at \url{https://aka.ms/xdoc}.

View on arXivView PDF

Code Implementations(1)

microsoft/unilmOfficial100%
MIT

Large-scale Self-supervised Pre-training Across Tasks, Languages, and Modalities

22,2522,699Python, Jupyter NotebookJul 23, 201910 months agoMIT
beitbeit-3bitnetdeepnetdocument-ai+15 more

Similar Papers

Cite this paper

@article{chen2022xdoc,
  title  = {XDoc: Unified Pre-training for Cross-Format Document Understanding},
  author = {Jingye Chen and Tengchao Lv and Lei Cui and Cha Zhang and Furu Wei},
  year   = {2022},
  eprint = {2210.02849},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.02849}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2210.02849.svg)](https://codeofpaper.com/paper/2210.02849)

Discussion