Unifying Vision, Text, and Layout for Universal Document Processing

Zineng Tang, Ziyi Yang, Guoxin Wang, Yuwei Fang, Yang Liu +4 more
12/5/2022
cs.CVcs.AIcs.CL

Official code: microsoft/i-Code (1,705 stars, MIT, last commit 2024-09-27). 1 more implementation below.

Abstract

We propose Universal Document Processing (UDOP), a foundation Document AI model which unifies text, image, and layout modalities together with varied task formats, including document understanding and generation. UDOP leverages the spatial correlation between textual content and document image to model image, text, and layout modalities with one uniform representation. With a novel Vision-Text-Layout Transformer, UDOP unifies pretraining and multi-domain downstream tasks into a prompt-based sequence generation scheme. UDOP is pretrained on both large-scale unlabeled document corpora using innovative self-supervised objectives and diverse labeled data. UDOP also learns to generate document images from text and layout modalities via masked image reconstruction. To the best of our knowledge, this is the first time in the field of document AI that one model simultaneously achieves high-quality neural document editing and content customization. Our method sets the state-of-the-art on 8 Document AI tasks, e.g., document understanding and QA, across diverse data domains like finance reports, academic papers, and websites. UDOP ranks first on the leaderboard of the Document Understanding Benchmark.

View on arXivView PDF

Code Implementations(2)

microsoft/i-CodeOfficial100%
MIT
1,705165CSS, HTMLDec 7, 20222 years agoMIT
microsoft/UDOPOfficial100%
MIT
2497Dec 7, 20223 years agoMIT

Similar Papers

Cite this paper

@article{tang2022unifying,
  title  = {Unifying Vision, Text, and Layout for Universal Document Processing},
  author = {Zineng Tang and Ziyi Yang and Guoxin Wang and Yuwei Fang and Yang Liu and Chenguang Zhu and Michael Zeng and Cha Zhang and Mohit Bansal},
  year   = {2022},
  eprint = {2212.02623},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2212.02623}
}

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/2212.02623.svg)](https://codeofpaper.com/paper/2212.02623)

Discussion