Learning Multiple User Distributions for Recommendation via Guided Conditional Diffusion

Cheng Wu, Liang Su, Chaokun Wang, Shaoyun Shi, Ziqian Zhang, Ziyang Liu, Wang Peng, Wenjin Wu, Peng Jiang

Overview

GCDR (Guided Conditional Diffusion Recommender) moves beyond representing users as single points or single distributions by using a diffusion model to learn multiple user distributions. By combining long-term user identity with short-term intent and category-specific guidance, the model generates diverse, high-quality user embeddings that significantly outperform existing state-of-the-art recommendation methods.

The Problem: Multi-Faceted User Interests

Traditional recommender systems typically represent a user as a single vector (embedding). However, users are complex and multi-faceted; someone might be interested in "Computers" and "Games" but have zero interest in "Shoes," even if those items are "close" in a shared embedding space.

Comparison of modeling approaches: (a) single point, (b) single distribution, and (c) multiple distributions.

While some recent work has shifted toward modeling users as a single probability distribution to capture uncertainty, the authors argue this is still insufficient. A single distribution often fails to delineate clear semantic boundaries between different interest categories. This leads to "blurry" representations where it’s difficult to distinguish between a target item the user wants and a "negative" item they don't. The challenge lies in learning disentangled and personalized distributions that can capture a user's diverse, often unrelated interests simultaneously.

Methods: Guided Conditional Diffusion

The authors propose GCDR, which utilizes the Denoising Diffusion Probabilistic Model (DDPM) framework. Instead of generating images, GCDR generates user embeddings that are optimized to be close to target item embeddings.

The GCDR architecture, detailing the Approximator components, training losses, and the iterative inference process.

Key Components

  • Conditional Diffusion: The model is conditioned on a user-specific embedding ($h_u$) that captures stable, long-term interests.
  • Guided Diffusion: To handle "intra-user" diversity, the model uses two types of guidance:
  • Short-term Interest: Encoded from the user's most recent interactions using a Transformer.
  • Category Preference: Derived from the distribution of categories in the user's history.
  • The Approximator ($f_\theta$): A neural network that predicts the "clean" item embedding from a noisy version. It uses a Fusing Layer to combine long-term, short-term, and category signals.
  • Multi-Loss Training: GCDR is trained using three distinct losses: Diffusion Loss (generative objective), Recommendation Loss (alignment with target items), and User Loss (consistency with historical interactions).

During inference, the model doesn't just sample once. It generates multiple embeddings by "guiding" the diffusion toward the user's top-$L$ preferred categories, allowing for a multi-modal representation of the user's current state.

Key Results and Insights

GCDR was evaluated on four diverse, real-world datasets: MovieLens, KuaiRec, Yelp, and Amazon Books. It was compared against 13 baselines, including traditional Matrix Factorization, Graph Neural Networks (LightGCN), Sequential models (SASRec), and other Diffusion-based models (DiffRec).

  • Superior Performance: GCDR achieved the best results across all metrics (Recall@20, Hit Rate@20, and NDCG@20) on all four datasets. On the Yelp dataset, GCDR improved Recall by approximately 13% over the next best baseline (DiffuRec).
  • Avoiding the "Average" Trap: Single-point embeddings act like a "centroid" of interests. If a user likes two distant categories, the centroid might land in a region of items the user actually dislikes. Multiple distributions allow the model to "jump" between these interest islands.
  • Category Consistency: Qualitative analysis showed that when the model is guided by a specific category (e.g., "Drama"), the items it recommends are much more likely to actually belong to that category compared to non-guided versions.
  • Visualization: t-SNE plots of the generated embeddings showed clear, separated clusters for different categories, proving that the model successfully learned disentangled distributions for a single user.

Limitations and Future Work

Like all diffusion models, GCDR requires multiple iterative steps to generate an embedding, leading to higher inference latency than simple dot-product look-ups. Additionally, the model relies on item category metadata; performance might degrade in "cold-start" scenarios where category information is sparse. Future directions include exploring the use of target item categories during training to further sharpen semantic boundaries.

Summary updated

BibTeX
@inproceedings{wu2025learning,
  author = {Cheng Wu and Liang Su and Chaokun Wang and Shaoyun Shi and Ziqian Zhang and Ziyang Liu and Wang Peng and Wenjin Wu and Peng Jiang},
  title = {{Learning Multiple User Distributions for Recommendation via Guided Conditional Diffusion}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.1609/aaai.v39i12.33401},
}
Figure