[Paper Review] MDE: Multiple Distance Embeddings for Link Prediction in Knowledge Graphs
MDE proposes a novel knowledge graph embedding model that uses multiple independent distance-based terms to capture symmetric, antisymmetric, inverse, and compositional relation patterns—overcoming limitations of TransE and related models. By employing a limit-based loss and a neural network framework, MDE achieves state-of-the-art performance on link prediction benchmarks, particularly excelling in modeling composition patterns on FB15k-237.
Over the past decade, knowledge graphs became popular for capturing structured domain knowledge. Relational learning models enable the prediction of missing links inside knowledge graphs. More specifically, latent distance approaches model the relationships among entities via a distance between latent representations. Translating embedding models (e.g., TransE) are among the most popular latent distance approaches which use one distance function to learn multiple relation patterns. However, they are mostly inefficient in capturing symmetric relations since the representation vector norm for all the symmetric relations becomes equal to zero. They also lose information when learning relations with reflexive patterns since they become symmetric and transitive. We propose the Multiple Distance Embedding model (MDE) that addresses these limitations and a framework to collaboratively combine variant latent distance-based terms. Our solution is based on two principles: 1) we use a limit-based loss instead of a margin ranking loss and, 2) by learning independent embedding vectors for each of the terms we can collectively train and predict using contradicting distance terms. We further demonstrate that MDE allows modeling relations with (anti)symmetry, inversion, and composition patterns. We propose MDE as a neural network model that allows us to map non-linear relations between the embedding vectors and the expected output of the score function. Our empirical results show that MDE performs competitively to state-of-the-art embedding models on several benchmark datasets.
Motivation & Objective
- Address the inability of TransE and similar models to effectively capture symmetric, inverse, and compositional relation patterns in knowledge graphs.
- Overcome the issue of zero-norm representations for symmetric relations and the forced symmetry/transitivity of reflexive relations in existing distance-based models.
- Develop a unified framework that combines multiple independent distance terms using a limit-based loss function to improve generalization and expressiveness.
- Introduce a neural network-based formulation of the limit-based loss to learn non-linear patterns in the margin thresholds, enhancing model flexibility.
- Demonstrate that independent vector representations for each distance term do not degrade performance but instead improve modeling capacity and link prediction accuracy.
Proposed method
- Propose Multiple Distance Embeddings (MDE), a translation-based model that maintains separate embedding vectors for each distance term (S1–S4), enabling independent modeling of distinct relation patterns.
- Use a limit-based loss function instead of margin ranking loss, where the limit is dynamically updated during training to improve generalization.
- Frame the loss function within a neural network architecture to allow non-linear learning of the limit values, enhancing adaptability to complex relation structures.
- Integrate self-adversarial negative sampling to improve training stability and coverage of hard negative samples, especially in large-scale KGs.
- Combine multiple score functions (S1–S4) representing different geometric views of entity-relation relationships, including symmetric, antisymmetric, and inverse patterns.
- Train the model end-to-end using backpropagation, allowing joint optimization of all components while preserving interpretability of individual terms.
Experimental results
Research questions
- RQ1Can multiple independent distance terms in a knowledge graph embedding model improve the modeling of symmetric, antisymmetric, inverse, and compositional relation patterns compared to single-distance models?
- RQ2Does using a learnable, non-fixed limit in the loss function enhance model generalization and performance on link prediction tasks compared to fixed-margin ranking loss?
- RQ3Can independent vector representations for different distance terms coexist without degrading performance, and do they collectively improve link prediction accuracy?
- RQ4How does the neural network-based formulation of the limit-based loss contribute to learning complex, non-linear patterns in relation structures?
- RQ5To what extent does MDE outperform state-of-the-art models in benchmarks specifically designed to test composition pattern inference?
Key findings
- MDE outperforms state-of-the-art models on the FB15k-237 benchmark, particularly excelling in modeling composition patterns, with a Hit@10 score of 0.946 and MRR of 0.844.
- The ablation study shows that removing S4 (antisymmetric pattern modeling) has the most negative impact on performance, indicating its critical role in the model’s success.
- S4 alone achieves the best individual performance on both WN18RR and FB15k-237, with a Hit@10 of 0.467 and MRR of 0.273, respectively.
- The self-adversarial negative sampling adaptation improves MRR and Hit@10 scores, especially on FB15k-237, due to better coverage of hard negative samples.
- Even though S2 performs worst individually, its removal still degrades performance, indicating it captures rare but useful relation patterns not captured by other terms.
- MDE with self-adversarial sampling (MDE adv) achieves superior results on FB15k-237, outperforming RotatE and other SOTA models, particularly in MRR and Hit@10 metrics.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.