SQuARE: Semantics-based Question Answering and Reasoning Engine
- URL: http://arxiv.org/abs/2009.10239v1
- Date: Tue, 22 Sep 2020 00:48:18 GMT
- Title: SQuARE: Semantics-based Question Answering and Reasoning Engine
- Authors: Kinjal Basu, Sarat Chandra Varanasi, Farhad Shakerin, Gopal Gupta
- Abstract summary: We introduce a general semantics-based framework for natural language QA.
We also describe the SQuARE system, an application of this framework.
SQuARE achieves 100% accuracy on all the five datasets that we have tested.
- Score: 9.902883278247726
- License: http://arxiv.org/licenses/nonexclusive-distrib/1.0/
- Abstract: Understanding the meaning of a text is a fundamental challenge of natural
language understanding (NLU) and from its early days, it has received
significant attention through question answering (QA) tasks. We introduce a
general semantics-based framework for natural language QA and also describe the
SQuARE system, an application of this framework. The framework is based on the
denotational semantics approach widely used in programming language research.
In our framework, valuation function maps syntax tree of the text to its
commonsense meaning represented using basic knowledge primitives (the semantic
algebra) coded using answer set programming (ASP). We illustrate an application
of this framework by using VerbNet primitives as our semantic algebra and a
novel algorithm based on partial tree matching that generates an answer set
program that represents the knowledge in the text. A question posed against
that text is converted into an ASP query using the same framework and executed
using the s(CASP) goal-directed ASP system. Our approach is based purely on
(commonsense) reasoning. SQuARE achieves 100% accuracy on all the five datasets
of bAbI QA tasks that we have tested. The significance of our work is that,
unlike other machine learning based approaches, ours is based on
"understanding" the text and does not require any training. SQuARE can also
generate an explanation for an answer while maintaining high accuracy.
Related papers
- A Knowledge-Injected Curriculum Pretraining Framework for Question Answering [70.13026036388794]
We propose a general Knowledge-Injected Curriculum Pretraining framework (KICP) to achieve comprehensive KG learning and exploitation for Knowledge-based question answering tasks.
The KI module first injects knowledge into the LM by generating KG-centered pretraining corpus, and generalizes the process into three key steps.
The KA module learns knowledge from the generated corpus with LM equipped with an adapter as well as keeps its original natural language understanding ability.
The CR module follows human reasoning patterns to construct three corpora with increasing difficulties of reasoning, and further trains the LM from easy to hard in a curriculum manner.
arXiv Detail & Related papers (2024-03-11T03:42:03Z) - HPE:Answering Complex Questions over Text by Hybrid Question Parsing and
Execution [92.69684305578957]
We propose a framework of question parsing and execution on textual QA.
The proposed framework can be viewed as a top-down question parsing followed by a bottom-up answer backtracking.
Our experiments on MuSiQue, 2WikiQA, HotpotQA, and NQ show that the proposed parsing and hybrid execution framework outperforms existing approaches in supervised, few-shot, and zero-shot settings.
arXiv Detail & Related papers (2023-05-12T22:37:06Z) - DecAF: Joint Decoding of Answers and Logical Forms for Question
Answering over Knowledge Bases [81.19499764899359]
We propose a novel framework DecAF that jointly generates both logical forms and direct answers.
DecAF achieves new state-of-the-art accuracy on WebQSP, FreebaseQA, and GrailQA benchmarks.
arXiv Detail & Related papers (2022-09-30T19:51:52Z) - elBERto: Self-supervised Commonsense Learning for Question Answering [131.51059870970616]
We propose a Self-supervised Bidirectional Representation Learning of Commonsense framework, which is compatible with off-the-shelf QA model architectures.
The framework comprises five self-supervised tasks to force the model to fully exploit the additional training signals from contexts containing rich commonsense.
elBERto achieves substantial improvements on out-of-paragraph and no-effect questions where simple lexical similarity comparison does not help.
arXiv Detail & Related papers (2022-03-17T16:23:45Z) - An ASP-based Approach to Answering Natural Language Questions for Texts [8.417188296231059]
An approach based on answer set programming (ASP) is proposed in this paper for representing knowledge generated from natural language texts.
ASP can facilitate many natural language tasks such as automated question answering, text summarization, and automated question generation.
In this paper, we describe the CASPR system that we have developed to automate the task of answering natural language questions given English text.
arXiv Detail & Related papers (2021-12-21T14:13:06Z) - Open Domain Question Answering over Virtual Documents: A Unified
Approach for Data and Text [62.489652395307914]
We use the data-to-text method as a means for encoding structured knowledge for knowledge-intensive applications, i.e. open-domain question answering (QA)
Specifically, we propose a verbalizer-retriever-reader framework for open-domain QA over data and text where verbalized tables from Wikipedia and triples from Wikidata are used as augmented knowledge sources.
We show that our Unified Data and Text QA, UDT-QA, can effectively benefit from the expanded knowledge index, leading to large gains over text-only baselines.
arXiv Detail & Related papers (2021-10-16T00:11:21Z) - Knowledge-driven Natural Language Understanding of English Text and its
Applications [8.417188296231059]
We introduce a knowledge driven semantic representation approach for English text.
We present two NLU applications: SQuARE (Semantic-based Question Answering and Reasoning Engine) and StaCACK (Stateful Conversational Agent using Commonsense Knowledge)
arXiv Detail & Related papers (2021-01-27T22:02:50Z) - Question Answering over Knowledge Bases by Leveraging Semantic Parsing
and Neuro-Symbolic Reasoning [73.00049753292316]
We propose a semantic parsing and reasoning-based Neuro-Symbolic Question Answering(NSQA) system.
NSQA achieves state-of-the-art performance on QALD-9 and LC-QuAD 1.0.
arXiv Detail & Related papers (2020-12-03T05:17:55Z)
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.