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

06/14/2019
by   Leon Weber, et al.
0

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).

READ FULL TEXT

page 1

page 2

page 3

page 4

research
06/14/2019

IITP at MEDIQA 2019: Systems Report for Natural Language Inference, Question Entailment and Question Answering

This paper presents the experiments accomplished as a part of our partic...
research
03/31/2018

A Language for Function Signature Representations

Recent work by (Richardson and Kuhn, 2017a,b; Richardson et al., 2018) l...
research
10/30/2018

Compositional Attention Networks for Interpretability in Natural Language Question Answering

MAC Net is a compositional attention network designed for Visual Questio...
research
11/12/2016

Leveraging Video Descriptions to Learn Video Question Answering

We propose a scalable approach to learn video-based question answering (...
research
04/18/2021

Flexible Operations for Natural Language Deduction

An interpretable system for complex, open-domain reasoning needs an inte...
research
11/19/2015

Skip-Thought Memory Networks

Question Answering (QA) is fundamental to natural language processing in...
research
02/14/2020

Transformers as Soft Reasoners over Language

AI has long pursued the goal of having systems reason over *explicitly p...

Please sign up or login with your details

Forgot password? Click here to reset