English

A Logic-Driven Framework for Consistency of Neural Models

Artificial Intelligence 2019-09-16 v4 Computation and Language Machine Learning

Abstract

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.

Keywords

Cite

@article{arxiv.1909.00126,
  title  = {A Logic-Driven Framework for Consistency of Neural Models},
  author = {Tao Li and Vivek Gupta and Maitrey Mehta and Vivek Srikumar},
  journal= {arXiv preprint arXiv:1909.00126},
  year   = {2019}
}

Comments

Accepted in EMNLP 2019; Extra footnote after camera ready; Addressing R-fuzzy and S-fuzzy logic + extra acknowledgement

R2 v1 2026-06-23T11:01:54.745Z