Skip to main navigation Skip to search Skip to main content

LLMEmb: Large Language Model Can Be a Good Embedding Generator for Sequential Recommendation

  • Qidong Liu
  • , Xian Wu*
  • , Wanyu Wang
  • , Yejing Wang
  • , Yuanshao Zhu
  • , Xiangyu Zhao*
  • , Feng Tian*
  • , Yefeng Zheng
  • *Corresponding author for this work
  • Xi'an Jiaotong University
  • City University of Hong Kong
  • Tencent
  • Xi'an Jiaotong University
  • Westlake University

Research output: Contribution to journalConference articlepeer-review

Abstract

Sequential Recommender Systems (SRS), which model a user's interaction history to predict the next item of interest, are widely used in various applications. However, existing SRS often struggle with low-popularity items, a challenge known as the long-tail problem. This issue leads to reduced serendipity for users and diminished profits for sellers, ultimately harming the overall system. Large Language Model (LLM) has the ability to capture semantic relationships between items, independent of their popularity, making it a promising solution to this problem. In this paper, we introduce LLMEmb, a novel method leveraging LLM to generate item embeddings that enhance SRS performance. To bridge the gap between general-purpose LLM and the recommendation domain, we propose a Supervised Contrastive Fine-Tuning (SCFT) approach. This approach includes attribute-level data augmentation and a tailored contrastive loss to make LLM more recommendation-friendly. Additionally, we emphasize the importance of integrating collaborative signals into LLM-generated embeddings, for which we propose Recommendation Adaptation Training (RAT). This further refines the embeddings for optimal use in SRS. The LLMEmb-derived embeddings can be seamlessly integrated with any SRS models, underscoring the practical value. Comprehensive experiments conducted on three real-world datasets demonstrate that LLMEmb significantly outperforms existing methods across multiple SRS models.

Original languageEnglish
Pages (from-to)12183-12191
Number of pages9
JournalProceedings of the AAAI Conference on Artificial Intelligence
Volume39
Issue number11
DOIs
StatePublished - 11 Apr 2025
Externally publishedYes
Event39th Annual AAAI Conference on Artificial Intelligence, AAAI 2025 - Philadelphia, United States
Duration: 25 Feb 20254 Mar 2025

Fingerprint

Dive into the research topics of 'LLMEmb: Large Language Model Can Be a Good Embedding Generator for Sequential Recommendation'. Together they form a unique fingerprint.

Cite this