MonaLog: a Lightweight System for Natural Language Inference Based on Monotonicity

Hai Hu, Qi Chen, Kyle Richardson, Atreyee Mukherjee, Lawrence S. Moss +1 more
10/19/2019
cs.CL

Official code: huhailinguist/ccg2mono (10 stars, Python, last commit 2020-04-14).

Abstract

We present a new logic-based inference engine for natural language inference (NLI) called MonaLog, which is based on natural logic and the monotonicity calculus. In contrast to existing logic-based approaches, our system is intentionally designed to be as lightweight as possible, and operates using a small set of well-known (surface-level) monotonicity facts about quantifiers, lexical items and tokenlevel polarity information.

Show full abstract

Despite its simplicity, we find our approach to be competitive with other logic-based NLI models on the SICK benchmark. We also use MonaLog in combination with the current state-of-the-art model BERT in a variety of settings, including for compositional data augmentation. We show that MonaLog is capable of generating large amounts of high-quality training data for BERT, improving its accuracy on SICK.

View on arXivView PDF

Code Implementations(1)

Take CCG parses and add monotonicity information on every constituent

104Python, ShellApr 21, 20186 years agoNOASSERTION

Similar Papers

Cite this paper

@article{hu2019monalog,
  title  = {MonaLog: a Lightweight System for Natural Language Inference Based on Monotonicity},
  author = {Hai Hu and Qi Chen and Kyle Richardson and Atreyee Mukherjee and Lawrence S. Moss and Sandra Kuebler},
  year   = {2019},
  eprint = {1910.08772},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1910.08772}
}

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/1910.08772.svg)](https://codeofpaper.com/paper/1910.08772)

Discussion