Is ChatGPT Good at Search? Investigating Large Language Models as Re-Ranking Agent

By Weiwei Sun, Lingyong Yan, Xinyu Ma, Pengjie Ren, Shuaiqiang Wang, Dawei Yin, Zhumin Chen, Zhaochun Ren, Da-Wei Yin. 2023

576 citations recorded by the source corpus.

Large Language Models (LLMs) have demonstrated remarkable zero-shot generalization across various language-related tasks, including search engines. However, existing work utilizes the generative ability of LLMs for Information Retrieval (IR) rather than direct passage ranking. The discrepancy between the pre-training objectives of LLMs and the ranking objective poses another challenge. In this paper, we first investigate generative LLMs such as ChatGPT and GPT-4 for relevance ranking in IR. Surprisingly, our experiments reveal that properly instructed LLMs can deliver competitive, even superior results to state-of-the-art supervised methods on popular IR benchmarks. Furthermore, to address concerns about data contamination of LLMs, we collect a new test set called NovelEval, based on the latest knowledge and aiming to verify the model's ability to rank unknown knowledge. Finally, to improve efficiency in real-world applications, we delve into the potential for distilling the ranking capabilities of ChatGPT into small specialized models using a permutation distillation scheme. Our evaluation results turn out that a distilled 440M model outperforms a 3B supervised model on the BEIR benchmark. The code to reproduce our results is available at www.github.com/sunnweiwei/RankGPT.

Subfields: Artificial Intelligence, Information Systems, Information Retrieval & Search, Large Language Models

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Mohit Bansal
  2. Dacheng Tao
  3. Furu Wei
  4. Jianfeng Gao
  5. Percy Liang
  6. Jimmy J. Lin
  7. Sergey Levine
  8. Luke S. Zettlemoyer

In Information Systems

  1. Jimmy J. Lin
  2. Xueguang Ma
  3. Michael Bendersky
  4. Xuanhui Wang
  5. Kai Hui
  6. Jacob Andreas
  7. Donald Metzler
  8. Eric Wallace

In Information Retrieval & Search

  1. Jimmy J. Lin
  2. Xueguang Ma
  3. Kai Hui
  4. Furu Wei
  5. Donald Metzler
  6. Nan Yang
  7. Liang Wang
  8. Dawn Song

In Large Language Models

  1. Furu Wei
  2. Sergey Levine
  3. Charles Burton Snell
  4. Dawn Song
  5. Dacheng Tao
  6. Nan Yang
  7. Eric Wallace
  8. Jimmy J. Lin

Citations in the corpus