Abstract
Entity Alignment (EA) is critical for integrating siloed Knowledge Graphs (KGs). Traditional methods rely heavily on expensive manually labeled seed pairs and struggle with cross-lingual or heterogeneous schemas. We present EasyEA, a zero-shot, end-to-end framework that leverages Large Language Models (LLMs) for EA. By employing a three-stage pipeline—Information Summarization, Embedding and Feature Fusion, and Hierarchical Candidate Selection—EasyEA achieves state-of-the-art performance across diverse benchmarks without specialized training or manual seed pairs.
Introduction
Knowledge Graphs (KGs) underpin modern semantic search and recommendation systems, but their utility is often limited by fragmentation. Entity Alignment (EA) aims to link equivalent entities across different KGs (e.g., matching "Paris" in a French KG to "Paris" in an English one).
Current approaches face three significant hurdles:
- Data Hunger: Dependence on expensive, manually labeled "seed pairs" to train models.
- Heterogeneity: Difficulty handling linguistic and structural differences between KGs.
- Complexity: Hybrid models often introduce massive computational overhead and risk data leakage.
EasyEA addresses these by treating EA as a semantic reasoning task powered entirely by pre-trained LLMs, requiring zero training iterations.
Methodology
EasyEA utilizes a three-stage pipeline to align entities without training:
- Information Summarization: An LLM (e.g., GPT-3.5) acts as a translator and summarizer. It converts entity names into English and condenses messy attribute and relation triples into a concise text summary (<100 words). This ensures the model focuses on provided data while leveraging semantic understanding.
- Embedding and Feature Fusion: A local LLM (e.g., Llama3-8B) generates embeddings for three distinct features: the entity name, the attribute summary, and the relation summary. These vectors are concatenated into a single "holistic" representation.
- Candidate Selection: The system uses cosine similarity to find the top 10 candidates. Then, a reasoning LLM (e.g., GPT-4-Turbo) performs hierarchical selection. It evaluates the name first; if ambiguous, it examines attributes, and finally relations. This mimics human logic and allows the model to "stop" once confident.
Experimental Results
EasyEA was evaluated on several benchmark datasets, including DBP15K (cross-lingual), SRPRS (sparse), ICEWS (temporal/heterogeneous), and DWY (large-scale). The framework achieved State-of-the-Art (SOTA) results across the board, often with near-perfect scores.
On the DBP15K dataset, EasyEA achieved Hits@1 scores of 0.995 to 0.998, outperforming previous LLM-hybrid models like ChatEA and DERA. On the large-scale DWY dataset, it reached a perfect 1.000 Hits@1 on both the DBP-WIKI and DBP-YAGO subsets.
Key Insights
- Training is Optional: A zero-shot LLM approach can outperform models specifically trained for thousands of iterations on EA tasks.
- Attributes are Vital: Ablation studies revealed that removing attribute information caused the most significant performance drop, suggesting attributes provide the "unique fingerprint" necessary for alignment.
- Efficiency: For the DBP15K dataset (30k entities), the total API cost was approximately $4.10, significantly cheaper than the human labor required for manual seed pair creation.
Conclusion
EasyEA demonstrates that LLMs can effectively solve the EA problem in a zero-shot manner. While challenges remain in capturing complex graph structures and managing inference hardware demands, the framework sets a new standard for efficient and accurate KG integration. Future work may involve more intelligent "triggering" of the reasoning stage to further optimize computational costs.
Summary updated