Skip to main content
QUICK REVIEW

[논문 리뷰] Large Language Models are Zero-Shot Rankers for Recommender Systems

Yupeng Hou, Junjie Zhang|arXiv (Cornell University)|2023. 05. 15.
Topic ModelingComputer Science인용 수 23
한 줄 요약

LLMs는 사용자 이력과 후보 아이템을 프롬프트로 제시할 때 제로샷 랭커로서 추천 시스템에 활용될 수 있으며, 강력한 제로샷 랭킹을 보여주지만 순서, 위치, 그리고 인기 편향이 나타날 수 있습니다. 이러한 편향은 프롬프팅과 부트스트래핑으로 완화될 수 있으며, 후보가 여러 생성기에서 도출될 때 성능이 좋습니다.

ABSTRACT

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.

연구 동기 및 목표

  • 조건으로 순차 이력을 사용하고 후보 아이템을 후보로 삼아 조건부 랭킹 태스크로 추천 프로세스를 형식적으로 모델링한다.
  • carefully designed prompting templates를 통해 LLMs를 제로샷 랭커로 평가한다.
  • 히스토리와 후보에 대한 프롬프팅 구성의 랭킹 성능에 미치는 영향을 체계적으로 연구한다.
  • LLM 기반 랭킹에서의 순서, 위치, 인기 편향을 식별하고 완화 전략을 제안한다.
  • 제로샷 LLM 랭커를 기존 모델 및 여러 후보 생성 전략에 대해 비교한다.

제안 방법

  • 역사적 상호작용을 조건으로, 검색된 후보를 자연어 프롬프트의 아이템으로 표현한다.
  • LLM이 랭킹을 이끌어내도록 지시 기반 프롬프팅(paradigm)으로 랭킹을 유도한다.
  • 세 가지 히스토리 프롬프팅 전략을 평가한다: 순차 프롬프팅, 최신성 중심 프롬프팅, 그리고 인-context 학습.
  • 랭크를 후보 세트에 맞추어 Grounding하기 위해 LLM 출력에 substrings 매칭으로 해석한다.
  • 후보 순서의 효과를 조사하고, 라운드마다 섞인 후보 순서를 사용해 부트스트래핑을 적용한다.
  • MovieLens-1M 및 Amazon Reviews의 Games 서브셋에서 NDCG@K를 사용한 실험을 수행하되, gpt-3.5-turbo와 temperature 0.2를 사용한다.
Figure 1: An overview of the proposed LLM-based zero-shot ranking method.
Figure 1: An overview of the proposed LLM-based zero-shot ranking method.

실험 결과

연구 질문

  • RQ1LLMs의 제로샷 랭킹 성능에 영향을 주는 요소는 무엇인가?
  • RQ2LLMs가 추천을 위해 의존하는 데이터나 지식은 무엇인가?
  • RQ3프롬프팅 전략과 후보 순서가 LLM 기반 랭킹 성능에 어떤 영향을 미치는가?
  • RQ4LLM 랭킹에서 발생하는 편향(순서, 위치, 인기)을 어떻게 완화할 수 있는가?

주요 결과

  • LLMs는 최근성을 강조하거나 인-context 시연을 통해 명시적으로 지시하지 않으면 역사적 상호작용의 순서를 인지하는 데 종종 어려움을 겪는다.
  • 최근성 중심 프롬프팅과 인-context 학습은 일반적으로 랭킹 성능을 향상시키며, 최적의 결과는 데이터셋에 따라 다르다.
  • LLMs는 랭킹에서 위치 편향과 인기 편향을 보이며, 부트스트래핑과 맞춤 프롬프트로 이러한 효과를 완화할 수 있다.
  • 제로샷 LLM 랭커는 특정 제로샷 벤치마크를 능가하거나, 후보 세트가 여러 생성 모델에서 올 때 경쟁력이 있다.
  • LLM 랭커의 성능은 모델 크기가 커질수록 향상되는 경향이 있으며, 그 동작은 아이템의 인기, 텍스트 특성, 사용자 이력의 혼합을 반영한다.
  • 실용 환경에서 여러 후보 생성기가 있을 때도 LLM은 강력한 제로샷 랭킹을 달성할 수 있으며, 때로 trained baselines에 비해 두 번째로 좋지만 구성에 따라 여전히 경쟁력이 있다.
Large Language Models are Zero-Shot Rankers for Recommender Systems

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.