Skip to main content
QUICK REVIEW

[Paper Review] AutoSF: Searching Scoring Functions for Knowledge Graph Embedding

Yongqi Zhang, Quanming Yao|arXiv (Cornell University)|Apr 26, 2019
Advanced Graph Neural NetworksComputer Science60 references8 citations
TL;DR

AutoSF proposes an automated machine learning (AutoML) framework to search for optimal scoring functions (SFs) in knowledge graph embedding (KGE), using a unified representation of bilinear models and a progressive greedy search enhanced by a filter and predictor. The method discovers novel, KG-specific SFs that outperform human-designed state-of-the-art models on link prediction and triplet classification benchmarks.

ABSTRACT

Scoring functions (SFs), which measure the plausibility of triplets in knowledge graph (KG), have become the crux of KG embedding. Lots of SFs, which target at capturing different kinds of relations in KGs, have been designed by humans in recent years. However, as relations can exhibit complex patterns that are hard to infer before training, none of them can consistently perform better than others on existing benchmark data sets. In this paper, inspired by the recent success of automated machine learning (AutoML), we propose to automatically design SFs (AutoSF) for distinct KGs by the AutoML techniques. However, it is non-trivial to explore domain-specific information here to make AutoSF efficient and effective. We firstly identify a unified representation over popularly used SFs, which helps to set up a search space for AutoSF. Then, we propose a greedy algorithm to search in such a space efficiently. The algorithm is further sped up by a filter and a predictor, which can avoid repeatedly training SFs with same expressive ability and help removing bad candidates during the search before model training. Finally, we perform extensive experiments on benchmark data sets. Results on link prediction and triplets classification show that the searched SFs by AutoSF, are KG dependent, new to the literature, and outperform the state-of-the-art SFs designed by humans.

Motivation & Objective

  • To address the challenge of manually designing scoring functions (SFs) that generalize poorly across diverse knowledge graphs (KGs) with varying relational patterns.
  • To reduce human effort in SF design by automating the discovery of optimal, data-dependent SFs through AutoML techniques.
  • To develop an efficient search framework that identifies high-performing SFs without exhaustive training of all candidates.
  • To incorporate domain-specific relational properties (e.g., symmetry, inversion) into the search process to improve effectiveness and generalization.
  • To outperform existing human-designed SFs by discovering novel, previously unexplored scoring functions tailored to specific KGs.

Proposed method

  • Formulates a unified representation for bilinear model-based SFs, enabling a general and expressive search space covering known and novel SFs.
  • Proposes a progressive greedy search algorithm that iteratively selects promising SF candidates based on performance estimates.
  • Introduces a filter to eliminate redundant SFs with identical expressive power, avoiding redundant training.
  • Employs a predictor model trained on SRF (structural relation feature) representations to estimate SF performance before full training.
  • Uses structural relation features (SRFs) to encode relational patterns (e.g., symmetric, inverse) and guide the search with domain-specific inductive bias.
  • Employs a two-stage pipeline: first search over low-dimensional SFs (d=64), then fine-tune hyperparameters on higher dimensions (d∈{256,512,1024,2048}).

Experimental results

Research questions

  • RQ1Can an automated search framework discover scoring functions that outperform human-designed SFs in knowledge graph embedding?
  • RQ2How can a unified representation of existing bilinear SFs enable effective and general search space construction?
  • RQ3What role do domain-specific relational properties (e.g., symmetry, inversion) play in guiding efficient SF search?
  • RQ4How effective are a filter and predictor in reducing search cost without sacrificing performance?
  • RQ5Can the proposed AutoSF framework scale efficiently to large KGs while maintaining high accuracy?

Key findings

  • AutoSF discovers novel scoring functions that are both KG-dependent and not present in the literature, demonstrating the method's ability to explore uncharted search space.
  • The searched SFs achieve state-of-the-art performance on link prediction and triplet classification across multiple benchmark datasets, including WN18, FB15K, WN18RR, FB15k237, and YAGO3-10.
  • The inclusion of both filter and predictor improves search efficiency significantly, reducing the number of full model training runs compared to greedy or random search.
  • The entire search process completes in just a few hours (on 8 GPUs), with YAGO3-10 taking under a day—significantly faster than prior methods like reinforcement learning (4 days on 500 GPUs) or genetic programming (17 days on one GPU).
  • The search cost is comparable to the fine-tuning cost for high-dimensional embeddings, indicating that the search is computationally tractable and practical for real-world deployment.
  • Ablation studies confirm that removing either the filter or predictor degrades efficiency, validating their critical role in pruning redundant and poor-performing candidates.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.