arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2305.15944cs.LGcs.AI
收藏

如何将知识图谱嵌入转化为生成模型

How to Turn Your Knowledge Graph Embeddings into Generative Models

University of Edinburgh(爱丁堡大学);University of Bari(巴里大学);TU Graz(格拉茨工业大学)

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

AI总结:

本文将CP、RESCAL等知识图谱嵌入模型重新解释为可边缘化的电路,并通过非负激活或输出平方将其转化为生成模型,在保持链接预测性能的同时实现精确MLE学习、高效采样和逻辑约束满足。

摘要:

一些最成功的用于链接预测的知识图谱嵌入(KGE)模型——CP、RESCAL、TuckER、ComplEx——可以被解释为基于能量的模型。在这种视角下,它们不适合进行精确的最大似然估计(MLE)、采样,并且难以整合逻辑约束。本研究将这些KGE的评分函数重新解释为电路——即允许高效边缘化的受约束计算图。然后,我们设计了两种方案,通过将其激活限制为非负或对其输出进行平方,来获得高效的生成电路模型。我们的解释在链接预测性能上几乎没有损失或没有损失,而电路框架则解锁了通过MLE进行精确学习、对新三元组的高效采样,并保证逻辑约束在设计中得到满足。此外,与原始KGE相比,我们的模型在具有数百万实体的图上扩展得更加优雅。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑