Command Palette
Search for a command to run...
Hongyu Ren; Jure Leskovec

Abstract
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.
Code Repositories
Benchmarks
| Benchmark | Methodology | Metrics |
|---|---|---|
| complex-query-answering-on-fb15k | BetaE | MRR 1p: 0.651 MRR 2i: 0.558 MRR 2p: 0.257 MRR 2u: 0.401 MRR 3i: 0.665 MRR 3p: 0.247 MRR ip: 0.281 MRR pi: 0.439 MRR up: 0.252 |
| complex-query-answering-on-fb15k-237 | BetaE | MRR 1p: 0.39 MRR 2i: 0.288 MRR 2p: 0.109 MRR 2u: 0.124 MRR 3i: 0.425 MRR 3p: 0.1 MRR ip: 0.126 MRR pi: 0.224 MRR up: 0.097 |
| complex-query-answering-on-nell-995 | BetaE | MRR 1p: 0.53 MRR 2i: 0.376 MRR 2p: 0.13 MRR 2u: 0.122 MRR 3i: 0.475 MRR 3p: 0.114 MRR ip: 0.143 MRR pi: 0.241 MRR up: 0.085 |
Build AI with AI
From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.