Knowledge Graphs (KGs) serve as the foundational infrastructure for modern AI, enabling sophisticated reasoning in search engines and recommendation systems. However, most existing KGs are static, failing to account for the temporal nature of real-world facts. Temporal Knowledge Graph Completion (TKGC) addresses this by predicting missing, time-stamped facts, recognizing that relationships—such as a politician's term in office or a person's residency—are often transient.
In this work, researchers introduce BoxTE, a model that leverages the geometric properties of "boxes" to capture the complex dynamics of temporal data. By extending the BoxE embedding framework, BoxTE achieves state-of-the-art performance on major benchmarks and provides a rigorous analysis of how models capture logical inference patterns across time.
The Challenge of Temporal Dynamics
Standard KG embedding models represent facts as triples $(h, r, t)$—head entity, relation, and tail entity—treating them as eternal truths. Real-world data, however, is typically represented as a quadruple $(h, r, t, au)$, where $ au$ denotes a timestamp. The primary challenges in TKGC are:
- Representation: Effectively embedding time so the model understands its interaction with specific entities and relations.
- Inductive Capacity: Learning logical rules that span across different time points (e.g., a negotiation at $\tau_1$ leading to a signed agreement at $\tau_2$).
Existing models often struggle to balance the flexibility needed for complex temporal changes with the efficiency required to avoid overfitting on sparse data.
BoxTE: Geometry with Time Bumps
BoxTE builds upon BoxE, where entities are represented as points in space and relations as $d$-dimensional hyper-rectangles (boxes). A fact is considered true if the entity's position falls within the relation's box. The core innovation of BoxTE is the Time Bump.
Instead of a single embedding for each timestamp, BoxTE defines a set of $k$ basis embeddings for each time $\tau$ and a set of $k$ scalars for each relation $r$. These are combined to create a relation-specific "time bump" $\tau^r$, which translates the entity's position before checking its inclusion in the relation box. This parameter-sharing approach allows relations to share temporal patterns (like seasonal cycles) while maintaining unique behaviors.
Mathematically, BoxTE is proven to be fully expressive, meaning it can theoretically represent any possible temporal knowledge graph given sufficient dimensionality.
Capturing Temporal Inference Patterns
A significant contribution of BoxTE is its ability to handle complex logical properties. By using boxes, the model naturally models hierarchy and intersection; if one relation box is nested within another, the model has learned a subsumption rule. Furthermore, BoxTE is uniquely capable of capturing "cross-time inference patterns," where facts at different timestamps are logically linked.
These patterns include inversion, hierarchy, and composition across time, allowing the model to move beyond simple extrapolation to true temporal reasoning.
Experimental Evaluation and Results
The model was evaluated on three standard benchmarks: ICEWS14, ICEWS05-15 (socio-political facts), and GDELT (a dense dataset of global events).
BoxTE demonstrated significant performance gains, particularly on the complex GDELT dataset:
- GDELT SOTA: BoxTE achieved a Mean Reciprocal Rank (MRR) of 0.352, significantly outperforming the previous state-of-the-art model, TeMP (0.275).
- Efficiency and Robustness: In parameter-bounded experiments, BoxTE maintained its lead even with limited memory budgets. Notably, it does not require complex temporal smoothness regularizers, suggesting its geometric architecture is inherently suited for temporal data.
Conclusion
BoxTE represents a significant step forward in temporal knowledge graph completion. By combining the inductive biases of box embeddings with flexible "time bumps," it captures both the geometric and logical nuances of time-stamped data. Future work will explore higher-arity temporal relations and the development of benchmarks that more rigorously test cross-time reasoning capabilities.
Summary updated