Abstract
Knowledge bases (KBs) are often incomplete, necessitating link prediction to infer missing facts. Traditional embedding models like TransE treat facts as static, ignoring the chronological order of relations. This paper introduces a time-aware KB embedding approach that incorporates temporal order constraints. By modeling relation evolution through a transition matrix, the proposed method significantly improves link prediction and triple classification accuracy on temporal datasets.
Introduction
Knowledge bases such as Freebase and YAGO provide structured information but suffer from incompleteness. Link prediction aims to fill these gaps by predicting missing entities or relations in triples like (Obama, bornIn, ?). Standard embedding methods represent entities and relations in a continuous vector space, typically enforcing a translation property where $head + relation \approx tail$.
However, these models exhibit "temporal blindness," failing to distinguish between relations that are semantically similar but chronologically distinct. For instance, given (Einstein, ?, ?), both wasBornIn and diedIn are plausible person-location pairs. Traditional models struggle here because they ignore the logical sequence that birth must precede death. This research addresses how to incorporate temporal order as a structural constraint to improve disambiguation and prediction accuracy.
Methods
The proposed Time-Aware KB Embedding framework operates on quadruples $(e_i, r, e_j, t_r)$, where $t_r$ denotes the time of the fact.
1. The Temporal Transition Matrix
The central innovation is a transition matrix $M$ that captures the "evolution" of relations for a specific entity. If a relation $r_i$ occurs at time $t_1$ and $r_j$ occurs at $t_2$ (where $t_1 < t_2$), the model enforces the constraint:
$$r_i M \approx r_j$$
This allows the matrix $M$ to act as a temporal operator, mapping the embedding space from one life stage to the next (e.g., wasBornIn $\rightarrow$ graduatedFrom $\rightarrow$ diedIn).
2. Joint Optimization
The model optimizes a joint score function that balances two objectives:
- Structural Consistency: Maintaining standard translation properties for observed facts.
- Temporal Consistency: Preserving the chronological order of relations via the transition matrix $M$.
Datasets
The approach was evaluated on two new datasets derived from YAGO2:
- YG15k: A purely temporal dataset with 15,914 quadruples, all containing timestamps.
- YG36k: A mixed dataset where only 50% of facts have temporal annotations, testing the model's robustness to partial data.
Results and Discussion
The authors augmented three baseline models—TransE, TransH, and TransR—into their time-aware counterparts: tTransE, tTransH, and tTransR.
Quantitative Performance
On the YG15k dataset, tTransE achieved a dramatic reduction in Mean Rank, improving by approximately 75% over the standard TransE model. Hits@10 also saw significant gains, increasing from ~29% to ~36%. Notably, the model maintained superior performance even on the partially annotated YG36k dataset, suggesting that learning global temporal patterns helps even when specific timestamps are missing for certain entities.
Qualitative Analysis
Qualitatively, the time-aware models excel at disambiguating relations by considering the temporal "neighborhood" of an entity. For example, if a model knows an entity has already "been born," it can correctly prioritize subsequent life events over birth-related relations.
Conclusion
By treating relations as steps in a sequence rather than independent vectors, this time-aware embedding approach effectively models the "arrow of time" in knowledge bases. While currently limited to absolute timestamps and linear transitions, future work could extend this to handle time intervals and more complex, branching temporal logic mined from raw text.
Summary updated