The Power of Selecting Key Blocks with Local Pre-ranking for Long Document Information Retrieval

Minghan Li, Diana Nicoleta Popa, Johan Chagnon, Yagmur Gizem Cinar, Eric Gaussier
11/18/2021
cs.IR
transformer-attention

Official code: lmh0921/keyB (1 star, Python, last commit 2026-09-07).

Abstract

On a wide range of natural language processing and information retrieval tasks, transformer-based models, particularly pre-trained language models like BERT, have demonstrated tremendous effectiveness. Due to the quadratic complexity of the self-attention mechanism, however, such models have difficulties processing long documents.

Show full abstract

Recent works dealing with this issue include truncating long documents, in which case one loses potential relevant information, segmenting them into several passages, which may lead to miss some information and high computational complexity when the number of passages is large, or modifying the self-attention mechanism to make it sparser as in sparse-attention models, at the risk again of missing some information. We follow here a slightly different approach in which one first selects key blocks of a long document by local query-block pre-ranking, and then few blocks are aggregated to form a short document that can be processed by a model such as BERT. Experiments conducted on standard Information Retrieval datasets demonstrate the effectiveness of the proposed approach.

View on arXivView PDF

Code Implementations(1)

lmh0921/keyBOfficial100%
10PythonDec 2, 20212 months ago

Similar Papers

Cite this paper

@article{li2021power,
  title  = {The Power of Selecting Key Blocks with Local Pre-ranking for Long Document Information Retrieval},
  author = {Minghan Li and Diana Nicoleta Popa and Johan Chagnon and Yagmur Gizem Cinar and Eric Gaussier},
  year   = {2021},
  eprint = {2111.09852},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2111.09852}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2111.09852.svg)](https://codeofpaper.com/paper/2111.09852)

Discussion