Skim-Attention: Learning to Focus via Document Layout
Not on the map. Why?
Abstract (arXiv)
Transformer-based pre-training techniques of text and layout have proven effective in a number of document understanding tasks. Despite this success, multimodal pre-training models suffer from very high computational and memory costs. Motivated by human reading strategies, this paper presents Skim-Attention, a new attention mechanism that takes advantage of the structure of the document and its layout. Skim-Attention only attends to the 2-dimensional position of the words in a document. Our experiments show that Skim-Attention obtains a lower perplexity than prior works, while being more computationally efficient. Skim-Attention can be further combined with long-range Transformers to efficiently process long documents. We also show how Skim-Attention can be used off-the-shelf as a mask for any Pre-trained Language Model, allowing to improve their performance while restricting attention. Finally, we show the emergence of a document structure representation in Skim-Attention.
Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). Builds on 14 of its 35 references that are in the map. First posted on arXiv 2 Sep 2021.
Builds on
14 of 35 references.
References · 14
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
- 2020Longformer: The Long-Document Transformercited by 3,413
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,850
- 2020Rethinking Attention with Performerscited by 1,601
- 2019LayoutLM: Pre-training of Text and Layout for Document Image Understandingcited by 553
- 2020LayoutLMv2: Multi-modal Pre-training for Visually-Rich Document Understandingcited by 408
- 2019PubLayNet: largest dataset ever for document layout analysiscited by 351
- 2015Evaluation of Deep Convolutional Nets for Document Image Classification and Retrievalcited by 213
- 2020DocBank: A Benchmark Dataset for Document Layout Analysiscited by 153
- 2018Chargrid: Towards Understanding 2D Documentscited by 100
- 2019BERTgrid: Contextualized Embedding for 2D Document Representation and Understandingcited by 63
Built on by
Citing papers per year: 2022: 1; 2023: 1; 2024: 3; 2025: 1; 2026: 1.
7 papers.
- 2024Modeling Layout Reading Order as Ordering Relations for Visually-rich Document Understandingcited by 12
- 2022Understanding Long Documents with Different Position-Aware Attentionscited by 7
- 2024Document Structure in Long Document Transformerscited by 6
- 2023On Evaluation of Document Classification using RVL-CDIPcited by 5
- 2025Document Intelligence in the Era of Large Language Models: A Surveycited by 5
- 2024Training LayoutLM from Scratch for Efficient Named-Entity Recognition in the Insurance Domaincited by 2
- 2026ROAP: A Reading-Order and Attention-Prior Pipeline for Optimizing Layout Transformers in Key Information Extractioncited by 0
- 2026ROAP: A Reading-Order and Attention-Prior Pipeline for Optimizing Layout Transformers in Key Information Extraction9 Jan 2026
- 2025Document Intelligence in the Era of Large Language Models: A Survey15 Oct 2025
- 2024Training LayoutLM from Scratch for Efficient Named-Entity Recognition in the Insurance Domain12 Dec 2024
- 2024Modeling Layout Reading Order as Ordering Relations for Visually-rich Document Understanding29 Sep 2024
- 2024Document Structure in Long Document Transformers31 Jan 2024
- 2023On Evaluation of Document Classification using RVL-CDIP21 Jun 2023
- 2022Understanding Long Documents with Different Position-Aware Attentions17 Aug 2022