Start Small, Think Big: On Hyperparameter Optimization for Large-Scale Knowledge Graph Embeddings

Adrian Kochsiek, Fritz Niesel, Rainer Gemulla
7/11/2022
5 citations
cs.LGcs.AI

Official code: uma-pi1/GraSH (9 stars, Python, MIT, last commit 2024-04-11).

Abstract

Knowledge graph embedding (KGE) models are an effective and popular approach to represent and reason with multi-relational data. Prior studies have shown that KGE models are sensitive to hyperparameter settings, however, and that suitable choices are dataset-dependent.

Show full abstract

In this paper, we explore hyperparameter optimization (HPO) for very large knowledge graphs, where the cost of evaluating individual hyperparameter configurations is excessive. Prior studies often avoided this cost by using various heuristics; e.g., by training on a subgraph or by using fewer epochs. We systematically discuss and evaluate the quality and cost savings of such heuristics and other low-cost approximation techniques. Based on our findings, we introduce GraSH, an efficient multi-fidelity HPO algorithm for large-scale KGEs that combines both graph and epoch reduction techniques and runs in multiple rounds of increasing fidelities. We conducted an experimental study and found that GraSH obtains state-of-the-art results on large graphs at a low cost (three complete training runs in total).

View on arXivView PDF

Code Implementations(1)

uma-pi1/GraSHOfficial100%
MIT
90Python, ShellApr 12, 20222 years agoMIT

Similar Papers

Cite this paper

@article{kochsiek2022start,
  title  = {Start Small, Think Big: On Hyperparameter Optimization for Large-Scale Knowledge Graph Embeddings},
  author = {Adrian Kochsiek and Fritz Niesel and Rainer Gemulla},
  year   = {2022},
  eprint = {2207.04979},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2207.04979v1}
}

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

Discussion