Papers › Graph Convolutional Neural Networks for Web-Scale Recommender Systems

Graph Convolutional Neural Networks for Web-Scale Recommender Systems

6 Jun 2018arXiv:1806.01973archive 2025-07-28

Rex Ying, Ruining He, Kai-Feng Chen, Pong Eksombatchai, William L. Hamilton, Jure Leskovec

Recent advancements in deep neural networks for graph-structured data have led to state-of-the-art performance on recommender system benchmarks. However, making these methods practical and scalable to web-scale recommendation tasks with billions of items and hundreds of millions of users remains a challenge. Here we describe a large-scale deep recommendation engine that we developed and deployed at Pinterest. We develop a data-efficient Graph Convolutional Network (GCN) algorithm PinSage, which combines efficient random walks and graph convolutions to generate embeddings of nodes (i.e., items) that incorporate both graph structure as well as node feature information. Compared to prior GCN approaches, we develop a novel method based on highly efficient random walks to structure the convolutions and design a novel training strategy that relies on harder-and-harder training examples to improve robustness and convergence of the model. We also develop an efficient MapReduce model inference algorithm to generate embeddings using a trained model. We deploy PinSage at Pinterest and train it on 7.5 billion examples on a graph with 3 billion nodes representing pins and boards, and 18 billion edges. According to offline metrics, user studies and A/B tests, PinSage generates higher-quality recommendations than comparable deep learning and graph-based alternatives. To our knowledge, this is the largest application of deep graph embeddings to date and paves the way for a new generation of web-scale recommender systems based on graph convolutional architectures.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="1806.01973")

Code

Syntology Ran 1 of 11 code samples harvested from 3 repositories linked to this paper; 10 have no recorded run. Of those that ran: 1 ran with no contract checked.

By repository: community (archive-listed): 11 samples from 3 repositories, 1 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

massquantity/LibRecommender mentioned on GitHubtfMIT report
wei9711/d2gcn mentioned on GitHubpytorch report
yoonjong12/pinsage mentioned on GitHubpytorchMIT report
dmlc/dgl pytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

11 samples harvested; 1 ran; 0 honoured the contract we drafted; 10 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran
10unverified

Licence: 2 of the 11 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 3 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

Convolve breadbread1984/PinSage-tf2.0/PinSage.py community (archive-listed) ran no licence file found · pointer only · 96d53e8419ea0290 · report
DGLError dmlc/dgl/python/dgl/sampling/pinsage.py community (archive-listed) unverified Apache-2.0 (permissive) · 306abff4458ab700 · report
PinSAGESampler dmlc/dgl/python/dgl/sampling/pinsage.py community (archive-listed) unverified Apache-2.0 (permissive) · 892b9254565cb7c5 · report
PinSage breadbread1984/PinSage-tf2.0/PinSage.py community (archive-listed) unverified no licence file found · pointer only · 5557298b5b513f28 · report
RandomWalkNeighborSampler dmlc/dgl/python/dgl/sampling/pinsage.py community (archive-listed) unverified Apache-2.0 (permissive) · 8cbd0b0d003b05e9 · report
_select_pinsage_neighbors dmlc/dgl/python/dgl/sampling/pinsage.py community (archive-listed) unverified Apache-2.0 (permissive) · 7cacf32da5bfdf02 · report
build_val_test_matrix yoonjong12/pinsage/data_utils.py community (archive-listed) unverified MIT (permissive) · 1eefc35490de45cd · report
check_param_num yoonjong12/pinsage/evaluation.py community (archive-listed) unverified MIT (permissive) · dfc097b3bdb4acb8 · report
get_blocks yoonjong12/pinsage/evaluation.py community (archive-listed) unverified MIT (permissive) · 896a6c529fb43b9d · report
node_to_item yoonjong12/pinsage/evaluation.py community (archive-listed) unverified MIT (permissive) · 302c59855b3fbcec · report
random_walk dmlc/dgl/python/dgl/sampling/pinsage.py community (archive-listed) unverified Apache-2.0 (permissive) · 03c3e3f5dfa7773a · report

Tasks

Recommendation Systems

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections