paper-with-me

홈 › Papers

NLProlog: Reasoning with Weak Unification for Question Answering in Natural Language

2019-06-14 · ACL 2019 7 · Leon Weber, Pasquale Minervini, Jannes Münchmeyer, Ulf Leser, Tim Rocktäschel

Rule-based models are attractive for various tasks because they inherently lead to interpretable and explainable decisions and can easily incorporate prior knowledge. However, such systems are difficult to apply to problems involving natural language, due to its linguistic variability. In contrast, neural models can cope very well with ambiguity by learning distributed representations of words and their composition from data, but lead to models that are difficult to interpret. In this paper, we describe a model combining neural networks with logic programming in a novel manner for solving multi-hop reasoning tasks over natural language. Specifically, we propose to use a Prolog prover which we extend to utilize a similarity function over pretrained sentence encoders. We fine-tune the representations for the similarity function via backpropagation. This leads to a system that can apply rule-based reasoning to natural language, and induce domain-specific rules from training data. We evaluate the proposed system on two different question answering tasks, showing that it outperforms two baselines -- BIDAF (Seo et al., 2016a) and FAST QA (Weissenborn et al., 2017b) on a subset of the WikiHop corpus and achieves competitive results on the MedHop data set (Welbl et al., 2017).

📄 PDF Abstract BibTeX arXiv:1906.06187

Code (1)

leonweber/nlprolog 공식 구현 pytorch

Tasks

Question AnsweringSentence

Similar Papers 제목 키워드 기반

NLProlog: Reasoning with Weak Unification for Natural Language Question Answering

2019-05-01 · ICLR 2019 5 · Leon Weber, Pasquale Minervini, Ulf Leser, Tim Rocktäschel

Symbolic logic allows practitioners to build systems that perform rule-based reasoning which is interpretable and which can easily be augmented with prior knowledge. However, such systems are traditionally difficult to a…

Question AnsweringSentence

Unification-based Reconstruction of Multi-hop Explanations for Science Questions

2020-03-31 · EACL 2021 2 · Marco Valentino, Mokanarangan Thayaparan, André Freitas

This paper presents a novel framework for reconstructing multi-hop explanations in science Question Answering (QA). While existing approaches for multi-hop reasoning build explanations considering each question in isolat…

ClusteringInformation RetrievalQuestion AnsweringRetrieval+1

Hypergraph Transformer: Weakly-supervised Multi-hop Reasoning for Knowledge-based Visual Question Answering

2022-04-22 · ACL 2022 5 · Yu-Jung Heo, Eun-Sol Kim, Woo Suk Choi, Byoung-Tak Zhang

Knowledge-based visual question answering (QA) aims to answer a question which requires visually-grounded external knowledge beyond image content itself. Answering complex questions that require multi-hop reasoning under…

Question AnsweringVisual Question AnsweringVisual Question Answering (VQA)

NeuroSymActive: Differentiable Neural-Symbolic Reasoning with Active Exploration for Knowledge Graph Question Answering

2026-02-17 · Rong Fu, Yang Li, Zeyu Zhang, Jiekai Wu 외 arxiv

Large pretrained language models and neural reasoning systems have advanced many natural language tasks, yet they remain challenged by knowledge-intensive queries that require precise, structured multi-hop inference. Kno…

Graph Question AnsweringKnowledge Graphs

Weakly Supervised Relative Spatial Reasoning for Visual Question Answering

2021-09-04 · ICCV 2021 10 · Pratyay Banerjee, Tejas Gokhale, Yezhou Yang, Chitta Baral

Vision-and-language (V\&L) reasoning necessitates perception of visual concepts such as objects and actions, understanding semantics and language grounding, and reasoning about the interplay between the two modalities. O…

Question AnsweringSpatial ReasoningVisual Question AnsweringVisual Question Answering (VQA)+1