NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Diffusion Recommender Model

Wenjie Wang, Yiyan Xu, Fuli Feng, Xinyu Lin, Xiangnan He, Tat-Seng Chua

Introduction

Generative models have become a cornerstone of modern recommendation systems, primarily because they attempt to model the underlying distribution of user preferences rather than simply calculating similarity scores. While Generative Adversarial Networks (GANs) and Variational Auto-Encoders (VAEs) have dominated this space, they are not without flaws. GANs are notoriously difficult to train due to stability issues, and VAEs often suffer from a "representation bottleneck," where their simplified encoders fail to capture the complex, multi-faceted nature of user-item interactions.

Presented at SIGIR '23, DiffRec introduces a novel paradigm by adapting Diffusion Models—the technology powering state-of-the-art image generators like DALL-E—to the task of personalized recommendation. By framing recommendation as a denoising process, DiffRec overcomes the limitations of previous generative architectures while maintaining the scalability required for industrial applications.

The Challenge of Diffusion in Recommendation

In the context of image synthesis, a diffusion model gradually turns an image into pure Gaussian noise and then learns to reverse that process. However, applying this directly to recommendation systems presents three major challenges:

  1. Identity Preservation: In image generation, the goal is often to create a new plausible image. In recommendation, the goal is to predict preferences for a specific user. Turning a user's history into pure "white noise" destroys their identity and the personalized signal required for accurate prediction.
  2. High Dimensionality: Recommendation datasets often involve millions of items, creating a massive search space that standard diffusion models struggle to navigate efficiently.
  3. Temporal Dynamics: User interests are not static; they evolve over time. A standard diffusion model treats all interactions as equally relevant, regardless of when they occurred.

The DiffRec Framework

DiffRec addresses these challenges through a specialized two-stage process applied to a user's interaction vector:

Forward and Reverse Processes

In the Forward Process, the model adds small amounts of Gaussian noise to the user’s interaction history. Unlike image models, DiffRec uses a "reduced noise" schedule. This ensures the data is never fully corrupted, preserving the core personalized signal.

In the Reverse Process, a neural network (specifically a Multi-Layer Perceptron) learns to undo this noise step-by-step. A key technical insight in DiffRec is the decision to have the network predict the original interaction vector ($x_0$) directly, rather than predicting the noise added at each step. This approach proved significantly more effective for ranking specific items accurately.

Scalable and Temporal Extensions

To make the model viable for large-scale production, the authors introduced two variants:

  • L-DiffRec (Latent Diffusion): This version handles high-dimensional datasets by clustering items and using small VAEs to compress these clusters into a low-dimensional latent space. The diffusion process then occurs within this compressed space, reducing memory usage by approximately 25% and total parameters by over 50%.
  • T-DiffRec (Temporal Diffusion): This extension incorporates timestamps by reweighting interactions. Recent actions are given higher importance, allowing the model to prioritize a user's current interests over historical data.

Experimental Results

The authors evaluated DiffRec against state-of-the-art baselines like MultiVAE and LightGCN across three large-scale datasets: Amazon-book, Yelp, and MovieLens-1M.

  • Accuracy Gains: DiffRec consistently outperformed existing models. On the Amazon-book dataset, it achieved a 10-14% improvement in Recall and NDCG over traditional baselines.
  • Robustness: The model demonstrated superior resilience to "natural noise" (such as accidental clicks or low-rating interactions). While models like LightGCN saw performance degradation when noisy data was introduced, DiffRec remained stable.
  • Efficiency: Through L-DiffRec, the framework proved it could achieve high accuracy with significantly fewer parameters than the vanilla diffusion approach, making it a practical candidate for real-world deployment.

Discussion and Future Directions

DiffRec represents a significant step forward in generative recommendation, proving that the denoising capabilities of diffusion models are uniquely suited to cleaning the inherent noise in user interaction data.

However, trade-offs remain. Because diffusion models are iterative, they are inherently slower during inference than single-pass models like VAEs. Furthermore, while the Gaussian noise assumption works well, future iterations might benefit from "Categorical Diffusion" to better match the discrete (0/1) nature of interaction data. Finally, replacing the current linear temporal decay in T-DiffRec with more sophisticated architectures, such as Transformers, could further enhance the model's ability to capture complex user behavior shifts.

Summary updated

BibTeX
@inproceedings{wang2023diffusion,
  author = {Wenjie Wang and Yiyan Xu and Fuli Feng and Xinyu Lin and Xiangnan He and Tat-Seng Chua},
  title = {{Diffusion Recommender Model}},
  booktitle = {International ACM SIGIR Conference on Research and Development in Information Retrieval},
  year = {2023},
}
Figure