TL;DR
This paper introduces a probabilistic approach to capture high-level, cross-session user intent in sequential recommender systems by modeling intent as a latent variable using a Conditional Variational Autoencoder (CVAE). By integrating this latent intent module into a production-scale sequential recommender, the authors achieved significant improvements in both user enjoyment and recommendation diversity in live experiments serving billions of users.
What Problem Does This Paper Address?
Modern sequential recommender systems excel at predicting the next item a user might click on by analyzing their immediate item-level interaction history. However, they typically lack a macro-level understanding of why the user is performing these actions—their underlying intent. For instance, is the user currently looking to discover entirely new content, binge-watch a familiar series, or simply play background music?
While search engines can explicitly categorize intent (e.g., navigational, informational, transactional), user intent in organic recommendation spaces is often subconscious, multifaceted, and highly dynamic, making it incredibly difficult to manually define or label. This paper addresses the challenge of automatically discovering and modeling these implicit user intents without requiring manual expert annotations.
Methods
The authors propose a Latent User Intent Model based on a directed probabilistic graphical model (PGM). The core assumption is that a user's past behavior and context ($x$) reflect their current latent intent ($z$), which in turn manifests in their future behavior ($y$).
To make learning this intractable distribution scalable, they employ a Conditional Variational Autoencoder (CVAE) consisting of three networks:
- Prior Network $p(z|x)$: Infers the latent intent given past behavior and context.
- Encoder $q(z|x,y)$: Approximates the true posterior distribution during training by looking at both past and future behavior.
- Decoder $p(y|z)$: Reconstructs future behavior solely from the latent intent $z$, enforcing an information bottleneck.
Production Integration & Stability
To deploy this alongside an existing sequential recommender (an RNN-based REINFORCE model), the authors sample $z$ from the prior network and concatenate it with the RNN's hidden state. Crucially, they apply a stop gradient to $z$, completely decoupling the training of the intent module from the main recommendation policy.
To combat the common VAE issue of exploding KL-divergence (posterior collapse) in industrial settings, they implemented two stabilization techniques: uniform weight initialization around zero and soft-clipping the log-variance using a softplus function.
Datasets
The model was not evaluated on standard public benchmarks. Instead, it was trained and evaluated using live production data from a massive commercial recommendation platform serving billions of users and millions of items.
Key Insights and Ideas
- KL-Divergence as a Measure of "Surprise": The authors elegantly interpret the KL-divergence between the posterior $q(z|x,y)$ and the prior $p(z|x)$ as a mathematical measure of surprise—representing how much our understanding of the user's intent changes after actually witnessing their future actions.
- Validating the Latent Space: By tracking this "surprise" metric, the authors discovered that KL-divergence spikes significantly when a user consumes an item or topic they have never interacted with before, or when their search behavior suddenly shifts. This provides strong empirical proof that the continuous latent space successfully captures meaningful behavioral transitions.
Key Results
The system was evaluated via live A/B testing over a three-week period against a baseline sequential recommender without intent modeling:
- Overall Enjoyment: Improved by +0.07% (with a 95% confidence interval of
[+0.02%, +0.11%]). - Consumption Diversity: Improved by +0.10% (with a 95% confidence interval of
[+0.08%, +0.13%]). - User Learning Effect: The enjoyment metric showed a steady upward trend over the course of the experiment, suggesting that users dynamically adjusted their behavior positively to the more intent-aware recommendation policy.
Limitations and Future Work
The primary limitation acknowledged by the authors is the limited interpretability of a continuous latent space; it is difficult to map a specific vector directly to a human-understandable concept like "listening to background music."
To address this, their proposed future direction is to explore discrete latent spaces using techniques like the Gumbel-Softmax trick or Vector Quantized Variational Autoencoders (VQ-VAE), which could cluster intents into distinct, interpretable categories.
Summary updated