All models

RGCNConv-net

Graph convolution for knowledge graphs, with a separate transformation for every relation type and direction.

Graphs and geometry · 105 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 (6 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

Family
R-GCN
Parameters
6.2K
Operations
105
Framework
PyTorch
Recurrent
No
Published
ESWC 2018
Cited by
181 (as of 18 October 2026)
Authors
Michael Schlichtkrull, Thomas N. Kipf, Peter Bloem 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
m2422
Graph hash
a481d01fd3988dbe9aede975cf08159fb8412a5b810bbcf59c86933c25591860
Skeleton hash
7cd634fbfe8f609ab96504d6bff725f8b9bc7d6455c3be0a2442c56780346d7e
Architecture hash
9d2033fec5b31c1fa32d670a596cf2efc798742fce165e113bfb56e61700a26e
Diagram SHA-256
94fb63cdd773280db4fa2577930777e91b627495a31018bcfd187abafb899c51
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

About this model's family

Relational Graph Convolutional Networks, R-GCNs, are graph convolutions developed specifically for the highly multi-relational data of realistic knowledge bases, where edges carry many different relation types. The paper applies them to two standard knowledge base completion tasks: link prediction, recovering missing subject-predicate-object triples, and entity classification, recovering missing entity attributes.

The layer accumulates transformed feature vectors of neighbouring nodes through a normalized sum, and unlike a regular GCN it uses relation-specific transformations that depend on the type and direction of each edge. A single self-connection of a special relation type is added to every node so that its own previous representation also feeds the update. With many relations the parameter count grows quickly, so the paper regularizes the per-relation weights with basis decomposition and block-diagonal decomposition.

For link prediction the R-GCN acts as an encoder in front of a DistMult decoder, and on FB15k-237 this beats the DistMult baseline by a large margin of 29.8%. For entity classification on four RDF datasets the model achieves state-of-the-art results on AIFB and AM. The original code came in two pieces: a Keras-based implementation for semi-supervised node classification and a separate repository for the link prediction task.

One of the three members traced here is actually a different model, the Relational Graph Attention Network, which extends non-relational graph attention mechanisms to incorporate relational information. Its authors found that it performs worse than anticipated, with only some configurations marginally beneficial for modelling molecular properties.

Key idea. R-GCNs extend graph convolution to multi-relational graphs by introducing relation-specific transformations that depend on the type and direction of each edge. Used as an encoder over a DistMult decoder, the model yields a 29.8% improvement on FB15k-237 link prediction over the decoder-only baseline.

  • R-GCN
  • RGCN
  • RGCNConv
  • FastRGCNConv
  • Relational Graph Convolutional Network
  • Modeling Relational Data with Graph Convolutional Networks
  • RGAT
  • RGATConv
  • Relational Graph Attention Networks
  • knowledge graph
  • link prediction
  • entity classification
  • FB15k-237
  • AIFB

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

Cite the paper

@misc{schlichtkrull2017modelingrelationaldatagraph,
      title={Modeling Relational Data with Graph Convolutional Networks}, 
      author={Michael Schlichtkrull and Thomas N. Kipf and Peter Bloem and Rianne van den Berg and Ivan Titov and Max Welling},
      year={2017},
      eprint={1703.06103},
      archivePrefix={arXiv},
      primaryClass={stat.ML},
      url={https://arxiv.org/abs/1703.06103}, 
}