Logic Embeddings for Complex Query Answering
- URL: http://arxiv.org/abs/2103.00418v1
- Date: Sun, 28 Feb 2021 07:52:37 GMT
- Title: Logic Embeddings for Complex Query Answering
- Authors: Francois Luus, Prithviraj Sen, Pavan Kapanipathi, Ryan Riegel,
Ndivhuwo Makondo, Thabang Lebese, Alexander Gray
- Abstract summary: We propose Logic Embeddings, a new approach to embedding complex queries that uses Skolemisation to eliminate existential variables for efficient querying.
We show that Logic Embeddings are competitively fast and accurate in query answering over large, incomplete knowledge graphs, outperform on negation queries, and in particular, provide improved modeling of answer uncertainty.
- Score: 56.25151854231117
- License: http://arxiv.org/licenses/nonexclusive-distrib/1.0/
- Abstract: Answering logical queries over incomplete knowledge bases is challenging
because: 1) it calls for implicit link prediction, and 2) brute force answering
of existential first-order logic queries is exponential in the number of
existential variables. Recent work of query embeddings provides fast querying,
but most approaches model set logic with closed regions, so lack negation.
Query embeddings that do support negation use densities that suffer drawbacks:
1) only improvise logic, 2) use expensive distributions, and 3) poorly model
answer uncertainty. In this paper, we propose Logic Embeddings, a new approach
to embedding complex queries that uses Skolemisation to eliminate existential
variables for efficient querying. It supports negation, but improves on density
approaches: 1) integrates well-studied t-norm logic and directly evaluates
satisfiability, 2) simplifies modeling with truth values, and 3) models
uncertainty with truth bounds. Logic Embeddings are competitively fast and
accurate in query answering over large, incomplete knowledge graphs, outperform
on negation queries, and in particular, provide improved modeling of answer
uncertainty as evidenced by a superior correlation between answer set size and
embedding entropy.
Related papers
- Logical Negation Augmenting and Debiasing for Prompt-based Methods [19.879616265315637]
We focus on the effectiveness of prompt-based methods on first-order logical reasoning.
We find that the bottleneck lies in logical negation.
We propose a simple but effective method, Negation Augmenting and Negation Debiasing.
arXiv Detail & Related papers (2024-05-08T08:05:47Z) - Improving Complex Reasoning over Knowledge Graph with Logic-Aware Curriculum Tuning [89.89857766491475]
We propose a complex reasoning schema over KG upon large language models (LLMs)
We augment the arbitrary first-order logical queries via binary tree decomposition to stimulate the reasoning capability of LLMs.
Experiments across widely used datasets demonstrate that LACT has substantial improvements(brings an average +5.5% MRR score) over advanced methods.
arXiv Detail & Related papers (2024-05-02T18:12:08Z) - Prompt-fused framework for Inductive Logical Query Answering [31.736934787328156]
We propose a query-aware prompt-fused framework named Pro-QE.
We show that our model successfully handles the issue of unseen entities in logical queries.
arXiv Detail & Related papers (2024-03-19T11:30:30Z) - MetaLogic: Logical Reasoning Explanations with Fine-Grained Structure [129.8481568648651]
We propose a benchmark to investigate models' logical reasoning capabilities in complex real-life scenarios.
Based on the multi-hop chain of reasoning, the explanation form includes three main components.
We evaluate the current best models' performance on this new explanation form.
arXiv Detail & Related papers (2022-10-22T16:01:13Z) - Complexity-Based Prompting for Multi-Step Reasoning [72.0057198610614]
We study the task of prompting large-scale language models to perform multi-step reasoning.
A central question is which reasoning examples make the most effective prompts.
We propose complexity-based prompting, a simple and effective example selection scheme for multi-step reasoning.
arXiv Detail & Related papers (2022-10-03T05:33:27Z) - Maieutic Prompting: Logically Consistent Reasoning with Recursive
Explanations [71.2950434944196]
We develop Maieutic Prompting, which infers a correct answer to a question even from the noisy and inconsistent generations of language models.
Maieutic Prompting achieves up to 20% better accuracy than state-of-the-art prompting methods.
arXiv Detail & Related papers (2022-05-24T06:36:42Z) - Query2Particles: Knowledge Graph Reasoning with Particle Embeddings [49.64006979045662]
We propose a query embedding method to answer complex logical queries on knowledge graphs with missing edges.
The answer entities are selected according to the similarities between the entity embeddings and the query embedding.
A complex KG query answering method, Q2P, is proposed to retrieve diverse answers from different areas over the embedding space.
arXiv Detail & Related papers (2022-04-27T11:16:08Z) - Adaptive n-ary Activation Functions for Probabilistic Boolean Logic [2.294014185517203]
We show that we can learn arbitrary logic in a single layer using an activation function of matching or greater arity.
We represent belief tables using a basis that directly associates the number of nonzero parameters to the effective arity of the belief function.
This opens optimization approaches to reduce logical complexity by inducing parameter sparsity.
arXiv Detail & Related papers (2022-03-16T22:47:53Z) - Answering Fuzzy Queries over Fuzzy DL-Lite Ontologies [0.2741266294612776]
We study the problem of answering conjunctive queries and threshold queries in fuzzy DL-Lite.
For the idemdent G"odel t-norm, we provide an effective method based on a reduction to the classical case.
arXiv Detail & Related papers (2021-11-23T10:45:54Z)
This list is automatically generated from the titles and abstracts of the papers in this site.
This site does not guarantee the quality of this site (including all information) and is not responsible for any consequences.