Skip to main navigation Skip to search Skip to main content

How to turn your knowledge graph embeddings into generative models

Lorenzo Loconte, Nicola Di Mauro, Robert Peharz, Antonio Vergari

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

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.
Original languageEnglish
Title of host publicationNIPS '23
Subtitle of host publicationProceedings of the 37th International Conference on Neural Information Processing Systems
EditorsA. Oh, T. Neumann, A. Globerson, K. Saenko, M. Hardt, S. Levine
PublisherAssociation for Computing Machinery (ACM)
Pages77713-77744
Number of pages32
ISBN (Electronic)9781713899921
DOIs
Publication statusPublished - 10 Dec 2023
Event37th Conference on Neural Information Processing Systems - New Orleans, United States
Duration: 10 Dec 202316 Dec 2023

Publication series

NameAdvances in Neural Information Processing Systems
Publisher Association for Computing Machinery (ACM)
ISSN (Print)1049-5258

Conference

Conference37th Conference on Neural Information Processing Systems
Abbreviated titleNeurIPS 2023
Country/TerritoryUnited States
CityNew Orleans
Period10/12/2316/12/23

Fingerprint

Dive into the research topics of 'How to turn your knowledge graph embeddings into generative models'. Together they form a unique fingerprint.

Cite this