Introduction
Knowledge Bases (KBs) such as Freebase and WordNet serve as the backbone for numerous artificial intelligence applications, including semantic search and question answering. However, these repositories are often incomplete. The task of link prediction—automatically inferring missing relationships between entities—is therefore critical for maintaining the utility and reliability of KBs.
The Capacity Dilemma in Link Prediction
Existing approaches to link prediction generally fall into two categories, each facing a distinct trade-off known as the "Capacity Dilemma":
- 3-way models (e.g., RESCAL): These models use matrices to capture the joint interaction between a head entity, a relation, and a tail entity. While highly expressive, they are prone to overfitting, particularly when dealing with rare relations.
- 2-way models (e.g., TransE): These models utilize simpler vector translations. They are robust and generalize well to infrequent facts but often lack the expressive power required to model complex, multi-layered connectivity patterns.
The challenge lies in finding a "happy medium" that captures both simple entity-type compatibility and complex relational logic.
The TATEC Model
To address these limitations, we introduce TATEC (Two And Three-way Embedding Combination), a hybrid model that bridges the gap between robustness and expressivity. TATEC defines a scoring function as the sum of two distinct components:
The Bigram (2-way) Term
This term models the individual interaction between the relation and the head/tail entities. It effectively captures "selectional preferences" or entity types—for instance, identifying that a "capital_of" relation typically connects a city to a country. It also incorporates a diagonal matrix to account for global entity similarity, aiding in the modeling of symmetrical relationships (e.g., "is_neighbor_of") where translation-based models often struggle.
The Trigram (3-way) Term
This component utilizes a full relation-specific matrix to model the joint interaction of the triple. This allows the model to capture intricate patterns and dependencies that the simpler bigram term might overlook.
Innovations in Training and Architecture
A key innovation in TATEC is the use of multiple embedding spaces. Unlike previous hybrid approaches, TATEC assigns different embedding vectors to the same entity for the bigram and trigram components. This prevents the simpler model from acting as a bottleneck for the more complex one. Furthermore, we employ a two-phase training strategy: pre-training the bigram and trigram models independently before combining them through fine-tuning (TATEC-FT) or linear combination (TATEC-LC).
Experimental Evaluation
TATEC was evaluated across four diverse benchmarks: FB15k (a subset of Freebase), SVO (Subject-Verb-Object triples from Wikipedia), Kinships, and UMLS (biomedical concepts).
The model achieved state-of-the-art performance on all datasets. Notably, on FB15k, TATEC-FT reached a Hits@10 of 76.7% (filtered), significantly outperforming TransE (71.5%) and other contemporary models like TransH and TransR. On the SVO dataset, TATEC-LC achieved 80.1% Hits@5%, surpassing the Latent Factor Model (LFM).
Discussion and Insights
The success of TATEC highlights the importance of separating interaction terms. By using separate embedding spaces, the bigram term can fit entity-type compatibility more freely, while the high-capacity trigram term remains under tighter regularization. This architecture proved especially effective for "Many-to-Many" relationships, where the complexity of the trigram term provides the most significant benefit. Additionally, our study found that "soft" regularization (penalty-based) generally outperformed "hard" constraints (norm-clipping), allowing for more nuanced parameter optimization.
Conclusion and Future Work
TATEC successfully combines the strengths of 2-way and 3-way embedding models, providing a robust yet expressive framework for KB completion. While the model is computationally more intensive than simpler translation models—roughly 4x slower per epoch on FB15k—its performance gains are substantial. Future work will explore the integration of explicit side information (such as ontologies) and the use of parallelization techniques like Hogwild! to scale the model to the full Freebase dataset.
Summary updated