Beta Embeddings for Multi-Hop Logical Reasoning in Knowledge Graphs

NeurIPS 2020  ·  Hongyu Ren, Jure Leskovec ·

One of the fundamental problems in Artificial Intelligence is to perform complex multi-hop logical reasoning over the facts captured by a knowledge graph (KG). This problem is challenging, because KGs can be massive and incomplete. Recent approaches embed KG entities in a low dimensional space and then use these embeddings to find the answer entities. However, it has been an outstanding challenge of how to handle arbitrary first-order logic (FOL) queries as present methods are limited to only a subset of FOL operators. In particular, the negation operator is not supported. An additional limitation of present methods is also that they cannot naturally model uncertainty. Here, we present BetaE, a probabilistic embedding framework for answering arbitrary FOL queries over KGs. BetaE is the first method that can handle a complete set of first-order logical operations: conjunction ($\wedge$), disjunction ($\vee$), and negation ($\neg$). A key insight of BetaE is to use probabilistic distributions with bounded support, specifically the Beta distribution, and embed queries/entities as distributions, which as a consequence allows us to also faithfully model uncertainty. Logical operations are performed in the embedding space by neural operators over the probabilistic embeddings. We demonstrate the performance of BetaE on answering arbitrary FOL queries on three large, incomplete KGs. While being more general, BetaE also increases relative performance by up to 25.4% over the current state-of-the-art KG reasoning methods that can only handle conjunctive queries without negation.

PDF Abstract NeurIPS 2020 PDF NeurIPS 2020 Abstract
Task Dataset Model Metric Name Metric Value Global Rank Result Benchmark
Complex Query Answering FB15k BetaE MRR 1p 0.651 # 6
MRR 2p 0.257 # 5
MRR 3p 0.247 # 4
MRR 2i 0.558 # 5
MRR 3i 0.665 # 5
MRR pi 0.439 # 4
MRR ip 0.281 # 5
MRR 2u 0.401 # 5
MRR up 0.252 # 4
Complex Query Answering FB15k-237 BetaE MRR 1p 0.39 # 5
MRR 2p 0.109 # 4
MRR 3p 0.1 # 4
MRR 2i 0.288 # 5
MRR 3i 0.425 # 5
MRR pi 0.224 # 4
MRR ip 0.126 # 4
MRR 2u 0.124 # 4
MRR up 0.097 # 4
Complex Query Answering NELL-995 BetaE MRR 1p 0.53 # 5
MRR 2p 0.13 # 5
MRR 3p 0.114 # 4
MRR 2i 0.376 # 5
MRR 3i 0.475 # 4
MRR pi 0.241 # 4
MRR ip 0.143 # 6
MRR 2u 0.122 # 4
MRR up 0.085 # 5

Methods


No methods listed for this paper. Add relevant methods here