SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1905.08108 · 2019

Neural Graph Collaborative Filtering

arXiv · PDF · Open in the Atlas

Code that ran

7 of 7 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; 0 honoured the contract we drafted, 1 violated it and 1 has no contract verdict; 5 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/1905.08108.json · badge: /api/ran/1905.08108.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
immabe/NGCF_pytorch community (classifier label)
classifier basis: plan_row
6 ran · 0 no recorded run
madansinghal/graphranko community (classifier label)
classifier basis not recorded on the link
1 ran · 0 no recorded run
FunctionStatusWhere it lives
average_precision Ran
ran; our contract draft was wrong, not the code
immabe/NGCF_pytorch/NGCF/utility/metrics.py
pointer only (licence: MIT); the stored copy get_code serves, from zhao254014/clustergcf, is pointer only (licence: NONE) · get_code("ea02c0066939a02c")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from zhao254014/clustergcf, and GitHub detected no licence in that repository 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.

hasNumbers Ran
ran, violated the contract we drafted
immabe/NGCF_pytorch/NGCF/utility/helper.py
pointer only (licence: MIT); the stored copy get_code serves, from Tingting2477/DGCF_torch, is pointer only (licence: NONE) · get_code("f16f715a59169c8a")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from Tingting2477/DGCF_torch, and GitHub detected no licence in that repository 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.

precision_at_k Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
immabe/NGCF_pytorch/NGCF/utility/metrics.py
pointer only (licence: MIT); the stored copy get_code serves, from zhao254014/clustergcf, is pointer only (licence: NONE) · get_code("de0d0e47ac6bbe6c")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from zhao254014/clustergcf, and GitHub detected no licence in that repository 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.

recall Ran
ran; our contract draft was wrong, not the code
immabe/NGCF_pytorch/NGCF/utility/metrics.py
pointer only (licence: MIT); the stored copy get_code serves, from zhao254014/clustergcf, is pointer only (licence: NONE) · get_code("4437293713f250ee")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from zhao254014/clustergcf, and GitHub detected no licence in that repository 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.

root_mean_square_error Ran
ran on a synthesized input
madansinghal/graphranko/GraphicoRango/steller_graph_implementation/model.py
code served (permissive licence) · get_code("eb2979cf054e5b71")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned EagerTensor, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import tensorflow as tf
import tensorflow.keras.backend as K
import numpy as np

# Create small tensor inputs for the function
# The function expects two tensors: s_true and s_pred
# It computes element-wise differences, squares them, takes mean, and sqrt

# Create tensors with shape (2, 4) - batch size 2, dimension 4
s_true = K.variable(np.array([[1.0, 2.0, 3.0, 4.0],
                               [5.0, 6.0, 7.0, 8.0]], dtype=np.float32))

s_pred = K.variable(np.array([[1.1, 2.1, 2.9, 4.2],
                               [4.9, 6.1, 6.8, 8.1]], dtype=np.float32))

ARGS = {
    "s_true": s_true,
    "s_pred": s_pred
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type EagerTensor, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
txt2list Ran
ran; our contract draft was wrong, not the code
immabe/NGCF_pytorch/NGCF/utility/helper.py
pointer only (licence: MIT); the stored copy get_code serves, from Tingting2477/DGCF_torch, is pointer only (licence: NONE) · get_code("b07be870060c7e26")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from Tingting2477/DGCF_torch, and GitHub detected no licence in that repository 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.

uni2str Ran
ran; our contract draft was wrong, not the code
immabe/NGCF_pytorch/NGCF/utility/helper.py
pointer only (licence: MIT); the stored copy get_code serves, from Tingting2477/DGCF_torch, is pointer only (licence: NONE) · get_code("ddd78902563c0d71")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from Tingting2477/DGCF_torch, and GitHub detected no licence in that repository 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 7 samples lifted from this paper's linked repositories, 7 carry a function identity and 0 do not. Of the 7 distinct functions with an identity, 6 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 6 the same month, 6 later) and 1 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
precision_at_k 6 other papers
1 the same month, 5 later
1905.07854 (2019-05)
KGAT: Knowledge Graph Attention Network for Recommendation
2309.17133 (2023-09)
Fine-grained Late-interaction Multi-modal Retrieval for Retrieval Augmented Visual Question Answering
2311.00423 (2023-11)
LLMRec: Large Language Models with Graph Augmentation for Recommendation
and 3 more not named here
recall 6 other papers
1 the same month, 5 later
1905.07854 (2019-05)
KGAT: Knowledge Graph Attention Network for Recommendation
2309.17133 (2023-09)
Fine-grained Late-interaction Multi-modal Retrieval for Retrieval Augmented Visual Question Answering
2311.00423 (2023-11)
LLMRec: Large Language Models with Graph Augmentation for Recommendation
and 3 more not named here
average_precision 5 other papers
1 the same month, 4 later
1905.07854 (2019-05)
KGAT: Knowledge Graph Attention Network for Recommendation
2311.00423 (2023-11)
LLMRec: Large Language Models with Graph Augmentation for Recommendation
2312.16203 (2023-12)
User Consented Federated Recommender System Against Personalized Attribute Inference Attack
and 2 more not named here
hasNumbers 4 other papers
1 the same month, 3 later
1905.07854 (2019-05)
KGAT: Knowledge Graph Attention Network for Recommendation
2007.01764 (2020-07)
Disentangled Graph Collaborative Filtering
2312.16203 (2023-12)
User Consented Federated Recommender System Against Personalized Attribute Inference Attack
and 1 more not named here
txt2list 4 other papers
1 the same month, 3 later
1905.07854 (2019-05)
KGAT: Knowledge Graph Attention Network for Recommendation
2007.01764 (2020-07)
Disentangled Graph Collaborative Filtering
2312.16203 (2023-12)
User Consented Federated Recommender System Against Personalized Attribute Inference Attack
and 1 more not named here
uni2str 4 other papers
1 the same month, 3 later
1905.07854 (2019-05)
KGAT: Knowledge Graph Attention Network for Recommendation
2007.01764 (2020-07)
Disentangled Graph Collaborative Filtering
2312.16203 (2023-12)
User Consented Federated Recommender System Against Personalized Attribute Inference Attack
and 1 more not named here

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

Learning vector representations (aka. embeddings) of users and items lies at the core of modern recommender systems. Ranging from early matrix factorization to recently emerged deep learning based methods, existing efforts typically obtain a user's (or an item's) embedding by mapping from pre-existing features that describe the user (or the item), such as ID and attributes. We argue that an inherent drawback of such methods is that, the collaborative signal, which is latent in user-item interactions, is not encoded in the embedding process. As such, the resultant embeddings may not be sufficient to capture the collaborative filtering effect. In this work, we propose to integrate the user-item interactions -- more specifically the bipartite graph structure -- into the embedding process. We develop a new recommendation framework Neural Graph Collaborative Filtering (NGCF), which exploits the user-item graph structure by propagating embeddings on it. This leads to the expressive modeling of high-order connectivity in user-item graph, effectively injecting the collaborative signal into the embedding process in an explicit manner. We conduct extensive experiments on three public benchmarks, demonstrating significant improvements over several state-of-the-art models like HOP-Rec and Collaborative Memory Network. Further analysis verifies the importance of embedding propagation for learning better user and item representations, justifying the rationality and effectiveness of NGCF. Codes are available at https://github.com/xiangwang1223/neural_graph_collaborative_filtering.

For agents

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

get_harvested_code_for_paper("1905.08108")
get_code_for_paper("1905.08108")
have("1905.08108")

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

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

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

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

Connect an agent — have() is free.