Intrinsically Motivated Reinforcement Learning based Recommendation with Counterfactual Data Augmentation

Xiaocong Chen, Siyu Wang, Lina Yao, Lianyong Qi, Yong Li

TL;DR

Training reinforcement learning agents for recommendation is notoriously difficult due to extreme data sparsity. This paper introduces IMRL, a framework that tackles this by using counterfactual reasoning to "synthesize" informative user trajectories and an "empowerment-based" exploration strategy that encourages the agent to seek out states with high future potential.

What Problem Does This Paper Address?

Deep Reinforcement Learning (DRL) is great at capturing the dynamic, evolving interests of users. However, most recommender systems suffer from a "sparse reward" problem: users only interact with a tiny fraction of available items. For a DRL agent, this means most of its experiences result in zero reward (no click), making it incredibly slow to learn which actions are actually good.

Standard exploration strategies like $\epsilon$-greedy (randomly trying new things) are inefficient in these massive search spaces. Furthermore, existing data augmentation techniques often rely on knowing the "ground truth" of what a user would have done, which is impossible to know during real-time online interactions. The authors aim to bridge this gap by making the agent more "intrinsically motivated" to find useful data and smarter about how it reuses the data it already has.

Methods

The proposed model, Intrinsically Motivated Reinforcement Learning (IMRL), is built on the Soft Actor-Critic (SAC) algorithm and introduces two main innovations:

  1. Counterfactual Data Augmentation: Instead of just replaying past interactions, IMRL asks "what if?" It uses Local Causal Models to identify components of a user's history that are causally independent of the current recommendation. By swapping these independent components with data from similar users, the model generates new, causally valid trajectories that the agent hasn't seen before. This effectively "thickens" the sparse training data.
  2. Empowerment-Driven Exploration: Rather than exploring randomly, the agent is given an intrinsic reward based on empowerment. In information theory, empowerment measures how much influence an agent's actions have over its future states. By maximizing the mutual information between its actions and the resulting states, the agent is naturally drawn to "informative" regions of the environment where it can learn the most.
Fig. 1: Illustration of a typical interaction between user and DRL agent in DRL RS. Red line represents user’s information flow and grey represents receommender information flow. The states are sampled from the environment.

To ensure the agent doesn't get bogged down augmenting useless data, the authors also implemented an adaptive threshold. This threshold dynamically evolves during training, ensuring that only trajectories with high potential rewards are selected for counterfactual augmentation.

Datasets

The authors evaluated IMRL across a wide variety of environments:

  • Offline Datasets: Six well-known benchmarks including Amazon CD, Librarything, Book-Crossing, GoodReads, MovieLens-20M, and Netflix. These were converted into RL-compatible environments to test recall, precision, and nDCG.
  • Online Simulation Platforms: Three platforms that mimic real-world user dynamics: VirtualTB (large-scale, dynamic interests), RecSim (sequential interaction focus), and RecoGym (focused on computational advertising).

Key Insights and Ideas

  • Local vs. Global Causality: Estimating a global causal model for every user-item interaction is computationally impossible. By focusing on local causal models—subspaces where specific interests don't affect the final choice—the authors made counterfactual augmentation practical for real-time systems.
  • Empowerment as Curiosity: Standard RL agents are "bored" by zero rewards. By treating empowerment as an intrinsic reward, the agent becomes "curious" about states where it has the most control, leading it to discover informative trajectories much faster than random searching.
  • Causality + RL Synergy: The paper demonstrates that causality isn't just for explaining models; it's a powerful tool for data generation. Using causal validity as a filter for data augmentation prevents the agent from learning from "hallucinated" or impossible user behaviors.

Key Results

IMRL consistently outperformed state-of-the-art baselines (like CauseRec, KGRL, and SAC) across almost all metrics.

  • Faster Convergence: In the VirtualTB environment, IMRL reached high Click-Through Rates (CTR) significantly faster than other models, proving it can overcome environmental sparsity.
  • Offline Superiority: On datasets like Amazon CD and MovieLens-20M, IMRL achieved the highest Recall and nDCG, often by a significant margin over non-RL sequential models like SASRec.
  • Ablation Success: The authors' ablation studies (removing either the augmentation or the empowerment components) showed that both are crucial. Interestingly, using empowerment performed better than other intrinsic motivation methods like KL-divergence, likely because it avoids information loss during state transformation.
Quantitative results and CTR performance across different simulation platforms.

Limitations and Future Work

While IMRL is a significant step forward, the authors note a few areas for improvement:

  • Online Ground-Truth: The agent still doesn't know a user's "final choice" during live interactions, which limits how perfectly it can determine causal dispensability.
  • Training Stability: Like many DRL systems, stabilizing the training process in highly volatile recommendation environments remains a challenge.
  • Scaling Empowerment: Future work will look into more efficient ways to calculate empowerment in even higher-dimensional state-action spaces.

Summary updated

BibTeX
@article{chen2023intrinsically,
  author = {Xiaocong Chen and Siyu Wang and Lina Yao and Lianyong Qi and Yong Li},
  title = {{Intrinsically Motivated Reinforcement Learning based Recommendation with Counterfactual Data Augmentation}},
  journal = {WWW},
  year = {2023},
  doi = {10.1007/s11280-023-01187-7},
}
Figure