Introduction
Knowledge Graphs (KGs) represent facts as triples (subject, relation, object). Temporal Knowledge Graphs (TKGs) extend this by adding a time dimension, capturing dynamic facts like political appointments or evolving family trees. However, modeling these graphs is challenging because temporal relations exhibit diverse structural patterns—such as symmetry, hierarchy, and star-shaped clusters—that are difficult to capture within a single mathematical framework.
The Challenge of Structural Diversity
Existing embedding models often force all temporal patterns into a single geometry, such as the Complex plane. This "one-size-fits-all" approach lacks the necessary inductive bias to represent the variety of structures found in real-world data:
- Symmetry: Reciprocal relations like marriage.
- Hierarchy: Directed temporal flows, such as lineage or career progression.
- Star Structures: Central entities interacting with multiple others at a specific time (e.g., a head of state at a summit).
The HGE Framework: A Geometric Toolbox
To address this, the authors propose Heterogeneous Geometric Embedding (HGE). Instead of a single space, HGE maps entities and relations into a "product space" comprising three distinct geometries, each suited to a specific structural pattern.
Three Specialized Subspaces
- Complex Space ($ℂ$): Utilizing Euclidean unit circles, this space is naturally biased toward periodic patterns and logical symmetry.
- Split-complex Space ($𝕊$): Based on Minkowskian unit circles, this geometry excels at representing temporal hierarchies where events follow a directed sequence.
- Dual Space ($𝔻$): Using Galilean unit circles, this space is uniquely effective for modeling star-shaped subgraphs where many entities relate to a central hub.
Dual Attention: Intelligent Selection
The core innovation of HGE is its ability to dynamically choose the right "tool" for the job through a dual-attention mechanism:
- Temporal-Relational Attention: Balances static facts (e.g.,
capitalOf) with dynamic ones (e.g.,isPresidentOf). - Temporal-Geometric Attention: For any given query, the model calculates scores across all three subspaces and uses attention weights to prioritize the most suitable geometry for that specific relation and timestamp.
To maintain efficiency, HGE employs Vector Sharing, reusing underlying parameters across subspaces to minimize memory overhead while benefiting from multiple mathematical interpretations.
Key Results and Insights
HGE was evaluated on major TKG benchmarks, including ICEWS, GDELT, and Wikidata12k. As a "plug-in" for existing models like TeRo and TComplEx, it delivered consistent performance boosts. Notably, on the dense GDELT dataset, HGE improved Hits@10 by 31.1% when applied to the TeRo backbone.
A key finding is the importance of the Dual (Galilean) space. While previous research focused on symmetry and hierarchy, HGE demonstrates that star structures are a critical, often overlooked component of temporal data. By providing a dedicated geometry for these structures, HGE significantly improves predictive accuracy in complex, multi-entity events.
Conclusion
HGE shifts the paradigm from searching for a single "perfect" geometry to providing a versatile toolbox of heterogeneous spaces. By matching the mathematical properties of the embedding space to the structural properties of the data, HGE achieves state-of-the-art performance in temporal knowledge graph completion.
Summary updated