mlsanityData to 7 Oct 2026

LAPDoc: Layout-Aware Prompting for Documents

arXiv 2402.09841 ↗First posted 15 Feb 2024cs.CL cs.CV cs.LGcited by 9

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2023GPT-4 Technical Reportcited by 18,132
  4. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  5. 2022Emergent Abilities of Large Language Modelscited by 2,483
  6. 2023Instruction Tuning for Large Language Models: A Surveycited by 617
  7. 2019LayoutLM: Pre-training of Text and Layout for Document Image Understandingcited by 549
  8. 2022LayoutLMv3: Pre-training for Document AI with Unified Text and Image Maskingcited by 481
  9. 2020LayoutLMv2: Multi-modal Pre-training for Visually-Rich Document Understandingcited by 406
  10. 2021OCR-free Document Understanding Transformercited by 400
  11. 2021ICDAR2019 Competition on Scanned Receipt OCR and Information Extractioncited by 254
  12. 2021DocFormer: End-to-End Transformer for Document Understandingcited by 254
15 more
  1. 2023SOLAR 10.7B: Scaling Large Language Models with Simple yet Effective Depth Up-Scalingcited by 172
  2. 2020DocBank: A Benchmark Dataset for Document Layout Analysiscited by 152
  3. 2022Unifying Vision, Text, and Layout for Universal Document Processingcited by 140
  4. 2021Going Full-TILT Boogie on Document Understanding with Text-Image-Layout Transformercited by 134
  5. 2023DocLLM: A layout-aware generative language model for multimodal document understandingcited by 112
  6. 2019TableBank: A Benchmark Dataset for Table Detection and Recognitioncited by 102
  7. 2021WebSRC: A Dataset for Web-Based Structural Reading Comprehensioncited by 98
  8. 2023KOSMOS-2.5: A Multimodal Literate Modelcited by 95
  9. 2021StrucTexT: Structured Text Understanding with Multi-Modal Transformerscited by 90
  10. 2023UniDoc: A Universal Large Multimodal Model for Simultaneous Text Detection, Recognition, Spotting and Understandingcited by 74
  11. 2022End-to-end Document Recognition and Understanding with Dessurtcited by 73
  12. 2021MarkupLM: Pre-training of Text and Markup Language for Visually-rich Document Understandingcited by 44
  13. 2023GeoLayoutLM: Geometric Pre-training for Visual Information Extractioncited by 40
  14. 2023Layout and Task Aware Instruction Prompt for Zero-shot Document Image Question Answeringcited by 24
  15. 2022GMN: Generative Multi-modal Network for Practical Document Information Extractioncited by 6

Built on by

Cited by year

Citing papers per year: 2024: 4; 2025: 5.

9 papers.