English

Efficient End-to-End Visual Document Understanding with Rationale Distillation

Computer Vision and Pattern Recognition 2024-04-03 v2 Computation and Language

Abstract

Understanding visually situated language requires interpreting complex layouts of textual and visual elements. Pre-processing tools, such as optical character recognition (OCR), can map document image inputs to textual tokens, then large language models (LLMs) can reason over text. However, such methods have high computational and engineering complexity. Can small pretrained image-to-text models accurately understand visual documents through similar recognition and reasoning steps instead? We propose Rationale Distillation (RD), which incorporates the outputs of OCR tools, LLMs, and larger multimodal models as intermediate "rationales", and trains a small student model to predict both rationales and answers. On three visual document understanding benchmarks representing infographics, scanned documents, and figures, our Pix2Struct (282M parameters) student model finetuned with RD outperforms the base model by 4-5% absolute accuracy with only 1% higher computational cost.

Keywords

Cite

@article{arxiv.2311.09612,
  title  = {Efficient End-to-End Visual Document Understanding with Rationale Distillation},
  author = {Wang Zhu and Alekh Agarwal and Mandar Joshi and Robin Jia and Jesse Thomason and Kristina Toutanova},
  journal= {arXiv preprint arXiv:2311.09612},
  year   = {2024}
}

Comments

Accepted by NAACL 2024

R2 v1 2026-06-28T13:23:00.366Z