Introduction
Knowledge Bases (KBs) such as Freebase and WordNet are essential for many AI applications but are notoriously incomplete. Knowledge Base Inference (KBI) aims to predict missing facts by learning from existing data. Historically, researchers have employed two primary approaches: Tensor Factorization (TF), which learns embeddings for individual entities, and Matrix Factorization (MF), which focuses on entity pairs. This paper unifies these approaches, identifies critical flaws in existing evaluation protocols, and introduces a robust joint model called Regularized Additive Loss (RAL).
Unifying Matrix and Tensor Factorization
The distinction between TF and MF models lies in their scoring functions. TF models like DistMult and TransE are compositional, deriving scores from individual entity vectors. In contrast, MF models like "Model F" are memorizers, learning specific vectors for entity pairs.
A significant challenge in MF is handling "Out-of-Vocabulary" (OOV) pairs—pairs seen during testing but not training. The authors discovered that standard evaluation protocols were "leaking" information, making MF models appear more capable of handling OOV pairs than they truly were. To address this, they proposed a "KBI eval" protocol that treats OOV pairs fairly by assigning them uniform scores and calculating average ranks, preventing models from "getting lucky" on facts they haven't actually learned.
The Regularized Additive Loss (RAL) Model
To combine the strengths of TF and MF, the authors developed the Regularized Additive Loss (RAL) model. Previous joint models simply added scores together, which often led to the MF component overshadowing the TF component, resulting in overfitting. RAL instead sums the individual loss functions and applies L2 regularization to the MF parameters. This ensures both components contribute effectively to the final inference without one dominating the other.
Experimental Results and Insights
The models were evaluated across four benchmarks with varying OOV rates: WN18 (99.5% OOV), FB15K (68.7% OOV), FB15K-237 (100% OOV for pairs), and NYT+FB (0.75% OOV).
Key findings include:
- DistMult emerged as the most robust standalone TF model across all datasets.
- Model F (MF) excels on text-heavy, low-OOV datasets like NYT+FB but is essentially useless on sparse KBs without specialized OOV training.
- RAL (Joint DistMult + F) consistently matches or outperforms individual models, proving that a unified approach can handle both dense and sparse data effectively.
Conclusion
This work highlights the importance of fair evaluation in KBI and demonstrates that joint matrix-tensor factorization, when properly regularized, provides a superior framework for knowledge base completion. While these models excel at simple fact prediction, future research is needed to address complex, path-based logical reasoning, where current factorization models still struggle.
Summary updated