A Benchmarking Study of Embedding-based Entity Alignment for Knowledge Graphs

Zequn Sun, Qingheng Zhang, Wei Hu, Chengming Wang, Muhao Chen, Farahnaz Akrami, Chengkai Li

TL;DR

This paper presents a comprehensive benchmarking study of embedding-based entity alignment for knowledge graphs (KGs). The authors introduce a new KG sampling algorithm and benchmark datasets designed for realistic evaluation, along with an open-source library (OpenEA) implementing 12 state-of-the-art approaches. Their extensive experiments reveal the strengths and limitations of current methods, highlighting the need for improved alignment inference strategies and suggesting promising future research directions.

What Problem Does This Paper Address?

Knowledge graphs (KGs) are powerful tools for organizing information, but integrating data from different KGs is challenging due to variations in schema, language, and structure (heterogeneity). Entity alignment aims to identify entities that refer to the same real-world object across different KGs. While embedding-based methods have emerged as a promising solution, the field currently lacks a systematic evaluation framework. Existing benchmarks are often biased, not representative of real-world KGs, and the performance of various embedding techniques and alignment strategies remains unclear. Furthermore, the lack of accessible code and standardized datasets hinders reproducible research and fair comparisons.

Methods

The authors tackle this problem by:

  • Surveying and Categorizing: They review 23 recent embedding-based entity alignment approaches, categorizing them by their core techniques (embedding modules, alignment modules, interaction modes).
  • Developing a New Sampling Algorithm (IDS): To create more realistic benchmark datasets, they propose an Iterative Degree-based Sampling (IDS) algorithm. This algorithm samples KGs while preserving their original degree distributions, addressing a key limitation of existing datasets.
  • Creating Benchmark Datasets: Using IDS, they generate new datasets of varying sizes (15K and 100K entities) from real-world KGs (DBpedia, Wikidata, YAGO), considering factors like heterogeneity, multilingualism, and scale. They also create denser versions (V2) to mimic existing benchmarks.
  • Building an Open-Source Library (OpenEA): They develop an open-source library in Python and TensorFlow that integrates 12 representative embedding-based entity alignment approaches. This library offers a flexible architecture for easy integration of new modules and models.
  • Conducting Comprehensive Experiments: They train and evaluate the 12 approaches from scratch on their new datasets, analyzing both effectiveness and efficiency. They also perform exploratory experiments on geometric properties of embeddings, unexplored KG embedding models, and comparisons with conventional approaches.

Datasets

The paper introduces new benchmark datasets generated using the IDS algorithm from the following sources:

  • DBpedia (2016-10)
  • Wikidata (20160801)
  • YAGO 3

They also consider cross-lingual versions of DBpedia (English-French and English-German). Datasets are provided in two sizes: 15K and 100K entities, with both sparser (V1) and denser (V2) versions. Existing popular datasets like DBP15K and WK3L are discussed and contrasted with their new benchmarks, highlighting the superior degree distribution matching of their IDS-generated datasets.

Key Insights and Ideas

  • Real-world KGs are Heterogeneous: The paper strongly emphasizes the need to account for various forms of heterogeneity (schema, language, scale) in entity alignment, a gap not adequately addressed by existing benchmarks.
  • Degree Distribution Matters: Existing popular datasets often have significantly different degree distributions than real-world KGs, potentially leading to biased evaluations. The IDS algorithm aims to rectify this.
  • Alignment Inference is Underexplored: While much focus is on embedding techniques, the alignment inference module (how entities are matched based on embeddings) is crucial. The paper shows that techniques like CSLS and stable matching can significantly improve performance, even for simpler embedding models.
  • Hubness and Isolation are Performance Killers: The study reveals that issues like "hubness" (entities frequently appearing as nearest neighbors) and "isolation" (entities rarely appearing as neighbors) in embedding spaces negatively impact alignment accuracy. Approaches that mitigate these issues tend to perform better.
  • Embedding-based and Conventional Methods are Complementary: The research demonstrates that embedding-based approaches and traditional methods (like LogMap and PARIS) find different sets of correct alignments, suggesting that hybrid systems could achieve superior overall performance.
  • Not All KG Embeddings are Equal for Alignment: The paper shows that KG embedding models designed for tasks like link prediction don't always translate well to entity alignment, highlighting the need for specialized embedding strategies.

Key Results

  • Top Performers: RDGCN, BootEA, and MultiKE emerged as the top-performing approaches among the 12 evaluated, suggesting the benefit of incorporating literal information and bootstrapping strategies.
  • Sparse vs. Dense Datasets: Relation-based approaches generally perform better on denser datasets, while attribute-based methods show more consistent performance.
  • 15K vs. 100K Datasets: Most approaches perform better on smaller (15K) datasets, likely due to the increased complexity and larger candidate space in 100K datasets.
  • Attribute vs. Relation: Literal embedding (using attribute values) significantly improves performance for most approaches, while attribute correlation is less effective, especially when KGs have symbolic heterogeneity.
  • Semi-Supervised Learning: Bootstrapping strategies (like in BootEA) can effectively augment seed alignment and improve performance, provided the augmented data is of high quality.
  • Running Time: Approaches like BootEA and RSN4EA are significantly slower due to their complex procedures (bootstrapping, multi-hop paths), while GCNAlign and MTransE are more efficient. MultiKE offers a good balance between effectiveness and efficiency.
  • CSLS and Stable Matching: Using CSLS as a distance metric and stable matching for inference significantly boosts performance, especially for simpler embedding models, by addressing hubness and isolation issues.
  • Conventional vs. Embedding: While conventional methods like PARIS and LogMap achieve competitive results, they often struggle with symbolic heterogeneity. OpenEA (with RDGCN) shows complementary alignment results, and when enhanced with CSLS and stable matching, it outperforms conventional methods on some datasets.

Limitations and Future Work

  • Limitations:
    • The paper acknowledges that current embedding-based approaches still struggle with long-tail entities (entities with few relations).
  • Symbolic heterogeneity in attributes (e.g., Wikidata's use of numeric IDs for attribute names) poses a significant challenge.
  • The current alignment inference strategies are primarily greedy and lack inconsistency repair capabilities found in conventional methods.
  • Some advanced KG embedding models (e.g., TransR, HolE) did not perform well, possibly due to their reliance on relation alignment or other factors not suited for the entity alignment task.
  • Future Work:
    • Unsupervised Entity Alignment: Developing methods that do not require seed alignment, potentially by leveraging auxiliary features or distant supervision.
  • Long-tail Entity Alignment: Exploring advanced graph neural networks and incorporating multi-modal data, taxonomies, or joint training with link prediction.
  • Large-scale Entity Alignment: Investigating techniques like locality-sensitive hashing to manage the computational cost of large KGs.
  • Non-Euclidean Spaces: Exploring non-Euclidean KG embedding models (like RotatE) for entity alignment, as they show promise in capturing complex relationships.
  • Hybrid Systems: Further research into combining the strengths of embedding-based and conventional approaches.

Summary updated

BibTeX
@article{sun2020benchmarking,
  author = {Zequn Sun and Qingheng Zhang and Wei Hu and Chengming Wang and Muhao Chen and Farahnaz Akrami and Chengkai Li},
  title = {{A Benchmarking Study of Embedding-based Entity Alignment for Knowledge Graphs}},
  journal = {Proc. VLDB Endow.},
  year = {2020},
  url = {https://openreview.net/forum?id=18-8FDFcVk},
}
Figure