Skip to main navigation Skip to search Skip to main content

RALLRec: Improving Retrieval Augmented Large Language Model Recommendation with Representation Learning

Jian Xu (Co-first Author), Sichun Luo (Co-first Author), Xiangyu Chen, Haoming Huang, Hanxu Hou*, Linqi Song*

*Corresponding author for this work

Research output: Chapters, Conference Papers, Creative and Literary WorksRGC 32 - Refereed conference paper (with host publication)peer-review

3 Downloads (CityUHK Scholars)

Abstract

Large Language Models (LLMs) have been integrated into recommendation systems to enhance user behavior comprehension. The Retrieval Augmented Generation (RAG) technique is further incorporated into these systems to retrieve more relevant items and improve system performance. However, existing RAG methods rely primarily on textual semantics and often fail to incorporate the most relevant items, limiting the effectiveness of the systems. In this paper, we propose Representation learning for retrieval-Augmented Large Language model Recommendation (RALLRec). Specifically, we enhance textual semantics by prompting LLMs to generate more detailed item descriptions, followed by joint representation learning of textual and collaborative semantics, which are extracted by the LLM and recommendation models, respectively. Considering the potential time-varying characteristics of user interest, a simple yet effective reranking method is further introduced to capture the dynamics of user preference. We conducted extensive experiments on three real-world datasets, and the evaluation results validated the effectiveness of our method. Code is made public at https://github.com/JianXu95/RALLRec. © 2025 held by the owner/author(s). Publication rights licensed to ACM.
Original languageEnglish
Title of host publicationWWW Companion'25 - Companion Proceedings of the ACM Web Conference 2025
Place of PublicationNew York, NY
PublisherAssociation for Computing Machinery
Pages1436-1440
Number of pages5
ISBN (Print)9798400713316
DOIs
Publication statusPublished - May 2025
EventThe ACM Web Conference 2025 - ICC Sydney: International Convention & Exhibition Centre, Sydney, Australia
Duration: 28 Apr 20252 May 2025
https://www2025.thewebconf.org/

Publication series

NameWWW Companion - Companion Proceedings of the ACM Web Conference

Conference

ConferenceThe ACM Web Conference 2025
Abbreviated titleWWW’25
PlaceAustralia
CitySydney
Period28/04/252/05/25
Internet address

Bibliographical note

Full text of this publication does not contain sufficient affiliation information. With consent from the author(s) concerned, the Research Unit(s) information for this record is based on the existing academic department affiliation of the author(s).

Funding

This work was supported in part by the National Natural Science Foundation of China under Grant 62371411, the Research Grants Council of the Hong Kong SAR under Grant GRF 11217823, the Collaborative Research Fund C1042-23GF, and InnoHK initiative, the Government of the HKSAR, Laboratory for AI-Powered Financial Technologies.

Research Keywords

  • Large language model
  • Recommender system
  • Retrieval-augmented generation

Publisher's Copyright Statement

  • This full text is made available under CC-BY 4.0. https://creativecommons.org/licenses/by/4.0/

RGC Funding Information

  • RGC-funded

Fingerprint

Dive into the research topics of 'RALLRec: Improving Retrieval Augmented Large Language Model Recommendation with Representation Learning'. Together they form a unique fingerprint.

Cite this