Local Self-Attention over Long Text for Efficient Document Retrieval
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
Citing papers per year: 2021: 8; 2022: 5; 2023: 2; 2024: 2; 2025: 1.
18 papers.
Sort:
- 2023Large language models can accurately predict searcher preferencescited by 129
- 2021Do Long-Range Language Models Actually Use Long-Range Context?cited by 92
- 2021Relative Positional Encoding for Transformers with Linear Complexitycited by 36
- 2021Societal Biases in Retrieved Contents: Measurement Framework and Adversarial Mitigation for BERT Rankerscited by 34
- 2024Utilizing BERT for Information Retrieval: Survey, Applications, Resources, and Challengescited by 20
- 2022Trial2Vec: Zero-Shot Clinical Trial Document Similarity Search using Self-Supervisioncited by 18
- 2021Neural ranking models for document retrievalcited by 16
- 2021Convolutions and Self-Attention: Re-interpreting Relative Positions in Pre-trained Language Modelscited by 11
- 2021Intra-Document Cascading: Learning to Select Passages for Neural Document Rankingcited by 10
- 2022SeDR: Segment Representation Learning for Long Documents Dense Retrievalcited by 6
- 2023LADER: Log-Augmented DEnse Retrieval for Biomedical Literature Searchcited by 2
- 2021Improving Transformer-Kernel Ranking Model Using Conformer and Query Term Independencecited by 1
6 more
- 2021Query-driven Segment Selection for Ranking Long Documentscited by 1
- 2022Less is Less: When Are Snippets Insufficient for Human vs Machine Relevance Estimation?cited by 1
- 2022COOL, a Context Outlooker, and its Application to Question Answering and other Natural Language Processing Taskscited by 1
- 2022Are We There Yet? A Decision Framework for Replacing Term Based Retrieval with Dense Retrieval Systemscited by 1
- 2024QOG:Question and Options Generation based on Language Modelcited by 1
- 2025QDER: Query-Specific Document and Entity Representations for Multi-Vector Document Re-Rankingcited by 1
- 2025QDER: Query-Specific Document and Entity Representations for Multi-Vector Document Re-Ranking13 Oct 2025
- 2024QOG:Question and Options Generation based on Language Model18 Jun 2024
- 2024Utilizing BERT for Information Retrieval: Survey, Applications, Resources, and Challenges18 Feb 2024
- 2023Large language models can accurately predict searcher preferences19 Sep 2023
- 2023LADER: Log-Augmented DEnse Retrieval for Biomedical Literature Search10 Apr 2023
- 2022SeDR: Segment Representation Learning for Long Documents Dense Retrieval20 Nov 2022
- 2022Trial2Vec: Zero-Shot Clinical Trial Document Similarity Search using Self-Supervision29 Jun 2022
- 2022Are We There Yet? A Decision Framework for Replacing Term Based Retrieval with Dense Retrieval Systems26 Jun 2022
- 2022COOL, a Context Outlooker, and its Application to Question Answering and other Natural Language Processing Tasks1 Apr 2022
- 2022Less is Less: When Are Snippets Insufficient for Human vs Machine Relevance Estimation?21 Jan 2022
- 2021Do Long-Range Language Models Actually Use Long-Range Context?19 Sep 2021
- 2021Query-driven Segment Selection for Ranking Long Documents10 Sep 2021
6 more
- 2021Convolutions and Self-Attention: Re-interpreting Relative Positions in Pre-trained Language Models10 Jun 2021
- 2021Intra-Document Cascading: Learning to Select Passages for Neural Document Ranking20 May 2021
- 2021Relative Positional Encoding for Transformers with Linear Complexity18 May 2021
- 2021Societal Biases in Retrieved Contents: Measurement Framework and Adversarial Mitigation for BERT Rankers28 Apr 2021
- 2021Improving Transformer-Kernel Ranking Model Using Conformer and Query Term Independence19 Apr 2021
- 2021Neural ranking models for document retrieval23 Feb 2021
- 2023Large language models can accurately predict searcher preferencescited by 129
- 2021Do Long-Range Language Models Actually Use Long-Range Context?cited by 92
- 2021Relative Positional Encoding for Transformers with Linear Complexitycited by 36
- 2021Societal Biases in Retrieved Contents: Measurement Framework and Adversarial Mitigation for BERT Rankerscited by 34
- 2024Utilizing BERT for Information Retrieval: Survey, Applications, Resources, and Challengescited by 20
- 2022Trial2Vec: Zero-Shot Clinical Trial Document Similarity Search using Self-Supervisioncited by 18
- 2021Neural ranking models for document retrievalcited by 16
- 2021Convolutions and Self-Attention: Re-interpreting Relative Positions in Pre-trained Language Modelscited by 11
- 2021Intra-Document Cascading: Learning to Select Passages for Neural Document Rankingcited by 10
- 2022SeDR: Segment Representation Learning for Long Documents Dense Retrievalcited by 6
- 2023LADER: Log-Augmented DEnse Retrieval for Biomedical Literature Searchcited by 2
- 2021Improving Transformer-Kernel Ranking Model Using Conformer and Query Term Independencecited by 1
12 most cited of 18 All 18 (JSON)
- 2025QDER: Query-Specific Document and Entity Representations for Multi-Vector Document Re-Ranking13 Oct 2025
- 2024QOG:Question and Options Generation based on Language Model18 Jun 2024
- 2024Utilizing BERT for Information Retrieval: Survey, Applications, Resources, and Challenges18 Feb 2024
- 2023Large language models can accurately predict searcher preferences19 Sep 2023
- 2023LADER: Log-Augmented DEnse Retrieval for Biomedical Literature Search10 Apr 2023
- 2022SeDR: Segment Representation Learning for Long Documents Dense Retrieval20 Nov 2022
- 2022Trial2Vec: Zero-Shot Clinical Trial Document Similarity Search using Self-Supervision29 Jun 2022
- 2022Are We There Yet? A Decision Framework for Replacing Term Based Retrieval with Dense Retrieval Systems26 Jun 2022
- 2022COOL, a Context Outlooker, and its Application to Question Answering and other Natural Language Processing Tasks1 Apr 2022
- 2022Less is Less: When Are Snippets Insufficient for Human vs Machine Relevance Estimation?21 Jan 2022
- 2021Do Long-Range Language Models Actually Use Long-Range Context?19 Sep 2021
- 2021Query-driven Segment Selection for Ranking Long Documents10 Sep 2021
12 newest of 18 All 18 (JSON)