Boosted Dense Retriever

Patrick S. H. Lewis, Barlas Oguz, Wenhan Xiong, Fabio Petroni, Wen-tau Yih, Sebastian Riedel

Abstract: We propose DrBoost, a dense retrieval ensemble inspired by boosting. DrBoost is trained in stages: each component model is learned sequentially and specialized by focusing only on retrieval mistakes made by the current ensemble. The final representation is the concatenation of the output vectors of all the component models, making it a drop-in replacement for standard dense retrievers at test time. DrBoost enjoys several advantages compared to standard dense retrieval models. It produces representations which are 4x more compact, while delivering comparable retrieval results. It also performs surprisingly well under approximate search with coarse quantization, reducing latency and bandwidth needs by another 4x. In practice, this can make the difference between serving indices from disk versus from memory, paving the way for much cheaper deployments.

Introduction

Modern Information Retrieval (IR) has shifted towards dense retrievers like the Dense Passage Retriever (DPR), which encode documents and queries into high-dimensional vector spaces. While effective at capturing semantics, these models impose significant costs: massive index sizes requiring expensive RAM and high latency during search. Standard 768-dimensional vectors for a corpus like Wikipedia (21 million passages) are difficult to serve efficiently. To mitigate latency, engineers use Approximate Nearest Neighbor (ANN) search, but high-dimensional vectors often suffer from accuracy degradation under aggressive approximation.

Methods: The DrBoost Architecture

DrBoost addresses these challenges by applying the principle of boosting to dense retrieval. Instead of a single high-dimensional model, DrBoost is an ensemble of "weak learners" trained sequentially.

  1. Sequential Learning and Specialization: Each component (a 32-dimensional BERT bi-encoder) is trained to correct the mistakes of the preceding ensemble. This forces subsequent components to focus on fine-grained features that distinguish between documents the current model finds ambiguous.
  2. Concatenation as a Drop-in: The final document representation is a concatenation of the sub-vectors. Since the relevance score is a linear combination of inner products, DrBoost functions as a standard dense retriever at inference time.
  3. Query Distillation: To maintain efficiency, the ensemble of query encoders is distilled into a single BERT model that directly predicts the concatenated vector.

Evaluation and Results

DrBoost was evaluated on Natural Questions (NQ), MSMARCO, and the BEIR benchmark.

Performance and Compactness

DrBoost achieves superior performance with significantly fewer dimensions. On MSMARCO, a 160-dimensional DrBoost model reached 34.4 MRR@10, outperforming the standard 768-dimensional DPR baseline (32.8).

Main performance comparison of DrBoost against baselines on MSMARCO and Natural Questions.

A key advantage of DrBoost is its performance under ANN search using Inverted File Indexes (IVF). Boosting naturally increases the "training margin"—the score gap between relevant and irrelevant documents—making the embeddings easier to cluster and more robust to approximation errors.

Retrieval performance (NQ R@100 and MSMARCO MRR@10) as a function of the number of probes in approximate search.

As shown in the figures, DrBoost maintains high accuracy even with very few probes. In practical settings, DrBoost can achieve the same accuracy as DPR while being up to 64x faster (requiring only 16 probes vs. 1024 for DPR). Furthermore, when combined with Product Quantization (PQ), the index size for Wikipedia can be reduced to approximately 800MB, enabling deployment on low-resource hardware without sacrificing state-of-the-art accuracy.

Discussion and Limitations

While DrBoost excels in in-distribution tasks, its zero-shot generalization on the BEIR benchmark was mixed, showing performance comparable to standard models but not providing a significant "boost" in zero-shot settings. Additionally, sequential training increases wall-clock training time, although later rounds converge rapidly (roughly 3k steps compared to 20k for the initial round).

Conclusion

DrBoost demonstrates that boosting is a powerful paradigm for building compact, efficient, and ANN-friendly dense retrievers. By focusing on ensemble mistakes, it produces representations that are 4x more compact and significantly more robust to approximation, paving the way for more cost-effective large-scale search deployments.

Summary updated

BibTeX
@inproceedings{lewis2022boosted,
  author = {Patrick S. H. Lewis and Barlas Oguz and Wenhan Xiong and Fabio Petroni and Wen-tau Yih and Sebastian Riedel},
  title = {{Boosted Dense Retriever}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2022},
  doi = {10.18653/v1/2022.naacl-main.226},
}
Figure