Skip to main content
QUICK REVIEW

[Paper Review] QuatDE: Dynamic Quaternion Embedding for Knowledge Graph Completion

Haipeng Gao, Kun Yang|arXiv (Cornell University)|May 19, 2021
Advanced Graph Neural NetworksComputer Science27 references8 citations
TL;DR

QuatDE proposes a dynamic quaternion embedding model for knowledge graph completion that enhances feature interaction through relation-specific, adaptive mapping vectors in quaternion space. By leveraging Hamilton products to dynamically adjust entity representations, QuatDE achieves state-of-the-art performance, improving mean reciprocal rank (MR) by 26% on WN18 and 15% on WN18RR over QuatE.

ABSTRACT

Knowledge graph embedding has been an active research topic for knowledge base completion (KGC), with progressive improvement from the initial TransE, TransH, RotatE et al to the current state-of-the-art QuatE. However, QuatE ignores the multi-faceted nature of the entity and the complexity of the relation, only using rigorous operation on quaternion space to capture the interaction between entitiy pair and relation, leaving opportunities for better knowledge representation which will finally help KGC. In this paper, we propose a novel model, QuatDE, with a dynamic mapping strategy to explicitly capture the variety of relational patterns and separate different semantic information of the entity, using transition vectors to adjust the point position of the entity embedding vectors in the quaternion space via Hamilton product, enhancing the feature interaction capability between elements of the triplet. Experiment results show QuatDE achieves state-of-the-art performance on three well-established knowledge graph completion benchmarks. In particular, the MR evaluation has relatively increased by 26% on WN18 and 15% on WN18RR, which proves the generalization of QuatDE.

Motivation & Objective

  • To address the limited representation capacity and weak feature interaction in existing quaternion-based models like QuatE.
  • To explicitly model diverse relational patterns—such as one-to-many, many-to-one, and many-to-many—by enabling dynamic entity representations.
  • To enhance semantic separation and interaction between entities and relations through a dynamic mapping strategy in quaternion space.
  • To improve generalization and performance on standard benchmarks, especially under low-dimensional settings.
  • To demonstrate the superiority of combining quaternion-valued neural networks with dynamic adaptation for knowledge graph embedding.

Proposed method

  • Introduces a dynamic mapping strategy using three additional quaternion vectors: subject transfer, object transfer, and relation transfer vectors.
  • Applies the Hamilton product to adjust entity embedding positions in quaternion space based on the specific relation and role (head or tail).
  • Uses a scoring function that incorporates dynamic mappings to model triplet interactions more effectively than static quaternion embeddings.
  • Employs a loss function based on negative sampling and margin ranking to optimize the dynamic representations.
  • Designs the model to be compatible with quaternion-valued neural networks (QNN), enhancing expressiveness and generalization.
  • Fixes the embedding dimension at 50 for ablation studies, showing strong performance even with reduced parameters compared to QuatE.

Experimental results

Research questions

  • RQ1Can a dynamic mapping strategy in quaternion space improve the representation of entities and relations in knowledge graph completion?
  • RQ2Does explicitly modeling relational patterns (1-to-1, 1-to-n, etc.) through adaptive embeddings lead to better generalization and performance?
  • RQ3Can a model with fewer parameters achieve SOTA results by leveraging dynamic quaternion transformations?
  • RQ4How does the dynamic mapping strategy compare to static quaternion models like QuatE in terms of link prediction performance?
  • RQ5To what extent does the model generalize across diverse knowledge graph benchmarks like WN18, WN18RR, and FB15K-237?

Key findings

  • QuatDE achieves a 26% relative improvement in mean reciprocal rank (MR) on WN18 compared to QuatE, with MR dropping from 9.53 to 3.69.
  • On WN18RR, QuatDE improves MR by 15% compared to QuatE, from 11.8 to 10.6 for the /location/hud_county_place/place relation.
  • Hit@10 scores on FB15K-237 reach 0.91 for 1-to-1 relations and 0.88 for n-to-n relations, outperforming QuatE across all relation types.
  • With only 50-dimensional embeddings, QuatDE achieves a Hit@10 of 0.959, surpassing QuatE’s optimal score of 0.959 at 300 dimensions.
  • Dimensional analysis shows that QuatDE's performance stabilizes around K=100 on WN18 and K=300 on FB15K-237, with diminishing returns beyond these points.
  • The model demonstrates strong generalization, with MRR and Hit@10 consistently outperforming QuatE across all benchmarks and relation types.

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.