Clifford Embeddings - A Generalized Approach for Embedding in Normed Algebras
Abstract
A growing number of knowledge graph embedding models exploit the characteristics of division algebras (e.g., $\mathbb {R}$ R , $\mathbb {C}$ C , $\mathbb {H}$ H , and $\mathbb {O}$ O ) to learn embeddings. Yet, recent empirical results suggest that the suitability of algebras is contingent upon the knowledge graph being embedded. In this work, we tackle the challenge of selecting the algebra within which a given knowledge graph should be embedded by exploiting the fact that Clifford algebras $Cl_{p, q}$ C l p , q generalize over $\mathbb {R}$ R , $\mathbb {C}$ C , $\mathbb {H}$ H , and $\mathbb {O}$ O . Our embedding approach, Keci , is the first knowledge graph embedding model that can parameterize the algebra within which it operates. With Keci , the selection of an underlying algebra becomes a part of the learning process. Specifically, Keci starts the training process by learning real-valued embeddings for entities and relations in $\mathbb {R}^m=Cl^m_{0,0}$ R m = C l 0 , 0 m . At each mini-batch update, Keci can steer the training process from $Cl^m_{p, q}$ C l p , q m to $Cl^m_{p+1,q}$ C l p + 1 , q m or $Cl^m_{p, q+1}$ C l p , q + 1 m by processing the training loss. In this way, Keci can decide the algebra within which it operates in a data-driven fashion. Consequently, Keci is a generalization of previous approaches such as DistMult, ComplEx, QuatE, and OMult. Our evaluation suggests that Keci outperforms state-of-the-art embedding approaches on seven benchmark datasets. We provide an open-source implementation of Keci , including pre-trained models, training and evaluation scripts ( https://github.com/dice-group/dice-embeddings ).
Cite
Text
Demir and Ngomo. "Clifford Embeddings - A Generalized Approach for Embedding in Normed Algebras." European Conference on Machine Learning and Principles and Practice of Knowledge Discovery in Databases, 2023. doi:10.1007/978-3-031-43418-1_34Markdown
[Demir and Ngomo. "Clifford Embeddings - A Generalized Approach for Embedding in Normed Algebras." European Conference on Machine Learning and Principles and Practice of Knowledge Discovery in Databases, 2023.](https://mlanthology.org/ecmlpkdd/2023/demir2023ecmlpkdd-clifford/) doi:10.1007/978-3-031-43418-1_34BibTeX
@inproceedings{demir2023ecmlpkdd-clifford,
title = {{Clifford Embeddings - A Generalized Approach for Embedding in Normed Algebras}},
author = {Demir, Caglar and Ngomo, Axel-Cyrille Ngonga},
booktitle = {European Conference on Machine Learning and Principles and Practice of Knowledge Discovery in Databases},
year = {2023},
pages = {567-582},
doi = {10.1007/978-3-031-43418-1_34},
url = {https://mlanthology.org/ecmlpkdd/2023/demir2023ecmlpkdd-clifford/}
}