Abstract
Entity Alignment (EA) is a critical task for integrating heterogeneous Knowledge Graphs (KGs). While modern neural EA models excel at capturing fuzzy semantic similarities through entity embeddings, they often fail to account for the logical dependencies and structural consistency between alignment predictions. This paper introduces EMEA (Entity Alignment with Compatibility), a framework that integrates symbolic reasoning into the neural training process. By employing a variational Expectation-Maximization (EM) approach, EMEA uses logical compatibility as a supervisory signal to guide neural models. Experimental results demonstrate that EMEA significantly improves performance, particularly in low-resource settings, allowing models trained on 5% of labeled data to outperform standard models using 20%.
Introduction
Knowledge Graphs (KGs) such as Wikidata, DBpedia, and YAGO serve as the backbone for numerous intelligent applications. However, these graphs are often siloed and incomplete. Entity Alignment (EA) seeks to identify equivalent entities across different KGs to facilitate data fusion and knowledge discovery.
Recent advancements in EA have been dominated by neural network models that encode entities into low-dimensional vector spaces. Despite their success, these models possess a fundamental "blind spot": they treat alignment decisions as independent events, often ignoring the inherent structural logic of the graphs. For example, a neural model might align two entities based on local neighborhood similarity while violating global constraints, such as aligning a parent-child pair in one graph to a husband-wife pair in another. This lack of logical consistency, or "compatibility," limits the reliability of neural EA, especially when labeled training data is scarce.
The EMEA Framework
To address these limitations, the EMEA framework introduces a method to "guide" neural EA models toward logically consistent predictions. It treats the alignment process as a joint optimization of neural similarity and symbolic compatibility.
1. Compatibility Modeling
At the heart of EMEA is a probabilistic graphical model that evaluates the compatibility of a set of alignment predictions. The framework primarily utilizes the PARIS rule, a sophisticated reasoning logic which posits that two entities are likely equivalent if their respective neighbors (e.g., relations, parents, or associated attributes) are also equivalent. This creates a dependency network where the alignment of one pair informs the likelihood of another.
2. Variational EM Training
EMEA utilizes an iterative Expectation-Maximization (EM) loop to bridge the gap between neural embeddings and symbolic reasoning:
- E-step (Expectation): The compatibility model analyzes the current predictions of the neural EA model. It identifies "more compatible" alignments—those that satisfy logical rules—even if the neural model's initial confidence in them was low.
- M-step (Maximization): These high-compatibility predictions are treated as "pseudo-labels." The neural EA model is then retrained using a combination of the original ground-truth labels and these new pseudo-labels, effectively teaching the neural network to recognize the structural patterns identified by the reasoning engine.
3. Similarity Normalization
Neural models typically output raw similarity scores that are not directly comparable to probabilistic logic. EMEA includes a normalization module that transforms these scores into well-behaved probability distributions, ensuring seamless integration into the probabilistic reasoning framework.
Experimental Evaluation
The framework was evaluated on two primary benchmarks: DBP15K (cross-lingual datasets including French, Chinese, and Japanese paired with English) and DWY100K (large-scale datasets from DBpedia, Wikidata, and Yago).
A key focus of the evaluation was the model's performance under "data-starved" conditions. The researchers tested the framework using training sets ranging from 1% to 30% of the available alignment labels to determine how well the compatibility signal compensates for a lack of human-annotated data.
Key Insights and Results
Efficiency and Data Augmentation
The most significant finding is that logical compatibility acts as a powerful "super-signal." In the zh_en (Chinese-English) dataset, EMEA achieved a Hit@1 (accuracy) of 0.665 using only 5% of labeled data. This outperformed the base RREA model trained on 20% of the data (0.657). This suggests that EMEA can reduce the need for expensive human labeling by a factor of four.
Performance in Low-Resource Settings
In extreme cases where only 1% of labels were available, the improvement was even more pronounced. For the RREA model, EMEA boosted the Hit@1 score from 0.140 to 0.517. This nearly four-fold increase demonstrates that when neural models have very little to go on, the structural constraints of the KG provide the necessary scaffolding to reach accurate conclusions.
Model Agnostic Versatility
EMEA is designed as a training framework rather than a specific architecture. The authors demonstrated its "plug-and-play" nature by successfully applying it to several state-of-the-art base models, including RREA, Dual-AMN, and AliNet. In all cases, the addition of the EMEA framework resulted in superior performance and greater robustness compared to other hybrid methods like PRASE.
Conclusion and Future Work
EMEA represents a successful marriage of deep learning's fuzzy semantic matching and symbolic logic's hard constraints. By enforcing compatibility, the framework produces alignment models that are not only more accurate but also more logically sound.
However, challenges remain. The iterative nature of the EM process introduces significant computational overhead compared to standard training. Furthermore, the current implementation is unidirectional (source to target KG). Future research may explore "dual compatibility" to assess alignment from both directions simultaneously and investigate methods for automatically discovering reasoning rules from the data, rather than relying on predefined logic like the PARIS rule.
Summary updated