Abstract
Diffusion models have emerged as a powerful tool for collaborative filtering, yet they often struggle with the high sparsity and noise inherent in recommendation data. Standard diffusion processes inject isotropic Gaussian noise, which can quickly overwhelm the collaborative signal. We present S-Diff, a novel generative model that performs diffusion in the graph spectral domain. By utilizing anisotropic noise guided by the graph Laplacian, S-Diff preserves low-frequency collaborative patterns while effectively denoising high-frequency outliers. Our experiments on three benchmark datasets demonstrate that S-Diff significantly outperforms state-of-the-art diffusion-based and graph-based recommendation models.
Introduction
Collaborative filtering (CF) aims to predict user preferences by leveraging shared interaction patterns across a user-item graph. Recently, diffusion models like DiffRec have shown promise in modeling these complex, non-linear relationships. However, these models typically treat user interaction vectors as independent entities in the spatial domain, ignoring the underlying graph structure. Furthermore, the use of isotropic "white noise" in high-dimensional, sparse spaces leads to a rapid decay of the signal-to-noise ratio (SNR), making accurate reconstruction difficult.
Methodology: Spectral Domain Diffusion
S-Diff addresses these limitations by shifting the diffusion process to the spectral domain. The core of the approach involves three main stages: transformation, anisotropic diffusion, and reconstruction.
Graph Fourier Transform (GFT)
To incorporate the collaborative structure, S-Diff first constructs an item-item adjacency matrix and computes its Laplacian. Using the Graph Fourier Transform (GFT), user interaction vectors are mapped into the spectral domain. This transformation decomposes the user's behavior into different "frequencies," where low frequencies represent global trends and high frequencies represent individual-specific or noisy interactions.
Anisotropic Diffusion and Denoising
Unlike standard models that apply uniform noise, S-Diff employs anisotropic diffusion. The noise schedule is parameterized by the graph's eigenvalues, effectively "protecting" the low-frequency components that carry the most collaborative information. This ensures that the essential signal remains recoverable even after many diffusion steps.
To recover the original signal, S-Diff uses a conditional denoising network enhanced with Feature-wise Linear Modulation (FiLM). This allows the model to fuse noisy spectral vectors with the user's historical context, providing personalized guidance during the reverse process.
Graph Inverse Fourier Transform (GIFT)
Finally, the denoised spectral signal is mapped back to the spatial domain using the Graph Inverse Fourier Transform (GIFT), resulting in the final recommendation scores.
Experimental Evaluation
The model was evaluated on three public benchmarks: MovieLens-1M (ML-1M), Yelp, and Amazon-Book, representing varying levels of density and scale. S-Diff consistently outperformed baselines such as LightGCN and DiffRec. For instance, on the extremely sparse Amazon-Book dataset, S-Diff achieved a Recall@20 of 0.1604, a substantial improvement over DiffRec's 0.1010.
Key Insights: Signal-to-Noise Ratio
A critical advantage of S-Diff is its ability to maintain a bounded SNR. In standard diffusion, isotropic noise eventually turns the data into pure white noise. In contrast, S-Diff's spectral noise schedule ensures that the collaborative signal is never fully obliterated.
As shown in the SNR analysis, the spectral noise approach retains significantly more information at later time steps compared to traditional white noise, explaining the model's superior reconstruction performance and stability.
Conclusion and Future Work
S-Diff represents a significant step forward in making diffusion models "graph-aware." By operating in the spectral domain and using anisotropic noise, it overcomes the SNR challenges that plague spatial-domain diffusion models. While the pre-computation of eigenvalues poses some overhead for massive graphs, the gains in recommendation accuracy and robustness are substantial. Future research will focus on optimizing the computational efficiency of the spectral transforms and exploring dynamic graph construction techniques.
Summary updated