Unsupervised Entity Alignment for Temporal Knowledge Graphs

Xiaoze Liu, Junyang Wu, Tianyi Li, Lu Chen, Yunjun Gao

Abstract

Entity alignment (EA) is a critical task for integrating fragmented Knowledge Graphs (KGs) into a unified resource. While traditional methods focus on static relationships, Temporal Knowledge Graphs (TKGs) incorporate time-stamped facts that offer unique opportunities for disambiguation. However, existing TKG alignment models often suffer from a heavy reliance on manually labeled "seed" data and an underutilization of temporal dynamics. This paper introduces DualMatch, a novel unsupervised framework that treats entity alignment as a weighted graph matching problem. By leveraging temporal signatures to generate high-quality pseudo-seeds and employing a Sinkhorn-based decoder for global mapping, DualMatch achieves state-of-the-art performance, often outperforming supervised models without requiring human intervention.

Introduction

Knowledge Graphs serve as the backbone for various AI applications, from semantic search to recommendation systems. Despite their utility, KGs are frequently siloed, leading to data incompleteness. Entity Alignment (EA) aims to resolve this by linking equivalent entities across different graphs (e.g., matching "USA" in one KG to "United States" in another).

In the context of Temporal Knowledge Graphs (TKGs), facts are associated with specific time intervals, providing a rich context for alignment. For example, two different "Heads of Government" might share similar structural neighborhoods in a static graph, but their distinct terms of office provide a unique temporal fingerprint. Current research in TKG alignment faces two primary challenges: the high cost of acquiring human-labeled seed alignments and the tendency to treat timestamps as mere relational attributes rather than primary features. DualMatch addresses these gaps by introducing an unsupervised pipeline that exploits temporal consistency as a universal anchor.

The DualMatch Framework

DualMatch operates through a two-stage architecture designed to capture both the structural and temporal nuances of TKGs.

1. Dual-Encoder and Pseudo-Seed Generation

The framework utilizes two distinct encoders to process entity information:

  • Temporal-Encoder (Learning-Free): This component operates on the principle that entities sharing significant temporal overlaps in their event histories are likely identical. It constructs a bipartite graph between entities and timestamps to generate a temporal feature matrix. Because time is a universal constant across different KGs, this encoder can identify highly confident entity pairs—pseudo-seeds—without any prior training.
  • Relational-Encoder (GNN-Based): A Graph Neural Network (GNN) is employed to learn the structural neighborhood of entities. The pseudo-seeds generated by the Temporal-Encoder are used to supervise the training of this relational component, effectively removing the need for human-labeled data.

2. GM-Decoder and Global Matching

Unlike traditional methods that rely on greedy nearest-neighbor searches—which often result in many-to-one errors—DualMatch treats alignment as a weighted graph matching problem.

  • Sinkhorn Algorithm: The model uses the Sinkhorn operator to find a near-optimal 1-to-1 mapping between entity sets, enforcing a global constraint that improves overall alignment accuracy.
  • Isomorphism-Based Weighting: DualMatch introduces a balancing weight ($\alpha$) to calibrate the influence of temporal versus relational features. This weight is automatically optimized by measuring the structural similarity between KGs using Weisfeiler-Lehman (WL) graph kernels. If the relational structures of the two KGs are highly divergent, the model dynamically increases its reliance on temporal data.

Experimental Evaluation

The researchers evaluated DualMatch on three diverse TKG datasets:

  • DICEWS: Political events from 2005–2015.
  • WY50K: A large-scale dataset derived from Wikidata and YAGO.
  • WY20K: A hybrid dataset containing both temporal and static facts to test robustness against sparse temporal data.

Key Results

  • State-of-the-Art Performance: In supervised settings, DualMatch improved Hits@1 (the rate at which the correct match is the top recommendation) by 3.9% to 10.7% over previous leading models like TREA and TEA-GNN.
  • Unsupervised Superiority: The unsupervised version of DualMatch demonstrated remarkable efficacy, achieving 96.4% Hits@1 on the WY50K dataset, surpassing the performance of supervised state-of-the-art models.
  • Open-World Robustness: In scenarios involving previously unseen entities, DualMatch showed a 43.2% improvement in Hits@1 compared to existing baselines, highlighting its ability to generalize beyond the training distribution.

Discussion and Limitations

DualMatch demonstrates that temporal signatures can serve as a powerful, learning-free proxy for entity identity. By framing alignment as a global matching problem, the model avoids common pitfalls of local search methods. However, the framework's reliance on the Sinkhorn algorithm and iterative weight optimization introduces quadratic computational complexity, which may pose challenges for KGs with millions of nodes. Additionally, while DualMatch excels at 1-to-1 mappings, future work is needed to address "dangling entities"—nodes in one KG that have no corresponding match in another.

Conclusion

DualMatch represents a significant advancement in the field of Knowledge Graph integration. By successfully leveraging temporal data to eliminate the need for human-labeled seeds, it provides a scalable and highly accurate solution for aligning Temporal Knowledge Graphs in real-world, unsupervised environments.

Summary updated

BibTeX
@inproceedings{liu2023unsupervised,
  author = {Xiaoze Liu and Junyang Wu and Tianyi Li and Lu Chen and Yunjun Gao},
  title = {{Unsupervised Entity Alignment for Temporal Knowledge Graphs}},
  booktitle = {The Web Conference},
  year = {2023},
}
Figure