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

Geometric Structural Knowledge Graph Foundation Model

Ling Xin, Mojtaba Nayyeri, Zahra Makki Nayeri, Steffen StaabarXiv 2025 · DOI

Abstract

Knowledge Graph (KG) reasoning requires models to generalize across diverse relational patterns, such as symmetry, hierarchy, and one-to-many mappings. Traditional foundation models often rely on a single geometric space, which limits their inductive bias. We present GAMMA (Geometric Attention Multi-Message Aggregation), a foundation model that utilizes multiple geometric spaces—real, complex, split-complex, and dual numbers—to achieve universal relational reasoning. GAMMA demonstrates a 5.5% improvement in zero-shot inductive link prediction over previous state-of-the-art models, proving that geometric diversity is a critical factor in universal generalization.

Introduction

Knowledge Graphs (KGs) serve as structured repositories of human knowledge, represented as triples of entities and relations (e.g., Paris — IsCapitalOf — France). A central challenge in AI is the development of foundation models capable of "zero-shot" reasoning—predicting links in entirely unseen graphs with novel entities and relations.

Current state-of-the-art models, such as ULTRA, typically employ a single mathematical transformation (e.g., element-wise multiplication in real space) for message passing. However, real-world relations are mathematically diverse. For instance, symmetric relations like is_married_to require different inductive biases than hierarchical relations like part_of. A single geometry often excels at one pattern while struggling with others. GAMMA addresses this by integrating multiple geometric "experts" into a single architecture.

Methodology: Multi-Head Geometric Attention

The core of GAMMA is its Multi-Head Geometric Attention architecture, which processes information through four parallel algebraic branches, each operating in a distinct mathematical system:

  1. Real (DistMult): Provides a robust baseline for general relational patterns.
  2. Complex: Utilizes rotations in the complex plane to model symmetry and anti-symmetry.
  3. Split-Complex: Leverages hyperbolic geometry to naturally capture partial orders and hierarchical structures.
  4. Dual Numbers: Employs "nilpotent" terms to model translational offsets and one-to-many relations.

Relational Conditioned Attention Fusion

To synthesize these branches, GAMMA uses a lightweight gating module that dynamically weights the contribution of each geometry based on the specific query. This "Relational Conditioned Attention Fusion" allows the model to adapt its reasoning strategy for every triple it encounters. Furthermore, the model employs entropy regularization during training to prevent "branch collapse," ensuring that each geometric space contributes unique structural insights rather than the model relying on a single branch.

Experimental Design

GAMMA was evaluated against a massive benchmark of 56 diverse knowledge graphs. The model was pre-trained on three standard datasets (FB15k-237, WN18RR, and CoDEx-M) and subsequently tested in a zero-shot capacity on 53 unseen graphs. These test sets included:

  • 15 Transductive datasets: Fixed entities and relations.
  • 18 Inductive (e) datasets: Unseen entities appear at inference time.
  • 23 Inductive (e,r) datasets: Both unseen entities and unseen relations appear, representing the most challenging reasoning scenario.

The evaluation spanned multiple domains, including WordNet, Freebase, NELL, YAGO, and ConceptNet.

Results and Discussion

GAMMA consistently outperformed the previous state-of-the-art, ULTRA, across all benchmarks. Key findings include:

  • Inductive Performance: GAMMA achieved a 5.5% improvement in Mean Reciprocal Rank (MRR) on inductive benchmarks and a 7.0% boost on specific inductive entity sets.
  • Pattern Mastery: The model showed significant gains in specific relational patterns: +3.6% for symmetric relations, +2.5% for anti-symmetric relations, and +2.2% for composition patterns.
  • Geometry vs. Scale: Increasing the parameter count of baseline models did not yield significant improvements. GAMMA’s success is attributed to its mathematical diversity rather than raw scale.
  • The Importance of Late Fusion: Experimental results indicated that maintaining separate geometric branches through the layers (late fusion) is superior to early fusion, as it preserves the specialized expertise of each algebraic system.

Conclusion

GAMMA demonstrates that geometric diversity is essential for building universal foundation models for Knowledge Graphs. By combining complex, split-complex, and dual number geometries, the model effectively captures the wide variety of relational patterns found in real-world data. Future work will focus on improving computational efficiency and extending GAMMA to multi-hop and temporal reasoning tasks.

Summary updated

BibTeX
@misc{xin2025geometric,
  author = {Ling Xin and Mojtaba Nayyeri and Zahra Makki Nayeri and Steffen Staab},
  title = {{Geometric Structural Knowledge Graph Foundation Model}},
  year = {2025},
  eprint = {2512.22931},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2512.22931},
}
Figure