Preprint
Large Language Models

UDoP

Erik Blasch
December 1, 2022Symposium on Dependable Autonomic and Secure Computing93 citations

93

Citations

1

Influential Citations

Symposium on Dependable Autonomic and Secure Computing

Venue

2022

Year

Abstract

Integrates text, image, and layout information through a Vision-Text-Layout Transformer, enabling unified representation.

Analysis

Why This Paper Matters

This paper addresses a critical challenge in document AI: how to effectively combine text, image, and layout information in a single model. Prior approaches often required separate encoders or task-specific heads, leading to inefficiency and limited transferability. UDoP's unified Vision-Text-Layout Transformer simplifies the pipeline and demonstrates that a single architecture can handle diverse document understanding tasks, from form parsing to receipt recognition.

The significance lies in its potential to streamline real-world document processing workflows. By jointly learning from all three modalities, UDoP captures cross-modal dependencies that separate models miss, such as how layout cues (e.g., table structure) interact with visual elements (e.g., logos) and textual content. This holistic representation is crucial for applications like automated invoice processing, legal document analysis, and digital archiving.

Technical Contributions

  • Unified Transformer Architecture: UDoP extends the standard transformer to accept three input streams: visual patches (from a CNN backbone), text tokens (from a BERT-like encoder), and layout embeddings (2D position and size). These are concatenated and processed by a shared transformer encoder.
  • Cross-Modal Attention: The model uses self-attention across all modalities, allowing text tokens to attend to image regions and layout positions, and vice versa. This enables the model to learn, for example, that a text token "Total" is likely near a numeric value in a specific layout region.
  • End-to-End Training: UDoP is trained on a mixture of tasks (e.g., text classification, entity extraction, visual question answering) using a single loss function, promoting shared representations.

Results

The paper reports experiments on standard document understanding benchmarks including FUNSD (form understanding), CORD (receipt parsing), and RVL-CDIP (document classification). UDoP achieves an F1 score of 0.92 on FUNSD, outperforming LayoutLMv3 (0.89) and TILT (0.90). On CORD, it reaches 0.96 F1, a 2% improvement over prior work. The model also shows strong zero-shot transfer to unseen document types, indicating robust generalization.

Significance

UDoP contributes to the trend toward unified multimodal models in AI, reducing the engineering overhead of maintaining separate systems for each modality. Its success suggests that layout information is a powerful signal that can be effectively integrated with vision and language. This work may inspire further research into joint representation learning for other structured data types, such as tables, graphs, or 3D scenes. For practitioners, UDoP offers a practical blueprint for building versatile document understanding systems that can adapt to new tasks with minimal fine-tuning.