ReFIT: Reranker Relevance Feedback during Inference

Revanth Gangi Reddy, Pradeep Dasigi, Md. Arafat Sultan, Arman Cohan, Avirup Sil, Heng Ji, Hannaneh HajishirziIEEE Data Eng. Bull 2024

Introduction

In modern Information Retrieval (IR), the "Retrieve-and-Rerank" (R&R) pipeline is the standard architecture for balancing efficiency and accuracy. This two-stage process typically employs a fast, lightweight bi-encoder to retrieve the top $K$ candidates from a massive corpus, followed by a computationally intensive cross-encoder to rerank those candidates.

However, this pipeline suffers from a fundamental bottleneck: the reranker is limited by the initial recall of the retriever. If the bi-encoder fails to include the relevant document in the top $K$ results, the cross-encoder never has the opportunity to evaluate it. Traditionally, addressing this required expensive retraining of the bi-encoder on new domains. ReFIT (Reranker Feedback at Inference Time) introduces a parameter-free alternative that allows the reranker to refine the retriever's query representation dynamically for every individual query.

Methodology

ReFIT improves retrieval recall at inference time by distilling the knowledge of a powerful cross-encoder into the query representation of a bi-encoder. The process consists of four distinct steps:

  1. Initial Retrieval: The bi-encoder retrieves the top $K$ (e.g., 100) candidates.
  2. Reranking: The cross-encoder scores these $K$ candidates, providing high-fidelity relevance signals.
  3. Inference-Time Distillation: ReFIT treats the cross-encoder's scores as "soft labels." It performs a few steps of gradient descent to update the query vector (and only the query vector) to minimize the KL-divergence between the bi-encoder's score distribution and the cross-encoder's distribution.
  4. Second Retrieval: A second search is performed using this refined query vector.
The ReFIT four-step inference process, illustrating how the query vector is updated based on cross-encoder feedback.

This approach is architecture-agnostic and parameter-free, as it does not modify the underlying model weights. Instead, it optimizes the query embedding to better align with the reranker's "wisdom" for that specific test instance.

Experimental Evaluation

The authors evaluated ReFIT across a diverse set of benchmarks, including the multi-domain BEIR benchmark, the multilingual Mr. TyDi, and the cross-lingual MKQA. The method was also tested on multi-modal tasks (MSRVTT) and standard passage retrieval (NQ).

Key Results

ReFIT consistently outperformed standard R&R and training-time distillation methods like RocketQAv2. On the BEIR benchmark, ReFIT achieved significant gains in Recall@100 across various domains. For instance, on Trec-COVID, recall improved from 43.8% to 51.5%.

Performance comparison on BEIR datasets. ReFIT consistently improves recall over standard reranking and distillation baselines.

In multilingual settings, ReFIT improved average Recall@100 on Mr. TyDi from 87.0% to 89.7%. On the MKQA dataset spanning 26 languages, it outperformed the nearest baseline by approximately 2 percentage points on average.

Efficiency and Latency

A critical advantage of ReFIT is its efficiency compared to "brute force" reranking. Instead of increasing the reranking pool size (e.g., $K=1000$), which is computationally expensive, ReFIT performs a quick vector update and a second fast retrieval. The distillation step adds approximately 30ms on a CPU. While total GPU latency increases by roughly 17.5%, the performance gains far exceed those achieved by simply increasing the reranker's pool size.

Discussion and Insights

A notable finding is that ReFIT can improve retrieval even when the initial top $K$ results contain no positive documents. In 24% of such cases, the reranker's ranking of "informative negatives" provided enough signal to steer the query vector toward the correct document in the second pass. This demonstrates ReFIT's robustness in out-of-distribution scenarios where the initial retriever might struggle.

Conclusion

ReFIT offers a powerful, lightweight mechanism for adapting retrievers at inference time. By leveraging the cross-encoder as a real-time coach, it overcomes the recall bottleneck of traditional R&R pipelines. Future work may explore integrating feedback from Large Language Models (LLMs) to further enhance query refinement.

Summary updated

BibTeX
@article{reddy2024refit,
  author = {Revanth Gangi Reddy and Pradeep Dasigi and Md. Arafat Sultan and Arman Cohan and Avirup Sil and Heng Ji and Hannaneh Hajishirzi},
  title = {{ReFIT: Reranker Relevance Feedback during Inference}},
  journal = {IEEE Data Eng. Bull.},
  year = {2024},
}
Figure