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

HopfE: Knowledge Graph Representation Learning using Inverse Hopf Fibrations

Anson Bastos, Kuldeep Singh, Abhishek Nadgeri, Saeedeh Shekarpour, Isaiah Onando Mulang', Johannes Hoffart

TL;DR

HopfE is a novel Knowledge Graph Embedding (KGE) framework that bridges the gap between 3D geometric interpretability and 4D expressiveness. By using Inverse Hopf Fibrations, the model "lifts" entity representations from points in 3D space to circles (fibers) in 4D space, allowing it to encode rich semantic attributes while maintaining clear rotational interpretations for relations.

What Problem Does This Paper Address?

In the world of Knowledge Graph Embeddings, there is a persistent tug-of-war between interpretability and expressiveness.

  • Interpretability means we can geometrically understand what a relation does (e.g., a rotation in 2D or 3D space representing an "inverse" or "symmetric" relationship).
  • Expressiveness usually involves moving to higher-dimensional spaces (like 4D quaternions) to capture more complex patterns, but this often muddies the geometric intuition.

Furthermore, most KGE models treat entities as simple points in space, struggling to integrate "literals"—the rich textual descriptions, aliases, and types found in real-world knowledge graphs. This paper aims to provide a model that is high-dimensional and semantically rich without losing its geometric "soul."

Methods

The authors introduce HopfE, which operates in a multi-step pipeline:

  1. 3D Rotational Modeling: Entities are initially modeled in 3D Euclidean space. Relations are treated as rotations ($SO(3)$) using unit quaternions. This ensures that logical patterns like symmetry and composition have a clear geometric meaning.
  2. Inverse Hopf Fibration: This is the core mathematical innovation. The model uses the Inverse Hopf Map to project a 3D point onto a fiber (a circle) on a 4D hypersphere ($S^3$).
  3. Semantic Induction: Instead of representing an entity as a single point on that 4D circle, HopfE represents it as a set of points on the fiber. Each point corresponds to a different semantic attribute (e.g., an entity's description, its type, or its aliases). These attributes are encoded using a CBOW model initialized with GloVe embeddings.
  4. Wasserstein Scoring: To calculate the "plausibility" of a triple (head, relation, tail), the model compares the sets of points on the fibers of the head and tail entities. It uses Optimal Transport (Wasserstein Distance)—specifically Sinkhorn iterations—to find the best matching between these attribute sets.

Datasets

The model was evaluated on four standard Knowledge Graph completion benchmarks:

  • WN18 & WN18RR: Derived from WordNet; WN18RR is a harder version that removes inverse relations to prevent simple memorization.
  • FB15k237: A subset of Freebase containing complex, overlapping relations.
  • YAGO3-10: A dataset rich in textual literals (descriptions, professions, etc.), making it ideal for testing semantic induction.

Key Insights and Ideas

  • Entities as Manifolds: By moving from points to "fibers" (circles), the authors treat entities as multi-faceted objects. This allows the model to store different "views" of an entity (its name vs. its description) in the same representation.
  • Geometric Inheritance: Because the rotation happens in 3D before the lifting to 4D, the model "inherits" the interpretability of 3D models like NagE while gaining the capacity of 4D models like QuatE.
  • The "Extra Dimension" is for Semantics: The Hopf Fibration naturally provides an extra degree of freedom. HopfE uses this specifically to ground the latent embeddings in real-world ontology and text.

Key Results

  • State-of-the-Art Performance: HopfE achieved SOTA or comparable results across all benchmarks. It particularly excelled on WN18RR and YAGO3-10.
  • Semantic Boost: On YAGO3-10, which is dense with descriptive attributes, HopfE significantly outperformed the previous baseline (RotatE), proving that its method of "inducing semantics" onto the fibers actually works.
  • Maintained Interpretability: The authors visualized the rotation angles for specific relation types. They found that for inverse relations, the sum of rotation angles concentrated at $0^\circ$, confirming that the model's geometric logic remained intact even in 4D.

Limitations and Future Work

  • Computational Complexity: Calculating Wasserstein distance between sets of attributes is more expensive than simple vector subtraction. While the authors used Sinkhorn iterations to speed this up, it remains a bottleneck for very large attribute sets.
  • Numeric Literals: The current model focuses on textual literals. The authors noted that encoding numeric data (like dates or coordinates) is a current limitation and a target for future research.
  • Dynamic Attribute Selection: A promising future direction is developing a mechanism for the model to "choose" which semantic attributes are most relevant for a specific relation dynamically.

Summary updated

BibTeX
@inproceedings{bastos2021hopfe,
  author = {Anson Bastos and Kuldeep Singh and Abhishek Nadgeri and Saeedeh Shekarpour and Isaiah Onando Mulang' and Johannes Hoffart},
  title = {{HopfE: Knowledge Graph Representation Learning using Inverse Hopf Fibrations}},
  booktitle = {ACM International Conference on Information and Knowledge Management},
  year = {2021},
  url = {https://openreview.net/forum?id=0y8QHJA4aTk},
}

Loading related content...

Figure