How to Turn Your Knowledge Graph Embeddings into Generative Models
Lorenzo Loconte, Nicola Di Mauro, Robert Peharz, Antonio Vergari
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.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
9 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- On the Theoretical Limitations of Embedding-based Link Prediction cites Open Graph Benchmark: Datasets for Machine Learning on Graphs
- On the Theoretical Limitations of Embedding-based Link Prediction cites You CAN Teach an Old Dog New Tricks! On Training Knowledge Graph Embeddings
- Tractable Sharpness-Aware Learning of Probabilistic Circuits cites Scaling Tractable Probabilistic Circuits: A Systems Perspective
- Tractable Sharpness-Aware Learning of Probabilistic Circuits cites A Compositional Atlas of Tractable Circuit Operations for Probabilistic Inference
- Tractable Sharpness-Aware Learning of Probabilistic Circuits cites Semantic Probabilistic Layers for Neuro-Symbolic Learning
- Scaling Tractable Probabilistic Circuits: A Systems Perspective cites A Compositional Atlas of Tractable Circuit Operations for Probabilistic Inference
- Scaling Tractable Probabilistic Circuits: A Systems Perspective cites Semantic Probabilistic Layers for Neuro-Symbolic Learning
- Semantic Probabilistic Layers for Neuro-Symbolic Learning cites A Compositional Atlas of Tractable Circuit Operations for Probabilistic Inference
Cited by top-tier papers9
- Scaling Tractable Probabilistic Circuits: A Systems PerspectiveAnji Liu, Kareem Ahmed, Guy Van den BroeckICML 2024 · 26 citations
- DuetGraph: Coarse-to-Fine Knowledge Graph Reasoning with Dual-Pathway Global-Local FusionJin Li, Zezhong Ding, Xike XieNeurIPS 2025 · 5 citations
- Embeddings as Probabilistic Equivalence in Logic ProgramsJaron Maene, Efthymia TsamouraNeurIPS 2025 · 4 citations
- Tractable Sharpness-Aware Learning of Probabilistic CircuitsHrithik Suresh, Sahil Sidheekh, Vishnu Shreeram M. P, Sriraam Natarajan et al.AAAI 2026 · 2 citations
- On the Theoretical Limitations of Embedding-based Link PredictionSamy Badreddine, Emile van Krieken, Luciano SerafiniICML 2026
Builds on6
- Open Graph Benchmark: Datasets for Machine Learning on GraphsWeihua Hu, Matthias Fey, Marinka Zitnik, Yuxiao Dong et al.NeurIPS 2020 · 3,935 citations
- You CAN Teach an Old Dog New Tricks! On Training Knowledge Graph EmbeddingsDaniel Ruffinelli, Samuel Broscheit, Rainer GemullaICLR 2020 · 238 citations
- Semantic Probabilistic Layers for Neuro-Symbolic LearningKareem Ahmed, Stefano Teso, Kai-Wei Chang, Guy Van den Broeck et al.NeurIPS 2022 · 133 citations
- A Compositional Atlas of Tractable Circuit Operations for Probabilistic InferenceAntonio Vergari, YooJung Choi, Anji Liu, Stefano Teso et al.NeurIPS 2021 · 112 citations
- Probability Calibration for Knowledge Graph Embedding ModelsPedro Tabacof, Luca CostabelloICLR 2020 · 49 citations
Related papers
- Knowledge Graph Embedding by Adaptive Limit Scoring Loss Using Dynamic Weighting StrategyJinfa Yang, Xianghua Ying, Yongjie Shi, Xin Tong et al.ACL Findings 2022 · 5 citations
- Efficient Non-Sampling Knowledge Graph EmbeddingZelong Li, Jianchao Ji, Zuohui Fu, Yingqiang Ge et al.WWW 2021 · 41 citations
- LATENTLOGIC: Learning Logic Rules in Latent Space over Knowledge GraphsJunnan Liu, Qianren Mao, Chenghua Lin, Yangqiu Song et al.EMNLP Findings 2023 · 6 citations
- Certainty in Uncertainty: Reasoning over Uncertain Knowledge Graphs with Statistical GuaranteesYuqicheng Zhu, Jingcheng Wu, Yizhen Wang, Hongkuan Zhou et al.EMNLP 2025
- CAKE: A Scalable Commonsense-Aware Framework For Multi-View Knowledge Graph CompletionGuanglin Niu, Bo Li, Yongfei Zhang, Shiliang PuACL 2022 · 56 citations
