Table of Contents
Fetching ...

RecDiff: Diffusion Model for Social Recommendation

Zongwei Li, Lianghao Xia, Chao Huang

TL;DR

This work tackles the challenge of noisy social connections in social recommendation by introducing RecDiff, a diffusion-based denoiser operating in a hidden embedding space alongside a lightweight GCN encoder. The method performs multi-step forward and reverse diffusion in latent space, training via an ELBO-derived objective that emphasizes denoising fidelity while maintaining predictive power for user-item interactions. Empirical results across Yelp, Ciao, and Epinions show RecDiff achieves superior Recall@N and NDCG@N, with improved training efficiency and robustness to noisy edges, compared to a wide set of baselines. The approach advances practical social recommendation by directly aligning diffusion-based denoising with the recommendation objective, offering a scalable, noise-tolerant framework with public code.

Abstract

Social recommendation has emerged as a powerful approach to enhance personalized recommendations by leveraging the social connections among users, such as following and friend relations observed in online social platforms. The fundamental assumption of social recommendation is that socially-connected users exhibit homophily in their preference patterns. This means that users connected by social ties tend to have similar tastes in user-item activities, such as rating and purchasing. However, this assumption is not always valid due to the presence of irrelevant and false social ties, which can contaminate user embeddings and adversely affect recommendation accuracy. To address this challenge, we propose a novel diffusion-based social denoising framework for recommendation (RecDiff). Our approach utilizes a simple yet effective hidden-space diffusion paradigm to alleivate the noisy effect in the compressed and dense representation space. By performing multi-step noise diffusion and removal, RecDiff possesses a robust ability to identify and eliminate noise from the encoded user representations, even when the noise levels vary. The diffusion module is optimized in a downstream task-aware manner, thereby maximizing its ability to enhance the recommendation process. We conducted extensive experiments to evaluate the efficacy of our framework, and the results demonstrate its superiority in terms of recommendation accuracy, training efficiency, and denoising effectiveness. The source code for the model implementation is publicly available at: https://github.com/HKUDS/RecDiff.

RecDiff: Diffusion Model for Social Recommendation

TL;DR

This work tackles the challenge of noisy social connections in social recommendation by introducing RecDiff, a diffusion-based denoiser operating in a hidden embedding space alongside a lightweight GCN encoder. The method performs multi-step forward and reverse diffusion in latent space, training via an ELBO-derived objective that emphasizes denoising fidelity while maintaining predictive power for user-item interactions. Empirical results across Yelp, Ciao, and Epinions show RecDiff achieves superior Recall@N and NDCG@N, with improved training efficiency and robustness to noisy edges, compared to a wide set of baselines. The approach advances practical social recommendation by directly aligning diffusion-based denoising with the recommendation objective, offering a scalable, noise-tolerant framework with public code.

Abstract

Social recommendation has emerged as a powerful approach to enhance personalized recommendations by leveraging the social connections among users, such as following and friend relations observed in online social platforms. The fundamental assumption of social recommendation is that socially-connected users exhibit homophily in their preference patterns. This means that users connected by social ties tend to have similar tastes in user-item activities, such as rating and purchasing. However, this assumption is not always valid due to the presence of irrelevant and false social ties, which can contaminate user embeddings and adversely affect recommendation accuracy. To address this challenge, we propose a novel diffusion-based social denoising framework for recommendation (RecDiff). Our approach utilizes a simple yet effective hidden-space diffusion paradigm to alleivate the noisy effect in the compressed and dense representation space. By performing multi-step noise diffusion and removal, RecDiff possesses a robust ability to identify and eliminate noise from the encoded user representations, even when the noise levels vary. The diffusion module is optimized in a downstream task-aware manner, thereby maximizing its ability to enhance the recommendation process. We conducted extensive experiments to evaluate the efficacy of our framework, and the results demonstrate its superiority in terms of recommendation accuracy, training efficiency, and denoising effectiveness. The source code for the model implementation is publicly available at: https://github.com/HKUDS/RecDiff.
Paper Structure (28 sections, 15 equations, 9 figures, 4 tables, 1 algorithm)

This paper contains 28 sections, 15 equations, 9 figures, 4 tables, 1 algorithm.

Figures (9)

  • Figure 1: Overall architecture of the proposed RecDiff framework.
  • Figure 2: Illustration for the hidden-space social diffusion.
  • Figure 3: The distribution of social relation pairs across different datasets based on embedding similarity levels.
  • Figure 4: Ablation studies on Yelp, Ciao, and Epinions datasets for different sub-modules in our proposed RecDiff framework, measuring Recall@20 and NDCG@20.
  • Figure 5: Impact of noise scale over model performance.
  • ...and 4 more figures