Skip to main content
QUICK REVIEW

[Paper Review] Evaluating ChatGPT as a Recommender System: A Rigorous Approach

Dario Di Palma, Giovanni Maria Biancofiore|arXiv (Cornell University)|Sep 7, 2023
Topic ModelingComputer Science7 citations
TL;DR

This study evaluates ChatGPT as a zero-shot recommender system across three datasets (MovieLens Small, Last.FM, Facebook Book), demonstrating its strong performance in accuracy and cold-start recommendations despite limitations in coverage and bias. It shows ChatGPT outperforms other LLMs and matches state-of-the-art RSs without fine-tuning, acting as a hybrid recommender by leveraging collaborative and content-based signals.

ABSTRACT

Large Language Models (LLMs) have recently shown impressive abilities in handling various natural language-related tasks. Among different LLMs, current studies have assessed ChatGPT's superior performance across manifold tasks, especially under the zero/few-shot prompting conditions. Given such successes, the Recommender Systems (RSs) research community have started investigating its potential applications within the recommendation scenario. However, although various methods have been proposed to integrate ChatGPT's capabilities into RSs, current research struggles to comprehensively evaluate such models while considering the peculiarities of generative models. Often, evaluations do not consider hallucinations, duplications, and out-of-the-closed domain recommendations and solely focus on accuracy metrics, neglecting the impact on beyond-accuracy facets. To bridge this gap, we propose a robust evaluation pipeline to assess ChatGPT's ability as an RS and post-process ChatGPT recommendations to account for these aspects. Through this pipeline, we investigate ChatGPT-3.5 and ChatGPT-4 performance in the recommendation task under the zero-shot condition employing the role-playing prompt. We analyze the model's functionality in three settings: the Top-N Recommendation, the cold-start recommendation, and the re-ranking of a list of recommendations, and in three domains: movies, music, and books. The experiments reveal that ChatGPT exhibits higher accuracy than the baselines on books domain. It also excels in re-ranking and cold-start scenarios while maintaining reasonable beyond-accuracy metrics. Furthermore, we measure the similarity between the ChatGPT recommendations and the other recommenders, providing insights about how ChatGPT could be categorized in the realm of recommender systems. The evaluation pipeline is publicly released for future research.

Motivation & Objective

  • To investigate ChatGPT’s capability as a zero-shot recommender system without fine-tuning or prompt engineering.
  • To compare ChatGPT’s performance against state-of-the-art recommendation algorithms and other LLMs (GPT-3.5, PaLM-2) on standard evaluation metrics.
  • To analyze ChatGPT’s behavior in key recommendation scenarios: cold start, reranking, and leveraging user profiles.
  • To assess bias, novelty, and coverage in recommendations across different domains (music, books, movies).
  • To understand how ChatGPT’s recommendation patterns align with existing recommendation paradigms such as collaborative or content-based filtering.

Proposed method

  • Conducted a comprehensive experimental evaluation using three real-world datasets: MovieLens Small, Last.FM, and Facebook Book.
  • Evaluated ChatGPT’s recommendations using standard metrics: MAP, Recall, Precision, F1, nDCG, Item Coverage, ACLT, ARP, EPC, and PopREO.
  • Compared ChatGPT against 8 baseline RSs: UserKNN, ItemKNN, EASE-R, VSM, RP³β, AttributeUserKNN, AttributeItemKNN, and Random.
  • Assessed ChatGPT’s performance in cold-start scenarios by recommending to users with no prior interaction history.
  • Explored ChatGPT’s ability to rerank existing recommendation lists using user profiles, testing both popular-item baselines and neighbor-based lists.
  • Analyzed the model’s behavior across domains to detect patterns in popularity bias, novelty, and alignment with hybrid recommendation strategies.

Experimental results

Research questions

  • RQ1Can ChatGPT serve as an effective zero-shot recommender system without fine-tuning or prompt engineering?
  • RQ2How does ChatGPT’s performance compare to state-of-the-art recommendation algorithms and other LLMs like GPT-3.5 and PaLM-2 across multiple evaluation metrics?
  • RQ3To what extent does ChatGPT exhibit popularity bias, and how does it affect recommendation diversity and coverage?
  • RQ4Can ChatGPT effectively rerank recommendations using user profiles, and how does it personalize suggestions in cold-start scenarios?
  • RQ5How do ChatGPT’s recommendation patterns align with established recommendation paradigms such as collaborative or content-based filtering?

Key findings

  • ChatGPT achieved competitive performance in accuracy metrics, with MAP scores of 0.47665 on Facebook Book and 0.45979 on MovieLens Small, outperforming GPT-3.5 and PaLM-2.
  • In cold-start scenarios, ChatGPT produced relevant recommendations and outperformed other state-of-the-art RSs, demonstrating strong generalization without user history.
  • ChatGPT exhibited high novelty, particularly in the books domain, with an ACLT of 0.26594 on Facebook Book, indicating strong long-tail item recommendations.
  • The model showed significant popularity bias, with ARP values of 0.61272 on Facebook Book and 0.47665 on MovieLens Small, indicating a tendency to recommend popular items.
  • ChatGPT’s recommendations aligned more closely with hybrid and collaborative filtering systems than with pure content-based approaches, suggesting it integrates multiple signal types.
  • Despite strong performance in accuracy and novelty, ChatGPT underperformed in coverage and diversity metrics, with Item Coverage of 1340 on Facebook Book and EPC of 0.18142, indicating limited exposure to less popular items.

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.