NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Modeling Relational Data with Graph Convolutional Networks

Michael Sejr Schlichtkrull, Thomas N. Kipf, Peter Bloem, Rianne van den Berg, Ivan Titov, Max Welling

TL;DR

This paper introduces Relational Graph Convolutional Networks (R-GCNs), a novel neural network architecture designed to model complex, multi-relational knowledge graphs. R-GCNs significantly improve performance on knowledge base completion tasks like predicting missing facts (link prediction) and assigning attributes to entities (entity classification), outperforming existing methods and demonstrating the power of graph-based reasoning for structured data.

What Problem Does This Paper Address?

Knowledge graphs, like YAGO or DBpedia, are powerful tools for organizing information and enabling applications such as question answering. However, these graphs are often incomplete, meaning crucial facts or entity attributes are missing. This incompleteness limits their utility. Traditional methods for filling these gaps, like factorization models, struggle with the sheer scale and complexity of real-world knowledge graphs, which can have millions of entities and relations. The paper aims to address this by developing a more robust and effective way to learn representations from the relational structure of these graphs.

Methods

The core contribution is the Relational Graph Convolutional Network (R-GCN). Inspired by Graph Convolutional Networks (GCNs) used for simpler graphs, R-GCNs are adapted to handle the highly multi-relational nature of knowledge graphs.

Here's a breakdown of the key methodological aspects:

  • Relational Message Passing: R-GCNs operate by passing messages between neighboring entities (nodes) in the knowledge graph. Crucially, these messages are transformed differently depending on the type of relation (edge) connecting them. This allows the model to learn distinct representations for different relational patterns.
  • Parameter Sharing and Regularization: To manage the vast number of parameters introduced by modeling many relations, the authors propose two regularization techniques:
  • Basis Decomposition: Weights for different relations are expressed as linear combinations of a shared set of "basis" transformations. This effectively shares parameters across relations.
  • Block-Diagonal Decomposition: Weights are structured into block-diagonal matrices, encouraging sparsity and grouping related latent features.
  • Encoder-Decoder Framework for Link Prediction: For predicting missing triples (subject, predicate, object), R-GCNs are used as an encoder to generate rich entity representations. These representations are then fed into a decoder (a factorization model like DistMult) to score potential triples. This is a significant departure from previous methods that often optimized factorization models directly without a dedicated encoder.
  • Entity Classification: For assigning labels or types to entities, R-GCNs are used to generate node representations, which are then passed through a softmax classifier.

Datasets

The paper evaluates R-GCNs on several standard knowledge base datasets:

  • Entity Classification:

    • AIFB
    • MUTAG
    • BGS
    • AM These are RDF (Resource Description Framework) datasets where relations can represent features or properties, not just direct subject-object links.
  • Link Prediction:

    • WN18 (WordNet)
    • FB15k (Freebase)
    • FB15k-237 (a reduced version of FB15k with problematic inverse relation pairs removed)

The paper notes that FB15k and WN18 have known issues with inverse relation pairs that can be exploited by simpler models, hence the focus on FB15k-237 for a more rigorous evaluation.

Key Insights and Ideas

  • GCNs are Adaptable to Multi-Relational Data: The most significant insight is that the GCN framework, originally for simpler graphs, can be effectively extended to handle the complex, multi-relational structure of knowledge graphs.
  • Explicit Relational Modeling Matters: Simply using factorization models directly without an encoder that reasons over the graph structure leads to suboptimal performance, especially on challenging datasets like FB15k-237. The R-GCN encoder captures crucial relational context.
  • Regularization is Crucial for Scalability: The proposed basis and block-diagonal decompositions are vital for making R-GCNs practical for large knowledge graphs by reducing the parameter count and preventing overfitting.
  • Encoder-Decoder Synergy: Combining an R-GCN encoder with a factorization decoder (like DistMult) offers a powerful approach to link prediction, outperforming either component alone. This highlights the flexibility of the encoder-decoder paradigm.
  • Complementarity of Models: The paper suggests that R-GCNs and traditional factorization models might be complementary, with R-GCNs excelling in high-degree node scenarios and factorization models handling simpler cases. An ensemble (R-GCN+) shows improved performance.

Key Results

  • Entity Classification: R-GCN achieved state-of-the-art results on the AIFB and AM datasets, demonstrating its effectiveness as a standalone model for this task.
  • Link Prediction:
    • On the challenging FB15k-237 dataset, the R-GCN encoder combined with a DistMult decoder achieved a 29.8% improvement over a decoder-only baseline.
  • R-GCN+ (an ensemble of R-GCN and DistMult) also showed strong performance, outperforming ComplEx on FB15k.
  • The R-GCN model generally performed better than baselines, especially for entities with high degrees, indicating its ability to leverage rich neighborhood information.

Limitations and Future Work

  • Normalization Constant: The authors conjecture that the fixed normalization constant used for aggregating neighbor messages might be a limitation, especially for high-degree nodes. They suggest exploring attention mechanisms as a promising avenue to make this aggregation data-dependent.
  • Decoder Flexibility: While R-GCNs were combined with DistMult, the authors note that the encoder is orthogonal to the decoder. Future work could explore combining R-GCN encoders with other factorization models, such as ComplEx, which better handles asymmetric relations.
  • Entity Features: Integrating pre-defined entity features (e.g., text descriptions) into R-GCNs is suggested as a way to further improve performance for both link prediction and entity classification.
  • Scalability: For extremely large graphs, exploring subsampling techniques (similar to those used in graph embedding methods) could be beneficial.
  • Generalization: The paper notes that while R-GCNs perform well on knowledge base tasks, the R-GCN framework is generalizable to other applications involving relational data, such as relation extraction.

Summary updated

BibTeX
@inproceedings{schlichtkrull2018modeling,
  author = {Michael Sejr Schlichtkrull and Thomas N. Kipf and Peter Bloem and Rianne van den Berg and Ivan Titov and Max Welling},
  title = {{Modeling Relational Data with Graph Convolutional Networks}},
  booktitle = {ESWC},
  year = {2018},
  doi = {10.1007/978-3-319-93417-4\_38},
}
Figure