Rec-R1: Bridging Generative Large Language Models and User-Centric Recommendation Systems via Reinforcement Learning

Jiacheng Lin, Tian Wang, Kun Qian
3/31/2025
47 citations
cs.IRcs.CL
rl

Official code: linjc16/Rec-R1 (142 stars, Python, Apache-2.0, last commit 2026-01-28).

Abstract

We propose Rec-R1, a general reinforcement learning framework that bridges large language models (LLMs) with recommendation systems through closed-loop optimization. Unlike prompting and supervised fine-tuning (SFT), Rec-R1 directly optimizes LLM generation using feedback from a fixed black-box recommendation model, without relying on synthetic SFT data from proprietary models such as GPT-4o.

Show full abstract

This avoids the substantial cost and effort required for data distillation. To verify the effectiveness of Rec-R1, we evaluate it on two representative tasks: product search and sequential recommendation. Experimental results demonstrate that Rec-R1 not only consistently outperforms prompting- and SFT-based methods, but also achieves significant gains over strong discriminative baselines, even when used with simple retrievers such as BM25. Moreover, Rec-R1 preserves the general-purpose capabilities of the LLM, unlike SFT, which often impairs instruction-following and reasoning. These findings suggest Rec-R1 as a promising foundation for continual task-specific adaptation without catastrophic forgetting.

View on arXivView PDF

Code Implementations(1)

linjc16/Rec-R1Official100%
Apache-2.0

[TMLR 2025] A general framework for bridging LLMs and recommendation systems via reinforcement learning. https://arxiv.org/pdf/2503.24289

14215Python, ShellMar 5, 202510 months agoApache-2.0

Similar Papers

Cite this paper

@article{lin2025recr,
  title  = {Rec-R1: Bridging Generative Large Language Models and User-Centric Recommendation Systems via Reinforcement Learning},
  author = {Jiacheng Lin and Tian Wang and Kun Qian},
  year   = {2025},
  eprint = {2503.24289},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.24289v4}
}

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

Discussion