NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Matching Entities Across Different Knowledge Graphs with Graph Embeddings

Michael Azmy, Peng Shi, Jimmy Lin, Ihab F. Ilyas

Abstract

This paper presents a robust approach for matching identical real-world entities across disparate knowledge graphs (KGs), such as DBpedia and Wikidata, by leveraging graph embeddings. The authors demonstrate that a simple multi-layer perceptron (MLP) can effectively learn to map between two independently generated semantic spaces. The approach achieves high accuracy (up to 0.85 MRR) even with minimal training data, significantly outperforming linear baselines and addressing the inherent ambiguity of entity labels through structural context.

Introduction

Knowledge Graphs (KGs) like DBpedia and Wikidata serve as massive repositories of structured information. However, these graphs often exist in isolation. To enable cross-graph interoperability, entities must be aligned—a process known as entity matching. The primary obstacle is ambiguity; for example, multiple distinct individuals may share the name "Adam Smith." Simple string matching fails in these scenarios, necessitating methods that utilize the structural context of an entity, such as its relationships and neighboring nodes.

Methodology

The authors propose a classification-based framework that avoids hand-crafted features in favor of learned representations:

  1. Graph Embeddings (RDF2VEC): Entities are transformed into 500-dimensional vectors using RDF2VEC. This method performs random walks on the graph to generate "sentences" of entities and predicates, which are then processed by a Word2Vec-style model to capture structural and semantic context.
  2. Independent Semantic Spaces: Embeddings for DBpedia and Wikidata are trained independently, requiring the model to bridge two distinct vector spaces.
  3. MLP Classifier: A Multi-Layer Perceptron (MLP) with one hidden layer (750 units) and ReLU activation is employed. It takes a concatenated vector of a source entity and a candidate target entity to output a match probability.
  4. Point-wise Training: The model is trained on entity pairs, learning to distinguish true matches (based on owl:sameAs links) from incorrect candidates.

Datasets and Ambiguity

To evaluate the model, the authors introduced two large-scale datasets: DBpedia to Wikidata (376,065 instances) and Wikidata to DBpedia (329,320 instances). Unlike smaller benchmarks, these datasets focus on "hard" cases where multiple entities share the same label.

Distribution of candidates per query, illustrating the scale of ambiguity in the datasets.

As shown in the candidate distribution above, many queries involve a high number of potential matches, forcing the model to rely heavily on the learned graph context rather than textual labels.

Key Results and Insights

The primary evaluation metric is the Mean Reciprocal Rank (MRR). The MLP achieved an MRR of 0.85 for DBpedia-to-Wikidata and 0.81 for Wikidata-to-DBpedia, significantly outperforming Logistic Regression (0.64/0.62) and random baselines.

Structural Alignment and Non-linearity

A key insight is that a simple neural network can learn the correspondence between two independently learned semantic spaces. The necessity of non-linear models is highlighted by the poor performance of linear Logistic Regression, suggesting complex relationships between different KG embeddings.

Sample Efficiency and Domain Variations

The model is remarkably data-efficient, achieving an MRR of 0.82 with only 0.5% of the training data. However, performance varies significantly across domains.

MRR performance breakdown by entity type, highlighting variations in matching difficulty across domains.

As illustrated in the figure above, domains like "Albums" and "Musical Works" present greater challenges due to higher inherent ambiguity and a larger number of candidates compared to "Persons" or "Locations."

Conclusion

This research demonstrates that graph embeddings combined with non-linear classifiers provide a powerful tool for entity alignment. While the model excels at structural mapping, future work is needed to improve fine-grained disambiguation within specific domains and to handle open-world scenarios where a direct match may not exist in the target graph.

Summary updated

BibTeX
@misc{azmy2019matching,
  author = {Michael Azmy and Peng Shi and Jimmy Lin and Ihab F. Ilyas},
  title = {{Matching Entities Across Different Knowledge Graphs with Graph Embeddings}},
  year = {2019},
  eprint = {1903.06607},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1903.06607},
}
Figure