Aligning Large Language Models for Controllable Recommendations

Wensheng Lu, Jianxun Lian, Wei Zhang, Guanghua Li, Mingyang Zhou +2 more
3/8/2024
cs.IRcs.AI

No official code found. Best implementation: microsoft/RecAI (1,179 stars, MIT, last commit 2026-01-27).

Abstract

Inspired by the exceptional general intelligence of Large Language Models (LLMs), researchers have begun to explore their application in pioneering the next generation of recommender systems - systems that are conversational, explainable, and controllable. However, existing literature primarily concentrates on integrating domain-specific knowledge into LLMs to enhance accuracy, often neglecting the ability to follow instructions. To address this gap, we initially introduce a collection of supervised learning tasks, augmented with labels derived from a conventional recommender model, aimed at explicitly improving LLMs' proficiency in adhering to recommendation-specific instructions. Subsequently, we develop a reinforcement learning-based alignment procedure to further strengthen LLMs' aptitude in responding to users' intentions and mitigating formatting errors. Through extensive experiments on two real-world datasets, our method markedly advances the capability of LLMs to comply with instructions within recommender systems, while sustaining a high level of accuracy performance.

View on arXivView PDF

Code Implementations(1)

microsoft/RecAICommunity100%
MIT

Bridging LLM and Recommender System.

1,179123Shell, PythonSep 7, 20238 months agoMIT
llmrecommender

Cite this paper

@article{lu2024aligning,
  title  = {Aligning Large Language Models for Controllable Recommendations},
  author = {Wensheng Lu and Jianxun Lian and Wei Zhang and Guanghua Li and Mingyang Zhou and Hao Liao and Xing Xie},
  year   = {2024},
  eprint = {2403.05063},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2403.05063v2}
}

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/2403.05063.svg)](https://codeofpaper.com/paper/2403.05063)

Discussion