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

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Liu, Qidong, Wu, Xian, Wang, Wanyu, Wang, Yejing, Zhu, Yuanshao, Zhao, Xiangyu, Tian, Feng, Zheng, Yefeng
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866929643086413824
author Liu, Qidong
Wu, Xian
Wang, Wanyu
Wang, Yejing
Zhu, Yuanshao
Zhao, Xiangyu
Tian, Feng
Zheng, Yefeng
author_facet Liu, Qidong
Wu, Xian
Wang, Wanyu
Wang, Yejing
Zhu, Yuanshao
Zhao, Xiangyu
Tian, Feng
Zheng, Yefeng
contents 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. The code for our method is released online https://github.com/Applied-Machine-Learning-Lab/LLMEmb.
format Preprint
id arxiv_https___arxiv_org_abs_2409_19925
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle LLMEmb: Large Language Model Can Be a Good Embedding Generator for Sequential Recommendation
Liu, Qidong
Wu, Xian
Wang, Wanyu
Wang, Yejing
Zhu, Yuanshao
Zhao, Xiangyu
Tian, Feng
Zheng, Yefeng
Information Retrieval
Computation and Language
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. The code for our method is released online https://github.com/Applied-Machine-Learning-Lab/LLMEmb.
title LLMEmb: Large Language Model Can Be a Good Embedding Generator for Sequential Recommendation
topic Information Retrieval
Computation and Language
url https://arxiv.org/abs/2409.19925