Skip to main content
QUICK REVIEW

[Paper Review] On the Equivalence of Holographic and Complex Embeddings for Link Prediction

Katsuhiko Hayashi, Masashi Shimbo|arXiv (Cornell University)|Feb 18, 2017
Advanced Graph Neural NetworksComputer Science6 references28 citations
TL;DR

This paper establishes the theoretical equivalence between holographic embeddings (HolE) and complex embeddings (ComplEx) for knowledge graph completion. It shows that spectral HolE—trained entirely in the frequency domain using the Fourier transform—can be viewed as a constrained form of ComplEx with conjugate symmetry, while any ComplEx embedding can be converted to an equivalent HolE representation, preserving scores up to scaling.

ABSTRACT

We show the equivalence of two state-of-the-art link prediction/knowledge graph completion methods: Nickel et al's holographic embedding and Trouillon et al.'s complex embedding. We first consider a spectral version of the holographic embedding, exploiting the frequency domain in the Fourier transform for efficient computation. The analysis of the resulting method reveals that it can be viewed as an instance of the complex embedding with certain constraints cast on the initial vectors upon training. Conversely, any complex embedding can be converted to an equivalent holographic embedding.

Motivation & Objective

  • To investigate the theoretical relationship between two state-of-the-art link prediction models: holographic embeddings (HolE) and complex embeddings (ComplEx).
  • To develop a spectral training method for HolE that operates entirely in the frequency domain using the Fast Fourier Transform (FFT).
  • To establish formal equivalence between HolE and ComplEx, showing that one can be transformed into the other while preserving scoring function outputs up to scaling.
  • To reduce computational complexity of HolE scoring from O(n log n) to O(n) by eliminating the need for FFT and inverse FFT in inference.

Proposed method

  • Proposes spectral training of HolE by learning embeddings in the frequency domain using the Discrete Fourier Transform (DFT), replacing time-domain real vectors with complex frequency-domain vectors.
  • Imposes conjugate symmetry on frequency-domain embeddings to ensure the inverse DFT yields real-valued holographic embeddings.
  • Derives the scoring function in the frequency domain as f_HolE(r,s,o) = (1/n) Re(ω_r · (ε_s ⊙ ε_o)), which avoids FFT operations during inference.
  • Demonstrates that this spectral HolE formulation is equivalent to ComplEx under the constraint that complex embeddings are conjugate symmetric.
  • Constructs a mapping h(·) from complex embeddings to equivalent real-valued holographic embeddings via s(x) = [0, x, flip(x)]^T and inverse DFT.
  • Proves that the resulting HolE score is exactly 2/n times the ComplEx score, showing equivalence up to a constant scaling factor.

Experimental results

Research questions

  • RQ1Is there a formal mathematical relationship between holographic embeddings (HolE) and complex embeddings (ComplEx)?
  • RQ2Can HolE be trained and scored entirely in the frequency domain without incurring FFT overhead?
  • RQ3Does imposing conjugate symmetry on complex embeddings yield the same behavior as spectral HolE?
  • RQ4Can every set of complex embeddings be converted into an equivalent holographic embedding with identical scoring outcomes?
  • RQ5What is the computational complexity of the scoring function in the spectral HolE formulation compared to standard HolE?

Key findings

  • Spectral HolE, trained in the frequency domain, achieves O(n) scoring complexity by eliminating the need for FFT and inverse FFT operations.
  • The spectral HolE model is mathematically equivalent to ComplEx under the constraint that complex embeddings exhibit conjugate symmetry.
  • Any ComplEx embedding can be converted into an equivalent HolE representation via the transformation h(x) = F⁻¹([0, x, flip(x)]^T), preserving scores up to a scaling factor of 2/n.
  • The frequency-domain formulation of HolE is equivalent to ComplEx with conjugate symmetric embeddings, making it a special case of the broader ComplEx framework.
  • The conjugate symmetry property is preserved during stochastic gradient descent training in the frequency domain, ensuring valid real-valued holographic embeddings in the time domain.
  • The equivalence implies that ComplEx and HolE are not fundamentally different models, but rather two parameterizations of the same underlying scoring function.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.