Researchers have successfully developed high-performing "listwise" document rerankers using open-source Large Language Models (LLMs), effectively breaking the field's reliance on proprietary GPT models. Their top-performing model outperforms GPT-3.5 by 13% and achieves 97% of the effectiveness of GPT-4, demonstrating that open-source models are powerful contenders in information retrieval when trained on high-quality ranking data.
The Challenge of GPT-Dependency
Modern search engines typically use "rerankers" as a second stage to re-order a small pool of candidate documents (e.g., the top 100) to ensure the most relevant results appear first. Listwise reranking, where an LLM evaluates an entire list of documents simultaneously to generate a new order, has become the state-of-the-art approach.
However, this success has largely depended on OpenAI’s GPT-3.5 and GPT-4, either for direct inference or as "teachers" to generate training data. This dependency created a bottleneck for scientific reproducibility and left open the question of whether listwise reranking was a general LLM capability or specific to GPT architectures.
Methodology: From Pointwise to Listwise
The researchers built a listwise reranker using purely open-source components, focusing on the Code-LLaMA-Instruct family (7B, 13B, and 34B). They utilized QLoRA (Quantized Low-Rank Adaptation) for efficient fine-tuning.
A critical finding was that standard "pointwise" training data—which uses binary "relevant/irrelevant" labels—is insufficient for listwise models. Because listwise models compare documents against each other, they require "silver" ranking data: multi-level orderings generated by other high-quality rerankers (like Cohere’s co.rerank).
To handle lists exceeding the model's context window, the team implemented a sliding window strategy to aggregate rankings across multiple passes.
Experimental Setup and Results
The models were trained on sampled queries from MS MARCO v1 and evaluated on standard benchmarks: TREC-DL-19 and TREC-DL-20. To ensure accuracy, the authors manually annotated previously unlabeled documents in the TREC datasets, providing a more robust evaluation of top-10 results.
The study revealed that performance scales linearly with both model size and the quality of training data. The 34B model achieved an nDCG@10 of 74.3 on TREC-DL-19, significantly outperforming GPT-3.5 (65.8) and nearly matching GPT-4 (75.7).
Key Insights
- Quality Over Quantity: Only 5,000 high-quality listwise training queries were needed to reach 97% effectiveness. This suggests that building human-annotated listwise datasets is a feasible goal for the community.
- The "Trapped" Document Phenomenon: Analysis of document movement identified a limitation of the sliding window approach. Some relevant documents get "trapped" in local blocks, failing to migrate to the top of the final list.
Limitations and Future Work
While the models excelled in-domain, their performance on the BEIR benchmark (out-of-domain) was less satisfactory, indicating challenges in generalizing to entirely new subjects without further adaptation. Additionally, like most LLM-based solutions, these rerankers face higher query latency compared to smaller models like BERT.
The success of these open-source models proves that the community can move away from GPT-dependency. Future work will likely focus on developing human-annotated listwise datasets and improving window aggregation algorithms to further unlock the potential of open-source LLMs in search.
Summary updated