English

DocKD: Knowledge Distillation from LLMs for Open-World Document Understanding Models

Computer Vision and Pattern Recognition 2024-10-07 v1 Computation and Language

Abstract

Visual document understanding (VDU) is a challenging task that involves understanding documents across various modalities (text and image) and layouts (forms, tables, etc.). This study aims to enhance generalizability of small VDU models by distilling knowledge from LLMs. We identify that directly prompting LLMs often fails to generate informative and useful data. In response, we present a new framework (called DocKD) that enriches the data generation process by integrating external document knowledge. Specifically, we provide an LLM with various document elements like key-value pairs, layouts, and descriptions, to elicit open-ended answers. Our experiments show that DocKD produces high-quality document annotations and surpasses the direct knowledge distillation approach that does not leverage external document knowledge. Moreover, student VDU models trained with solely DocKD-generated data are not only comparable to those trained with human-annotated data on in-domain tasks but also significantly excel them on out-of-domain tasks.

Keywords

Cite

@article{arxiv.2410.03061,
  title  = {DocKD: Knowledge Distillation from LLMs for Open-World Document Understanding Models},
  author = {Sungnyun Kim and Haofu Liao and Srikar Appalaraju and Peng Tang and Zhuowen Tu and Ravi Kumar Satzoda and R. Manmatha and Vijay Mahadevan and Stefano Soatto},
  journal= {arXiv preprint arXiv:2410.03061},
  year   = {2024}
}

Comments

Accepted to EMNLP 2024

R2 v1 2026-06-28T19:07:57.428Z