Cargando…
Assessing the effects of hyperparameters on knowledge graph embedding quality
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. Part of the reason for this is the optimisation...
Autores principales: | , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
Springer International Publishing
2023
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10164002/ https://www.ncbi.nlm.nih.gov/pubmed/37168524 http://dx.doi.org/10.1186/s40537-023-00732-5 |
_version_ | 1785037998563262464 |
---|---|
author | Lloyd, Oliver Liu, Yi R. Gaunt, Tom |
author_facet | Lloyd, Oliver Liu, Yi R. Gaunt, Tom |
author_sort | Lloyd, Oliver |
collection | PubMed |
description | 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. 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 as 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. SUPPLEMENTARY INFORMATION: The online version contains supplementary material available at 10.1186/s40537-023-00732-5. |
format | Online Article Text |
id | pubmed-10164002 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2023 |
publisher | Springer International Publishing |
record_format | MEDLINE/PubMed |
spelling | pubmed-101640022023-05-08 Assessing the effects of hyperparameters on knowledge graph embedding quality Lloyd, Oliver Liu, Yi R. Gaunt, Tom J Big Data Research 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. 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 as 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. SUPPLEMENTARY INFORMATION: The online version contains supplementary material available at 10.1186/s40537-023-00732-5. Springer International Publishing 2023-05-06 2023 /pmc/articles/PMC10164002/ /pubmed/37168524 http://dx.doi.org/10.1186/s40537-023-00732-5 Text en © The Author(s) 2023 https://creativecommons.org/licenses/by/4.0/Open AccessThis article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/ (https://creativecommons.org/licenses/by/4.0/) . |
spellingShingle | Research Lloyd, Oliver Liu, Yi R. Gaunt, Tom Assessing the effects of hyperparameters on knowledge graph embedding quality |
title | Assessing the effects of hyperparameters on knowledge graph embedding quality |
title_full | Assessing the effects of hyperparameters on knowledge graph embedding quality |
title_fullStr | Assessing the effects of hyperparameters on knowledge graph embedding quality |
title_full_unstemmed | Assessing the effects of hyperparameters on knowledge graph embedding quality |
title_short | Assessing the effects of hyperparameters on knowledge graph embedding quality |
title_sort | assessing the effects of hyperparameters on knowledge graph embedding quality |
topic | Research |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10164002/ https://www.ncbi.nlm.nih.gov/pubmed/37168524 http://dx.doi.org/10.1186/s40537-023-00732-5 |
work_keys_str_mv | AT lloydoliver assessingtheeffectsofhyperparametersonknowledgegraphembeddingquality AT liuyi assessingtheeffectsofhyperparametersonknowledgegraphembeddingquality AT rgaunttom assessingtheeffectsofhyperparametersonknowledgegraphembeddingquality |