LLM-Powered User Simulator for Recommender System

Zijian Zhang, Shuchang Liu, Ziru Liu, Rui Zhong, Qingpeng Cai, Xiangyu Zhao, Chunxu Zhang, Qidong Liu, Peng Jiang

Abstract

Reinforcement Learning (RL) has emerged as a powerful paradigm for recommendation systems, yet its reliance on extensive interactive data poses significant challenges regarding cost and privacy. This paper introduces a novel user simulator that bridges the gap between opaque statistical models and computationally expensive Large Language Models (LLMs). By distilling item characteristics into logical keywords and employing an ensemble of matching, similarity, and statistical models, the proposed framework provides a high-fidelity, transparent, and efficient environment for training RL agents.

Introduction

The development of RL-based recommender systems is often hindered by the difficulty of obtaining real-time user feedback. While user simulators serve as a necessary proxy, existing solutions typically fall into two categories: "black-box" statistical models (e.g., GANs, Transformers) that lack interpretability, or direct LLM-based simulators that are too slow and expensive for the iterative nature of RL. This research addresses these hurdles by proposing a hybrid simulator that leverages LLMs for offline feature distillation and an ensemble approach for online inference.

Methodology

The proposed framework operates in two distinct phases: feature distillation and ensemble-based inference.

Feature Distillation

To avoid the latency of real-time LLM calls, the system uses ChatGLM-6B offline to extract structured keywords from item metadata and user reviews. This process captures both objective characteristics (e.g., genre, attributes) and subjective sentiments (e.g., nuanced reasons for liking or disliking an item).

The Ensemble Simulator

The core of the simulator is an ensemble of three models that determine a user's response to a candidate item $i_c$:

  1. Keywords Matching ($f_{mat}$): A rule-based component that calculates the overlap between the candidate's keywords and the user's historical preferences.
  2. Similarity Calculation ($f_{sim}$): A semantic model using BERT embeddings to assess the alignment between the candidate's "pros" and the user's profile.
  3. Statistic Model ($f_{sta}$): A traditional SASRec model that provides a data-driven baseline grounded in historical interaction patterns.
Architecture of the proposed ensemble user simulator, integrating LLM-distilled features with statistical models.

The final reward is determined via a majority vote among these three components, ensuring robustness against individual model biases or hallucinations.

Experimental Setup

The simulator was evaluated across five diverse datasets: Yelp, Amazon Music, Amazon Games, Amazon Movie, and Anime. These datasets represent a wide range of user behaviors and item categories, ensuring the generalizability of the findings.

Results and Discussion

The proposed simulator demonstrates significant improvements in both fidelity and efficiency. Quantitatively, it achieved an AUC of 0.674, outperforming state-of-the-art simulators like SUBER (0.643) and KuaiSim (0.658). Furthermore, the inference time was reduced to 0.76s, making it nearly three times faster than LLM-heavy alternatives.

The environment's stability was further validated by training several RL agents, including PPO, TRPO, A2C, and DQN. As shown in the performance table, the DQN agent consistently achieved the highest rewards and liking percentages across most datasets.

Performance metrics of various RL agents (PPO, TRPO, A2C, DQN) across five datasets within the simulator.

Conclusion

This paper presents a transparent and efficient user simulator for RL-based recommendation. By combining the reasoning capabilities of LLMs with the grounding of statistical models, the framework offers a practical solution for agent training. Future work will focus on extending the simulator to handle non-binary interactions (e.g., star ratings) and modeling dynamic preference drift over time.

Summary updated

BibTeX
@inproceedings{zhang2025llm,
  author = {Zijian Zhang and Shuchang Liu and Ziru Liu and Rui Zhong and Qingpeng Cai and Xiangyu Zhao and Chunxu Zhang and Qidong Liu and Peng Jiang},
  title = {{LLM-Powered User Simulator for Recommender System}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.1609/aaai.v39i12.33456},
}
Figure