LAPDoc: Layout-Aware Prompting for Documents
Not on the map. Why?
Abstract (arXiv)
Recent advances in training large language models (LLMs) using massive amounts of solely textual data lead to strong generalization across many domains and tasks, including document-specific tasks. Opposed to that there is a trend to train multi-modal transformer architectures tailored for document understanding that are designed specifically to fuse textual inputs with the corresponding document layout. This involves a separate fine-tuning step for which additional training data is required. At present, no document transformers with comparable generalization to LLMs are available That raises the question which type of model is to be preferred for document understanding tasks. In this paper we investigate the possibility to use purely text-based LLMs for document-specific tasks by using layout enrichment. We explore drop-in modifications and rule-based methods to enrich purely textual LLM prompts with layout information. In our experiments we investigate the effects on the commercial ChatGPT model and the open-source LLM Solar. We demonstrate that using our approach both LLMs show improved performance on various standard document benchmarks. In addition, we study the impact of noisy OCR and layout errors, as well as the limitations of LLMs when it comes to utilizing document layout. Our results indicate that layout enrichment can improve the performance of purely text-based LLMs for document understanding by up to 15% compared to just using plain document text. In conclusion, this approach should be considered for the best model choice between text-based LLM or multi-modal document transformers.
Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Builds on 27 of its 39 references that are in the map. First posted on arXiv 15 Feb 2024.
Builds on
27 of 39 references.
References · 27
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2023GPT-4 Technical Reportcited by 18,132
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2022Emergent Abilities of Large Language Modelscited by 2,483
- 2023Instruction Tuning for Large Language Models: A Surveycited by 617
- 2019LayoutLM: Pre-training of Text and Layout for Document Image Understandingcited by 549
- 2022LayoutLMv3: Pre-training for Document AI with Unified Text and Image Maskingcited by 481
- 2020LayoutLMv2: Multi-modal Pre-training for Visually-Rich Document Understandingcited by 406
- 2021OCR-free Document Understanding Transformercited by 400
- 2021ICDAR2019 Competition on Scanned Receipt OCR and Information Extractioncited by 254
- 2021DocFormer: End-to-End Transformer for Document Understandingcited by 254
15 more
- 2023SOLAR 10.7B: Scaling Large Language Models with Simple yet Effective Depth Up-Scalingcited by 172
- 2020DocBank: A Benchmark Dataset for Document Layout Analysiscited by 152
- 2022Unifying Vision, Text, and Layout for Universal Document Processingcited by 140
- 2021Going Full-TILT Boogie on Document Understanding with Text-Image-Layout Transformercited by 134
- 2023DocLLM: A layout-aware generative language model for multimodal document understandingcited by 112
- 2019TableBank: A Benchmark Dataset for Table Detection and Recognitioncited by 102
- 2021WebSRC: A Dataset for Web-Based Structural Reading Comprehensioncited by 98
- 2023KOSMOS-2.5: A Multimodal Literate Modelcited by 95
- 2021StrucTexT: Structured Text Understanding with Multi-Modal Transformerscited by 90
- 2023UniDoc: A Universal Large Multimodal Model for Simultaneous Text Detection, Recognition, Spotting and Understandingcited by 74
- 2022End-to-end Document Recognition and Understanding with Dessurtcited by 73
- 2021MarkupLM: Pre-training of Text and Markup Language for Visually-rich Document Understandingcited by 44
- 2023GeoLayoutLM: Geometric Pre-training for Visual Information Extractioncited by 40
- 2023Layout and Task Aware Instruction Prompt for Zero-shot Document Image Question Answeringcited by 24
- 2022GMN: Generative Multi-modal Network for Practical Document Information Extractioncited by 6
Built on by
Citing papers per year: 2024: 4; 2025: 5.
9 papers.
- 2024SV-RAG: LoRA-Contextualizing Adaptation of MLLMs for Long Document Understandingcited by 25
- 2024Deep Learning based Visually Rich Document Content Understanding: A Surveycited by 21
- 2025BoundingDocs: a Unified Dataset for Document Question Answering with Spatial Annotationscited by 8
- 2025A Survey on MLLM-based Visually Rich Document Understanding: Methods, Challenges, and Emerging Trendscited by 8
- 2024ProcTag: Process Tagging for Assessing the Efficacy of Document Instruction Datacited 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
- 2024Leveraging Distillation Techniques for Document Understanding: A Case Study with FLAN-T5cited by 2
- 2025UniAPO: Unified Multimodal Automated Prompt Optimizationcited by 1
- 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
- 2025UniAPO: Unified Multimodal Automated Prompt Optimization25 Aug 2025
- 2025A Survey on MLLM-based Visually Rich Document Understanding: Methods, Challenges, and Emerging Trends14 Jul 2025
- 2025BoundingDocs: a Unified Dataset for Document Question Answering with Spatial Annotations6 Jan 2025
- 2024SV-RAG: LoRA-Contextualizing Adaptation of MLLMs for Long Document Understanding2 Nov 2024
- 2024Leveraging Distillation Techniques for Document Understanding: A Case Study with FLAN-T517 Sep 2024
- 2024Deep Learning based Visually Rich Document Content Understanding: A Survey2 Aug 2024
- 2024ProcTag: Process Tagging for Assessing the Efficacy of Document Instruction Data17 Jul 2024