[Paper Review] Rethink Training of BERT Rerankers in Multi-Stage Retrieval Pipeline
This paper proposes Localized Contrastive Estimation (LCE), a training method for BERT rerankers in multi-stage retrieval pipelines that improves performance by sampling negative examples from the top results of the target retriever and using a contrastive loss to prevent overfitting to confounding features. LCE significantly boosts MRR@100 across multiple retrievers, achieving state-of-the-art results on MSMARCO with a 40.5 MRR@100 on the leaderboard.
Pre-trained deep language models~(LM) have advanced the state-of-the-art of text retrieval. Rerankers fine-tuned from deep LM estimates candidate relevance based on rich contextualized matching signals. Meanwhile, deep LMs can also be leveraged to improve search index, building retrievers with better recall. One would expect a straightforward combination of both in a pipeline to have additive performance gain. In this paper, we discover otherwise and that popular reranker cannot fully exploit the improved retrieval result. We, therefore, propose a Localized Contrastive Estimation (LCE) for training rerankers and demonstrate it significantly improves deep two-stage models.
Motivation & Objective
- To investigate why standard BERT reranker training fails to fully exploit improved candidate lists from stronger first-stage retrievers.
- To address the issue of rerankers collapsing onto confounding features in hard negative examples from high-quality retrievers.
- To propose a training method that enhances reranker robustness and effectiveness in high-performance retrieval pipelines.
- To demonstrate that better training methodology can outperform more complex models when applied to the same BERT architecture.
Proposed method
- LCE samples negative documents exclusively from the top-m results of the target first-stage retriever (e.g., HDCT or BM25), localizing the negative distribution to match the actual candidate pool.
- It employs a contrastive loss function that computes normalized scores across a group of one positive and multiple negative document-query pairs, encouraging higher ranking for the positive.
- The loss function is defined as $\mathcal{L}_q = -\log \frac{\exp(dist(q,d^{+}_{q}))}{\sum_{d \in G_q} \exp(dist(q,d))}$, where $G_q$ includes one positive and multiple negatives from the target retriever’s top results.
- The method uses the same BERT model as the vanilla approach but replaces binary cross-entropy training with contrastive learning over localized negatives.
- The training data is re-sampled per query based on the target retriever’s output, ensuring alignment between training and inference conditions.
- The approach is compatible with model ensembling and does not incur additional inference or training overhead beyond standard fine-tuning.
Experimental results
Research questions
- RQ1Why does simply appending a BERT reranker to a stronger first-stage retriever fail to yield expected performance gains?
- RQ2How do confounding features in hard negatives from high-quality retrievers affect standard BERT reranker training?
- RQ3Can a contrastive loss with localized negatives improve reranker generalization and robustness in multi-stage retrieval?
- RQ4Does the choice of negative sampling strategy—especially localization to the target retriever’s output—affect reranker performance?
- RQ5Can better training methodology outperform model architecture improvements when using the same BERT model?
Key findings
- LCE significantly improves MRR@100 across all tested first-stage retrievers, with gains ranging from 2.6 to 3.5 points on the MSMARCO dev set.
- On the MSMARCO leaderboard, the HDCT + LCE ensemble model achieved 40.5 MRR@100, securing first place and setting a new state-of-the-art.
- The performance gain of LCE increases with the strength of the first-stage retriever, indicating it better handles complex, hard negatives from stronger retrievers.
- Localizing negative sampling to the target retriever’s top results is critical: performance drops sharply when negatives are drawn from weaker or unrelated retrievers.
- LCE-trained rerankers show improved robustness to distributional shift, generalizing better when the test retriever differs from the training retriever.
- The contrastive loss with multiple negatives prevents model collapse and enhances discrimination, especially in the presence of confounding features.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.