NeuralLog: Natural Language Inference with Joint Neural and Logical Reasoning

Zeming Chen, Qiyue Gao, Lawrence S. Moss
5/29/2021
cs.CLcs.AI

Official code: eric11eca/NeuralLog (17 stars, Jupyter Notebook, MIT, last commit 2021-06-09).

Abstract

Deep learning (DL) based language models achieve high performance on various benchmarks for Natural Language Inference (NLI). And at this time, symbolic approaches to NLI are receiving less attention.

Show full abstract

Both approaches (symbolic and DL) have their advantages and weaknesses. However, currently, no method combines them in a system to solve the task of NLI. To merge symbolic and deep learning methods, we propose an inference framework called NeuralLog, which utilizes both a monotonicity-based logical inference engine and a neural network language model for phrase alignment. Our framework models the NLI task as a classic search problem and uses the beam search algorithm to search for optimal inference paths. Experiments show that our joint logic and neural inference system improves accuracy on the NLI task and can achieve state-of-art accuracy on the SICK and MED datasets.

View on arXivView PDF

Code Implementations(1)

MIT

A neural-symbolic joint reasoning approach for Natural Language Inference (NLI). Modeling NLI as inference path planning through a search engine. Sequence chunking and neural paraphrase detection for syntactic variation. SOTA result on SICK and MED.

173Jupyter Notebook, PythonNov 29, 20205 years agoMIT
bert-embeddingscomputational-semanticslanguage-modelnatural-language-inferencenatural-language-processing+2 more

Similar Papers

Cite this paper

@article{chen2021neurallog,
  title  = {NeuralLog: Natural Language Inference with Joint Neural and Logical Reasoning},
  author = {Zeming Chen and Qiyue Gao and Lawrence S. Moss},
  year   = {2021},
  eprint = {2105.14167},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2105.14167}
}

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

Discussion