Skip to main content
QUICK REVIEW

[Paper Review] LLMRec: Benchmarking Large Language Models on Recommendation Task

Junling Liu, Chao Liu|arXiv (Cornell University)|Aug 23, 2023
Topic ModelingComputer Science6 citations
TL;DR

LLMRec introduces a benchmark framework to evaluate large language models (LLMs) on five recommendation tasks—rating prediction, sequential recommendation, direct recommendation, explanation generation, and review summarization—using prompts and supervised fine-tuning. Results show LLMs perform comparably to state-of-the-art models in explainability tasks but struggle with accuracy-based tasks like sequential and direct recommendation, highlighting the need for better fine-tuning and data diversity.

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.

Motivation & Objective

  • To investigate the potential of off-the-shelf and fine-tuned LLMs in solving diverse recommendation tasks.
  • To evaluate how well LLMs can generalize from pre-trained knowledge to recommendation scenarios without task-specific architecture.
  • To assess the effectiveness of prompt engineering and supervised fine-tuning in improving LLMs' instruction compliance and recommendation performance.
  • To compare LLMs against existing recommendation models across multiple metrics and qualitative criteria.
  • To provide a standardized benchmark for future research on LLM-based recommender systems.

Proposed method

  • The framework uses zero-shot prompting to adapt LLMs to five recommendation tasks: rating prediction, sequential recommendation, direct recommendation, explanation generation, and review summarization.
  • High-quality, task-specific prompts are designed to leverage the LLMs’ world and linguistic knowledge while ensuring instruction adherence.
  • Supervised fine-tuning is applied using P-tuning V2 to adapt LLMs to recommendation tasks with limited data and compute.
  • Experiments are conducted on the Amazon Beauty dataset, using both automatic metrics and qualitative analysis for evaluation.
  • Comparative analysis includes state-of-the-art models like P5, with ablation studies on fine-tuning parameters, training data size, and data diversity.
  • Qualitative evaluation focuses on summary quality and explanation coherence to assess semantic understanding and reasoning.

Experimental results

Research questions

  • RQ1Can off-the-shelf LLMs effectively perform recommendation tasks without task-specific fine-tuning?
  • RQ2How does supervised fine-tuning improve LLMs’ performance and instruction compliance in recommendation tasks?
  • RQ3How do LLMs compare to existing SOTA models in accuracy-based and explainability-based recommendation tasks?
  • RQ4What role do prompt design, training data diversity, and model parameters play in LLM performance on recommendation tasks?
  • RQ5To what extent can LLMs generate meaningful, coherent, and factually accurate explanations and summaries in recommendation contexts?

Key findings

  • LLMs such as ChatGPT and ChatGLM-6B show moderate performance on accuracy-based tasks like sequential and direct recommendation, indicating limited proficiency without further adaptation.
  • ChatGPT outperforms state-of-the-art methods in explanation generation and review summarization, producing clearer and more reasonable results than baselines.
  • ChatGLM-6B achieves higher automatic metric scores than ChatGPT across all tasks, suggesting better alignment with prompt instructions and improved personalization.
  • The performance gap between LLMs and SOTA models in accuracy-based tasks is attributed to fewer fine-tuning parameters and smaller training data compared to models like P5.
  • Data diversity and multi-task training significantly improve model generalization, as shown by P5’s superior performance due to 50× more training data and multi-prompt sampling.
  • Qualitative analysis confirms that models like ChatGPT and ChatGLM generate meaningful summaries that capture key review content, while LLaMA fails to summarize and instead duplicates input.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.