A General Offline Reinforcement Learning Framework for Interactive Recommendation

Teng Xiao, Donglin Wang

Abstract

Interactive recommender systems (IRS) aim to maximize long-term user satisfaction by modeling recommendation as a sequential decision-making process. While Reinforcement Learning (RL) is a natural fit, its reliance on online exploration is often impractical. This paper presents a robust framework for Offline RL in recommendation, addressing the critical issue of "extrapolation error" through a Stochastic Discrete Actor-Critic (SDAC) algorithm and five specialized regularization strategies. Experimental results on real-world datasets show that our framework consistently outperforms traditional supervised learning and standard RL baselines.

Introduction

Recommender systems are inherently sequential: current recommendations influence future user states and preferences. While Reinforcement Learning (RL) can optimize for long-term rewards, standard "online" RL requires risky exploration on live users. Offline RL, which learns from historical logs, is safer but suffers from extrapolation error. This occurs when an agent overestimates the value of actions (items) rarely seen in the training data, leading to poor performance in large discrete action spaces typical of recommendation.

Methodology: Stochastic Discrete Actor-Critic (SDAC)

To mitigate extrapolation error, we propose the Stochastic Discrete Actor-Critic (SDAC) algorithm. Unlike deterministic Q-learning, SDAC learns a stochastic policy, aligning with the common practice of serving top-k recommendation lists. We integrate five regularization techniques into this framework:

  1. Support Constraints (SC): Restricts recommendations to items with non-negligible probability in the logging data.
  2. Supervised Regularization (SR): Uses KL divergence to prevent the learned policy from deviating excessively from the logging behavior.
  3. Policy Constraints (PC): Simplifies optimization via a weighted maximum likelihood approach.
  4. Dual Constraints (DC): Treats the logging policy as a prior in the probabilistic model, constraining both policy and value functions.
  5. Reward Extrapolation (RE): Penalizes rewards for actions unlikely to be taken by the logging policy.
Impact of Supervised Regularization (SR) parameters on NDCG@10.

The framework is backbone-agnostic, supporting various encoders like RNNs or CNNs for user history.

Experimental Evaluation

We evaluated the framework on two large-scale e-commerce datasets: RecSys (2015 Challenge) and Kaggle (Retailrocket), covering both dense (clicks) and sparse (purchases) feedback.

Key Results

Our experiments confirm that vanilla RL algorithms (e.g., DQN) often perform worse than simple Supervised Learning (SL) in offline settings due to extrapolation error. However, our regularized SDAC methods consistently bridge this gap.

NDCG@10 performance for SC, PC, DC, and RE methods across different hyperparameter values.

The Dual Constraints (DC) method emerged as the most effective, achieving an HR@10 of 0.4217 on RecSys, significantly higher than SL (0.3793) and DQN (0.3125). The results demonstrate that anchoring the RL agent to the logging policy while optimizing for long-term rewards provides the best performance.

Discussion and Conclusion

The success of the SDAC framework highlights the importance of stochasticity and regularization in offline recommendation. By treating the logging policy as a prior or constraint, we prevent the accumulation of errors over long sequences.

While highly effective, the framework's performance depends on an accurate estimation of the logging policy, which can be challenging if the logs come from a complex mixture of systems. Additionally, scaling to extremely large item catalogs remains a computational challenge. Future work will explore more efficient scaling techniques and the integration of Transformer-based architectures.

Summary updated

BibTeX
@inproceedings{xiao2021general,
  author = {Teng Xiao and Donglin Wang},
  title = {{A General Offline Reinforcement Learning Framework for Interactive Recommendation}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2021},
  doi = {10.1609/aaai.v35i5.16579},
}
Figure