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)|2024. 04. 17.
Topic ModelingComputer Science인용 수 3
한 줄 요약

이 논문은 사전 훈련된 공동 필터링(CF) 모델과 대규모 언어 모델(LLM)을 통합하여 협업 지식과 풍부한 텍스트 이해 능력을 모두 활용하는 효율적이고 모델에 종속되지 않는 LLM 기반 추천 시스템인 A-LLMRec을 제안한다. 미세조정 없이 최신 CF-RecSys에서 유저와 아이템의 고품질 임베딩을 LLM이 주의(attention)할 수 있도록 함으로써, 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은 사전 훈련된 공동 필터링 모델(예: SASRec)의 사용자 및 아이템 임베딩을 LLM의 맥락으로 사용하여 LLM과 통합한다.
  • LLM은 사용자 표현과 아이템 임베딩을 포함한 프롬프트를 통해 다음 아이템을 예측하도록 유도되며, 이로써 협업 패턴을 추론할 수 있도록 한다.
  • 프레임워크는 모델에 종속되지 않아, 아키텍처 변경 없이도 백본 CF-RecSys를 NCF, GRU4Rec, NextItNet 등 기존의 어떤 모델로도 교체할 수 있다.
  • LLM이나 CF-RecSys에 대한 미세조정을 적용하지 않으며, 대신 프롬프트 엔지니어링과 임베딩 정렬에 의존한다.
  • LLM의 추론 능력을 활용하여 추천 작업뿐만 아니라 후속 자연어 생성 작업도 지원한다.
  • 다양한 데이터셋(Behaty, 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

실험 결과

연구 질문

  • RQ1LLM 기반 추천 시스템은 상호작용이 풍부한 온도 시나리오에서 기존의 협업 필터링 모델을 능가할 수 있는가?
  • RQ2LLM은 LLM이나 CF 모델의 미세조정 없이도 사전 훈련된 CF-RecSys의 협업 지식을 효과적으로 활용할 수 있는가?
  • RQ3CF 임베딩 통합이 냉각, 온도, 크로스 도메인 시나리오 전반에서 LLM 기반 추천 성능에 얼마나 기여하는가?
  • RQ4LLM은 CF-RecSys에서 학습한 협업 지식을 바탕으로 일관되고 정확한 자연어 출력(예: 장르 예측)을 생성할 수 있는가?
  • RQ5제안된 프레임워크는 모델에 종속되지 않으며, 다양한 CF-RecSys 아키텍처에 효율적으로 구현 가능한가?

주요 결과

  • A-LLMRec은 Beauty 데이터셋에서 Hit@1이 0.6002를 기록하여, TALLRec(0.5542)와 순수한 SASRec(0.5298)를 모두 능가했으며, 훈련 시간도 크게 줄여 232.5분(비교 대상 588.58분)을 기록했다.
  • 온도 시나리오에서 A-LLMRec은 MoRec과 TALLRec를 모두 앞서며, 모odal 인식 모델과 LLM 전용 모델이 성능을 발휘하지 못하는 상황에서 협업 지식을 효과적으로 활용하고 있음을 입증했다.
  • 모델에 종속되지 않는 설계 덕분에 A-LLMRec은 모든 백본 CF-RecSys(SASRec, NextItNet, GRU4Rec, NCF)에서 성능 향상을 이끌었으며, 강력한 모델과 약한 모델 간의 성능 격차를 줄였다.
  • 선호 장르 예측 작업에서 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.

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.