SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2404.14240 · 2024

Collaborative Filtering Based on Diffusion Models: Unveiling the Potential of High-Order Connectivity

arXiv · PDF · Open in the Atlas

Code that ran

8 of 8 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 2 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 6 failures of our instrument; 0 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2404.14240.json · badge: /api/ran/2404.14240.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
jackfrost168/cf_diff canonical (classifier label)
classifier basis: census
8 ran · 0 no recorded run
FunctionStatusWhere it lives
betas_for_alpha_bar Ran
ran, honoured the contract we drafted
jackfrost168/cf_diff/models/gaussian_diffusion.py
pointer only (licence: NONE); the stored copy get_code serves, from NVlabs/DiffPure, is pointer only (licence: NOASSERTION) · get_code("2ab2316ac6fdd869")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jackfrost168/cf_diff when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

betas_from_linear_variance Ran
ran; our contract draft was wrong, not the code
jackfrost168/cf_diff/models/gaussian_diffusion.py
pointer only (licence: NONE); the stored copy get_code serves, from hulkima/PDRec, is pointer only (licence: NONE) · get_code("c26b918effa6b11b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jackfrost168/cf_diff when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

computeTopNAccuracy Ran
ran; our contract draft was wrong, not the code
jackfrost168/cf_diff/evaluate_utils.py
pointer only (licence: NONE) · get_code("35d1a13f8866e86e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jackfrost168/cf_diff when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

data_load Ran
ran; our contract draft was wrong, not the code
jackfrost168/cf_diff/data_utils.py
pointer only (licence: NONE) · get_code("873e59590af928c6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jackfrost168/cf_diff when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

data_load Ran
ran; our contract draft was wrong, not the code
jackfrost168/cf_diff/data_preprocessing/data_preprocessing_item_2nd_hop.py
pointer only (licence: NONE) · get_code("b5d15c59030cf191")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jackfrost168/cf_diff when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_top_k_similar_pearson Ran
ran; our contract draft was wrong, not the code
jackfrost168/cf_diff/data_utils.py
pointer only (licence: NONE) · get_code("25c975f5355eaa20")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jackfrost168/cf_diff when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

normal_kl Ran
ran, honoured the contract we drafted
jackfrost168/cf_diff/models/gaussian_diffusion.py
pointer only (licence: NONE); the stored copy get_code serves, from facebookresearch/agrol, is pointer only (licence: NOASSERTION) · get_code("cf2798b666b231ca")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jackfrost168/cf_diff when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

timestep_embedding Ran
ran; our contract draft was wrong, not the code
jackfrost168/cf_diff/models/CAM_AE.py
pointer only (licence: NONE) · get_code("3cef9867af2fd687")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jackfrost168/cf_diff when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Also present in other papers' code

Of 8 samples lifted from this paper's linked repositories, 8 carry a function identity and 0 do not. Of the 8 distinct functions with an identity, 4 are also present in other papers whose code we hold (4 with at least one paper dated earlier, 2 the same month, 2 later) and 4 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
normal_kl 160 other papers
98 dated earlier, 3 the same month, 57 later, 2 same year, order not determinable · 19 only as an assembly brick
2010.02502 (2020-10)
Denoising Diffusion Implicit Models
2105.05233 (2021-05)
Diffusion Models Beat GANs on Image Synthesis
2111.11672 (2021-11)
Few-shot Image Generation with Mixup-based Distance Learning
and 157 more not named here
betas_for_alpha_bar 92 other papers
67 dated earlier, 3 the same month, 20 later, 2 same year, order not determinable · 3 only as an assembly brick
2006.11239 (2020-06)
Denoising Diffusion Probabilistic Models
2010.02502 (2020-10)
Denoising Diffusion Implicit Models
2102.09672 (2021-02)
Improved Denoising Diffusion Probabilistic Models
and 89 more not named here
betas_from_linear_variance 2 other papers
2 dated earlier
2401.02913 (2024-01)
Plug-In Diffusion Model for Sequential Recommendation
2401.06982 (2024-01)
Denoising Diffusion Recommender Model
timestep_embedding 2 other papers
2 dated earlier
2401.02913 (2024-01)
Plug-In Diffusion Model for Sequential Recommendation
2401.06982 (2024-01)
Denoising Diffusion Recommender Model

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

A recent study has shown that diffusion models are well-suited for modeling the generative process of user-item interactions in recommender systems due to their denoising nature. However, existing diffusion model-based recommender systems do not explicitly leverage high-order connectivities that contain crucial collaborative signals for accurate recommendations. Addressing this gap, we propose CF-Diff, a new diffusion model-based collaborative filtering (CF) method, which is capable of making full use of collaborative signals along with multi-hop neighbors. Specifically, the forward-diffusion process adds random noise to user-item interactions, while the reverse-denoising process accommodates our own learning model, named cross-attention-guided multi-hop autoencoder (CAM-AE), to gradually recover the original user-item interactions. CAM-AE consists of two core modules: 1) the attention-aided AE module, responsible for precisely learning latent representations of user-item interactions while preserving the model's complexity at manageable levels, and 2) the multi-hop cross-attention module, which judiciously harnesses high-order connectivity information to capture enhanced collaborative signals. Through comprehensive experiments on three real-world datasets, we demonstrate that CF-Diff is (a) Superior: outperforming benchmark recommendation methods, achieving remarkable gains up to 7.29% compared to the best competitor, (b) Theoretically-validated: reducing computations while ensuring that the embeddings generated by our model closely approximate those from the original cross-attention, and (c) Scalable: proving the computational efficiency that scales linearly with the number of users or items.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2404.14240")
get_code_for_paper("2404.14240")
have("2404.14240")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2404.14240.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2404.14240.svg)](https://syntology.ai/paper/2404.14240)

Connect an agent — have() is free.