Skip to main content
QUICK REVIEW

[Paper Review] Global and local evaluation of link prediction tasks with neural embeddings

Asan Agibetov, Matthias Samwald|arXiv (Cornell University)|Jul 27, 2018
Advanced Graph Neural NetworksComputer Science17 references5 citations
TL;DR

This paper proposes a unified benchmark for evaluating neural embeddings in knowledge graphs by framing link prediction as a binary classification task, comparing global (single model for all relations) and local (relation-specific models) training approaches. It finds that globally trained embeddings achieve comparable F-measure (~0.8) to locally trained ones, offering better scalability while maintaining performance, and advocates for standardized, reproducible evaluation via open-source tools.

ABSTRACT

We focus our attention on the link prediction problem for knowledge graphs, which is treated herein as a binary classification task on neural embeddings of the entities. By comparing, combining and extending different methodologies for link prediction on graph-based data coming from different domains, we formalize a unified methodology for the quality evaluation benchmark of neural embeddings for knowledge graphs. This benchmark is then used to empirically investigate the potential of training neural embeddings globally for the entire graph, as opposed to the usual way of training embeddings locally for a specific relation. This new way of testing the quality of the embeddings evaluates the performance of binary classifiers for scalable link prediction with limited data. Our evaluation pipeline is made open source, and with this we aim to draw more attention of the community towards an important issue of transparency and reproducibility of the neural embeddings evaluations.

Motivation & Objective

  • To address the lack of standardized, transparent, and reproducible evaluation practices for neural embeddings in knowledge graph link prediction.
  • To investigate whether globally trained embeddings—trained once for the entire graph—can match the performance of locally trained embeddings per relation.
  • To formalize a unified evaluation methodology that combines global and local evaluation strategies for fair and robust benchmarking.
  • To highlight the limitations of mean rank-based metrics in binary classification settings and advocate for classifier-based metrics like F-measure and AUC.
  • To promote reproducibility by releasing an open-source evaluation pipeline for neural embedding benchmarking.

Proposed method

  • Formalizes link prediction as a binary classification task, where the model predicts whether a triple (e_i, r_k, e_j) is true or false based on entity embeddings.
  • Uses a single neural model to train global embeddings for all entities across all relations, as opposed to training separate models per relation.
  • Employs standard binary classification metrics (F-measure, AUC, precision, recall) instead of mean rank or mean reciprocal rank for evaluation.
  • Generates negative samples by removing true links from the training set and ensuring no overlap with test positives to prevent data leakage.
  • Applies a threshold-based classifier (e.g., score > 0.5) to convert continuous scores into binary predictions.
  • Validates the approach on the WN11 knowledge graph, comparing global and local embedding training strategies across all relations.

Experimental results

Research questions

  • RQ1Can globally trained neural embeddings achieve competitive performance in link prediction compared to relation-specific local training?
  • RQ2How do standard mean rank-based metrics compare to binary classification metrics (e.g., F-measure, AUC) in evaluating link prediction quality?
  • RQ3What are the implications of negative sample generation and data leakage in link prediction benchmarks?
  • RQ4To what extent does the global training approach scale compared to local training, especially in low-connectivity graphs?
  • RQ5How can evaluation pipelines be made more transparent and reproducible in knowledge graph embedding research?

Key findings

  • Globally trained embeddings achieve an average F-measure of approximately 0.8 across all relations on the WN11 dataset, comparable to locally trained embeddings.
  • The global approach is more scalable, requiring only one neural model for all relations instead of one per relation.
  • Mean rank-based metrics can be misleading for binary classification tasks, as they may rate high-performing models poorly in practical deployment due to poor thresholding.
  • Negative sample generation must account for potential test positives to avoid information leakage and ensure robustness of classifiers.
  • The global approach is less robust when entity connectivity is low, as it may fail to embed entities with limited incoming or outgoing links.
  • The authors release an open-source evaluation pipeline to promote transparency, reproducibility, and standardization in knowledge graph embedding benchmarking.

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.