Recursive Neural Networks Can Learn Logical Semantics

06/06/2014
by   Samuel R. Bowman, et al.
0

Tree-structured recursive neural networks (TreeRNNs) for sentence meaning have been successful for many applications, but it remains an open question whether the fixed-length representations that they learn can support tasks as demanding as logical deduction. We pursue this question by evaluating whether two such models---plain TreeRNNs and tree-structured neural tensor networks (TreeRNTNs)---can correctly learn to identify logical relationships such as entailment and contradiction using these representations. In our first set of experiments, we generate artificial data from a logical grammar and use it to evaluate the models' ability to learn to handle basic relational reasoning, recursive structures, and quantification. We then evaluate the models on the more natural SICK challenge data. Both models perform competitively on the SICK data and generalize well in all three experiments on simulated data, suggesting that they can learn suitable representations for logical inference in natural language.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
05/25/2022

RobustLR: Evaluating Robustness to Logical Perturbation in Deductive Reasoning

Transformers have been shown to be able to perform deductive reasoning o...
research
06/01/2019

Siamese recurrent networks learn first-order logic reasoning and exhibit zero-shot compositional generalization

Can neural nets learn logic? We approach this classic question with curr...
research
02/23/2018

Can Neural Networks Understand Logical Entailment?

We introduce a new dataset of logical entailments for the purpose of mea...
research
10/17/2019

Neural Logic Networks

Recent years have witnessed the great success of deep neural networks in...
research
09/04/2018

Improving the Expressiveness of Deep Learning Frameworks with Recursion

Recursive neural networks have widely been used by researchers to handle...
research
05/31/2023

Beam Tree Recursive Cells

We propose Beam Tree Recursive Cell (BT-Cell) - a backpropagation-friend...
research
06/14/2019

Augmenting Neural Networks with First-order Logic

Today, the dominant paradigm for training neural networks involves minim...

Please sign up or login with your details

Forgot password? Click here to reset