Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

ConE: Cone Embeddings for Multi-Hop Reasoning over Knowledge Graphs

About

Query embedding (QE) -- which aims to embed entities and first-order logical (FOL) queries in low-dimensional spaces -- has shown great power in multi-hop reasoning over knowledge graphs. Recently, embedding entities and queries with geometric shapes becomes a promising direction, as geometric shapes can naturally represent answer sets of queries and logical relationships among them. However, existing geometry-based models have difficulty in modeling queries with negation, which significantly limits their applicability. To address this challenge, we propose a novel query embedding model, namely Cone Embeddings (ConE), which is the first geometry-based QE model that can handle all the FOL operations, including conjunction, disjunction, and negation. Specifically, ConE represents entities and queries as Cartesian products of two-dimensional cones, where the intersection and union of cones naturally model the conjunction and disjunction operations. By further noticing that the closure of complement of cones remains cones, we design geometric complement operators in the embedding space for the negation operations. Experiments demonstrate that ConE significantly outperforms existing state-of-the-art methods on benchmark datasets.

Zhanqiu Zhang, Jie Wang, Jiajun Chen, Shuiwang Ji, Feng Wu• 2021

Related benchmarks

TaskDatasetResultRank
Logical Query AnsweringNELL995 (test)
MRR (1-path)0.56
41
Logical Query AnsweringFB15K (test)
MRR (1p)0.733
36
Logical Query Answering (EPFO)FB15k-237 (test)
2-Path Error0.109
31
Complex Query AnsweringNELL-995 (test)
Hits@1 (1p)53.1
31
Complex Query AnsweringFB15K (test)
Hits@1 (1p)73.3
30
Knowledge Graph ReasoningFB15k-237 (test)
HITS@3 (Avg)23.4
29
Logical Query AnsweringFB15k-237
MRR (2-inverse path)5.4
29
Complex Query AnsweringFB15k-237 (test)
Hits@1 (avg path)0.234
27
Logical Query AnsweringFB15k
Average MRR14.8
15
Answering conjunctive queries without negationFB15k-237 (test)
MRR (1p)42.33
12
Showing 10 of 24 rows

Other info

Code

Follow for update