Addressing Challenges in Reinforcement Learning for Recommender Systems with Conservative Objectives

Melissa Mozifian, Tristan Sylvain, R. David Evans, Lili Meng · Submission to ICLR 2024 · Withdrawn

TL;DR

Combining reinforcement learning (RL) with sequential recommendation often leads to severe training instability and Q-value divergence caused by offline distribution shifts and naive negative sampling. This paper introduces SASRec-CCQL, a framework that stabilizes offline RL by coupling Conservative Q-Learning (CQL) on unobserved items with contrastive temporal representation learning. The resulting system avoids policy collapse, handles large candidate spaces gracefully, and achieves state-of-the-art recommendation accuracy across multiple real-world benchmarks.

What Problem Does This Paper Address?

Sequential recommender systems typically frame next-item prediction as supervised sequence modeling (e.g., using Transformers like SASRec). While effective, supervised models only optimize for instantaneous next-step accuracy rather than long-term user engagement.

Reinforcement learning provides a natural framework for maximizing cumulative user satisfaction, but applying RL to offline recommendation datasets introduces acute failure modes:

  1. Severe Off-Policy Instability: In offline settings, the recommender cannot explore dynamically. Applying standard off-policy algorithms or importance sampling introduces extreme variance and leads to Q-value overestimation and divergence.
  2. Negative Signal Deficiency: Recommendation logs primarily record positive user interactions (clicks, purchases). Previous attempts to correct this via naive negative action sampling (like SNQN) or propensity-weighted advantage estimation (like SA2C) suffer from training collapse: performance spikes early in training but sharply deteriorates as Q-estimates diverge.

The authors set out to eliminate these training instabilities while learning robust representations from static interaction logs.

Methods

The authors propose SASRec-CCQL, an actor-critic framework built on top of a Transformer backbone (SASRec):

       ┌────────────────────────┐
       │ Transformer (SASRec)   │ ──► Latent User State (s_t)
       └────────────────────────┘
                    │
         ┌──────────┴──────────┐
         ▼                     ▼
   Policy / Actor         Critic Q(s, a)
 (Cross-Entropy Loss)  (TD + CQL Loss)
         │                     │
         └──────────┬──────────┘
                    ▼
         Joint Multitask Objective
   [ L_CE + ω L_Q + L_CO + α L_CQL ]
  • Shared Transformer State Representation: SASRec encodes the user interaction history $x_{1:t}$ into a state $s_t$, serving both the supervised classification head and the RL critic.
  • Conservative Q-Learning (CQL) on Negative Actions: Instead of standard Q-learning—which routinely overestimates returns for out-of-distribution actions—the authors incorporate a CQL regularization term. Crucially, rather than evaluating random actions as in standard continuous control CQL, they explicitly penalize the Q-values of negative actions (items the user never interacted with) while pushing up Q-values for observed positive transitions.
  • InfoNCE Temporal Contrastive Objective ($L_{CO}$): To prevent representation degradation over long interaction horizons, the model incorporates batch-wise sequence augmentations and InfoNCE contrastive loss, pulling representations of similar user trajectory pairs closer while pushing negative instances apart.
  • Unified Training Objective: The network is trained end-to-end minimizing: $$\mathcal{L} = \mathcal{L}_{CE} + \omega \mathcal{L}_{Q} + \mathcal{L}_{CO} + \alpha \mathcal{L}_{CQL}$$ where $\mathcal{L}_{CE}$ provides stable supervised guidance, $\mathcal{L}_Q$ is standard temporal difference (TD) error, $\mathcal{L}_{CO}$ handles representation learning, and $\mathcal{L}_{CQL}$ prevents value overestimation.

Datasets

The authors evaluate their approach on five real-world datasets:

  • RetailRocket: Real-world e-commerce interactions (1.18M clicks, 57k purchases across 70k+ items).
  • RC15 (RecSys Challenge 2015 / Yoochoose): Session-based dataset tracking click and purchase sequences.
  • Yelp: User interaction trajectories where clicks vs. non-clicks serve as binary reward feedback.
  • MovieLens-1M & AmazonFood: Evaluated strictly with non-RL baselines to isolate the representation benefits of the contrastive objective in the absence of explicit reward signals.

Note: No new benchmark datasets were introduced.

Key Insights and Ideas

  • Tabular metrics hide RL model divergence: Existing RL-based recommenders (like SNQN and SA2C) often report checkpoint numbers that disguise catastrophic training collapse. In training curves, these baselines quickly achieve high validation accuracy and then crash as Q-values explode. The authors argue that training progression curves should be standard practice when evaluating RL in recommender systems.
  • CQL naturally maps to implicit negative feedback: Missing interactions in recommender systems can be safely treated as out-of-distribution or negative candidates. Adapting CQL to penalize unobserved actions inherently stabilizes the value landscape without requiring brittle importance-sampling weights.
  • Decoupled synergy: Contrastive learning handles robust sequence representation in offline logs, freeing the conservative critic to focus strictly on policy and value estimation without destabilizing the shared Transformer trunk.

Key Results

SASRec-CCQL consistently outperforms traditional sequential models (SASRec, NextItNet, Caser) and RL-based baselines (SASRec-AC, SNQN, SA2C, CL4Rec) across all evaluated metrics:

  • RetailRocket (Purchase Prediction): SASRec-CCQL reaches 0.720 HR@20 (+4.5% over the best baseline) and 0.569 NDCG@20 (+2.7%).
  • RC15 (Purchase Prediction): SASRec-CCQL achieves 0.620 HR@10 (+7.8% relative gain) and 0.712 HR@20 (+7.2% gain), outperforming SA2C and SASRec-AC.
  • Yelp: Total cumulative reward at Top-20 hits 508, an 11.2% improvement over the strongest competitor (CL4Rec at 457), alongside a 6.5% gain in HR@20 Purchase.
  • Negative Sampling Robustness: While SNQN and SA2C show pronounced performance drops as the negative sampling pool increases (from 10 to 30 to 50 samples), SASRec-CCQL maintains monotonic, non-divergent performance curves throughout training.

Limitations and Future Work

  • Overly Cautious Online Transfer: While CQL succeeds in static offline datasets, the authors acknowledge that its conservative penalty can cause Q-value underestimation, potentially creating an overly cautious policy if deployed in interactive, online exploration environments.
  • Benchmark Realism: Existing public offline RS benchmarks feature relatively short user interaction trajectories and simplistic reward structures (e.g., binary clicks/purchases), which limits the degree to which deep, long-horizon reinforcement learning can showcase its full capability.
  • Future Directions: The authors emphasize the need for specialized RL-first recommendation benchmarks designed with richer user feedback horizons and multi-action reward dynamics.

Summary updated

BibTeX
@misc{mozifian2023addressing,
  author = {Melissa Mozifian and Tristan Sylvain and R. David Evans and Lili Meng},
  title = {{Addressing Challenges in Reinforcement Learning for Recommender Systems with Conservative Objectives}},
  year = {2023},
  eprint = {2305.18820},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2305.18820},
}
Figure