Introduction
Knowledge Base Inference (KBI) is the task of predicting missing facts in a database, such as determining if (Bill Gates, lives_in, Seattle) is a valid triple. Researchers generally employ two primary approaches: Tensor Factorization (TF), which learns embeddings for individual entities, and Matrix Factorization (MF), which learns embeddings for specific entity pairs. While MF is powerful at capturing complex relational patterns, it suffers from a significant "Out-of-Vocabulary" (OOV) problem: if the model has not encountered a specific entity pair during training, it cannot effectively score it.
This paper reveals that previous evaluations of MF models were fundamentally flawed, masking this OOV weakness. The authors propose a new evaluation standard and a robust hybrid model, RAL F+ComplEx, to address these shortcomings.
The Evaluation Gap
The core discovery is that standard evaluation protocols often "leaked" information by only requiring models to rank entities seen during training. In these scenarios, MF models appeared to perform well. However, when faced with unseen entity pairs, their performance often collapsed.
As illustrated above, the "old" evaluation allowed models to ignore OOV pairs, whereas the proposed "sanitized" protocol requires ranking against all possible entities, revealing the true limitations of MF models in real-world, sparse knowledge bases.
Proposed Methods
To mitigate the OOV issue, the authors introduced several extensions to the Matrix Factorization framework:
- Sanitized Evaluation Protocol: A fair evaluation where OOV entity pairs are assigned baseline scores and ranked alongside all other entities, preventing models from receiving a "free pass" on unseen data.
- Robust MF Extensions:
- $F_{vecOOV}$: Learns a single dedicated vector to represent all unseen entity pairs.
- $F_{genEP}$: Uses a neural generator layer to synthesize an entity-pair embedding from individual entity embeddings, acting as a bridge between TF and MF.
- RAL F+ComplEx: A hybrid model combining MF with the state-of-the-art ComplEx TF model. It utilizes a Regularized Additive Loss (RAL), applying heavy L2 regularization to the MF component to prevent overfitting while allowing the TF component to provide a reliable baseline for OOV cases.
Experimental Results
The models were evaluated on four benchmarks with varying OOV rates: FB15K, FB15K-237 (100% OOV), WN18 (99.5% OOV), and NYT+FB (0.75% OOV).
The results highlight the dramatic impact of the new evaluation protocol. For instance, on FB15K, the original MF model's MRR dropped from 33.62% to 13.35% under the sanitized protocol. On WN18, it plummeted from 82.95% to nearly zero. Conversely, the hybrid RAL F+ComplEx model maintained robust performance across all datasets, setting a new state-of-the-art on the challenging FB15K-237 dataset with an MRR of 37.9%.
Conclusion
The study concludes that MF performance is highly dependent on dataset sparsity. While MF excels in low-OOV environments like NYT+FB, it requires hybrid architectures to remain viable in more sparse knowledge bases. Future work remains to address path-based reasoning and the high computational costs associated with storing entity-pair embeddings.
Summary updated