Abstract
Entity alignment (EA) is a fundamental task for integrating knowledge graphs (KGs). While many existing methods rely on the assumption that equivalent entities possess similar local structures, real-world KGs often exhibit significant structural heterogeneity due to incompleteness and varying schemas. This paper introduces the Neighborhood Matching Network (NMN), a novel framework designed to address these challenges. NMN employs a neighborhood sampling strategy to identify informative neighbors and a cross-graph attention mechanism to capture fine-grained neighborhood similarities. Experimental results on standard and sparse benchmarks demonstrate that NMN significantly outperforms state-of-the-art methods, particularly in scenarios with high structural disparity.
Introduction
Entity Alignment (EA) aims to identify entities across different Knowledge Graphs (KGs) that represent the same real-world object. This task is essential for data integration, knowledge fusion, and the construction of comprehensive, multi-source KGs. Traditionally, EA methods have relied on a "similarity assumption": if two entities are equivalent, their local neighborhoods should also be structurally similar.
However, this assumption frequently fails in practice. Real-world KGs are often incomplete and constructed using different schemas or languages, leading to structural heterogeneity. As illustrated in Figure 1, equivalent entities like "Brooklyn" may have vastly different numbers of neighbors (3 vs. 21) or different types of connections across KGs. Furthermore, common neighbors such as "United Kingdom" or "New York City" are often too generic to provide discriminative alignment clues. Standard models that rely on global graph embeddings or simple neighborhood aggregation struggle to align entities when their "neighborhood fingerprints" do not match.
Methodology: The Neighborhood Matching Network
To overcome the limitations of structural heterogeneity, the authors propose the Neighborhood Matching Network (NMN). NMN shifts the focus from global structure to local neighborhood comparison through a four-stage pipeline.
1. KG Structure Embedding
The process begins by capturing the basic topological structure of each KG using multi-layer Graph Convolutional Networks (GCNs). To provide a semantic starting point, entity embeddings are initialized using pre-trained word embeddings of their names. This allows the model to leverage lexical similarities before considering graph structure.
2. Neighborhood Sampling
Recognizing that not all neighbors are equally useful, NMN introduces a down-sampling strategy. Instead of treating all adjacent nodes as equal, the model calculates a selection probability for each neighbor based on its contextual relevance to the target entity. This allows NMN to ignore "noisy" or overly generic neighbors (like "USA") and focus on the most discriminative local context.
3. Neighborhood Matching
This stage is the core innovation of NMN. Inspired by Graph Matching Networks, NMN employs a cross-graph attention mechanism. For a pair of candidate entities $(e_1, e_2)$, the model compares their sampled subgraphs node-by-node. It computes a "matching vector" for each neighbor, which captures the difference between that neighbor and its most similar counterpart in the other graph. This explicit difference detection helps the model distinguish between true matches and false positives.
4. Neighborhood Aggregation
In the final stage, the model combines the entity’s own structural embedding with the aggregated information from its matched neighborhood. This creates a holistic representation that incorporates both the entity's intrinsic properties and its relative position within its local subgraph, which is then used to make the final alignment decision.
Experimental Evaluation
The researchers evaluated NMN against 12 state-of-the-art methods on three major benchmarks:
- DBP15K: A standard dataset featuring subsets of DBpedia in Chinese-English (ZH-EN), Japanese-English (JA-EN), and French-English (FR-EN).
- DWY100K: A large-scale dataset with 100,000 entity pairs from DBpedia, Wikidata, and YAGO3.
- S-DBP15K (Sparse DBP15K): A new, more rigorous variant introduced by the authors. By randomly removing triples from non-English KGs, they intentionally increased neighborhood size disparity to test model robustness against extreme structural heterogeneity.
Key Results
NMN achieved state-of-the-art performance across all datasets. On the DBP15K (ZH-EN) benchmark, NMN reached a Hits@1 score of 73.3%, representing a 2.5% improvement over the previous best model (RDGCN).
The model's robustness was most evident on the S-DBP15K dataset. While traditional GCN-based models saw significant performance drops as neighborhood sizes diverged, NMN remained remarkably stable. For entity pairs where the neighbor count differed by more than 30, NMN maintained a significantly higher accuracy than its competitors. Ablation studies further confirmed the importance of the matching module; removing it resulted in a 2.5% drop in Hits@1, proving that joint subgraph comparison is vital for robust alignment.
Conclusion and Future Work
The Neighborhood Matching Network effectively addresses the challenge of structural heterogeneity in entity alignment. By combining intelligent neighborhood sampling with a cross-graph matching mechanism, NMN can identify equivalent entities even when their local structures are highly disparate.
Future research directions include developing more adaptive sampling methods to handle a wider variety of graph densities and exploring deeper integration of non-structural attributes, such as entity descriptions or temporal data, into the neighborhood matching process.
Summary updated