Introduction
Knowledge Graphs (KGs) such as DBpedia and YAGO serve as critical infrastructure for modern information systems. However, these graphs are often fragmented. Entity Alignment (EA) aims to bridge these silos by identifying equivalent entities across different KGs. While Graph Neural Networks (GNNs) have significantly advanced EA performance, they face severe scalability challenges. Specifically, high-accuracy normalization techniques like Sinkhorn iteration or CSLS require $O(N^2)$ similarity matrix computations, which are computationally prohibitive for graphs containing millions of entities.
The ClusterEA Framework
ClusterEA is a scalable framework designed to bring high-accuracy entity alignment to million-node KGs. It addresses the computational bottleneck by combining stochastic training with a novel mini-batch normalization strategy.
The framework consists of three primary stages:
- Stochastic GNN Training: Instead of full-graph processing, ClusterEA utilizes neighborhood sampling to train a Siamese GNN. It incorporates a Normalized Hard Sample Mining (NHSM) loss to accelerate convergence by focusing on challenging entity pairs.
- ClusterSampler: This component ensures that equivalent entities are grouped into the same mini-batches, preserving the "1-to-1" matching constraint necessary for effective normalization.
- SparseFusion: Local mini-batch similarities are fused with a partially normalized global similarity matrix using Sp-CSLS, a memory-efficient sparse version of the CSLS algorithm.
Core Innovation: ClusterSampler and Mini-batch Normalization
A major hurdle in scaling EA is that random mini-batching destroys the structural and alignment properties needed for normalization. ClusterEA introduces ClusterSampler to solve this. By ensuring a high "entity equivalence rate" within each batch, ClusterEA can apply Sinkhorn normalization effectively on small subsets of data, overcoming the $O(N^2)$ memory constraint.
ClusterSampler employs two distinct strategies:
- Intra-KG Strategy (ISCS): Uses graph partitioning (METIS) and GCN-based classification to group entities that are structurally proximal within a single KG.
- Cross-KG Strategy (CMCS): Utilizes K-Means clustering on initial embeddings and an XGBoost classifier to group entities likely to be matches across different KGs.
Experimental Results
The framework was evaluated on the DBP1M dataset, a benchmark featuring over one million entities per KG. ClusterEA achieved a Hits@1 of 28.1%, a substantial improvement over the previous state-of-the-art scalable framework, LargeEA, which reached only 10.5%. Furthermore, the system demonstrates high efficiency, with most components completing their tasks in under 1,000 seconds on million-node datasets.
Conclusion
ClusterEA demonstrates that high-accuracy entity alignment is achievable at scale. By treating batching as a learning-based classification problem and utilizing sparse fusion, it maintains the precision of global normalization methods within a manageable computational footprint. Future work will focus on addressing "dangling entities" and integrating multi-modal side information to further enhance alignment accuracy.
Summary updated