Abstract
Knowledge bases such as Freebase and WordNet are essential for many AI tasks but often suffer from incompleteness. Multi-relational learning aims to predict missing links by embedding entities and relations into a continuous vector space. This paper presents a unified framework for these embedding models and introduces DistMult, a simplified bilinear model. Our findings suggest that multiplicative interactions and proper entity initialization are more critical than model complexity, with DistMult significantly outperforming the parameter-heavy Neural Tensor Network (NTN).
Introduction
Knowledge graphs (KGs) like Freebase and WordNet store vast amounts of structured information as triplets $(e_1, r, e_2)$, representing a relation $r$ between a subject entity $e_1$ and an object entity $e_2$. Despite their scale, these KGs are notoriously incomplete. Multi-relational representation learning has emerged as a powerful technique to predict missing facts by learning low-dimensional embeddings for entities and relations. However, the field has seen a proliferation of diverse architectures—ranging from simple additive models like TransE to complex, high-parameter models like Neural Tensor Networks (NTN)—without a clear understanding of which components drive performance.
A Unified Framework for Multi-Relational Learning
To clarify the landscape of embedding models, we propose a general framework that unifies existing approaches. We define a scoring function $G_r(e_1, e_2)$ that measures the compatibility of a triplet. As shown in the table below, models as diverse as TransE and NTN can be decomposed into linear ($g_r^a$) and bilinear ($g_r^b$) components.
This unification reveals that the primary difference between models lies in how they combine entity vectors. While additive models like TransE use vector subtraction, bilinear models utilize multiplicative interactions.
DistMult: Simplicity and Efficiency
Building on this framework, we introduce DistMult (Bilinear-diag). DistMult is a simplified version of the standard bilinear model where the relation matrix $M_r$ is restricted to be diagonal. This constraint significantly reduces the number of parameters per relation from $O(d^2)$ to $O(d)$, where $d$ is the embedding dimension. Despite its simplicity, DistMult captures the essential multiplicative interactions required for modeling complex relational semantics.
Experimental Evaluation
We evaluated DistMult against several state-of-the-art models on WordNet (WN) and Freebase (FB15k) datasets. The results demonstrate that "simpler is better": the parameter-heavy NTN often underperforms due to overfitting, while DistMult consistently achieves superior accuracy.
On the FB15k-401 subset, DistMult achieved a HITS@10 of 58.5%, outperforming TransE (54.7%) and NTN (40.5%). Furthermore, when combined with pre-trained phrase embeddings (word2vec) and a tanh non-linearity, DistMult's performance on Freebase jumped to 73.2% HITS@10, highlighting the importance of entity initialization.
Key Insights
- Multiplication vs. Addition: Multiplicative interactions (dot products) are more effective than additive ones (subtractions) for capturing the nuances of multi-relational data.
- The Overfitting Trap: Increasing model complexity (e.g., in NTN) does not guarantee better generalization. Constraints like diagonal matrices in DistMult act as effective regularizers.
- Entity Compositionality: Treating entities as single semantic units using pre-trained phrase vectors is superior to simple averaging of word vectors, as many entities (e.g., "New York") are non-compositional.
Conclusion
This work demonstrates that simple, well-regularized multiplicative models are highly effective for knowledge graph completion. DistMult provides a scalable and accurate alternative to more complex neural architectures. Future research will focus on extending this framework to deeper architectures and integrating entity type constraints directly into the learning process.
Summary updated