Model-Based Reinforcement Learning with Adversarial Training for Online Recommendation

Xueying Bai, Jian Guan, Hongning WangarXiv 2019

Abstract

IRecGAN is a model-based reinforcement learning (RL) framework that utilizes adversarial training to develop realistic user simulators for recommendation systems. By employing a discriminator to debias the simulated environment, the framework allows recommendation agents to learn high-quality policies from offline data, mitigating the risks and costs associated with real-time user interaction.

Introduction

Training recommendation engines using reinforcement learning is challenging due to the high cost of real-time exploration. While model-free RL can optimize long-term user satisfaction, it requires millions of interactions, often leading to user churn if the exploration policy is poor. Model-based RL offers a solution by training agents on user simulators. However, these simulators often suffer from bias, causing agents to learn policies that fail in real-world deployments. IRecGAN addresses this by using adversarial training to "debias" the simulator.

Methodology

The IRecGAN (Interactive Recommender GAN) architecture treats recommendation as a generative task involving three primary components:

  1. User Behavior Model ($\mathcal{U}$): An RNN-based model predicting user reactions (clicks/rewards) based on historical interactions.
  2. Recommendation Agent ($\mathcal{A}$): The RL agent responsible for generating top-$k$ recommendation lists.
  3. Discriminator ($\mathcal{D}$): A classifier that distinguishes between real interaction trajectories from logs and synthetic trajectories generated by the interaction of $\mathcal{A}$ and $\mathcal{U}$.

The core innovation lies in the adversarial training loop. The discriminator provides a sequence generation score ($q_D$) used to debias the user model and scale rewards. This prevents the agent from over-fitting to "hallucinated" or unrealistic simulation errors by penalizing sequences that do not resemble real human behavior.

Experimental Evaluation

The framework was evaluated on two environments:

  • Synthetic MDP: A controlled environment with 10 states and 50 items for ground-truth preference testing.
  • CIKM Cup 2016: A large-scale e-commerce dataset with over 65,000 training sessions and a candidate set of 40,000 items.

Results and Discussion

IRecGAN demonstrated significant improvements in both precision and sample efficiency. On the CIKM dataset, it achieved a Precision@10 of 35.06%, outperforming standard Policy Gradient and Importance Sampling baselines.

Key findings include:

  • Sample Efficiency: IRecGAN reaches high performance levels faster than model-free baselines in simulated online tests.
  • Robustness: The model maintains stability even when trained on biased offline data (e.g., logs dominated by popular items).
  • Long-term Value: By framing the problem as sequence generation, the model prioritizes recommendations that lead to sustained engagement rather than immediate clickbait.

Conclusion

IRecGAN effectively bridges the gap between offline training and online deployment in recommendation systems. While challenges remain regarding exploration-exploitation balance and computational complexity, the use of adversarial training to refine user simulators represents a significant step toward robust, model-based RL for commerce. Future work will explore incorporating richer user context and item metadata.

Summary updated

BibTeX
@misc{bai2019model,
  author = {Xueying Bai and Jian Guan and Hongning Wang},
  title = {{Model-Based Reinforcement Learning with Adversarial Training for Online Recommendation}},
  year = {2019},
  eprint = {1911.03845},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1911.03845},
}
Figure