LLMRec: Benchmarking Large Language Models on Recommendation Task

Junling Liu, Chao Liu, Peilin Zhou, Qichen Ye, Dading Chong +6 more
8/23/2023
cs.IRcs.AI

Official code: williamliujl/LLMRec (63 stars, Apache-2.0, last commit 2023-08-19).

Abstract

Recently, the fast development of Large Language Models (LLMs) such as ChatGPT has significantly advanced NLP tasks by enhancing the capabilities of conversational models. However, the application of LLMs in the recommendation domain has not been thoroughly investigated. To bridge this gap, we propose LLMRec, a LLM-based recommender system designed for benchmarking LLMs on various recommendation tasks. Specifically, we benchmark several popular off-the-shelf LLMs, such as ChatGPT, LLaMA, ChatGLM, on five recommendation tasks, including rating prediction, sequential recommendation, direct recommendation, explanation generation, and review summarization. Furthermore, we investigate the effectiveness of supervised finetuning to improve LLMs' instruction compliance ability. The benchmark results indicate that LLMs displayed only moderate proficiency in accuracy-based tasks such as sequential and direct recommendation. However, they demonstrated comparable performance to state-of-the-art methods in explainability-based tasks. We also conduct qualitative evaluations to further evaluate the quality of contents generated by different models, and the results show that LLMs can truly understand the provided information and generate clearer and more reasonable results. We aspire that this benchmark will serve as an inspiration for researchers to delve deeper into the potential of LLMs in enhancing recommendation performance. Our codes, processed data and benchmark results are available at https://github.com/williamliujl/LLMRec.

View on arXivView PDF

Code Implementations(1)

Apache-2.0
634Shell, PythonJun 6, 20233 years agoApache-2.0

Similar Papers

Cite this paper

@article{liu2023llmrec,
  title  = {LLMRec: Benchmarking Large Language Models on Recommendation Task},
  author = {Junling Liu and Chao Liu and Peilin Zhou and Qichen Ye and Dading Chong and Kang Zhou and Yueqi Xie and Yuwei Cao and Shoujin Wang and Chenyu You and Philip S. Yu},
  year   = {2023},
  eprint = {2308.12241},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2308.12241v1}
}

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/2308.12241.svg)](https://codeofpaper.com/paper/2308.12241)

Discussion