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

Low-Dimensional Hyperbolic Knowledge Graph Embeddings

Ines Chami, Adva Wolf, Da-Cheng Juan, Frederic Sala, Sujith Ravi, Christopher Ré

Abstract

Knowledge Graph (KG) embedding models often struggle to balance the representation of hierarchical structures with complex logical relational patterns. This paper introduces ATTH, an attention-based hyperbolic embedding model that leverages hyperbolic geometry's inherent capacity for hierarchies and geometric isometries for logical patterns. By utilizing rotations, reflections, and trainable curvature, ATTH achieves state-of-the-art performance in low-dimensional spaces, significantly reducing memory requirements compared to traditional Euclidean models.

Introduction

Knowledge Graphs (KGs) are essential for storing factual information as triples (subject, relation, object). Predicting missing links within these graphs requires embedding entities and relations into continuous vector spaces. However, KGs present two primary challenges: representing tree-like hierarchies (e.g., hypernyms) and capturing logical patterns such as symmetry and anti-symmetry.

Example of a Knowledge Graph structure with hierarchical and relational patterns.

Standard Euclidean spaces require high dimensionality to represent hierarchies without crowding. While previous hyperbolic models addressed hierarchy, they often failed to capture complex logic. ATTH bridges this gap by combining hyperbolic geometry with relational rotations and reflections.

Methodology

ATTH operates within the Poincaré ball model of hyperbolic geometry. The model introduces several key innovations:

  1. Hyperbolic Isometries: ATTH uses distance-preserving transformations—rotations (Givens transformations) for anti-symmetric relations and reflections for symmetric relations.
  2. Hyperbolic Attention: An attention mechanism learns the optimal weighted combination of rotation and reflection for each relation, allowing for mixed logical behaviors.
  3. Trainable Curvature ($c_r$): Instead of a fixed global curvature, ATTH learns a specific curvature for each relation, enabling the space to adapt between "tree-like" (curved) and "flat" (Euclidean) geometries.
  4. Tangent Space Optimization: To simplify optimization, operations are performed in the tangent space—a local Euclidean approximation—before being projected back into hyperbolic space via the exponential map.
Visualization of the tangent space $T_xM$ and the exponential map $\exp_x(\mathbf{v})$ used for hyperbolic optimization.

Evaluation and Results

The model was benchmarked against WN18RR (hierarchical), FB15k-237 (logical), and YAGO3-10 (mixed).

Performance in Low Dimensions

In 32-dimensional spaces, ATTH outperformed existing Euclidean and hyperbolic models by up to 6.1% in Mean Reciprocal Rank (MRR). On the highly hierarchical WN18RR dataset, it demonstrated a 16% to 24% relative improvement over Euclidean baselines.

State-of-the-Art Benchmarks

In high-dimensional settings ($d=500$), ATTH established new state-of-the-art records for WN18RR (49.6% MRR) and YAGO3-10 (57.7% MRR). The model's efficiency allows it to achieve high accuracy with a fraction of the parameters required by Euclidean models like RotatE.

Discussion

The success of ATTH stems from the "roominess" of hyperbolic space, which expands exponentially, allowing for low-distortion tree embeddings. Furthermore, the mapping of geometric operations to logical properties—reflections for symmetry and rotations for anti-symmetry—provides a mathematically grounded framework for KG representation.

While ATTH is memory-efficient, the use of complex geometric maps introduces some computational overhead. Future work may explore extending these attention-based transformations to broader tasks like hypernym detection or more intricate geometric operations.

Summary updated

BibTeX
@inproceedings{chami2020low,
  author = {Ines Chami and Adva Wolf and Da-Cheng Juan and Frederic Sala and Sujith Ravi and Christopher Ré},
  title = {{Low-Dimensional Hyperbolic Knowledge Graph Embeddings}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2020},
  doi = {10.18653/v1/2020.acl-main.617},
}
Figure