Improving Natural Language Inference with a Pretrained Parser

Deric Pang, Lucy H. Lin, Noah A. Smith
9/18/2019
cs.CL

Official code: dericpang/syntactic-entailment (2 stars, Python, last commit 2019-05-28).

Abstract

We introduce a novel approach to incorporate syntax into natural language inference (NLI) models. Our method uses contextual token-level vector representations from a pretrained dependency parser.

Show full abstract

Like other contextual embedders, our method is broadly applicable to any neural model. We experiment with four strong NLI models (decomposable attention model, ESIM, BERT, and MT-DNN), and show consistent benefit to accuracy across three NLI benchmarks.

View on arXivView PDF

Code Implementations(1)

21Python, JsonnetNov 4, 20187 years ago

Similar Papers

Cite this paper

@article{pang2019improving,
  title  = {Improving Natural Language Inference with a Pretrained Parser},
  author = {Deric Pang and Lucy H. Lin and Noah A. Smith},
  year   = {2019},
  eprint = {1909.08217},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1909.08217}
}

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

Discussion