mlsanityData to 7 Oct 2026

Local Self-Attention over Long Text for Efficient Document Retrieval

arXiv 2005.04908 ↗First posted 11 May 2020cs.IRcited by 18

Not on the map. Why?

Abstract (arXiv)

Neural networks, particularly Transformer-based architectures, have achieved significant performance improvements on several retrieval benchmarks. When the items being retrieved are documents, the time and memory cost of employing Transformers over a full sequence of document terms can be prohibitive. A popular strategy involves considering only the first n terms of the document. This can, however, result in a biased system that under retrieves longer documents. In this work, we propose a local self-attention which considers a moving window over the document terms and for each term attends only to other terms in the same window. This local attention incurs a fraction of the compute and memory cost of attention over the whole document. The windowed approach also leads to more compact packing of padded documents in minibatches resulting in additional savings. We also employ a learned saturation function and a two-staged pooling strategy to identify relevant regions of the document. The Transformer-Kernel pooling model with these changes can efficiently elicit relevance information from documents with thousands of tokens. We benchmark our proposed modifications on the document ranking task from the TREC 2019 Deep Learning track and observe significant improvements in retrieval quality as well as increased retrieval of longer documents at moderate increase in compute and memory costs.

Key facts. Cited by 18 papers in the map (data through 7 Oct 2026). First posted on arXiv 11 May 2020.

Builds on

No reference list yet.

Built on by

Cited by year

Citing papers per year: 2021: 8; 2022: 5; 2023: 2; 2024: 2; 2025: 1.

18 papers.

Sort:

  1. 2023Large language models can accurately predict searcher preferencescited by 129
  2. 2021Do Long-Range Language Models Actually Use Long-Range Context?cited by 92
  3. 2021Relative Positional Encoding for Transformers with Linear Complexitycited by 36
  4. 2021Societal Biases in Retrieved Contents: Measurement Framework and Adversarial Mitigation for BERT Rankerscited by 34
  5. 2024Utilizing BERT for Information Retrieval: Survey, Applications, Resources, and Challengescited by 20
  6. 2022Trial2Vec: Zero-Shot Clinical Trial Document Similarity Search using Self-Supervisioncited by 18
  7. 2021Neural ranking models for document retrievalcited by 16
  8. 2021Convolutions and Self-Attention: Re-interpreting Relative Positions in Pre-trained Language Modelscited by 11
  9. 2021Intra-Document Cascading: Learning to Select Passages for Neural Document Rankingcited by 10
  10. 2022SeDR: Segment Representation Learning for Long Documents Dense Retrievalcited by 6
  11. 2023LADER: Log-Augmented DEnse Retrieval for Biomedical Literature Searchcited by 2
  12. 2021Improving Transformer-Kernel Ranking Model Using Conformer and Query Term Independencecited by 1
6 more
  1. 2021Query-driven Segment Selection for Ranking Long Documentscited by 1
  2. 2022Less is Less: When Are Snippets Insufficient for Human vs Machine Relevance Estimation?cited by 1
  3. 2022COOL, a Context Outlooker, and its Application to Question Answering and other Natural Language Processing Taskscited by 1
  4. 2022Are We There Yet? A Decision Framework for Replacing Term Based Retrieval with Dense Retrieval Systemscited by 1
  5. 2024QOG:Question and Options Generation based on Language Modelcited by 1
  6. 2025QDER: Query-Specific Document and Entity Representations for Multi-Vector Document Re-Rankingcited by 1