Exploration and Regularization of the Latent Action Space in Recommendation

Shuchang Liu, Qingpeng Cai, Bowen Sun, Yuhao Wang, Ji Jiang, Dong Zheng, Kun Gai, Peng Jiang, Xiangyu Zhao, Yongfeng Zhang · DOI

TL;DR

Reinforcement learning (RL) for recommender systems struggles with massive, dynamic item pools. This paper introduces the Hyper-Actor Critic (HAC) framework, which decomposes recommendation list generation into a continuous latent "hyper-action" space step followed by a discrete item selection step. By incorporating an action alignment module and auxiliary supervised learning, HAC stabilizes training and significantly outperforms standard RL baselines on real-world recommendation datasets.

What Problem Does This Paper Address?

Recommender systems (RS) are increasingly modeled using Reinforcement Learning to maximize long-term user satisfaction rather than immediate clicks. However, applying RL to RS introduces a massive challenge: the action space consists of generating a list of items chosen from a pool of millions of candidates that changes daily.

Standard RL algorithms designed for small or fixed discrete action spaces fail in this combinatorial setting. While some approaches map items to a latent space to handle large pools, doing so introduces a mismatch between the continuous space where the policy optimizes and the discrete space where the user actually interacts. This discrepancy causes training instability, inference inaccuracy, and highly inefficient action exploration.

Methods

The authors propose the Hyper-Actor Critic (HAC) framework. Instead of picking items directly, the policy splits the recommendation process into two distinct steps:

  1. Hyper-Action Inference: A Hyper-Actor network maps the current user state $s_t$ to a continuous, vectorized hyper-action $Z_t$. This vector acts as a latent representation of the ideal recommendation list.
  2. Effect-Action Selection: A deterministic scoring function (e.g., a dot product with item embeddings) uses $Z_t$ to rank all candidate items and select a discrete list $a_t$ (the effect-action).

To bridge the gap and maintain consistency between these two action spaces, HAC introduces two core mechanisms:

  • Shared Critic & Inverse Module: The critic network evaluates actions from both spaces. To evaluate the discrete effect-action $a_t$, an inverse module applies average pooling over the selected item embeddings to reconstruct a latent hyper-action $\hat{Z}_t$.
  • Alignment & Supervision: An alignment loss ($\mathcal{L}_{\text{Hyper}}$) minimizes the $L_2$ distance between the proposed $Z_t$ and the reconstructed $\hat{Z}_t$ to prevent mode collapse. Simultaneously, an auxiliary binary cross-entropy loss ($\mathcal{L}_{\text{BCE}}$) leverages immediate item-level user feedback to provide strong supervised signals that stabilize the actor's early learning phase.
Figure 2: Hyper-Actor Critic (HAC) learning framework. ⊙represents the scoring function that selects items from I,

Datasets

The framework was evaluated using online simulators trained on three public datasets:

  • RL4RS: A session-based dataset from the BigData Cup 2021 specifically designed to benchmark RL algorithms in recommendation scenarios.
  • MovieLens-1M (ML1M): A classic movie recommendation dataset containing 1 million user ratings.
  • KuaiRand: A recent dataset for sequential short-video recommendation, utilizing the cleaned 1K version.

Key Insights and Ideas

  • Two Spaces are Better Than One: Separating the action space allows the actor to explore efficiently in a smooth, continuous latent space, while the critic evaluates the actual discrete choices the user sees, ensuring evaluation accuracy.
  • Geometric Intuition of Latent Exploration: As shown in Figure 3, the item kernel function effectively "folds" the action space. Performing Gaussian exploration in the latent hyper-action space is far more efficient than trying to explore the massive discrete combinatorial space of item slates.
Figure 3: Exploration in Different Action Spaces
  • Hybrid RL/SL is Essential: Pure RL in recommendation often suffers from high variance. Injecting immediate item-level supervised learning ($\mathcal{L}_{\text{BCE}}$) acts as a powerful regularizer, preventing the policy from drifting during early training iterations.
  • The Power of Alignment: Without the inverse module and alignment loss, hyper-actions can drift away from valid item embedding regions, leading to severe performance degradation.

Key Results

HAC consistently achieved the best performance across all datasets on long-term metrics (Total Reward and Session Interaction Depth):

  • RL4RS: Achieved a Total Reward of 10.059 (a ~6% improvement over the best baseline, Online Supervised Learning, at 9.502).
  • MovieLens-1M: Achieved a Total Reward of 18.863 (outperforming Online SL at 18.629 and significantly beating standard DDPG at 17.205).
  • KuaiRand: Achieved a Total Reward of 14.789 (a ~3% improvement over the best baseline, Offline SL, at 14.394).

Ablation studies confirmed that removing either the supervision loss ($\mathcal{L}_{\text{BCE}}$) or the alignment loss ($\mathcal{L}_{\text{Hyper}}$) led to lower total rewards and higher reward variance, proving both are critical for stable learning.

Limitations and Future Work

  • Simulated Environments: The evaluation relies on user response simulators trained on offline data. While standard practice in RL recommendation research, real-world online production environments present more complex, dynamic feedback loops.
  • Simple Scoring Function: The current implementation uses a dot-product scoring function to map hyper-actions to item lists. The authors note that exploring more sophisticated, non-linear scoring functions is a promising next step.
  • Fixed List Sizes: The problem formulation assumes a fixed recommendation list size ($k$). Adapting the framework to handle dynamic list lengths or infinite scrolls remains an open area for exploration.

Summary updated

Abstract

In recommender systems, reinforcement learning solutions have effectively boosted recommendation performance because of their ability to capture long-term user-system interaction. However, the action space of the recommendation policy is a list of items, which could be extremely large with a dynamic candidate item pool. To overcome this challenge, we propose a hyper-actor and critic learning framework where the policy decomposes the item list generation process into a hyper-action inference step and an effect-action selection step. The first step maps the given state space into a vectorized hyper-action space, and the second step selects the item list based on the hyper-action. In order to regulate the discrepancy between the two action spaces, we design an alignment module along with a kernel mapping function for items to ensure inference accuracy and include a supervision module to stabilize the learning process. We build simulated environments on public datasets and empirically show that our framework is superior in recommendation compared to standard RL baselines.
BibTeX
@misc{liu2023exploration,
  author = {Shuchang Liu and Qingpeng Cai and Bowen Sun and Yuhao Wang and Ji Jiang and Dong Zheng and Kun Gai and Peng Jiang and Xiangyu Zhao and Yongfeng Zhang},
  title = {{Exploration and Regularization of the Latent Action Space in Recommendation}},
  year = {2023},
  eprint = {2302.03431},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2302.03431},
}
Figure