recbole.LDiffRec
A diffusion recommender that clusters items and runs the diffusion in a compressed latent space.
Tabular and recommender · 309 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Parameters
- 57.2M
- Operations
- 309
- Framework
- PyTorch
- Recurrent
- Yes
- Published
- SIGIR 2023
- Cited by
- 3 (as of 23 October 2026)
- Authors
- Wenjie Wang, Yiyan Xu, Fuli Feng and others
- Source
- recbole 1.2.1
- License
- MIT
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m8635
- Graph hash
- 82f2d1fbd3163e7a89a2a9f60bb65127aabd04665ccf65a7a66e01853764773b
- Skeleton hash
- 98c1f95a33e1c4c3ee0b7bd60767f6f656b91f8d38e7ae16306fa5109c501282
- Architecture hash
- 90de5a1604d07159a798dcf85f71caece419e1cbf3cf9d8b26562ac90fcfa892
- Diagram SHA-256
- 9e57597d12bdf26518444e9e493903e208b3585571f97b20a96e82e115062500
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
L-DiffRec (Latent DiffRec) is a recommender built on a diffusion model that clusters items to compress a user's interaction vector and runs the diffusion on the compressed version. It is an extension of DiffRec, the Diffusion Recommender Model, which the paper proposes to learn the generative process of user interactions in a denoising manner. The extension is about cost: the paper notes that generative recommenders predict the interaction probabilities of all items simultaneously, which requires extensive resources.
L-DiffRec first clusters the items into categories with k-means. The clustering is based on item representations, for example trained item embeddings from LightGCN. The interaction vector over each group is then compressed into a low-dimensional latent vector by a group-specific VAE. The forward and reverse diffusion processes run in this latent space. Each group's encoder and decoder together form a VAE that bridges the interaction space and the latent space.
Under clean training, the paper reports that L-DiffRec outperforms MultiVAE with 38.39% fewer parameters and 10.61% less GPU memory on average. Against DiffRec it reports comparable accuracy with 56.17% fewer parameters and 24.64% less GPU usage on average.
Key idea. L-DiffRec clusters items, compresses each cluster's interactions with its own VAE and runs diffusion in the latent space, which reduces model parameters and memory costs.
- l-diffrec
- ldiffrec
- latent diffrec
- latent diffusion recommender
- diffusion recommender model
- diffusion recommendation
- generative recommender
- recbole ldiffrec
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{wang2025diffusionrecommendermodel,
title={Diffusion Recommender Model},
author={Wenjie Wang and Yiyan Xu and Fuli Feng and Xinyu Lin and Xiangnan He and Tat-Seng Chua},
year={2025},
eprint={2304.04971},
archivePrefix={arXiv},
primaryClass={cs.IR},
url={https://arxiv.org/abs/2304.04971},
}