All models

recbole.KGCN

A recommender that aggregates sampled knowledge graph neighbors with user-specific relation weights.

Tabular and recommender · 25 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (31 KB)

Open in a new tab

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
403.1K
Operations
25
Framework
PyTorch
Recurrent
No
Published
WWW 2019
Cited by
1,194 (as of 23 October 2026)
Authors
Hongwei Wang, Miao Zhao, Xing Xie and others
License
MIT
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m8630
Graph hash
d7839cede9074cf11987a277ff97f42f7b29c12017dfb8d0aead6e2f15518c21
Skeleton hash
c0a00d17d0042f2570edcf81394ef4bdfbbc44cbfcc88a09ee59988c2619e4d4
Architecture hash
67424ef31c8fb61f38a0ed85dca4ef89ed85423475a9674e0a0c3b01ff436502
Diagram SHA-256
46bfa52222cafb22c5b0e23a534cce852d05f45246c68718891bd0ba6099833a
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

KGCN, short for Knowledge Graph Convolutional Networks, is a recommender that learns how items relate to one another from their attributes in a knowledge graph (KG). The motivation is the sparsity and cold start problem of collaborative filtering, which attributes of users and items are usually collected to alleviate.

The key idea is to compute an entity's representation by aggregating its neighbors in the graph with a bias: neighbors are weighted by scores that depend on the connecting relation and on the specific user. Because an entity's neighborhood can be very large, the model samples a fixed-size neighborhood of each node as its receptive field, which makes the cost predictable. The receptive field can be extended to multiple hops, which the paper uses to capture users' potential long-distance interests. To combine an entity's own representation with that of its neighborhood, the paper implements three types of aggregators.

The paper applies KGCN to movie, book and music recommendation, and reports average AUC gains of 4.4%, 8.1% and 6.2% respectively over the baselines it compares with.

Key idea. KGCN computes item representations by aggregating sampled knowledge graph neighbors, weighted by user-specific relation scores, so that recommendations reflect both graph structure and personal interests.

  • kgcn
  • knowledge graph convolutional networks
  • knowledge graph convolutional network
  • knowledge graph recommendation
  • knowledge-aware recommendation
  • kg-aware recommendation
  • recommender systems
  • recbole kgcn

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{wang2019knowledgegraphconvolutionalnetworks,
      title={Knowledge Graph Convolutional Networks for Recommender Systems}, 
      author={Hongwei Wang and Miao Zhao and Xing Xie and Wenjie Li and Minyi Guo},
      year={2019},
      eprint={1904.12575},
      archivePrefix={arXiv},
      primaryClass={cs.IR},
      doi={https://doi.org/10.1145/3308558.3313417},
      url={https://arxiv.org/abs/1904.12575}, 
}