Introduction
In the landscape of modern Information Retrieval (IR), the standard architecture has evolved into a two-stage pipeline. A high-efficiency first-stage retriever, such as BM25 or the more advanced SPLADE (Sparse Lexical and Expansion Model), identifies a candidate set of documents. Subsequently, a more computationally intensive second-stage reranker re-orders these candidates to maximize the relevance of the top results.
While Large Language Models (LLMs) like GPT-4 have recently gained prominence for their zero-shot reranking capabilities, their evaluation often relies on relatively weak first-stage retrievers. This study investigates whether the performance gains of LLMs persist when paired with a state-of-the-art retriever like SPLADE-v3, and how they compare against optimized, smaller cross-encoders like DeBERTa-v3.
Methodology
The research evaluates two primary categories of rerankers:
- Cross-Encoders: The study utilizes DeBERTa-v3 large and ELECTRA-large. These models are specifically trained to process a query and document pair simultaneously, producing a highly accurate relevance score.
- LLM-based Rerankers: Using the RankGPT framework, the researchers tested a variety of models including GPT-3.5, GPT-4, and open-source alternatives like Llama-70B and Yi-34B. These models employ a "listwise" approach, where the LLM is prompted to rank a set of document summaries directly.
To address the context window limitations of LLMs, a sliding window strategy was implemented, allowing the models to process large candidate sets in overlapping chunks.
In-Domain Performance and the "Smoothing Effect"
Evaluations on the TREC Deep Learning (DL) datasets (2019–2023) reveal a critical phenomenon termed the "smoothing effect." While different versions of the SPLADE retriever (e.g., v3 vs. DistilBERT) exhibit varying baseline performances, the application of a strong reranker significantly narrows this gap.
As shown in the TREC DL results, cross-encoders like DeBERTa-v3 consistently elevate performance across all retriever variants. Notably, the choice of the underlying retriever becomes less critical once a high-quality reranker is applied, as the reranker effectively compensates for the minor deficiencies in the initial candidate list.
Out-of-Domain Robustness
To test the generalizability of these models, the study utilized the BEIR and LoTTE benchmarks, which cover diverse tasks such as fact-checking and long-tail entity retrieval. DeBERTa-v3 emerged as the superior cross-encoder in these scenarios, demonstrating significant robustness as a "generalist" reranker compared to ELECTRA.
In these zero-shot settings, the performance of cross-encoders remains remarkably high. While GPT-4 was found to be a formidable competitor—often matching or slightly exceeding DeBERTa-v3—most other LLMs, including GPT-3.5 and various open-source models, struggled to outperform the optimized cross-encoders.
Efficiency vs. Effectiveness
A major finding of the study is the massive disparity in operational efficiency. While GPT-4 provides top-tier ranking quality, the cost and latency are prohibitive for many applications. Reranking 50 documents with an LLM can take nearly a minute on high-end hardware, whereas a cross-encoder achieves comparable results in milliseconds.
Furthermore, the study noted that smaller open-source LLMs are highly sensitive to prompt structure. While they fail when asked to rank 50 documents at once, their effectiveness improves significantly when the task is broken down into smaller windows (e.g., 10–15 documents).
Conclusion
The research concludes that while LLMs like GPT-4 are powerful zero-shot tools, traditional cross-encoders like DeBERTa-v3 remain the most practical choice for high-performance, production-grade IR systems. The best overall results were achieved through a "cascading" approach: using SPLADE for initial retrieval, DeBERTa-v3 for intermediate filtering, and GPT-4 for the final, high-precision ordering. This pipeline achieved a state-of-the-art 63.7 nDCG@10 on TREC DL23, suggesting that the future of reranking lies in the strategic combination of specialized encoders and general-purpose LLMs.
Summary updated