Robust Reinforcement Learning Objectives for Sequential Recommender Systems

Melissa Mozifian, Tristan Sylvain, Dave Evans, Lili Meng · DOI

Introduction

Sequential recommender systems typically rely on supervised learning to predict the next item in a user's interaction history. While effective for short-term accuracy, this approach often fails to account for long-term user engagement and satisfaction. Reinforcement Learning (RL) provides a natural framework for optimizing long-term rewards; however, its application in recommendation is plagued by instability, off-policy training challenges, and overestimation bias. This paper introduces SASRec-CCQL, a robust framework that integrates conservative Q-learning and contrastive representation learning to address these hurdles.

Addressing the Challenges of Offline RL

Training RL models on static, pre-collected datasets (offline RL) presents three primary difficulties:

  1. Off-Policy Constraints: Models cannot interact with users to explore new strategies, leading to a reliance on potentially biased historical data.
  2. Overestimation Bias: Offline models frequently assign inflated values to "out-of-distribution" actions—items the user never encountered—resulting in poor recommendation quality.
  3. Training Instability: Existing RL methods like SNQN or SA2C often exhibit high variance and performance degradation during training, often due to issues with negative sampling.

Methodology: The SASRec-CCQL Framework

The proposed SASRec-CCQL architecture utilizes a Transformer backbone (specifically SASRec) to encode user interaction sequences into state representations. The core innovation is a multi-task objective function designed for stability and accuracy.

The SASRec-CCQL architecture integrates a Transformer backbone with Actor-Critic components and a multi-task objective including CQL and Contrastive losses.

Multi-Task Objectives

  • Conservative Q-Learning (CQL): To mitigate overestimation bias, CQL adds a regularization term that minimizes Q-values for unobserved "negative" actions while maximizing them for observed actions. This ensures the model remains grounded in the actual data distribution.
  • Contrastive Learning (InfoNCE): By employing temporal data augmentation (e.g., masking or reordering), the model learns robust user state representations. This helps the RL component distinguish subtle behavioral patterns.
  • Joint Optimization: The final loss is a weighted combination of standard Cross-Entropy loss, Temporal Difference (TD) error, CQL loss, and Contrastive loss.

Experimental Results

The researchers evaluated SASRec-CCQL against five real-world datasets: RetailRocket, RC15, Yelp, MovieLens-1M, and AmazonFood.

Performance and Robustness

SASRec-CCQL consistently outperformed both supervised and RL-based baselines across various metrics. As shown in the table below, the model achieved significant gains in Hit Ratio (HR) and Normalized Discounted Cumulative Gain (NDCG).

Performance comparison of SASRec-CCQL against state-of-the-art baselines on RetailRocket and RC15 datasets.

On the RC15 dataset, SASRec-CCQL demonstrated a 7.8% improvement in HR@10 and a 6.7% improvement in NDCG@10 over the strongest baselines. Beyond raw metrics, the model exhibited superior training stability. While baselines like SA2C often suffered from performance "crashes" or divergence, SASRec-CCQL maintained a steady upward trajectory or stable plateau.

Key Insights

  • Stability as a Core Metric: The authors argue that final performance tables can be misleading if the underlying model is brittle. Monitoring training curves is essential for identifying robust policies.
  • Synergistic Objectives: The combination of CQL (acting as a "safety rail" against overestimation) and contrastive learning (providing a cleaner embedding space) creates a more effective environment for RL policy learning.

Conclusion and Future Directions

SASRec-CCQL represents a significant step toward making RL a viable and stable tool for production recommender systems. While the "conservative" nature of the objective prevents over-optimism, future work may explore how to balance this with exploration in true online settings. Additionally, developing benchmarks that capture long-term user lifecycle dynamics remains a priority for the field.

Summary updated

BibTeX
@misc{mozifian2023robust,
  author = {Melissa Mozifian and Tristan Sylvain and Dave Evans and Lili Meng},
  title = {{Robust Reinforcement Learning Objectives for Sequential Recommender Systems}},
  year = {2023},
  eprint = {2305.18820},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2305.18820},
}
Figure