Knowledge Graph (KG) alignment is a critical task for data integration, aiming to identify equivalent entities across different graphs (e.g., Wikidata and DBpedia). While traditional embedding-based methods focus on mapping individual entities into a low-dimensional space to measure distance, this research introduces a paradigm shift: directly embedding entity-pairs to determine their equivalence. Presented at EMNLP 2020, the EPEA (Entity-Pair Embedding for Alignment) framework leverages structural and attribute information to achieve state-of-the-art results.
The Problem: Heterogeneity and Structural Gaps
Most current KG alignment models struggle with heterogeneity—differences in schemas, languages, and structures across independently built graphs. Many neural models even underperform compared to traditional string-matching tools like Logmap because they fail to capture the complex interplay between entity attributes and relational structures. EPEA addresses this by transforming the alignment task from a distance-matching problem into a more direct binary classification or ranking problem centered on entity-pairs.
The EPEA Framework
The core innovation of EPEA is the construction and processing of a Pair-wise Connectivity Graph (PCG). This approach moves the focus from "Entity A" and "Entity B" to the "Pair (A, B)."
1. Generating the Pair-wise Connectivity Graph (PCG)
In a PCG, each node represents a potential entity-pair $(e, e')$. An edge is established between two nodes if the entities within those pairs are connected by corresponding relations in their respective source KGs. This structure formalizes the intuition that if two entities are identical, their neighbors are likely identical as well. To manage the potential combinatorial explosion of nodes, the authors employ Locality-Sensitive Hashing (LSH) to filter for high-probability candidate pairs.
2. The EPEA Architecture: CNNs and GNNs
The model processes the PCG through a multi-stage pipeline designed to extract features from both attributes and graph structure.
- Attribute Feature Generation (CNN): To handle diverse attributes (dates, strings, integers) without manual schema mapping, EPEA creates a similarity matrix for every attribute pair between two entities. A Convolutional Neural Network (CNN) treats this matrix as an image, automatically learning to extract dense similarity features. This allows the model to recognize that "birthday" and "born_on" represent the same concept based on value patterns.
- Attention-based Feature Propagation (GNN): These initial features are passed through a two-layer Graph Neural Network (GNN) with an edge-aware attention mechanism. This mechanism allows the model to weigh the importance of neighboring nodes based on the specific relation-pair connecting them, effectively propagating alignment certainty through the graph.
Key Results and Performance
EPEA was evaluated on five real-world benchmarks, including the cross-lingual DBP15K and the large-scale DBP-WD and DBP-YG datasets. The model achieved state-of-the-art performance across all metrics:
- Accuracy: On the DBP15K (ZH-EN) dataset, EPEA reached 88.5% Hits@1, significantly outperforming previous leaders like RDGCN (70.8%).
- Scalability: On the DBP-YG dataset (100,000 pairs), the model achieved a near-perfect 100% Hits@1 with 30% training data.
- Data Efficiency: Even with only 10% of alignment "seeds" (training data), EPEA outperformed most competitors using 30%.
- Ablation Insights: Structural propagation is vital; adding the GNN layer to the CNN-based attribute extraction improved accuracy on the ZH-EN dataset from ~61% to ~88%.
Conclusion
By shifting the alignment paradigm to entity-pair embeddings, EPEA provides a robust solution to the challenges of KG heterogeneity. The combination of CNNs for automated attribute matching and edge-aware GNNs for structural propagation allows the model to excel even when training data is sparse. Future work may explore more sophisticated GNN architectures and unsupervised variations to further enhance scalability for KGs containing millions of entities.
Summary updated