Abstract
Sequential Recommendation (SR) faces challenges from data sparsity and noisy user behavior. While Diffusion Models (DMs) offer generative power to handle uncertainty, existing methods often fail to fully utilize the item corpus or integrate easily with standard SR architectures. We present PDRec (Plug-In Diffusion Model for Recommendation), a model-agnostic framework that treats the diffusion model as a flexible plugin. PDRec enhances sequential encoders by denoising historical interactions and providing "soft" positive signals for data augmentation. Evaluations on four real-world datasets demonstrate that PDRec consistently improves state-of-the-art models like SASRec and GRU4Rec, achieving up to a 13.17% NDCG@10 boost on sparse datasets.
Introduction
Sequential Recommendation aims to predict a user's next interaction based on their chronological history. However, two major hurdles persist: data sparsity and noisy behavior. Most users interact with only a tiny fraction of available items, and not every click represents genuine interest—some are accidental or one-off interactions. While recent Diffusion Models (DMs) show promise due to their ability to handle uncertainty, they are typically used in isolation, ignoring the rich preference information in the broader item corpus and proving difficult to integrate into high-performing SR architectures.
The PDRec Framework
PDRec addresses these issues by treating the diffusion model as a "global teacher" for a sequential "student" model. The framework consists of four key components:
- TI-DiffRec (Time-Interval Diffusion): An enhanced diffusion model that explicitly considers the time elapsed between interactions to account for "preference drift."
- Historical Behavior Reweighting (HBR): Uses the diffusion model's output to "denoise" history. Interactions that align poorly with global preference predictions receive lower weights during training.
- Diffusion-based Positive Augmentation (DPA): Identifies unobserved items the diffusion model predicts the user would like, treating them as "soft" positive samples to combat sparsity.
- Noise-free Negative Sampling (NNS): Selects "safe" negatives from items that the diffusion model scores very low, avoiding the accidental selection of items a user might actually prefer.
Experimental Setup
The researchers evaluated PDRec on four real-world datasets:
- Amazon Toy & Amazon Game: Sparse datasets representing user interactions with toys and video games.
- Douban Book & Douban Music: Denser datasets representing media interactions.
- Cross-Domain Tasks: Testing knowledge transfer between domains (e.g., Toy $\rightarrow$ Game).
Key Results and Insights
PDRec demonstrated significant and consistent improvements over state-of-the-art baselines. On the Amazon Toy dataset, PDRec improved the NDCG@10 of the popular SASRec model by 13.17%. The framework successfully improved three different base encoders (GRU4Rec, SASRec, and CL4SRec) across all datasets.
The core insight is that a diffusion model provides a holistic view of the entire item space, acting as a global teacher. By leveraging generative uncertainty, PDRec distinguishes core interests from noisy clicks without manual labels. Furthermore, the DPA strategy shows that predicted "soft" signals are nearly as valuable as actual clicks in sparse data scenarios.
Limitations and Future Work
While effective, PDRec requires a pre-trained TI-DiffRec model, adding a computational step to the pipeline. Future work could explore "tailored hard negative sampling" to further refine the model and investigate real-time adaptation for streaming data where user preferences shift rapidly.
Summary updated