LLM-Rec: Personalized Recommendation via Prompting Large Language Models

Hanjia Lyu, Song Jiang, Hanqing Zeng, Yinglong Xia, Qifan Wang +5 more
7/24/2023
cs.CLcs.AIcs.IR

No confident code implementation found for this paper. 10 possible matches can be shown below.

Abstract

Text-based recommendation holds a wide range of practical applications due to its versatility, as textual descriptions can represent nearly any type of item. However, directly employing the original item descriptions may not yield optimal recommendation performance due to the lack of comprehensive information to align with user preferences. Recent advances in large language models (LLMs) have showcased their remarkable ability to harness commonsense knowledge and reasoning. In this study, we introduce a novel approach, coined LLM-Rec, which incorporates four distinct prompting strategies of text enrichment for improving personalized text-based recommendations. Our empirical experiments reveal that using LLM-augmented text significantly enhances recommendation quality. Even basic MLP (Multi-Layer Perceptron) models achieve comparable or even better results than complex content-based methods. Notably, the success of LLM-Rec lies in its prompting strategies, which effectively tap into the language model's comprehension of both general and specific item characteristics. This highlights the importance of employing diverse prompts and input augmentation techniques to boost the recommendation effectiveness of LLMs.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 10 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{lyu2023llmrec,
  title  = {LLM-Rec: Personalized Recommendation via Prompting Large Language Models},
  author = {Hanjia Lyu and Song Jiang and Hanqing Zeng and Yinglong Xia and Qifan Wang and Si Zhang and Ren Chen and Christopher Leung and Jiajie Tang and Jiebo Luo},
  year   = {2023},
  eprint = {2307.15780},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2307.15780v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2307.15780.svg)](https://codeofpaper.com/paper/2307.15780)

Discussion