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

Convolutional Hypercomplex Embeddings for Link Prediction

Caglar Demir, Diego Moussallem, Stefan Heindorf, Axel-Cyrille Ngonga NgomoarXiv 2021

TL;DR

This paper introduces a new family of Knowledge Graph Embedding (KGE) models that combine the algebraic richness of hypercomplex numbers (quaternions and octonions) with the parameter efficiency of 2D convolutions. By extending traditional models like DistMult and ComplEx into these higher-dimensional spaces, the authors achieve state-of-the-art performance on large-scale link prediction tasks, particularly as the complexity of the knowledge graph grows.

What Problem Does This Paper Address?

Knowledge Graphs (KGs) are structured collections of facts, but they are almost always incomplete. The task of link prediction—predicting missing relationships between entities—is crucial for making these graphs useful for applications like web search and recommender systems.

Most existing KGE research has focused on real ($\mathbb{R}$) or complex ($\mathbb{C}$) number spaces. While recent work has explored quaternions ($\mathbb{H}$), these models often struggle to scale; to increase their expressiveness, you usually have to increase the embedding dimension, which leads to a massive explosion in parameters. The authors seek a way to increase model expressivity without sacrificing parameter efficiency, especially for large, complex graphs.

Methods

The authors propose four new approaches: QMult, OMult, ConvQ, and ConvO.

  1. Algebraic Extensions (QMult & OMult): These are extensions of the well-known DistMult model into quaternion ($\mathbb{H}$, 4D) and octonion ($\mathbb{O}$, 8D) spaces. They use hypercomplex multiplication followed by an inner product to score triples.
  2. Convolutional Fusion (ConvQ & ConvO): These models build on the first two by integrating 2D convolution operations. Inspired by the residual learning framework (ResNets), the convolution output acts as a scaling factor (via the Hadamard product) for the hypercomplex multiplication result. This allows the model to learn complex, non-linear interactions between entities and relations.
  3. Batch Normalization: A key technical contribution is the move from "unit normalization" (common in quaternion models) to batch normalization. This provides better numerical stability and allows the model to learn the optimal rate of normalization during training.
  4. Mathematical Generalization: The authors demonstrate that ConvQ is a flexible framework; it can mathematically "degenerate" into QMult, ComplEx, or DistMult if the training process determines that a simpler representation is more effective for a specific dataset.

Datasets

The models were evaluated on seven benchmark datasets, ranging from small to very large:

  • Standard Benchmarks: WN18RR, FB15K-237, and YAGO3-10.
  • Completeness Benchmarks: FB15K, WN18, Kinship, and UMLS.

The dataset characteristics, including the number of entities ($|\mathcal{E}|$) and relations ($|\mathcal{R}|$), are summarized in the table below:

Overview of datasets used in the study

Key Insights and Ideas

  • Complexity Scaling: The benefits of hypercomplex embeddings (quaternions and octonions) become significantly more apparent as the size and complexity (measured by node degree and PageRank) of the knowledge graph increase.
  • Parameter Efficiency via Sharing: By using convolutions, the models benefit from "parameter sharing." This allows them to capture intricate patterns without the linear parameter growth associated with simply increasing embedding dimensions.
  • Normalization is Crucial: Replacing unit normalization with batch normalization was a major factor in performance. It provides an implicit regularization effect that helps the models converge more reliably in hypercomplex spaces.
  • Directional Sensitivity: The models are exceptionally good at predicting symmetric relations (achieving a perfect 1.0 MRR on some), but performance varies significantly based on the direction of prediction (head vs. tail) for non-symmetric relations.

Key Results

  • New State-of-the-Art: ConvO outperformed existing state-of-the-art models on the FB15K-237 dataset in Mean Reciprocal Rank (MRR), Hit@1, and Hit@3.
  • Large-Scale Dominance: On the largest dataset, YAGO3-10, all four proposed models (QMult, OMult, ConvQ, ConvO) outperformed previous approaches across all metrics.
  • Ensemble Boost: The authors found that averaging the predictions of different models (e.g., QMult + ConvQ) further improved MRR by approximately 1–2%.
  • Parameter Comparison: Despite their high performance, these models remain competitive in terms of trainable parameters. For instance, on YAGO3-10, QMult uses ~49M parameters compared to RotatE's ~123M.

Limitations and Future Work

  • Overfitting Risks: On the YAGO3-10 dataset, ConvO reached a lower training error than QMult but didn't always translate that to better test performance, suggesting that the high expressivity of convolutional hypercomplex models can lead to overfitting.
  • Regularization: The authors identify a need for new regularization techniques specifically tailored for convolution operations in hypercomplex spaces.
  • Temporal and Translation Models: Future research directions include extending these hypercomplex compositions to temporal knowledge graphs (where facts change over time) and exploring translation-based models (like TransE) within quaternion and octonion spaces.

Summary updated

BibTeX
@misc{demir2021convolutional,
  author = {Caglar Demir and Diego Moussallem and Stefan Heindorf and Axel-Cyrille Ngonga Ngomo},
  title = {{Convolutional Hypercomplex Embeddings for Link Prediction}},
  year = {2021},
  eprint = {2106.15230},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2106.15230},
}
Figure