Skip to main content
QUICK REVIEW

[Paper Review] Donut: Document Understanding Transformer without OCR

Geewook Kim, Teakgyu Hong|arXiv (Cornell University)|Nov 30, 2021
Handwritten Text Recognition TechniquesComputer Science55 references15 citations
TL;DR

This paper proposes Donut, a vision-language transformer for document understanding that bypasses OCR entirely, using a synthetic document image generator for pre-training. The end-to-end model achieves state-of-the-art performance on public and industrial benchmarks, eliminating OCR-related computational costs and error propagation.

ABSTRACT

Understanding document images (e.g., invoices) has been an important research topic and has many applications in document processing automation. Through the latest advances in deep learning-based Optical Character Recognition (OCR), current Visual Document Understanding (VDU) systems have come to be designed based on OCR. Although such OCR-based approach promise reasonable performance, they suffer from critical problems induced by the OCR, e.g., (1) expensive computational costs and (2) performance degradation due to the OCR error propagation. In this paper, we propose a novel VDU model that is end-to-end trainable without underpinning OCR framework. To this end, we propose a new task and a synthetic document image generator to pre-train the model to mitigate the dependencies on large-scale real document images. Our approach achieves state-of-the-art performance on various document understanding tasks in public benchmark datasets and private industrial service datasets. Through extensive experiments and analysis, we demonstrate the effectiveness of the proposed model especially with consideration for a real-world application.

Motivation & Objective

  • Address the high computational cost and error propagation inherent in OCR-based Visual Document Understanding (VDU) systems.
  • Reduce dependency on large-scale real document datasets by introducing a synthetic document image generator for pre-training.
  • Develop an end-to-end trainable VDU model that operates directly on document images without OCR pipelines.
  • Achieve state-of-the-art performance on both public benchmarks and private industrial datasets.
  • Demonstrate practical effectiveness in real-world document processing applications.

Proposed method

  • Propose a novel document image-to-text generation task for pre-training, enabling the model to learn document structure and semantics without OCR.
  • Design a synthetic document image generator to produce diverse, realistic training data for pre-training the vision-language model.
  • Train a vision-language transformer end-to-end on synthetic and real document images, directly mapping images to structured text outputs.
  • Leverage self-supervised pre-training on synthetic data to reduce reliance on expensive real-world annotated document datasets.
  • Use a transformer-based architecture that jointly encodes visual features and generates corresponding text tokens in an autoregressive manner.
  • Fine-tune the model on downstream document understanding tasks using limited real-world labeled data.

Experimental results

Research questions

  • RQ1Can a vision-language transformer achieve high performance in document understanding without relying on OCR?
  • RQ2How effective is synthetic data generation in pre-training a document understanding model for real-world deployment?
  • RQ3Does eliminating OCR reduce computational cost and error propagation in document understanding systems?
  • RQ4How does the proposed model compare to OCR-based baselines on both public and private benchmarks?
  • RQ5To what extent does the model generalize to real-world industrial document processing scenarios?

Key findings

  • Donut achieves state-of-the-art performance on multiple public document understanding benchmarks without using OCR.
  • The model significantly reduces computational cost by eliminating the OCR pipeline, which is a major bottleneck in traditional VDU systems.
  • Error propagation from OCR is completely avoided, leading to more robust predictions in low-quality or complex document images.
  • The synthetic data pre-training strategy enables strong performance even with limited real-world labeled data.
  • The model demonstrates strong generalization to private industrial datasets, confirming its practical applicability.
  • Extensive ablation studies confirm the effectiveness of the synthetic data generation and end-to-end training paradigm.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.