English

Embedding Knowledge Graphs in Degenerate Clifford Algebras

Artificial Intelligence 2024-09-24 v3 Machine Learning

Abstract

Clifford algebras are a natural generalization of the real numbers, the complex numbers, and the quaternions. So far, solely Clifford algebras of the form Clp,qCl_{p,q} (i.e., algebras without nilpotent base vectors) have been studied in the context of knowledge graph embeddings. We propose to consider nilpotent base vectors with a nilpotency index of two. In these spaces, denoted Clp,q,rCl_{p,q,r}, allows generalizing over approaches based on dual numbers (which cannot be modelled using Clp,qCl_{p,q}) and capturing patterns that emanate from the absence of higher-order interactions between real and complex parts of entity embeddings. We design two new models for the discovery of the parameters pp, qq, and rr. The first model uses a greedy search to optimize pp, qq, and rr. The second predicts (p,q,r)(p, q,r) based on an embedding of the input knowledge graph computed using neural networks. The results of our evaluation on seven benchmark datasets suggest that nilpotent vectors can help capture embeddings better. Our comparison against the state of the art suggests that our approach generalizes better than other approaches on all datasets w.r.t. the MRR it achieves on validation data. We also show that a greedy search suffices to discover values of pp, qq and rr that are close to optimal.

Keywords

Cite

@article{arxiv.2402.04870,
  title  = {Embedding Knowledge Graphs in Degenerate Clifford Algebras},
  author = {Louis Mozart Kamdem Teyou and Caglar Demir and Axel-Cyrille Ngonga Ngomo},
  journal= {arXiv preprint arXiv:2402.04870},
  year   = {2024}
}
R2 v1 2026-06-28T14:41:35.932Z