mlsanityData to 7 Oct 2026

Layout and Task Aware Instruction Prompt for Zero-shot Document Image Question Answering

arXiv 2306.00526 ↗First posted 1 Jun 2023cs.CL cs.AI cs.CVcited by 24

Not on the map. Why?

Abstract (arXiv)

Layout-aware pre-trained models has achieved significant progress on document image question answering. They introduce extra learnable modules into existing language models to capture layout information within document images from text bounding box coordinates obtained by OCR tools. However, extra modules necessitate pre-training on extensive document images. This prevents these methods from directly utilizing off-the-shelf instruction-tuning language foundation models, which have recently shown promising potential in zero-shot learning. Instead, in this paper, we find that instruction-tuning language models like Claude and ChatGPT can understand layout by spaces and line breaks. Based on this observation, we propose the LAyout and Task aware Instruction Prompt (LATIN-Prompt), which consists of layout-aware document content and task-aware instruction. Specifically, the former uses appropriate spaces and line breaks to recover the layout information among text segments obtained by OCR tools, and the latter ensures that generated answers adhere to formatting requirements. Moreover, we propose the LAyout and Task aware Instruction Tuning (LATIN-Tuning) to improve the performance of small instruction-tuning models like Alpaca. Experimental results show that LATIN-Prompt enables zero-shot performance of Claude and ChatGPT to be comparable to the fine-tuning performance of SOTAs on document image question answering, and LATIN-Tuning enhances the zero-shot performance of Alpaca significantly. For example, LATIN-Prompt improves the performance of Claude and ChatGPT on DocVQA by 263% and 20% respectively. LATIN-Tuning improves the performance of Alpaca on DocVQA by 87.7%. Quantitative and qualitative analyses demonstrate the effectiveness of LATIN-Prompt and LATIN-Tuning. We provide the code in supplementary and will release it to facilitate future research.

Key facts. Cited by 24 papers in the map (data through 7 Oct 2026). Builds on 68 of its 83 references that are in the map. First posted on arXiv 1 Jun 2023.

Builds on

68 of 83 references.

References · 68

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2022Training language models to follow instructions with human feedbackcited by 15,712
  3. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  4. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  5. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  6. 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,747
  7. 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedbackcited by 3,634
  8. 2020Longformer: The Long-Document Transformercited by 3,362
  9. 2022Scaling Instruction-Finetuned Language Modelscited by 2,997
  10. 2022Constitutional AI: Harmlessness from AI Feedbackcited by 2,950
  11. 2023InstructBLIP: Towards General-purpose Vision-Language Models with Instruction Tuningcited by 2,855
  12. 2023MiniGPT-4: Enhancing Vision-Language Understanding with Advanced Large Language Modelscited by 2,689
38 more
  1. 2022Self-Instruct: Aligning Language Models with Self-Generated Instructionscited by 2,674
  2. 2020Big Bird: Transformers for Longer Sequencescited by 1,673
  3. 2021Multitask Prompted Training Enables Zero-Shot Task Generalizationcited by 1,462
  4. 2020DocVQA: A Dataset for VQA on Document Imagescited by 1,288
  5. 2022LaMDA: Language Models for Dialog Applicationscited by 1,218
  6. 2023WizardLM: Empowering large pre-trained language models to follow complex instructionscited by 1,116
  7. 2022Large Language Models Are Human-Level Prompt Engineerscited by 1,020
  8. 2022Super-NaturalInstructions: Generalization via Declarative Instructions on 1600+ NLP Taskscited by 858
  9. 2023The Flan Collection: Designing Data and Methods for Effective Instruction Tuningcited by 734
  10. 2021Cross-Task Generalization via Natural Language Crowdsourcing Instructionscited by 696
  11. 2023Instruction Tuning with GPT-4cited by 676
  12. 2019LayoutLM: Pre-training of Text and Layout for Document Image Understandingcited by 549
  13. 2015Compositional Semantic Parsing on Semi-Structured Tablescited by 509
  14. 2022LayoutLMv3: Pre-training for Document AI with Unified Text and Image Maskingcited by 481
  15. 2021InfographicVQAcited by 430
  16. 2020LayoutLMv2: Multi-modal Pre-training for Visually-Rich Document Understandingcited by 406
  17. 2021OCR-free Document Understanding Transformercited by 400
  18. 2022Unnatural Instructions: Tuning Language Models with (Almost) No Human Laborcited by 395
  19. 2022Pix2Struct: Screenshot Parsing as Pretraining for Visual Language Understandingcited by 360
  20. 2019Scene Text Visual Question Answeringcited by 327
  21. 2021DocFormer: End-to-End Transformer for Document Understandingcited by 254
  22. 2022OPT-IML: Scaling Language Model Instruction Meta Learning through the Lens of Generalizationcited by 235
  23. 2020UniLMv2: Pseudo-Masked Language Models for Unified Language Model Pre-Trainingcited by 204
  24. 2022Instruction Induction: From Few Examples to Natural Language Task Descriptionscited by 152
  25. 2021Going Full-TILT Boogie on Document Understanding with Text-Image-Layout Transformercited by 134
  26. 2021SelfDoc: Self-Supervised Document Representation Learningcited by 117
  27. 2022MultiInstruct: Improving Multi-Modal Zero-Shot Learning via Instruction Tuningcited by 109
  28. 2021BROS: A Pre-trained Language Model Focusing on Text and Layout for Better Key Information Extraction from Documentscited by 104
  29. 2021LayoutXLM: Multimodal Pre-training for Multilingual Visually-rich Document Understandingcited by 103
  30. 2022Hierarchical multimodal transformers for Multi-Page DocVQAcited by 102
  31. 2018Chargrid: Towards Understanding 2D Documentscited by 100
  32. 2017Learning to Extract Semantic Structure from Documents Using Multimodal Fully Convolutional Neural Networkcited by 92
  33. 2021StructuralLM: Structural Pre-training for Form Understandingcited by 91
  34. 2021StrucTexT: Structured Text Understanding with Multi-Modal Transformerscited by 90
  35. 2019Graph Convolution for Multimodal Information Extraction from Visually Rich Documentscited by 88
  36. 2020PICK: Processing Key Information Extraction from Documents using Improved Graph Learning-Convolutional Networkscited by 70
  37. 2022XYLayoutLM: Towards Layout-Aware Multimodal Networks For Visually-Rich Document Understandingcited by 68
  38. 2022ERNIE-Layout: Layout Knowledge Enhanced Pre-training for Visually-rich Document Understandingcited by 67

50 most cited of 68 All 68 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 1; 2024: 17; 2025: 4; 2026: 2.

24 papers.

Sort:

By area:

  1. 2024mPLUG-DocOwl 1.5: Unified Structure Learning for OCR-free Document Understandingcited by 220
  2. 2024DocVLM: Make Your VLM an Efficient Readercited by 27
  3. 2024SV-RAG: LoRA-Contextualizing Adaptation of MLLMs for Long Document Understandingcited by 25
  4. 2024DocLayLLM: An Efficient Multi-modal Extension of Large Language Models for Text-rich Document Understandingcited by 23
  5. 2024ConTextual: Evaluating Context-Sensitive Text-Rich Visual Reasoning in Large Multimodal Modelscited by 19
  6. 2023Privacy-Aware Document Visual Question Answeringcited by 17
  7. 2024LLaVA-Read: Enhancing Reading Ability of Multimodal Language Modelscited by 12
  8. 2024ANLS* -- A Universal Document Processing Metric for Generative Large Language Modelscited by 10
  9. 2024LAPDoc: Layout-Aware Prompting for Documentscited by 9
  10. 2024DLaVA: Document Language and Vision Assistant for Answer Localization with Enhanced Interpretability and Trustworthinesscited by 8
  11. 2025BoundingDocs: a Unified Dataset for Document Question Answering with Spatial Annotationscited by 8
  12. 2024Multimodal Structured Generation: CVPR's 2nd MMFM Challenge Technical Reportcited by 7
12 more
  1. 2024ProcTag: Process Tagging for Assessing the Efficacy of Document Instruction Datacited by 5
  2. 2024Large Language Models for Page Stream Segmentationcited by 5
  3. 2025Document Intelligence in the Era of Large Language Models: A Surveycited by 5
  4. 2025Towards Natural Language-Based Document Image Retrieval: New Dataset and Benchmarkcited by 5
  5. 2026Beyond Human Annotation: Recent Advances in Data Generation Methods for Document Intelligencecited by 4
  6. 2024Retrieval Augmented Structured Generation: Business Document Information Extraction As Tool Usecited by 3
  7. 2024DocKD: Knowledge Distillation from LLMs for Open-World Document Understanding Modelscited by 3
  8. 2024Leveraging Distillation Techniques for Document Understanding: A Case Study with FLAN-T5cited by 2
  9. 2024DistilDoc: Knowledge Distillation for Visually-Rich Document Applicationscited by 1
  10. 2025Doc-CoB: Enhancing Document Understanding with Visual Chain-of-Boxes Reasoningcited by 1
  11. 2024Information Extraction from Heterogeneous Documents without Ground Truth Labels using Synthetic Label Generation and Knowledge Distillationcited by 0
  12. 2026SP-DocReader: Difference-Aware Self-Play for Precise Document OCRcited by 0