Layout and Task Aware Instruction Prompt for Zero-shot Document Image Question Answering
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
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,747
- 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedbackcited by 3,634
- 2020Longformer: The Long-Document Transformercited by 3,362
- 2022Scaling Instruction-Finetuned Language Modelscited by 2,997
- 2022Constitutional AI: Harmlessness from AI Feedbackcited by 2,950
- 2023InstructBLIP: Towards General-purpose Vision-Language Models with Instruction Tuningcited by 2,855
- 2023MiniGPT-4: Enhancing Vision-Language Understanding with Advanced Large Language Modelscited by 2,689
38 more
- 2022Self-Instruct: Aligning Language Models with Self-Generated Instructionscited by 2,674
- 2020Big Bird: Transformers for Longer Sequencescited by 1,673
- 2021Multitask Prompted Training Enables Zero-Shot Task Generalizationcited by 1,462
- 2020DocVQA: A Dataset for VQA on Document Imagescited by 1,288
- 2022LaMDA: Language Models for Dialog Applicationscited by 1,218
- 2023WizardLM: Empowering large pre-trained language models to follow complex instructionscited by 1,116
- 2022Large Language Models Are Human-Level Prompt Engineerscited by 1,020
- 2022Super-NaturalInstructions: Generalization via Declarative Instructions on 1600+ NLP Taskscited by 858
- 2023The Flan Collection: Designing Data and Methods for Effective Instruction Tuningcited by 734
- 2021Cross-Task Generalization via Natural Language Crowdsourcing Instructionscited by 696
- 2023Instruction Tuning with GPT-4cited by 676
- 2019LayoutLM: Pre-training of Text and Layout for Document Image Understandingcited by 549
- 2015Compositional Semantic Parsing on Semi-Structured Tablescited by 509
- 2022LayoutLMv3: Pre-training for Document AI with Unified Text and Image Maskingcited by 481
- 2021InfographicVQAcited by 430
- 2020LayoutLMv2: Multi-modal Pre-training for Visually-Rich Document Understandingcited by 406
- 2021OCR-free Document Understanding Transformercited by 400
- 2022Unnatural Instructions: Tuning Language Models with (Almost) No Human Laborcited by 395
- 2022Pix2Struct: Screenshot Parsing as Pretraining for Visual Language Understandingcited by 360
- 2019Scene Text Visual Question Answeringcited by 327
- 2021DocFormer: End-to-End Transformer for Document Understandingcited by 254
- 2022OPT-IML: Scaling Language Model Instruction Meta Learning through the Lens of Generalizationcited by 235
- 2020UniLMv2: Pseudo-Masked Language Models for Unified Language Model Pre-Trainingcited by 204
- 2022Instruction Induction: From Few Examples to Natural Language Task Descriptionscited by 152
- 2021Going Full-TILT Boogie on Document Understanding with Text-Image-Layout Transformercited by 134
- 2021SelfDoc: Self-Supervised Document Representation Learningcited by 117
- 2022MultiInstruct: Improving Multi-Modal Zero-Shot Learning via Instruction Tuningcited by 109
- 2021BROS: A Pre-trained Language Model Focusing on Text and Layout for Better Key Information Extraction from Documentscited by 104
- 2021LayoutXLM: Multimodal Pre-training for Multilingual Visually-rich Document Understandingcited by 103
- 2022Hierarchical multimodal transformers for Multi-Page DocVQAcited by 102
- 2018Chargrid: Towards Understanding 2D Documentscited by 100
- 2017Learning to Extract Semantic Structure from Documents Using Multimodal Fully Convolutional Neural Networkcited by 92
- 2021StructuralLM: Structural Pre-training for Form Understandingcited by 91
- 2021StrucTexT: Structured Text Understanding with Multi-Modal Transformerscited by 90
- 2019Graph Convolution for Multimodal Information Extraction from Visually Rich Documentscited by 88
- 2020PICK: Processing Key Information Extraction from Documents using Improved Graph Learning-Convolutional Networkscited by 70
- 2022XYLayoutLM: Towards Layout-Aware Multimodal Networks For Visually-Rich Document Understandingcited by 68
- 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
Citing papers per year: 2023: 1; 2024: 17; 2025: 4; 2026: 2.
24 papers.
Sort:
By area:
- 2024mPLUG-DocOwl 1.5: Unified Structure Learning for OCR-free Document Understandingcited by 220
- 2024DocVLM: Make Your VLM an Efficient Readercited by 27
- 2024SV-RAG: LoRA-Contextualizing Adaptation of MLLMs for Long Document Understandingcited by 25
- 2024DocLayLLM: An Efficient Multi-modal Extension of Large Language Models for Text-rich Document Understandingcited by 23
- 2024ConTextual: Evaluating Context-Sensitive Text-Rich Visual Reasoning in Large Multimodal Modelscited by 19
- 2023Privacy-Aware Document Visual Question Answeringcited by 17
- 2024LLaVA-Read: Enhancing Reading Ability of Multimodal Language Modelscited by 12
- 2024ANLS* -- A Universal Document Processing Metric for Generative Large Language Modelscited by 10
- 2024LAPDoc: Layout-Aware Prompting for Documentscited by 9
- 2024DLaVA: Document Language and Vision Assistant for Answer Localization with Enhanced Interpretability and Trustworthinesscited by 8
- 2025BoundingDocs: a Unified Dataset for Document Question Answering with Spatial Annotationscited by 8
- 2024Multimodal Structured Generation: CVPR's 2nd MMFM Challenge Technical Reportcited by 7
12 more
- 2024ProcTag: Process Tagging for Assessing the Efficacy of Document Instruction Datacited by 5
- 2024Large Language Models for Page Stream Segmentationcited by 5
- 2025Document Intelligence in the Era of Large Language Models: A Surveycited by 5
- 2025Towards Natural Language-Based Document Image Retrieval: New Dataset and Benchmarkcited by 5
- 2026Beyond Human Annotation: Recent Advances in Data Generation Methods for Document Intelligencecited by 4
- 2024Retrieval Augmented Structured Generation: Business Document Information Extraction As Tool Usecited by 3
- 2024DocKD: Knowledge Distillation from LLMs for Open-World Document Understanding Modelscited by 3
- 2024Leveraging Distillation Techniques for Document Understanding: A Case Study with FLAN-T5cited by 2
- 2024DistilDoc: Knowledge Distillation for Visually-Rich Document Applicationscited by 1
- 2025Doc-CoB: Enhancing Document Understanding with Visual Chain-of-Boxes Reasoningcited by 1
- 2024Information Extraction from Heterogeneous Documents without Ground Truth Labels using Synthetic Label Generation and Knowledge Distillationcited by 0
- 2026SP-DocReader: Difference-Aware Self-Play for Precise Document OCRcited by 0
- 2026SP-DocReader: Difference-Aware Self-Play for Precise Document OCR8 Oct 2026
- 2026Beyond Human Annotation: Recent Advances in Data Generation Methods for Document Intelligence18 Jan 2026
- 2025Towards Natural Language-Based Document Image Retrieval: New Dataset and Benchmark23 Dec 2025
- 2025Document Intelligence in the Era of Large Language Models: A Survey15 Oct 2025
- 2025Doc-CoB: Enhancing Document Understanding with Visual Chain-of-Boxes Reasoning24 May 2025
- 2025BoundingDocs: a Unified Dataset for Document Question Answering with Spatial Annotations6 Jan 2025
- 2024DocVLM: Make Your VLM an Efficient Reader11 Dec 2024
- 2024DLaVA: Document Language and Vision Assistant for Answer Localization with Enhanced Interpretability and Trustworthiness29 Nov 2024
- 2024Information Extraction from Heterogeneous Documents without Ground Truth Labels using Synthetic Label Generation and Knowledge Distillation22 Nov 2024
- 2024SV-RAG: LoRA-Contextualizing Adaptation of MLLMs for Long Document Understanding2 Nov 2024
- 2024DocKD: Knowledge Distillation from LLMs for Open-World Document Understanding Models4 Oct 2024
- 2024Leveraging Distillation Techniques for Document Understanding: A Case Study with FLAN-T517 Sep 2024
12 more
- 2024DocLayLLM: An Efficient Multi-modal Extension of Large Language Models for Text-rich Document Understanding27 Aug 2024
- 2024Large Language Models for Page Stream Segmentation21 Aug 2024
- 2024LLaVA-Read: Enhancing Reading Ability of Multimodal Language Models27 Jul 2024
- 2024ProcTag: Process Tagging for Assessing the Efficacy of Document Instruction Data17 Jul 2024
- 2024Multimodal Structured Generation: CVPR's 2nd MMFM Challenge Technical Report17 Jun 2024
- 2024DistilDoc: Knowledge Distillation for Visually-Rich Document Applications12 Jun 2024
- 2024Retrieval Augmented Structured Generation: Business Document Information Extraction As Tool Use30 May 2024
- 2024mPLUG-DocOwl 1.5: Unified Structure Learning for OCR-free Document Understanding19 Mar 2024
- 2024LAPDoc: Layout-Aware Prompting for Documents15 Feb 2024
- 2024ANLS* -- A Universal Document Processing Metric for Generative Large Language Models6 Feb 2024
- 2024ConTextual: Evaluating Context-Sensitive Text-Rich Visual Reasoning in Large Multimodal Models24 Jan 2024
- 2023Privacy-Aware Document Visual Question Answering15 Dec 2023
- 2024DocVLM: Make Your VLM an Efficient Readercited by 27
- 2024SV-RAG: LoRA-Contextualizing Adaptation of MLLMs for Long Document Understandingcited by 25
- 2024LLaVA-Read: Enhancing Reading Ability of Multimodal Language Modelscited by 12
- 2024ProcTag: Process Tagging for Assessing the Efficacy of Document Instruction Datacited by 5
- 2024DocVLM: Make Your VLM an Efficient Reader11 Dec 2024
- 2024SV-RAG: LoRA-Contextualizing Adaptation of MLLMs for Long Document Understanding2 Nov 2024
- 2024LLaVA-Read: Enhancing Reading Ability of Multimodal Language Models27 Jul 2024
- 2024ProcTag: Process Tagging for Assessing the Efficacy of Document Instruction Data17 Jul 2024
- 2024ConTextual: Evaluating Context-Sensitive Text-Rich Visual Reasoning in Large Multimodal Modelscited by 19
- 2024DLaVA: Document Language and Vision Assistant for Answer Localization with Enhanced Interpretability and Trustworthinesscited by 8
- 2025Doc-CoB: Enhancing Document Understanding with Visual Chain-of-Boxes Reasoningcited by 1
- 2025Doc-CoB: Enhancing Document Understanding with Visual Chain-of-Boxes Reasoning24 May 2025
- 2024DLaVA: Document Language and Vision Assistant for Answer Localization with Enhanced Interpretability and Trustworthiness29 Nov 2024
- 2024ConTextual: Evaluating Context-Sensitive Text-Rich Visual Reasoning in Large Multimodal Models24 Jan 2024
- 2024mPLUG-DocOwl 1.5: Unified Structure Learning for OCR-free Document Understandingcited by 220
- 2024DocLayLLM: An Efficient Multi-modal Extension of Large Language Models for Text-rich Document Understandingcited by 23
- 2023Privacy-Aware Document Visual Question Answeringcited by 17
- 2024ANLS* -- A Universal Document Processing Metric for Generative Large Language Modelscited by 10
- 2024LAPDoc: Layout-Aware Prompting for Documentscited by 9
- 2025BoundingDocs: a Unified Dataset for Document Question Answering with Spatial Annotationscited by 8
- 2024Multimodal Structured Generation: CVPR's 2nd MMFM Challenge Technical Reportcited by 7
- 2024Large Language Models for Page Stream Segmentationcited by 5
- 2025Document Intelligence in the Era of Large Language Models: A Surveycited by 5
- 2025Towards Natural Language-Based Document Image Retrieval: New Dataset and Benchmarkcited by 5
- 2026Beyond Human Annotation: Recent Advances in Data Generation Methods for Document Intelligencecited by 4
- 2024DocKD: Knowledge Distillation from LLMs for Open-World Document Understanding Modelscited by 3
12 most cited of 16 All 16 (JSON)
- 2026SP-DocReader: Difference-Aware Self-Play for Precise Document OCR8 Oct 2026
- 2026Beyond Human Annotation: Recent Advances in Data Generation Methods for Document Intelligence18 Jan 2026
- 2025Towards Natural Language-Based Document Image Retrieval: New Dataset and Benchmark23 Dec 2025
- 2025Document Intelligence in the Era of Large Language Models: A Survey15 Oct 2025
- 2025BoundingDocs: a Unified Dataset for Document Question Answering with Spatial Annotations6 Jan 2025
- 2024Information Extraction from Heterogeneous Documents without Ground Truth Labels using Synthetic Label Generation and Knowledge Distillation22 Nov 2024
- 2024DocKD: Knowledge Distillation from LLMs for Open-World Document Understanding Models4 Oct 2024
- 2024Leveraging Distillation Techniques for Document Understanding: A Case Study with FLAN-T517 Sep 2024
- 2024DocLayLLM: An Efficient Multi-modal Extension of Large Language Models for Text-rich Document Understanding27 Aug 2024
- 2024Large Language Models for Page Stream Segmentation21 Aug 2024
- 2024Multimodal Structured Generation: CVPR's 2nd MMFM Challenge Technical Report17 Jun 2024
- 2024DistilDoc: Knowledge Distillation for Visually-Rich Document Applications12 Jun 2024
12 newest of 16 All 16 (JSON)