Complex Hyperbolic Knowledge Graph Embeddings with Fast Fourier Transform

Huiru Xiao, Xin Liu, Yangqiu Song, Ginny Y. Wong, Simon See
11/7/2022
cs.LGcs.AI

Official code: HKUST-KnowComp/ComplexHyperbolicKGE (12 stars, Python, last commit 2022-11-09).

Abstract

The choice of geometric space for knowledge graph (KG) embeddings can have significant effects on the performance of KG completion tasks. The hyperbolic geometry has been shown to capture the hierarchical patterns due to its tree-like metrics, which addressed the limitations of the Euclidean embedding models.

Show full abstract

Recent explorations of the complex hyperbolic geometry further improved the hyperbolic embeddings for capturing a variety of hierarchical structures. However, the performance of the hyperbolic KG embedding models for non-transitive relations is still unpromising, while the complex hyperbolic embeddings do not deal with multi-relations. This paper aims to utilize the representation capacity of the complex hyperbolic geometry in multi-relational KG embeddings. To apply the geometric transformations which account for different relations and the attention mechanism in the complex hyperbolic space, we propose to use the fast Fourier transform (FFT) as the conversion between the real and complex hyperbolic space. Constructing the attention-based transformations in the complex space is very challenging, while the proposed Fourier transform-based complex hyperbolic approaches provide a simple and effective solution. Experimental results show that our methods outperform the baselines, including the Euclidean and the real hyperbolic embedding models.

View on arXivView PDF

Code Implementations(1)

Source code for the paper 'Complex Hyperbolic Knowledge Graph Embeddings with Fast Fourier Transform'.

120Python, ShellOct 19, 20224 years ago

Similar Papers

Cite this paper

@article{xiao2022complex,
  title  = {Complex Hyperbolic Knowledge Graph Embeddings with Fast Fourier Transform},
  author = {Huiru Xiao and Xin Liu and Yangqiu Song and Ginny Y. Wong and Simon See},
  year   = {2022},
  eprint = {2211.03635},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2211.03635}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2211.03635.svg)](https://codeofpaper.com/paper/2211.03635)

Discussion