Geometric Relational Embeddings

Bo Xiong

Abstract

Relational representation learning typically transforms symbolic data into continuous vector spaces. However, standard point-based Euclidean embeddings often fail to capture the complex hierarchical, logical, and high-order structures inherent in real-world knowledge. This paper presents a paradigm shift toward geometric relational embeddings—utilizing boxes, disks, and non-Euclidean manifolds. We demonstrate that these models provide superior inductive biases for modeling ontologies, knowledge graphs, and logical constraints, leading to improved performance and mathematical soundness in relational reasoning tasks.

Introduction

In classical artificial intelligence, knowledge is represented through symbolic triplets (e.g., Alice — works_at — IBM) within Knowledge Bases (KBs) or ontologies. Modern machine learning bridges the gap between symbolic logic and continuous optimization by "embedding" these symbols into vector spaces. Traditionally, these methods represent entities as single points in flat Euclidean space.

However, Euclidean point-based models face two fundamental limitations. First, there is a geometric mismatch: real-world data often exhibits hierarchical or cyclic structures that Euclidean space cannot efficiently accommodate. For instance, the volume of Euclidean space grows linearly with radius, whereas hierarchical trees grow exponentially. Second, there is a logical incompatibility: points lack volume, making it difficult to model set-theoretic concepts like inclusion (A Dog is an Animal) or intersection (A Father is both a Male and a Parent) with mathematical rigor.

This research introduces geometric relational embeddings that move beyond "point-in-flat-space" paradigms to more expressive geometric shapes and curved manifolds, respecting the underlying symbolic structures of the data.

Methodology: Geometric Inductive Biases

The dissertation proposes several novel models, each designed to address specific structural properties of relational data:

1. Pseudo-Riemannian Embeddings (QGCN & UltraE)

Standard Riemannian manifolds are typically restricted to constant positive (spherical) or negative (hyperbolic) curvature. In contrast, these models utilize pseudo-Riemannian geometry. By adjusting the "signature"—the balance of time-like versus space-like dimensions—the model can simultaneously handle tree-like hierarchies and cyclic network structures, automatically discovering the optimal curvature for a given dataset.

2. Box Embeddings for Logical Reasoning (BoxEL)

To model Description Logic (specifically the EL++ fragment), concepts are represented as axis-parallel boxes rather than points. This approach is naturally suited for logical "AND" operations, as the intersection of two boxes remains a box. Relations are modeled as affine transformations that shift and scale these volumes, providing a geometric framework for concept subsumption.

3. Hyperbolic Hyperplanes (HMI)

For multi-label classification under logical constraints (e.g., taxonomic hierarchies), the research employs Poincaré hyperplanes. These act as decision boundaries in hyperbolic space that can be nested or kept disjoint, ensuring that predictions remain logically consistent with the underlying label hierarchy.

4. High-Order and Hyper-Relational Structures (ShrinkE & FactE)

Real-world facts often include qualifiers (e.g., "Alice worked at IBM from 2010 to 2020"). ShrinkE models these qualifiers as "shrinking" operations on a box, ensuring qualifier monotonicity—where adding information narrows the search space. FactE addresses nested facts (facts about facts) using hypercomplex rotations (quaternions) to maintain recursive relationships.

Empirical Evaluation

The models were validated across diverse benchmarks, including standard graphs (Web-Edu, citation networks), Knowledge Graphs (WN18RR, FB15k-237, YAGO3-10), and biomedical ontologies (Gene Ontology, GALEN).

Key Results

  • Efficiency and Scalability: The Hyperbolic HMI model achieved state-of-the-art results in multi-label prediction while requiring an order of magnitude fewer dimensions than Euclidean counterparts.
  • Handling Mixed Topologies: QGCN outperformed purely hyperbolic or spherical models on heterogeneous graphs, confirming that real-world data rarely adheres to a single curvature.
  • Logical Soundness: BoxEL provides a "soundness" guarantee; if the model reaches zero loss, the resulting embedding is a mathematically valid logical model of the knowledge base.
  • Predictive Accuracy: ShrinkE demonstrated a 6.2% improvement in Mean Reciprocal Rank (MRR) on the WD50k dataset, showcasing the power of geometric modeling for hyper-relational data.

Discussion and Future Work

While geometric embeddings offer significant advantages in expressivity and logical consistency, they introduce new challenges. Operations in hyperbolic space and box volume calculations are more computationally intensive than Euclidean dot products. Furthermore, current models are "shallow," relying on lookup tables rather than deep neural encoders that can process multi-modal data like text or images.

Future research will focus on integrating these geometric constraints into Large Language Models (LLMs). By grounding LLM reasoning in structured geometric spaces, it may be possible to reduce hallucinations and improve the reliability of AI in high-stakes domains such as medicine and law.

Conclusion

Geometric relational embeddings represent a significant step toward unifying symbolic logic with continuous representation learning. By matching the geometry of the embedding space to the topology of the data, we can create AI systems that are not only more accurate but also more logically consistent and interpretable.

Summary updated

BibTeX
@inproceedings{xiong2024geometric,
  author = {Bo Xiong},
  title = {{Geometric Relational Embeddings}},
  booktitle = {Undefined},
  year = {2024},
  url = {https://openreview.net/forum?id=V9fQV6aIvU},
}
Figure