RankVicuna: Zero-Shot Listwise Document Reranking with Open-Source Large Language Models

Ronak Pradeep, Sahel Sharifymoghaddam, Jimmy Lin
9/26/2023
cs.IRcs.CL

Official code: castorini/rank_llm (660 stars, Apache-2.0, last commit 2026-04-24).

Abstract

Researchers have successfully applied large language models (LLMs) such as ChatGPT to reranking in an information retrieval context, but to date, such work has mostly been built on proprietary models hidden behind opaque API endpoints. This approach yields experimental results that are not reproducible and non-deterministic, threatening the veracity of outcomes that build on such shaky foundations. To address this significant shortcoming, we present RankVicuna, the first fully open-source LLM capable of performing high-quality listwise reranking in a zero-shot setting. Experimental results on the TREC 2019 and 2020 Deep Learning Tracks show that we can achieve effectiveness comparable to zero-shot reranking with GPT-3.5 with a much smaller 7B parameter model, although our effectiveness remains slightly behind reranking with GPT-4. We hope our work provides the foundation for future research on reranking with modern LLMs. All the code necessary to reproduce our results is available at https://github.com/castorini/rank_llm.

View on arXivView PDF

Code Implementations(1)

castorini/rank_llmOfficial100%
Apache-2.0

RankLLM is a Python toolkit for reproducible information retrieval research using rerankers, with a focus on listwise reranking.

660103HTML, ShellAug 7, 20236 months agoApache-2.0

Similar Papers

Cite this paper

@article{pradeep2023rankvicuna,
  title  = {RankVicuna: Zero-Shot Listwise Document Reranking with Open-Source Large Language Models},
  author = {Ronak Pradeep and Sahel Sharifymoghaddam and Jimmy Lin},
  year   = {2023},
  eprint = {2309.15088},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2309.15088v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2309.15088.svg)](https://codeofpaper.com/paper/2309.15088)

Discussion