Abstract
Diffusion models have emerged as a powerful paradigm for modeling complex data distributions in recommendation systems. However, traditional approaches often map discrete user-item interactions into continuous latent spaces, leading to information loss and high inference latency. This paper introduces CDRec, a novel framework that shifts diffusion to a discrete-space, continuous-time setting. By utilizing an "absorbing state" (masking) instead of Gaussian noise and a popularity-aware noise schedule, CDRec captures user preferences more accurately. Furthermore, a consistency-driven parameterization allows for high-quality recommendations in as little as a single step, significantly improving efficiency.
Introduction
Most existing "Diffusion Recommenders" operate in continuous space, adding isotropic Gaussian noise to binary interaction matrices or continuous embeddings. This approach suffers from two major flaws: it often "washes out" the discrete, graph-structured nature of user-item interactions, and it requires many iterative denoising steps, making real-time deployment difficult.
CDRec addresses these issues by modeling user behavior through discrete operations—specifically masking—over a continuous-time trajectory. This formulation preserves the categorical integrity of the data while providing the flexibility of Stochastic Differential Equations (SDEs) for state transitions at arbitrary time steps.
Methodology
CDRec is built upon three primary technical pillars designed to enhance both the semantic representation and the operational speed of generative recommendation.
1. Discrete-space Diffusion via Absorbing States
Instead of adding Gaussian "blur," CDRec progressively replaces items in a user's history with a [MASK] token. This "absorbing state" preserves the identity of the remaining data points, providing a clearer learning signal than corrupted continuous embeddings.
2. Popularity-Aware Noise Schedule
Recognizing that not all items carry equal weight, CDRec employs a sequence-level schedule where popular items have a lower probability of being masked early in the process. This creates an "easy-to-hard" learning curriculum: the model first masters stable, popular trends before attempting to predict niche preferences.
3. Consistency-Driven Parameterization and Contrastive Guidance
To overcome the speed bottleneck of iterative sampling, the authors adapt consistency models to the discrete space. This allows the model to map any point on the diffusion trajectory back to the "clean" data in a single step. Additionally, a contrastive learning objective (InfoNCE) guides the diffusion process using structural signals from a pre-trained Graph Neural Network (GNN), ensuring the model retains collaborative filtering properties.
Experimental Results
The model was evaluated on three real-world datasets: Ciao (sparse social interactions), MovieLens-1M (movie ratings), and Dianping (restaurant reviews).
- State-of-the-Art Accuracy: CDRec consistently outperformed top-tier baselines like LightGCN and DiffRec, showing a relative improvement of 4.06% to 6.88% in NDCG@10.
- Efficiency Gains: The consistency parameterization enabled high-quality recommendations in just one or a few sampling steps, making it significantly faster than traditional diffusion models as sequence complexity increased.
- Robustness to Sparsity: The discrete diffusion approach proved particularly effective on the sparse Ciao dataset, excelling at "filling in the blanks" where data was limited.
Conclusion
CDRec represents a significant advancement in generative recommendation by aligning the diffusion process with the discrete nature of interaction data. By combining absorbing-state diffusion with consistency-driven inference, it achieves a superior balance of accuracy and speed. Future work may explore more complex transition matrices, such as category-aware swapping, to further incorporate domain knowledge into the diffusion trajectory.
Summary updated