Assessing the Effects of Hyperparameters on Knowledge Graph Embedding Quality

Oliver Lloyd, Yi Liu, Tom Gaunt
7/1/2022
11 citations
cs.AIcs.CLcs.SI

Official code: oliver-lloyd/kge_param_sens (2 stars, Jupyter Notebook, last commit 2022-07-01).

Abstract

Embedding knowledge graphs into low-dimensional spaces is a popular method for applying approaches, such as link prediction or node classification, to these databases. This embedding process is very costly in terms of both computational time and space.

Show full abstract

Part of the reason for this is the optimisation of hyperparameters, which involves repeatedly sampling, by random, guided, or brute-force selection, from a large hyperparameter space and testing the resulting embeddings for their quality. However, not all hyperparameters in this search space will be equally important. In fact, with prior knowledge of the relative importance of the hyperparameters, some could be eliminated from the search altogether without significantly impacting the overall quality of the outputted embeddings. To this end, we ran a Sobol sensitivity analysis to evaluate the effects of tuning different hyperparameters on the variance of embedding quality. This was achieved by performing thousands of embedding trials, each time measuring the quality of embeddings produced by different hyperparameter configurations. We regressed the embedding quality on those hyperparameter configurations, using this model to generate Sobol sensitivity indices for each of the hyperparameters. By evaluating the correlation between Sobol indices, we find substantial variability in the hyperparameter sensitivities between knowledge graphs, with differing dataset characteristics being the probable cause of these inconsistencies. As an additional contribution of this work we identify several relations in the UMLS knowledge graph that may cause data leakage via inverse relations, and derive and present UMLS-43, a leakage-robust variant of that graph.

View on arXivView PDF

Code Implementations(1)

Global sensitivity analysis of knowledge graph embedding model hyperparameters

21Jupyter Notebook, PythonApr 27, 20224 years ago

Similar Papers

Cite this paper

@article{lloyd2022assessing,
  title  = {Assessing the Effects of Hyperparameters on Knowledge Graph Embedding Quality},
  author = {Oliver Lloyd and Yi Liu and Tom Gaunt},
  year   = {2022},
  eprint = {2207.00473},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2207.00473v3}
}

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/2207.00473.svg)](https://codeofpaper.com/paper/2207.00473)

Discussion