Large Language Models are Zero-Shot Rankers for Recommender Systems

By Yupeng Hou, Junjie Zhang, Zihan Lin, Hongyu Lu, Ruobing Xie, Julian McAuley, Wayne Xin Zhao. European Conference on Information Retrieval, 2023

576 citations recorded by the source corpus.

Recently, large language models (LLMs) (e.g., GPT-4) have demonstrated impressive general-purpose task-solving abilities, including the potential to approach recommendation tasks. Along this line of research, this work aims to investigate the capacity of LLMs that act as the ranking model for recommender systems. We first formalize the recommendation problem as a conditional ranking task, considering sequential interaction histories as conditions and the items retrieved by other candidate generation models as candidates. To solve the ranking task by LLMs, we carefully design the prompting template and conduct extensive experiments on two widely-used datasets. We show that LLMs have promising zero-shot ranking abilities but (1) struggle to perceive the order of historical interactions, and (2) can be biased by popularity or item positions in the prompts. We demonstrate that these issues can be alleviated using specially designed prompting and bootstrapping strategies. Equipped with these insights, zero-shot LLMs can even challenge conventional recommendation models when ranking candidates are retrieved by multiple candidate generators. The code and processed datasets are available at https://github.com/RUCAIBox/LLMRank.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Information Systems

View Paper: https://www.semanticscholar.org/paper/f4e723958a93762befb4d4a039b44a7d752f9917

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. Wayne Xin Zhao
  2. Ji-rong Wen
  3. Yupeng Hou
  4. Hongyu Lu
  5. Michael Bendersky
  6. Bowen Zheng
  7. Yu Chen
  8. Kai Hui

In Computer Vision and Pattern Recognition

  1. Ji-rong Wen
  2. Wayne Xin Zhao
  3. Junru Wu
  4. Yupeng Hou
  5. Xuanhui Wang
  6. Donald Metzler
  7. Jingren Zhou
  8. Michael Bendersky

In Information Systems

  1. Wayne Xin Zhao
  2. Yupeng Hou
  3. Michael Bendersky
  4. Ji-rong Wen
  5. Hongyu Lu
  6. Xuanhui Wang
  7. Bowen Zheng
  8. Yu Chen

Citations in the corpus