Skip to main content
QUICK REVIEW

[Paper Review] Probability Calibration for Knowledge Graph Embedding Models

Pedro Tabacof, Luca Costabello|arXiv (Cornell University)|Dec 20, 2019
Advanced Graph Neural NetworksComputer Science38 references15 citations
TL;DR

This paper proposes a novel calibration method for knowledge graph embedding models using Platt scaling and isotonic regression with synthetically generated negatives, enabling reliable probability estimates even when ground truth negatives are unavailable. It demonstrates that calibrated models achieve state-of-the-art accuracy in triple classification without requiring relation-specific decision thresholds.

ABSTRACT

Knowledge graph embedding research has overlooked the problem of probability calibration. We show popular embedding models are indeed uncalibrated. That means probability estimates associated to predicted triples are unreliable. We present a novel method to calibrate a model when ground truth negatives are not available, which is the usual case in knowledge graphs. We propose to use Platt scaling and isotonic regression alongside our method. Experiments on three datasets with ground truth negatives show our contribution leads to well-calibrated models when compared to the gold standard of using negatives. We get significantly better results than the uncalibrated models from all calibration methods. We show isotonic regression offers the best the performance overall, not without trade-offs. We also show that calibrated models reach state-of-the-art accuracy without the need to define relation-specific decision thresholds.

Motivation & Objective

  • Address the overlooked problem of probability miscalibration in knowledge graph embedding models, where predicted probabilities do not reflect true confidence.
  • Develop a calibration method that works effectively even when ground truth negatives are absent, which is typical in knowledge graphs under the open world assumption.
  • Enable reliable probabilistic predictions for downstream tasks such as triple classification without relying on relation-specific decision thresholds.
  • Evaluate the performance of calibration techniques—Platt scaling and isotonic regression—on real-world knowledge graph datasets with and without ground truth negatives.
  • Demonstrate that calibrated models achieve state-of-the-art accuracy while maintaining trustworthy, interpretable probability estimates.

Proposed method

  • Use Platt scaling and isotonic regression to calibrate model outputs by transforming raw logits into well-calibrated probabilities.
  • Introduce a heuristic to generate synthetic negative samples when ground truth negatives are unavailable, using the positive base rate from the validation set.
  • Calibrate models on half the validation set, replacing true negatives with synthetic negatives to maintain calibration performance.
  • Apply calibration using a closed-world assumption, treating unseen triples as negative during evaluation.
  • Use a single threshold of τ = 0.5 for triple classification after calibration, eliminating the need for per-relation thresholds.
  • Evaluate calibration performance using reliability diagrams and expected calibration error (ECE), comparing against uncalibrated baselines and gold-standard calibration with true negatives.

Experimental results

Research questions

  • RQ1Can knowledge graph embedding models be effectively calibrated when ground truth negatives are not available, as is common in real-world knowledge graphs?
  • RQ2How do Platt scaling and isotonic regression compare in calibrating knowledge graph embedding models under synthetic negative sampling?
  • RQ3Does calibration enable the use of a single, universal decision threshold (τ = 0.5) for triple classification across all relations, eliminating the need for relation-specific thresholds?
  • RQ4To what extent does calibration improve the reliability of probability estimates, as measured by expected calibration error and reliability diagrams?
  • RQ5Can calibrated models achieve state-of-the-art performance in triple classification without additional model tuning or per-relation threshold learning?

Key findings

  • Isotonic regression provides the best calibration performance across all datasets, significantly outperforming Platt scaling and uncalibrated models in terms of expected calibration error.
  • Even with only half the validation set used for calibration and synthetic negatives replacing true negatives, the proposed method achieves well-calibrated probability estimates.
  • Calibrated models reach state-of-the-art accuracy on WN11 (88.9 F1) using a single threshold τ = 0.5, matching or exceeding results from models that use relation-specific thresholds.
  • The uncalibrated models perform poorly with τ = 0.5, highlighting the necessity of calibration for reliable thresholding.
  • The method significantly improves calibration over uncalibrated models across all four evaluated models (TransE, DistMult, ComplEx, HolE) on three datasets (WN11, FB13, YAGO39K).
  • Reliability diagrams show that uncalibrated models are systematically miscalibrated—TransE under-forecasts, while ComplEx shows both under- and over-forecasting depending on the loss function.

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.