NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

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, Éric Gaussier · DOI · OpenReview

TL;DR

This paper tackles the challenge of using powerful but computationally expensive BERT-like models for information retrieval on long documents. They propose a novel approach that first identifies and selects "key blocks" of text within a document using local pre-ranking, and then feeds these selected blocks to BERT for final relevance scoring. This method significantly improves retrieval performance while mitigating the computational burden of processing entire long documents.

What Problem Does This Paper Address?

Transformer-based models like BERT have revolutionized NLP and information retrieval (IR). However, their self-attention mechanism has a quadratic complexity with respect to input length, making them inefficient for processing long documents that can contain thousands of tokens. Existing solutions like truncating documents (losing information), segmenting into passages (complex and potentially missing context), or using sparse attention (risking missed information) have drawbacks. This paper addresses the need for an effective and efficient way to apply BERT-like models to long document IR by focusing on selecting only the most relevant parts of a document.

Methods

The core of the proposed method, termed "KeyBLD," involves a three-step process:

  1. Local Query-Block Pre-ranking: This is the novel contribution. Instead of processing the entire document, the system first identifies "key blocks" within the document. This is done by assigning a relevance score to each block based on its relationship with the query. This pre-ranking can be achieved using either traditional IR functions (like TF-IDF or BM25) or a learned scoring function.
  2. Joint Query-Block Representation Learning: The selected key blocks, along with the query, are then fed into a standard BERT model. This allows BERT to learn a joint representation that captures the interaction between the query and the most relevant parts of the document.
  3. Final Relevance Score Computation: The representations from the selected blocks are aggregated to form a final relevance score for the entire document.

The authors explore two main strategies for block selection:

  • Standard IR Functions: Using TF-IDF and BM25 to score blocks based on term matching.
  • Learned Function: Training a BERT model to learn semantic similarities for block selection, aiming to go beyond exact word matches and incorporate synonyms.

They also propose integrating this block selection mechanism into existing models like PARADE, a state-of-the-art passage-based IR model.

Datasets

The paper uses four standard IR datasets for their experiments:

  • MQ2007 and MQ2008: LETOR benchmark datasets for learning to rank.
  • GOV2: Documents from a crawl of .gov websites.
  • Robust04: News articles from various sources.

Additionally, they conduct experiments on the TREC 2019 Deep Learning Track collection to compare their approach with sparse attention models and IDCM.

Key Insights and Ideas

  • Relevance Signals are Distributed: Contrary to the intuition that relevance is concentrated at the beginning of documents, the analysis shows that relevant signals can appear at various positions, including the middle and end. This justifies exploring blocks beyond the initial segments.
  • Fuzzy Matching Enhances Block Selection: Using synonyms and related words (fuzzy matching) in block selection can significantly improve retrieval performance compared to relying solely on exact query word matches. This suggests that semantic understanding is crucial for effective block selection.
  • Block Selection Mitigates BERT's Limitations: By pre-selecting key blocks, the method effectively reduces the input size for BERT, allowing it to process long documents without losing crucial information or suffering from quadratic complexity issues.
  • Learning to Select Blocks is Powerful: The learned block selection approach (KeyB(vBERT)BinB) generally outperforms methods that rely on traditional IR functions for block selection, demonstrating the benefit of a model that learns to identify relevant blocks.
  • Efficiency Gains: While learned selection models are more computationally intensive, the TF-IDF and BM25-based selection methods offer a good balance between performance and efficiency, making them practical for real-world applications.

Key Results

  • Significant Performance Improvements: The proposed KeyB(vBERT) models consistently outperform baseline models (BM25, DeepRank) and standard BERT models (Vanilla BERT, CEDR-KNRM) across all datasets and metrics. For instance, on Robust04, KeyB(vBERT)BinB achieves a MAP score of 0.272, significantly outperforming Vanilla BERT (0.251) and CEDR-KNRM (0.244).
  • KeyBLD Enhances PARADE: Integrating the block selection mechanism into the PARADE model (KeyB(PARADE5)) also leads to improved performance and efficiency compared to the original PARADE model.
  • Learned Selection Outperforms: The learned block selection approach (KeyB(vBERT)BinB) generally achieves the best results, reaching near state-of-the-art performance on TREC DL 2019 (NDCG@10 of 0.707).
  • TF-IDF/BM25 Selection Offers Practicality: KeyB(vBERT)BM25 and KeyB(PARADE5)BM25 provide strong performance with significantly lower latency and memory usage compared to the learned selection models, making them suitable for resource-constrained environments.
  • Block Selection is Crucial: The comparison with the "Random Select" baseline clearly demonstrates that accurately selecting blocks is vital for achieving high retrieval performance.

Limitations and Future Work

  • Computational Cost of Learned Selection: The learned block selection models (e.g., KeyB(vBERT)BinB) are significantly slower than simpler models, which might limit their use in real-time applications.
  • Future Work: The authors suggest several avenues for future research:
  • Deploying the block selection approach on more complex models.
  • Investigating alternative negative sampling strategies.
  • Accelerating the selection process using learned models, potentially through a two-stage approach (fast filtering followed by complex model application).
  • Exploring other semantic similarity measures beyond synonyms.

Summary updated

BibTeX
@article{li2023power,
  author = {Minghan Li and Diana Nicoleta Popa and Johan Chagnon and Yagmur Gizem Cinar and Éric Gaussier},
  title = {{The Power of Selecting Key Blocks with Local Pre-ranking for Long Document Information Retrieval}},
  journal = {ACM Trans. Information Systems},
  year = {2023},
  doi = {10.1145/3568394},
}
Figure