Skip to main content
QUICK REVIEW

[Paper Review] Large Language Models meet Collaborative Filtering: An Efficient All-round LLM-based Recommender System

Sein Kim, Hongseok Kang|arXiv (Cornell University)|Apr 17, 2024
Topic ModelingComputer Science3 citations
TL;DR

This paper proposes A-LLMRec, an efficient, model-agnostic LLM-based recommender system that integrates pre-trained collaborative filtering (CF) models with large language models (LLMs) to leverage both collaborative knowledge and rich textual understanding. By enabling LLMs to attend to high-quality user and item embeddings from a state-of-the-art CF-RecSys without fine-tuning, A-LLMRec achieves superior performance across cold, warm, few-shot, and cross-domain scenarios, outperforming both traditional CF models and existing LLM-based recommenders.

ABSTRACT

Collaborative filtering recommender systems (CF-RecSys) have shown successive results in enhancing the user experience on social media and e-commerce platforms. However, as CF-RecSys struggles under cold scenarios with sparse user-item interactions, recent strategies have focused on leveraging modality information of user/items (e.g., text or images) based on pre-trained modality encoders and Large Language Models (LLMs). Despite their effectiveness under cold scenarios, we observe that they underperform simple traditional collaborative filtering models under warm scenarios due to the lack of collaborative knowledge. In this work, we propose an efficient All-round LLM-based Recommender system, called A-LLMRec, that excels not only in the cold scenario but also in the warm scenario. Our main idea is to enable an LLM to directly leverage the collaborative knowledge contained in a pre-trained state-of-the-art CF-RecSys so that the emergent ability of the LLM as well as the high-quality user/item embeddings that are already trained by the state-of-the-art CF-RecSys can be jointly exploited. This approach yields two advantages: (1) model-agnostic, allowing for integration with various existing CF-RecSys, and (2) efficiency, eliminating the extensive fine-tuning typically required for LLM-based recommenders. Our extensive experiments on various real-world datasets demonstrate the superiority of A-LLMRec in various scenarios, including cold/warm, few-shot, cold user, and cross-domain scenarios. Beyond the recommendation task, we also show the potential of A-LLMRec in generating natural language outputs based on the understanding of the collaborative knowledge by performing a favorite genre prediction task. Our code is available at https://github.com/ghdtjr/A-LLMRec .

Motivation & Objective

  • To address the performance gap of LLM-based recommenders in warm scenarios where collaborative filtering models traditionally excel.
  • To enable LLMs to effectively utilize collaborative knowledge from pre-trained CF-RecSys without requiring extensive fine-tuning.
  • To design a model-agnostic framework that can integrate with any existing collaborative filtering recommender system.
  • To demonstrate that LLMs can generate meaningful natural language outputs based on collaborative knowledge, extending beyond recommendation to generation tasks.

Proposed method

  • A-LLMRec integrates a pre-trained collaborative filtering model (e.g., SASRec) with a large language model (LLM) by using the CF model’s user and item embeddings as context for the LLM.
  • The LLM is prompted to predict next items using a prompt that includes the user representation and item embeddings, enabling it to reason over collaborative patterns.
  • The framework is model-agnostic, allowing replacement of the backbone CF-RecSys with any existing model (e.g., NCF, GRU4Rec, NextItNet) without architectural changes.
  • No fine-tuning is applied to either the LLM or the CF-RecSys; instead, the method relies on prompt engineering and embedding alignment.
  • The framework supports both recommendation and downstream natural language generation tasks by leveraging the LLM’s reasoning capabilities over collaborative embeddings.
  • The method is evaluated across multiple datasets (Beauty, Toys, Movies/Video Games) under diverse scenarios including cold items, cold users, few-shot, and cross-domain settings.
Figure 1. Comparisons between collaborative filtering model (SASRec), modality-aware model (i.e., MoRec), and LLM-based model (i.e., TALLRec) under the cold/warm 1 1 1 An item is categorized as ‘warm’ if it falls within the top 35% of interactions, and if it falls within the bottom 35%, it is classi
Figure 1. Comparisons between collaborative filtering model (SASRec), modality-aware model (i.e., MoRec), and LLM-based model (i.e., TALLRec) under the cold/warm 1 1 1 An item is categorized as ‘warm’ if it falls within the top 35% of interactions, and if it falls within the bottom 35%, it is classi

Experimental results

Research questions

  • RQ1Can an LLM-based recommender system outperform traditional collaborative filtering models in warm scenarios where user-item interactions are abundant?
  • RQ2How can LLMs effectively leverage collaborative knowledge from pre-trained CF-RecSys without requiring fine-tuning of the LLM or CF model?
  • RQ3To what extent does integrating CF embeddings improve LLM-based recommendation performance across cold, warm, and cross-domain scenarios?
  • RQ4Can the LLM generate coherent and accurate natural language outputs (e.g., genre predictions) based on collaborative knowledge learned from CF-RecSys?
  • RQ5Is the proposed framework model-agnostic and efficient enough to be deployed across diverse CF-RecSys architectures?

Key findings

  • A-LLMRec achieves a Hit@1 of 0.6002 on the Beauty dataset, outperforming TALLRec (0.5542) and vanilla SASRec (0.5298), even with significantly reduced training time (232.5 min vs. 588.58 min).
  • In the warm scenario, A-LLMRec surpasses both MoRec and TALLRec, demonstrating that it effectively leverages collaborative knowledge where modality-aware and LLM-only models underperform.
  • The model-agnostic design enables A-LLMRec to improve performance across all backbone CF-RecSys (SASRec, NextItNet, GRU4Rec, NCF), reducing performance gaps between strong and weak CF models.
  • On the favorite genre prediction task, A-LLMRec generates accurate genre predictions using collaborative knowledge, while LLM-Only fails, showing that embedding alignment enables meaningful language generation.
  • A-LLMRec achieves state-of-the-art performance in cold, few-shot, and cross-domain scenarios, with minimal training overhead and no need for LLM fine-tuning.
  • The inference time of A-LLMRec is only 1.98 seconds per batch, significantly faster than TALLRec (3.36 seconds), demonstrating its efficiency.
Figure 2. (a) is the overview of A-LLMRec . (b) and (c) are the detailed architecture of Stage 1 and Stage 2, respectively.
Figure 2. (a) is the overview of A-LLMRec . (b) and (c) are the detailed architecture of Stage 1 and Stage 2, respectively.

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.