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

Composition-based Multi-Relational Graph Convolutional Networks

Shikhar Vashishth, Soumya Sanyal, Vikram Nitin, Partha P. Talukdar

Overview

CompGCN is a novel Graph Convolutional Network (GCN) framework designed specifically for multi-relational graphs, such as Knowledge Graphs. Unlike traditional approaches that only update node representations, CompGCN jointly learns embeddings for both nodes and relations. By leveraging entity-relation composition operations, it avoids the "parameter explosion" common in previous methods while achieving state-of-the-art performance across link prediction and node classification tasks.

The Problem with Existing Relational GCNs

Most standard Graph Convolutional Networks are designed for simple, undirected graphs where all edges are of the same type. However, real-world data often lives in multi-relational graphs (e.g., Knowledge Graphs like Freebase or WordNet), where edges have specific labels and directions (e.g., "Christopher Nolan" directed "The Dark Knight").

Existing GCN-based approaches for these graphs, such as R-GCN, suffer from two major flaws:

  1. Over-parameterization: They often assign a unique weight matrix to every single relation type. If a graph has thousands of relations, the model size becomes unmanageable and prone to overfitting.
  2. Node-Centricity: They typically only learn representations for nodes, ignoring the fact that the relations themselves are valuable entities that should be embedded in the same space, especially for downstream tasks like link prediction.

The CompGCN Approach

The core innovation of CompGCN is the Composition Operation ($\phi$). Instead of just aggregating neighbor features, CompGCN treats the relation as a first-class citizen during the message-passing phase.

Overview of the CompGCN update mechanism showing how node and relation embeddings are composed.

Key Components

  • Joint Embedding: The model maintains and updates vectors for both nodes ($h_v$) and relations ($h_r$) throughout the network layers.
  • Composition ($\phi$): To compute a message from a neighbor, the model combines the neighbor's node embedding with the edge's relation embedding using a composition operator. The authors test three non-parametric versions:
  • Subtraction: $h_u - h_r$ (inspired by TransE)
    • Multiplication: $h_u * h_r$ (inspired by DistMult)
    • Circular Correlation: $h_u \star h_r$ (inspired by HolE)
  • Directional Filters: The model uses three specific weight matrices to transform the composed messages: $W_O$ for original edges, $W_I$ for inverse edges, and $W_S$ for self-loops.
  • Basis Decomposition: To handle a massive number of relations, initial relation embeddings are represented as a linear combination of a small set of "basis vectors," significantly reducing the parameter count.
  • Relation Evolution: Unlike previous models where relations are static, CompGCN updates relation embeddings at each layer using a shared transformation matrix ($W_{rel}$).

Key Insights and Results

The authors evaluated CompGCN on standard benchmarks for Link Prediction (FB15k-237, WN18RR), Node Classification (MUTAG, AM), and Graph Classification (MUTAG, PTC).

Performance Highlights

  • Relations are Messages: By treating relations as vectors that "compose" with node features, the model captures the semantic interaction between entities and their links more effectively than simply switching between weight matrices.
  • Link Prediction: CompGCN outperformed strong baselines like ConvE and RotatE on 4 out of 5 metrics for FB15k-237. Specifically, using CompGCN with Circular Correlation achieved an MRR of 0.355.
  • Node Classification: On the MUTAG dataset, CompGCN achieved 85.3% accuracy, a massive jump over R-GCN’s 73.2%.
CompGCN architecture compared to baselines, and its performance retention using basis decomposition.

Scalability and Efficiency

CompGCN’s complexity is $O(Kd^2 + Bd + B|R|)$, which is much more efficient than R-GCN's $O(BKd^2 + BK|R|)$. This allows it to scale to graphs with many more relation types without hitting memory limits. The basis decomposition proved highly effective: the model achieved nearly peak performance using only 50 basis vectors for a graph with 237 relations, demonstrating that it can compress relational information without losing much signal.

Furthermore, the authors mathematically prove that CompGCN is a generalization of several existing models. By changing the composition operator or the weighting scheme, CompGCN can effectively "become" a standard GCN, an R-GCN, or a Directed-GCN.

Limitations and Future Work

While highly effective, the framework has a few limitations:

  • Non-Parametric Focus: The paper primarily explores non-parametric composition operators (subtraction, multiplication, correlation). Parameterized operators (like using a small neural network for $\phi$) could be more powerful, though they risk reintroducing over-parameterization.
  • Readout Functions: For graph classification, the model uses simple averaging of node embeddings. More sophisticated pooling mechanisms designed for multi-relational data could further improve results.
  • Complex Domains: Applying CompGCN to dynamic or temporal graphs remains an open area for exploration.

Summary updated

BibTeX
@inproceedings{vashishth2020composition,
  author = {Shikhar Vashishth and Soumya Sanyal and Vikram Nitin and Partha P. Talukdar},
  title = {{Composition-based Multi-Relational Graph Convolutional Networks}},
  booktitle = {International Conference on Learning Representations},
  year = {2020},
}
Figure