Augmenting Neural Networks with First-order Logic

Tao Li, Vivek Srikumar
6/14/2019
cs.LGcs.CLstat.ML

Official code: utahnlp/layer_augmentation (47 stars, Python, Apache-2.0, PyTorch, last commit 2020-11-03).

Abstract

Today, the dominant paradigm for training neural networks involves minimizing task loss on a large dataset. Using world knowledge to inform a model, and yet retain the ability to perform end-to-end training remains an open question.

Show full abstract

In this paper, we present a novel framework for introducing declarative knowledge to neural network architectures in order to guide training and prediction. Our framework systematically compiles logical statements into computation graphs that augment a neural network without extra learnable parameters or manual redesign. We evaluate our modeling strategy on three tasks: machine comprehension, natural language inference, and text chunking. Our experiments show that knowledge-augmented networks can strongly improve over baselines, especially in low-data regimes.

View on arXivView PDF

Code Implementations(1)

PyTorchApache-2.0

Implementation of the NLI model in our ACL 2019 paper: Augmenting Neural Networks with First-order Logic.

479PythonMay 28, 20196 years agoApache-2.0
acl2019attentionattention-mechanismdecomposable-attentionfirst-order-logic+4 more

Similar Papers

Cite this paper

@article{li2019augmenting,
  title  = {Augmenting Neural Networks with First-order Logic},
  author = {Tao Li and Vivek Srikumar},
  year   = {2019},
  eprint = {1906.06298},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1906.06298}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1906.06298.svg)](https://codeofpaper.com/paper/1906.06298)

Discussion