Learning Passage Impacts for Inverted Indexes

Antonio Mallia, Omar Khattab, Torsten Suel, Nicola Tonellotto

Introduction

Modern search engines typically operate using a two-stage architecture. The first stage, the "retriever" (e.g., BM25), quickly identifies a set of candidate documents from a massive corpus. The second stage, the "re-ranker" (e.g., BERT), performs a more computationally intensive analysis to sort these candidates by relevance. However, this paradigm faces two major challenges: vocabulary mismatch, where traditional retrievers fail to find relevant documents that do not share exact keywords with the query, and the high computational cost of neural re-rankers, which often require GPUs and significant latency.

DeepImpact addresses these issues by creating a first-stage retriever that combines the effectiveness of neural models with the efficiency of classic keyword search.

The DeepImpact Framework

DeepImpact utilizes a three-step process to transform document retrieval into a high-performance, semantic-aware operation.

  1. Document Expansion: To mitigate vocabulary mismatch, the system uses DocT5Query to predict potential queries a document might answer. These predicted terms are "injected" into the document, expanding its searchable content.
  2. Impact Score Learning: Unlike traditional methods that rely on simple term frequency (TF), DeepImpact employs a BERT-based encoder to analyze document terms in context. A two-layer multilayer perceptron (MLP) then assigns a single "impact score" to each unique word. The model is trained to optimize the sum of these scores for relevant versus non-relevant passages.
  3. Quantization and Indexing: To maintain speed, floating-point impact scores are quantized into 8-bit integers and stored in a standard inverted index (e.g., Lucene or Elasticsearch).
The DeepImpact architecture illustrates the flow from document and expansion terms through a contextualized language model encoder to final impact scores.

At query time, the system simply aggregates the pre-calculated impact scores for terms present in the query, requiring no heavy neural processing during the search phase.

Experimental Evaluation

The model was trained and evaluated on industry-standard benchmarks: the MS MARCO passage ranking dataset and the TREC 2019 & 2020 Deep Learning Tracks. These datasets provide a rigorous testing ground for modern information retrieval systems.

Results and Analysis

DeepImpact demonstrates superior effectiveness compared to prior first-stage methods. As shown in the results table below, it consistently outperforms BM25, DeepCT, and DocT5Query across various metrics including NDCG@10, MRR@10, and MAP.

Comparative performance of DeepImpact against baseline strategies on MSMARCO and TREC benchmarks.

Key findings from the evaluation include:

  • Effectiveness: DeepImpact outperformed existing first-stage methods by up to 17% on the MS MARCO leaderboard.
  • Efficiency: When integrated into a re-ranking pipeline, DeepImpact achieved accuracy comparable to the state-of-the-art ColBERT model while being 4.4× to 5.1× faster.
  • Recall: The system showed significantly higher recall even at low cutoff values (e.g., top 10 or 20 results), indicating its strength in identifying relevant documents early.

Conclusion and Future Work

DeepImpact proves that complex vector databases are not always necessary for neural-level performance; a well-weighted traditional inverted index remains highly competitive. However, the authors noted a "MaxScore" bottleneck where DeepImpact's score distribution currently makes it slower than BM25 (58ms vs 13ms). Future research will focus on optimizing these score distributions for faster skipping of irrelevant documents and exploring more sophisticated document expansion techniques.

Summary updated

BibTeX
@inproceedings{mallia2021learning,
  author = {Antonio Mallia and Omar Khattab and Torsten Suel and Nicola Tonellotto},
  title = {{Learning Passage Impacts for Inverted Indexes}},
  booktitle = {International ACM SIGIR Conference on Research and Development in Information Retrieval},
  year = {2021},
  url = {https://openreview.net/forum?id=UGrI7Atfyhc},
}
Figure