Recommender Systems in the Era of Large Language Models (LLMs)

Wenqi Fan, Zihuai Zhao, Jiatong Li, Yunqing Liu, Xiaowei Mei, Yiqi Wang, Jiliang Tang, Qing Li · DOI

TL;DR

This survey provides a comprehensive overview of how Large Language Models (LLMs) are revolutionizing Recommender Systems (RecSys). It details how LLMs can be integrated through pre-training, fine-tuning, and prompting to overcome limitations of traditional RecSys, leading to more personalized, context-aware, and explainable recommendations.

What Problem Does This Paper Address?

Traditional recommender systems, even those enhanced with Deep Neural Networks (DNNs), struggle with effectively understanding and utilizing textual side information (like user reviews or item descriptions). They also face challenges in generalizing to new recommendation tasks and performing complex reasoning. The advent of powerful LLMs like ChatGPT, with their advanced language understanding, generation, generalization, and reasoning capabilities, presents a significant opportunity to address these limitations and push the boundaries of recommender systems. This paper aims to systematically review and organize the rapidly evolving research at the intersection of LLMs and RecSys.

Methods

The paper categorizes the integration of LLMs into recommender systems into three main paradigms:

  • Pre-training: This involves training LLMs on massive text corpora to acquire general language understanding. For RecSys, this can involve adapting pre-training tasks like Masked Language Modeling (MLM) or Next Token Prediction (NTP) to user behavior sequences (e.g., Masked Behavior Prediction, Next K Behavior Prediction). Models like PTUM, M6, and P5 are discussed as examples.
  • Fine-tuning: This adapts pre-trained LLMs to specific recommendation tasks using smaller, task-specific datasets. Two approaches are highlighted:
  • Full-model Fine-tuning: Updates all model weights, offering high performance but requiring significant computational resources.
  • Parameter-efficient Fine-tuning (PEFT): Updates only a small subset of parameters or adds trainable adapters, making it more efficient for large LLMs. Techniques like LoRA are mentioned.
  • Prompting: This paradigm leverages LLMs without extensive parameter updates, adapting them through carefully crafted prompts. Key methods include:
  • In-context Learning (ICL): LLMs learn from examples provided directly in the prompt (few-shot) or from task descriptions alone (zero-shot).
  • Prompt Tuning: Adds learnable prompt tokens to the LLM's input, optimizing these tokens with minimal LLM parameter updates.
  • Instruction Tuning: Fine-tunes LLMs on a collection of instruction-response pairs, enabling them to follow instructions for various tasks, enhancing zero-shot performance.

The paper also discusses two fundamental ways LLMs are used to represent users and items: ID-based Representation (using discrete IDs) and Textual Side Information-enhanced Representation (leveraging text like reviews).

Datasets

The paper discusses the use of various recommendation datasets for training and evaluation, including user-item interaction data, user profiles, and textual side information like item descriptions and user reviews. Specific datasets are not highlighted as novel contributions of this survey, but rather as the foundation upon which LLM-based RecSys are built and evaluated.

Key Insights and Ideas

  • LLMs as a Paradigm Shift: LLMs are not just incremental improvements; they represent a fundamental shift in how recommender systems can be built, moving towards more natural language-centric approaches.
  • Unified Frameworks: LLMs offer the potential for unified frameworks that can handle diverse recommendation tasks (rating prediction, top-K, conversational, explanation) with a single model, overcoming the task-specific limitations of traditional DNNs.
  • Reasoning Capabilities: LLMs' inherent reasoning abilities, particularly through techniques like Chain-of-Thought (CoT) prompting, can unlock complex recommendation scenarios like trip planning that require multi-step decision-making.
  • Efficiency vs. Performance Trade-offs: The survey clearly outlines the trade-offs between full-model fine-tuning (high performance, high cost) and parameter-efficient methods or prompting (lower cost, potentially comparable performance).
  • Beyond Recommendations: LLMs can also serve as data augmentation tools or even autonomous agents that simulate user behavior to improve RecSys.

Key Results

This paper is a survey, not an empirical study, so it doesn't present new quantitative results. Instead, it synthesizes findings from numerous existing works. The key "results" are the insights derived from this synthesis:

  • LLM-based RecSys demonstrate improved performance across various recommendation tasks compared to traditional methods, especially when leveraging textual side information.
  • Prompting techniques, particularly ICL and CoT, show significant promise in adapting LLMs to recommendation tasks with minimal or no parameter updates.
  • Parameter-efficient fine-tuning methods are crucial for making LLM adaptation feasible on current hardware.

Limitations and Future Work

The authors acknowledge several limitations and suggest future research directions:

  • Hallucination Mitigation: LLMs can generate plausible but incorrect information. Future work should focus on integrating factual knowledge graphs and improving output scrutiny.
  • Trustworthiness: Ensuring safety, robustness, non-discrimination, fairness, explainability, and privacy in LLM-based RecSys is critical.
  • Vertical Domain-Specific LLMs: Developing LLMs tailored to specific domains (e.g., finance, healthcare) can improve performance but requires specialized data and tuning.
  • User & Item Indexing: LLMs may struggle with very long texts; better indexing strategies are needed to effectively represent users and items.
  • Fine-tuning Efficiency: Reducing the computational cost of fine-tuning large LLMs remains a challenge, with adapter tuning and other PEFT methods being active research areas.
  • Data Augmentation: LLMs can be used to generate synthetic data, reducing reliance on expensive real-world data collection.

Summary updated

BibTeX
@article{fan2024recommender,
  author = {Wenqi Fan and Zihuai Zhao and Jiatong Li and Yunqing Liu and Xiaowei Mei and Yiqi Wang and Jiliang Tang and Qing Li},
  title = {{Recommender Systems in the Era of Large Language Models (LLMs)}},
  journal = {IEEE Trans. Knowl. Data Eng.},
  year = {2024},
  doi = {10.1109/tkde.2024.3392335},
}
Figure