Improving Natural Language Inference with a Pretrained Parser
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 abstractHide
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.