Aligning Multiple Knowledge Graphs in a Single Pass

Yaming Yang, Zhe Wang, Ziyu Guan, Wei Zhao, Weigang Lu, Xinyan Huang · DOI

Abstract

Traditional Entity Alignment (EA) focuses on connecting pairs of Knowledge Graphs (KGs), which often leads to logical inconsistencies and high computational costs when dealing with multiple sources. This paper introduces MultiEA, a framework designed to align multiple KGs simultaneously in a single pass. By embedding all entities into a shared latent space and utilizing higher-order similarity inference, MultiEA achieves superior accuracy and efficiency while naturally enforcing transitivity across aligned entities.

Introduction

Knowledge Graphs (KGs) like Wikidata, DBpedia, and YAGO store vast amounts of structured facts as triples. However, these graphs are often siloed by language or domain. To create a truly "Universal KG," we must perform Entity Alignment (EA)—the task of identifying that "Sweden" in an English KG is the same entity as "Suède" in a French KG or "瑞典" in a Chinese KG.

Conceptual overview of aligning multiple KGs (English, Chinese, French, Japanese) simultaneously.

Until now, EA has been almost exclusively a pairwise endeavor. If a researcher has four KGs, they must align them two at a time. This approach has three major flaws:

  1. Inconsistency: Pairwise alignment does not guarantee transitivity. A model might find that A=B and A=C, but fail to recognize that B=C, leading to a fragmented unified graph.
  2. Inefficiency: Running multiple separate alignment passes is computationally expensive and scales poorly.
  3. Information Loss: Pairwise methods miss the "global" context and structural patterns that only emerge when considering all graphs simultaneously.

The MultiEA Framework

The authors propose MultiEA, an end-to-end framework specifically designed for the multi-graph reality. The framework consists of three core components: shared encoding, multi-alignment strategies, and inference enhancement.

1. Shared KG Encoding

MultiEA utilizes a shared Graph Neural Network (GNN) encoder for all candidate KGs. This forces entities from different graphs into the same latent feature space from the outset. To manage the thousands of unique relations across different KGs without an explosion in parameters, the model employs a relation-specific projection matrix based on orthogonal transformations. This keeps the model lean and prevents overfitting on specific graph structures.

2. Multi-Alignment Strategies

The paper explores three distinct geometric strategies to "pull" equivalent entities together within the shared embedding space:

Three strategies for multi-alignment: Mean Strategy, Anchor Strategy, and Each Other Strategy.
  • Mean Strategy: All equivalent entities are pulled toward their collective centroid.
  • Anchor Strategy: One KG (typically the largest) is designated as an "anchor," and entities from all other graphs are pulled toward their counterparts in the anchor graph.
  • Each Other Strategy: Every entity in an equivalent set is pulled toward every other entity in that set, creating a fully connected alignment objective.

3. Inference Enhancement

To further refine results, MultiEA uses higher-order similarities. If the model is uncertain about a match between Entity A (English) and Entity C (Chinese), but is highly confident that A matches B (French) and B matches C, it uses matrix product operations to propagate that certainty. This mathematically enforces the transitivity that pairwise models lack, serving as a "structural correction" during the inference phase.

Experimental Setup and Results

Since no multi-KG alignment benchmarks existed, the authors constructed two new datasets: DBP-4 (English, Chinese, Japanese, French) and DWY-3 (DBpedia, Wikidata, YAGO). These datasets are intentionally challenging, featuring a lower "label ratio" (fewer pre-aligned training seeds) than traditional pairwise benchmarks.

Key Findings

  • Superior Accuracy: On the DBP-4 dataset, MultiEA achieved an M-Hits@1 of 10.58%, nearly doubling the performance of basic GNN baselines which hovered around 4-6%.
  • Efficiency and Scalability: MultiEA is remarkably lean. Compared to a pairwise implementation of GCN-Align, MultiEA used 50% fewer parameters, required half the memory, and ran 2.6x faster. Because it processes all KGs in a single pass, its training complexity scales linearly with the total number of entities rather than quadratically with the number of KG pairs.
  • Strategy Performance: While the Anchor strategy is computationally efficient, the "Each Other" strategy generally provided the most robust and accurate results across different datasets.

Conclusion and Future Work

MultiEA demonstrates that aligning multiple graphs is not just about doing more work; it is about maintaining structural integrity. By aligning in a single pass, the model naturally respects the rule of transitivity. The authors note that their new evaluation metric, M-Hits@K, is significantly stricter than traditional pairwise metrics, as it requires all counterparts from all KGs to be ranked in the top K for a result to be considered correct.

Future research directions include exploring unsupervised multi-KG alignment to remove the dependency on seed labels and applying these multi-pass techniques to other domains such as social network deanonymization and cross-lingual data integration.

Summary updated

BibTeX
@inproceedings{yang2026aligning,
  author = {Yaming Yang and Zhe Wang and Ziyu Guan and Wei Zhao and Weigang Lu and Xinyan Huang},
  title = {{Aligning Multiple Knowledge Graphs in a Single Pass}},
  booktitle = {The Web Conference},
  year = {2026},
  doi = {10.1145/3774904.3792111},
}
Figure