Abstract
Entity Alignment (EA) is a critical task for integrating Knowledge Graphs (KGs) from different sources and languages. Traditional methods rely on embedding entities into vector spaces, which often fails to capture fine-grained semantic details. This paper introduces TEA (Textual Entailment for Alignment), a novel framework that reformulates EA as a natural language inference problem. By converting graph structures into textual sequences and utilizing Pre-trained Language Models (PLMs), TEA achieves state-of-the-art performance by enabling direct semantic interaction between entities.
The Challenge of Entity Alignment
Knowledge Graphs (KGs) represent facts as triples, such as (The Rolling Stones, formed in, 1962). Entity Alignment aims to identify equivalent entities across different KGs, a task complicated by language barriers and structural differences.
Existing embedding-based approaches typically map entities to high-dimensional vectors. However, these methods suffer from two primary limitations:
- Semantic Loss: Compressing complex relational and attribute data into a single vector discards specific textual clues (e.g., exact dates or URLs) that are vital for precise alignment.
- Information Fragmentation: Relational and attribute information are often modeled separately, preventing the model from using one to reinforce the other.
The TEA Framework
To overcome these limitations, the TEA framework treats EA as a textual entailment task. Instead of calculating distances between vectors, TEA determines if the description of one entity "entails" the description of another.
1. Sequence Construction
TEA flattens an entity's neighborhood and attributes into a natural language sequence. For instance, the entity "The Rolling Stones" is transformed into a string listing its members, songs, and key attributes like "Years Active: 1962." This process effectively unifies heterogeneous data sources into a single pool of evidence.
2. Entailment-Based Alignment
The framework utilizes two variants of PLM-based aligners:
- NSP-Aligner: Leverages the "Next Sentence Prediction" head of a model like BERT to estimate the probability that two entity sequences are aligned (i.e., one is the logical "next sentence" for the other).
- MLM-Aligner: Employs a "cloze-style" prompt (e.g., [MASK] they are the same) where the model predicts "Yes" or "No" at the mask position.
3. Two-Stage Inference
Given the computational cost of Transformers, TEA employs a two-stage process. A fast, embedding-based retriever first identifies the top-K candidate alignments. The TEA aligners then perform a high-precision re-ranking of these candidates to make the final decision.
Experimental Results
TEA was evaluated on the DBP15K and SRPRS benchmarks. On the DBP15K (ZH-EN) dataset, TEA achieved a Hits@1 of 94.1%, a massive jump over previous embedding-based methods that hovered around 70-80%.
On the sparser SRPRS datasets, which have fewer triples to learn from, TEA outperformed the previous state-of-the-art by nearly 10% in Hits@1. This proves that language-based reasoning is more effective than pure graph-structure learning when data is thin. Furthermore, ablation studies showed that even without attribute information, TEA's relational reasoning alone outperformed many existing models that had access to both.
Conclusion
The TEA framework represents a paradigm shift in Entity Alignment, moving from geometric distance to semantic entailment. By unifying relational and attribute data into a single textual stream, TEA leverages the full power of Pre-trained Language Models to achieve unprecedented accuracy and robustness. Future work will focus on reducing computational overhead and improving the initial candidate retrieval phase to ensure the correct entity is always present for the re-ranker.
Summary updated