How to Turn Your Knowledge Graph Embeddings into Generative Models

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Loconte, Lorenzo, Di Mauro, Nicola, Peharz, Robert, Vergari, Antonio
Format: Preprint
Veröffentlicht: 2023
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866913197990084608
author Loconte, Lorenzo
Di Mauro, Nicola
Peharz, Robert
Vergari, Antonio
author_facet Loconte, Lorenzo
Di Mauro, Nicola
Peharz, Robert
Vergari, Antonio
contents Some of the most successful knowledge graph embedding (KGE) models for link prediction -- CP, RESCAL, TuckER, ComplEx -- can be interpreted as energy-based models. Under this perspective they are not amenable for exact maximum-likelihood estimation (MLE), sampling and struggle to integrate logical constraints. This work re-interprets the score functions of these KGEs as circuits -- constrained computational graphs allowing efficient marginalisation. Then, we design two recipes to obtain efficient generative circuit models by either restricting their activations to be non-negative or squaring their outputs. Our interpretation comes with little or no loss of performance for link prediction, while the circuits framework unlocks exact learning by MLE, efficient sampling of new triples, and guarantee that logical constraints are satisfied by design. Furthermore, our models scale more gracefully than the original KGEs on graphs with millions of entities.
format Preprint
id arxiv_https___arxiv_org_abs_2305_15944
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle How to Turn Your Knowledge Graph Embeddings into Generative Models
Loconte, Lorenzo
Di Mauro, Nicola
Peharz, Robert
Vergari, Antonio
Machine Learning
Artificial Intelligence
Some of the most successful knowledge graph embedding (KGE) models for link prediction -- CP, RESCAL, TuckER, ComplEx -- can be interpreted as energy-based models. Under this perspective they are not amenable for exact maximum-likelihood estimation (MLE), sampling and struggle to integrate logical constraints. This work re-interprets the score functions of these KGEs as circuits -- constrained computational graphs allowing efficient marginalisation. Then, we design two recipes to obtain efficient generative circuit models by either restricting their activations to be non-negative or squaring their outputs. Our interpretation comes with little or no loss of performance for link prediction, while the circuits framework unlocks exact learning by MLE, efficient sampling of new triples, and guarantee that logical constraints are satisfied by design. Furthermore, our models scale more gracefully than the original KGEs on graphs with millions of entities.
title How to Turn Your Knowledge Graph Embeddings into Generative Models
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2305.15944