A Logic-Driven Framework for Consistency of Neural Models

08/31/2019
by   Tao Li, et al.
0

While neural models show remarkable accuracy on individual predictions, their internal beliefs can be inconsistent across examples. In this paper, we formalize such inconsistency as a generalization of prediction error. We propose a learning framework for constraining models using logic rules to regularize them away from inconsistency. Our framework can leverage both labeled and unlabeled examples and is directly compatible with off-the-shelf learning schemes without model redesign. We instantiate our framework on natural language inference, where experiments show that enforcing invariants stated in logic can help make the predictions of neural models both accurate and consistent.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
04/30/2020

Do Neural Models Learn Systematicity of Monotonicity Inference in Natural Language?

Despite the success of language models using neural networks, it remains...
research
02/16/2020

Exploring Neural Models for Parsing Natural Language into First-Order Logic

Semantic parsing is the task of obtaining machine-interpretable represen...
research
09/28/2021

Instance-Based Neural Dependency Parsing

Interpretable rationales for model predictions are crucial in practical ...
research
08/12/2018

Interpreting Recurrent and Attention-Based Neural Models: a Case Study on Natural Language Inference

Deep learning models have achieved remarkable success in natural languag...
research
05/22/2023

Logical Reasoning for Natural Language Inference Using Generated Facts as Atoms

State-of-the-art neural models can now reach human performance levels ac...
research
03/21/2016

Harnessing Deep Neural Networks with Logic Rules

Combining deep neural networks with structured logic rules is desirable ...
research
12/01/2022

Deep Kernel Learning for Mortality Prediction in the Face of Temporal Shift

Neural models, with their ability to provide novel representations, have...

Please sign up or login with your details

Forgot password? Click here to reset