Do Similar Entities have Similar Embeddings?

Nicolas Hubert, Heiko Paulheim, Armelle Brun, Davy Monticolo
12/16/2023
cs.AIcs.IRcs.LG

Official code: nicolas-hbt/similar-embeddings (4 stars, last commit 2023-12-02).

Abstract

Knowledge graph embedding models (KGEMs) developed for link prediction learn vector representations for entities in a knowledge graph, known as embeddings. A common tacit assumption is the KGE entity similarity assumption, which states that these KGEMs retain the graph's structure within their embedding space, \textit{i.e.}, position similar entities within the graph close to one another. This desirable property make KGEMs widely used in downstream tasks such as recommender systems or drug repurposing. Yet, the relation of entity similarity and similarity in the embedding space has rarely been formally evaluated. Typically, KGEMs are assessed based on their sole link prediction capabilities, using ranked-based metrics such as Hits@K or Mean Rank. This paper challenges the prevailing assumption that entity similarity in the graph is inherently mirrored in the embedding space. Therefore, we conduct extensive experiments to measure the capability of KGEMs to cluster similar entities together, and investigate the nature of the underlying factors. Moreover, we study if different KGEMs expose a different notion of similarity. Datasets, pre-trained embeddings and code are available at: https://github.com/nicolas-hbt/similar-embeddings/.

View on arXivView PDF

Code Implementations(1)

Do Similar Entities have Similar Embeddings?

40PythonDec 2, 20232 years ago

Similar Papers

Cite this paper

@article{hubert2023similar,
  title  = {Do Similar Entities have Similar Embeddings?},
  author = {Nicolas Hubert and Heiko Paulheim and Armelle Brun and Davy Monticolo},
  year   = {2023},
  eprint = {2312.10370},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2312.10370v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2312.10370.svg)](https://codeofpaper.com/paper/2312.10370)

Discussion