DensE: An Enhanced Non-commutative Representation for Knowledge Graph Embedding with Adaptive Semantic Hierarchy

11 Aug 2020  ·  Haonan Lu, Hailin Hu, Xiaodong Lin ·

Capturing the composition patterns of relations is a vital task in knowledge graph completion. It also serves as a fundamental step towards multi-hop reasoning over learned knowledge. Previously, several rotation-based translational methods have been developed to model composite relations using the product of a series of complex-valued diagonal matrices. However, these methods tend to make several oversimplified assumptions on the composite relations, e.g., forcing them to be commutative, independent from entities and lacking semantic hierarchy. To systematically tackle these problems, we have developed a novel knowledge graph embedding method, named DensE, to provide an improved modeling scheme for the complex composition patterns of relations. In particular, our method decomposes each relation into an SO(3) group-based rotation operator and a scaling operator in the three dimensional (3-D) Euclidean space. This design principle leads to several advantages of our method: (1) For composite relations, the corresponding diagonal relation matrices can be non-commutative, reflecting a predominant scenario in real world applications; (2) Our model preserves the natural interaction between relational operations and entity embeddings; (3) The scaling operation provides the modeling power for the intrinsic semantic hierarchical structure of entities; (4) The enhanced expressiveness of DensE is achieved with high computational efficiency in terms of both parameter size and training time; and (5) Modeling entities in Euclidean space instead of quaternion space keeps the direct geometrical interpretations of relational patterns. Experimental results on multiple benchmark knowledge graphs show that DensE outperforms the current state-of-the-art models for missing link prediction, especially on composite relations.

PDF Abstract

Results from the Paper


Task Dataset Model Metric Name Metric Value Global Rank Result Benchmark
Link Prediction FB15k-237 DensE MRR 0.349 # 33
Hits@10 0.535 # 31
Hits@3 0.384 # 26
Hits@1 0.256 # 29
MR 169 # 14
Link Prediction WN18 DensE MRR 0.950 # 8
Hits@10 0.959 # 7
Hits@3 0.954 # 6
Hits@1 0.945 # 8
MR 285 # 11
Link Prediction WN18RR DensE MRR 0.491 # 17
Hits@10 0.579 # 23
Hits@3 0.508 # 20
Hits@1 0.443 # 24
MR 3052 # 20
Link Prediction YAGO3-10 DensE MRR 0.541 # 14
Hits@10 0.678 # 14
Hits@1 0.465 # 10
Hits@3 0.585 # 8

Methods