Rec-R1: Bridging Generative Large Language Models and User-Centric Recommendation Systems via Reinforcement Learning
Jiacheng Lin, Tian Wang, Kun Qian
TL;DR
This work introduces Rec-R1, a reinforcement learning framework that directly optimizes an LLM's generation using feedback from a fixed recommendation system, avoiding costly data distillation. By treating LLM-RecSys interactions as a closed-loop RL problem and employing GRPO with rule-based downstream rewards, Rec-R1 achieves substantial gains across product search, sequential recommendation, and product re-ranking while preserving the LLM's general capabilities. Theoretical results explain why prompting and SFT are limited in this setting, and empirical results demonstrate strong cross-domain generalization and improved cold-start performance. Overall, Rec-R1 offers a scalable, cost-efficient pathway to continual, task-specific adaptation of LLMs in real-world recommender systems without catastrophic forgetting.
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. 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.
