Abstract
Reinforcement Learning (RL) offers a promising path for optimizing long-term user satisfaction in recommendation systems. However, traditional RL approaches often suffer from distribution shifts when moving from offline logs to online environments and face significant "cold start" challenges that lead to user churn. This paper introduces iALP (Interaction-Augmented Learned Policy), a framework that leverages the world knowledge of Large Language Models (LLMs) to pre-train RL policies. By distilling LLM-generated preferences into a compact policy and employing adaptive online fine-tuning, iALP achieves rapid convergence and superior performance from the very first interaction.
Introduction
The "cold start" problem is a critical barrier for online RL in recommendation systems. When an agent begins with a random policy, it often provides irrelevant recommendations, causing users to leave the platform before the model can learn their preferences. Furthermore, policies trained on static historical data (offline RL) frequently fail to generalize to the dynamic nature of live user interactions. We address these issues by using LLMs as "simulated users" to provide a high-quality initial policy, bridging the gap between offline knowledge and online performance.
Methodology
The iALP framework operates in two distinct phases to bridge the gap between static data and dynamic environments.
Phase 1: Offline Pre-training
In this phase, we use an LLM (specifically Mistral 7B) to act as a preference judge. The LLM is provided with a user's history and a set of candidate items. It then identifies the most likely next item or returns "None" if no candidates are suitable. This process transforms the LLM's reasoning capabilities into a structured dataset of $(s, a, s', r)$ transitions, where a selection yields a reward of 1.0 and "None" yields 0.0. An Actor-Critic (A2C) model is then trained on this synthetic interaction data to create a "warm" base policy.
Phase 2: Online Adaptation (A-iALP)
To transition to real-world users, we introduce two adaptive strategies:
- A-iALP$_{ft}$ (Fine-tuning): Directly updates the pre-trained policy using real-time user feedback.
- A-iALP$_{ap}$ (Adaptive Policy): This approach maintains a frozen version of the LLM-trained policy alongside a learnable online policy. A weighting factor gradually shifts decision-making power from the "expert" LLM policy to the "student" online policy as more real data is collected, preventing the model from "forgetting" general logic while adapting to specific user signals.
Experimental Evaluation
We evaluated iALP across three simulated environments based on public datasets: LFM (music streaming), Industry (Amazon reviews), and Coat (clothing attributes). These environments were simulated using Matrix Factorization (DeepFM) or sequential models to provide immediate rewards for the RL agents.
Key Results
The experimental results demonstrate that iALP significantly outperforms traditional RL baselines in both initial performance and convergence speed.
As shown in the figures, the A-iALP$_{ap}$ variant exhibits remarkable stability. On the LFM dataset, iALP achieved a return of 5.11 at the very start of training (Epoch 0), compared to just 1.96 for a standard A2C model. Furthermore, on the Industry dataset, A-iALP reached peak performance within roughly 20,000 steps, while traditional methods like DQN or Policy Gradient (PG) struggled to catch up even after 50,000 steps. This confirms that LLM-distilled knowledge provides a robust foundation that bypasses the inefficient random exploration phase of standard RL.
Conclusion and Future Work
iALP effectively addresses the cold-start and distribution shift problems in recommendation systems by distilling LLM knowledge into RL policies. While the initial generation of preference data can be computationally intensive, the resulting policies offer high performance and low latency suitable for production environments. Future work will focus on exploring more advanced reward mechanisms and testing the framework in live production traffic to capture complexities beyond current simulations.
Summary updated