Embedding Uncertain Knowledge Graphs

Xuelu Chen, Muhao Chen, Weijia Shi, Yizhou Sun, Carlo Zaniolo

Abstract

Traditional Knowledge Graph (KG) embedding models often treat facts as binary truths, failing to capture the inherent uncertainty present in real-world data. We present UKGE (Uncertain Knowledge Graph Embedding), a framework that models facts with associated confidence scores. By leveraging Probabilistic Soft Logic (PSL) and specialized mapping functions, UKGE preserves both structural relationships and uncertainty, outperforming deterministic baselines in confidence prediction, fact ranking, and classification tasks.

Introduction

Knowledge Graphs like ConceptNet, NELL, and PPI contain facts that are not strictly binary but carry varying degrees of confidence based on extraction reliability or biological probability. Standard embedding models (e.g., TransE, DistMult) suffer from "binary bias," treating all training facts as equally certain, and an "unseen is false" assumption that penalizes potentially true but unrecorded relationships. UKGE addresses these limitations by learning continuous representations that directly reflect fact confidence.

Methodology

UKGE learns embeddings by minimizing the discrepancy between predicted and actual confidence scores. It employs a scoring function (e.g., DistMult) to determine a triple's plausibility, which is then mapped to a [0, 1] range using either a Bounded Rectifier ($UKGE_{rect}$) or a Logistic function ($UKGE_{logi}$).

To handle unobserved facts, UKGE integrates Probabilistic Soft Logic (PSL). PSL rules (e.g., transitivity) allow the model to infer confidence for unseen triples rather than assuming they are false. The joint optimization objective balances Mean Squared Error (MSE) for observed facts with the "distance to satisfaction" for PSL rules, providing a more nuanced treatment of the unknown space.

Experimental Evaluation

The framework was evaluated on three uncertain KGs: CN15k (commonsense), NL27k (web-extracted), and PPI5k (biological interactions).

Confidence Prediction

UKGE variants significantly reduced MSE and MAE compared to the URGE baseline across all datasets. The $UKGE_{rect}$ variant typically provided the most accurate point estimates for confidence scores, as shown in the performance metrics below.

Confidence prediction performance (MSE and MAE) across three datasets. UKGE variants consistently outperform the URGE baseline.

Classification and Ranking

In classification tasks aimed at distinguishing "strong" from "weak" facts, UKGE achieved superior F-1 scores and accuracy. Notably, on the PPI5k dataset, UKGE reached an F-1 score of 95.1%, significantly higher than deterministic models which hovered around 83-86%.

Classification performance (F-1 and Accuracy). UKGE variants show significant improvements over traditional deterministic models like TransE and DistMult.

Discussion and Key Insights

The results demonstrate that uncertainty is a vital feature for robust knowledge representation. The choice of mapping function is task-dependent: $UKGE_{rect}$ excels at precise confidence estimation, while $UKGE_{logi}$ is effective at separating negative links from true facts due to its saturation properties. Furthermore, replacing standard negative sampling with PSL-based soft logic allows the model to treat the "unknown" as a continuous space of probability.

Conclusion and Future Work

UKGE provides a principled approach to embedding uncertain knowledge. Future research will focus on automated rule mining to replace heuristic PSL rules, exploring more complex scoring architectures like ConvE or RotatE, and integrating uncertainty directly from NLP extraction pipelines.

Summary updated

BibTeX
@inproceedings{chen2019embedding,
  author = {Xuelu Chen and Muhao Chen and Weijia Shi and Yizhou Sun and Carlo Zaniolo},
  title = {{Embedding Uncertain Knowledge Graphs}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2019},
  doi = {10.1609/aaai.v33i01.33013363},
}
Figure