Facing Changes: Continual Entity Alignment for Growing Knowledge Graphs

Yuxin Wang, Yuanning Cui, Wenqiang Liu, Zequn Sun, Yiqiao Jiang, Kexin Han, Wei Hu

TL;DR

This paper introduces ContEA, a novel framework for "Continual Entity Alignment" that handles real-world Knowledge Graphs (KGs) as they grow over time. By using an entity reconstruction objective and a selective "replay" strategy for training, ContEA avoids the massive computational cost of retraining from scratch while significantly outperforming static and inductive baselines.

What Problem Does This Paper Address?

Entity Alignment (EA) is the process of linking identical entities across different Knowledge Graphs (e.g., matching "Hangzhou" in an English KG to "杭州" in a Chinese KG). Traditionally, researchers have treated this as a one-time, static task.

However, real-world KGs like DBpedia and Wikidata are dynamic; they grow by billions of triples every month. Existing models face three major hurdles in this "growing" scenario:

  1. Efficiency: Retraining a massive model every time a few thousand new triples arrive is computationally prohibitive.
  2. New Entity Initialization: New entities often lack the rich structural context needed for high-quality embeddings.
  3. Alignment Conflicts: As KGs evolve, old alignment predictions might become obsolete or conflict with new data.

Methods

The authors propose ContEA, which builds upon a Graph Neural Network (GNN) encoder (specifically Dual-AMN). Its core innovations include:

  • Entity Reconstruction: To handle new entities, the model is trained with a self-supervised objective to "reconstruct" an entity’s representation based solely on its neighbors. This allows the model to generate meaningful embeddings for brand-new entities inductively.
  • Bidirectional Nearest Neighbor Search: Instead of just picking the closest match, ContEA requires two entities to be each other's "mutual" nearest neighbors to be considered an alignment. This helps filter out "non-matchable" entities that shouldn't be aligned at all.
  • Encoder Finetuning with Replay: To prevent "catastrophic forgetting" (where the model forgets old knowledge while learning new data), ContEA uses a replay strategy. It finetunes on:
  • Affected Seed Alignment (ASA): Known training pairs involved in new triples.
  • Trustworthy Alignment (TA): High-confidence predictions from previous snapshots used as "pseudo-anchors."
  • Heuristic Integration: A strategy to resolve conflicts between old and new predictions by favoring matches with higher similarity scores.

Datasets

Since no standard benchmarks existed for this "continual" setting, the authors created three new datasets based on the DBP15K benchmark:

  • ZH-EN (Chinese-English)
  • JA-EN (Japanese-English)
  • FR-EN (French-English)

Each dataset is split into six snapshots ($t=0$ to $t=5$). Each subsequent snapshot adds approximately 20% more triples and entities to simulate the natural growth of a KG.

Key Insights and Ideas

  • Alignment is an Iterative Process: The paper argues that EA should be viewed as a lifelong learning task. As more information (triples) is added to a KG, the model gains "richer supportive information" to correct past mistakes.
  • Structural Initialization: The "Entity Reconstruction" idea proves that you don't need a full retraining to place a new entity in the embedding space; its immediate neighborhood is a powerful enough proxy.
  • Self-Correction: One of the most interesting findings is that ContEA can fix its own previous errors. As the graph grows, the similarity scores for correct matches tend to increase, allowing the model to "out-vote" its previous incorrect predictions.

Key Results

  • Superior Accuracy: ContEA's F1 scores outperformed the best retraining baseline (Dual-AMN) by an average of 27.1% (ZH-EN), 19.4% (JA-EN), and 15.2% (FR-EN) across the snapshots.
  • Efficiency: ContEA is significantly faster than retraining. While standard models take a linear or exponential amount of time as the graph grows, ContEA’s finetuning approach keeps the time cost low and manageable.
  • New Entity Discovery: ContEA achieved the highest recall for alignments involving brand-new entities, proving its effectiveness in handling the "cold start" problem for growing KGs.

Limitations and Future Work

The authors acknowledge several areas for improvement:

  • Complex Scenarios: The current model focuses on growth (adding triples/entities). Future work needs to address the deletion of entities or the addition of entirely new relations (schemas).
  • Conflict Resolution: While the current heuristic (picking the highest similarity score) works well, more sophisticated strategies might be needed for very large-scale, noisy KGs.
  • No-Match Problem: Identifying entities that have no counterpart in the other KG remains a difficult challenge, even with bidirectional search.

Summary updated

BibTeX
@inproceedings{wang2022facing,
  author = {Yuxin Wang and Yuanning Cui and Wenqiang Liu and Zequn Sun and Yiqiao Jiang and Kexin Han and Wei Hu},
  title = {{Facing Changes: Continual Entity Alignment for Growing Knowledge Graphs}},
  booktitle = {ISWC},
  year = {2022},
  url = {https://openreview.net/forum?id=K8KmHrJH8Y},
}
Figure