Skip to main content
QUICK 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 Science被引用 3
一句话总结

本文提出 A-LLMRec,一种高效、与模型无关的基于大语言模型(LLM)的推荐系统,通过将预训练的协同过滤(CF)模型与大语言模型(LLMs)相结合,同时利用协同知识与丰富的文本理解能力。通过使 LLM 能够在不进行微调的情况下关注最先进的 CF-RecSys 输出的高质量用户和物品嵌入,A-LLMRec 在冷启动、暖启动、少样本及跨领域场景下均实现了卓越性能,优于传统 CF 模型和现有的基于 LLM 的推荐系统。

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 .

研究动机与目标

  • 解决基于 LLM 的推荐系统在用户-物品交互丰富的暖启动场景中与传统协同过滤模型相比存在的性能差距。
  • 使 LLM 能够在不需对 LLM 或 CF 模型进行大量微调的情况下,有效利用来自预训练 CF-RecSys 的协同知识。
  • 设计一种与模型无关的框架,可与任何现有的协同过滤推荐系统集成。
  • 证明 LLM 可基于从 CF-RecSys 学习到的协同知识生成有意义的自然语言输出,从而将应用从推荐扩展至生成任务。

提出的方法

  • A-LLMRec 通过将 CF 模型的用户和物品嵌入作为上下文,将预训练的协同过滤模型(如 SASRec)与大语言模型(LLM)进行集成。
  • 通过包含用户表征和物品嵌入的提示(prompt),引导 LLM 预测下一个物品,使其能够基于协同模式进行推理。
  • 该框架与模型无关,支持将主干 CF-RecSys 替换为任何现有模型(如 NCF、GRU4Rec、NextItNet),而无需修改架构。
  • LLM 和 CF-RecSys 均未进行微调;该方法依赖提示工程与嵌入对齐。
  • 通过利用 LLM 在协同嵌入上的推理能力,该框架同时支持推荐与下游自然语言生成任务。
  • 该方法在多个数据集(Beauty、Toys、Movies/Video Games)上,于冷启动、冷用户、少样本及跨领域等多种场景下进行了评估。
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

实验结果

研究问题

  • RQ1基于 LLM 的推荐系统是否能在用户-物品交互丰富的暖启动场景中超越传统协同过滤模型?
  • RQ2LLM 如何在不微调 LLM 或 CF 模型的前提下,有效利用来自预训练 CF-RecSys 的协同知识?
  • RQ3将 CF 嵌入集成后,对 LLM 基推荐系统在冷启动、暖启动及跨领域场景下的性能提升程度如何?
  • RQ4LLM 是否能基于从 CF-RecSys 学习到的协同知识,生成连贯且准确的自然语言输出(如类型预测)?
  • RQ5所提出的框架是否具备与模型无关性且足够高效,可部署于多种 CF-RecSys 架构中?

主要发现

  • 在 Beauty 数据集上,A-LLMRec 的 Hit@1 达到 0.6002,优于 TALLRec(0.5542)和原始 SASRec(0.5298),且训练时间显著减少(232.5 分钟 vs. 588.58 分钟)。
  • 在暖启动场景中,A-LLMRec 超过 MoRec 和 TALLRec,表明其能有效利用协同知识,而模态感知模型与纯 LLM 模型则表现不佳。
  • 与模型无关的设计使 A-LLMRec 在所有主干 CF-RecSys(SASRec、NextItNet、GRU4Rec、NCF)上均提升了性能,缩小了强弱 CF 模型之间的性能差距。
  • 在偏好类型预测任务中,A-LLMRec 基于协同知识生成了准确的类型预测,而 LLM-Only 模型失败,表明嵌入对齐可实现有意义的语言生成。
  • A-LLMRec 在冷启动、少样本及跨领域场景中实现了最先进性能,训练开销极低,且无需对 LLM 进行微调。
  • A-LLMRec 的推理时间仅为每批次 1.98 秒,显著快于 TALLRec 的 3.36 秒,证明了其高效性。
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.

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。