Mining Knowledge for Natural Language Inference from Wikipedia Categories

Mingda Chen, Zewei Chu, Karl Stratos, Kevin Gimpel
10/3/2020
cs.CL

Official code: ZeweiChu/WikiNLI (16 stars, Python, CC0-1.0, last commit 2020-10-06).

Abstract

Accurate lexical entailment (LE) and natural language inference (NLI) often require large quantities of costly annotations. To alleviate the need for labeled data, we introduce WikiNLI: a resource for improving model performance on NLI and LE tasks.

Show full abstract

It contains 428,899 pairs of phrases constructed from naturally annotated category hierarchies in Wikipedia. We show that we can improve strong baselines such as BERT and RoBERTa by pretraining them on WikiNLI and transferring the models on downstream tasks. We conduct systematic comparisons with phrases extracted from other knowledge bases such as WordNet and Wikidata to find that pretraining on WikiNLI gives the best performance. In addition, we construct WikiNLI in other languages, and show that pretraining on them improves performance on NLI tasks of corresponding languages.

View on arXivView PDF

Code Implementations(1)

ZeweiChu/WikiNLIOfficial100%
CC0-1.0
161PythonSep 28, 20206 years agoCC0-1.0

Similar Papers

Cite this paper

@article{chen2020mining,
  title  = {Mining Knowledge for Natural Language Inference from Wikipedia Categories},
  author = {Mingda Chen and Zewei Chu and Karl Stratos and Kevin Gimpel},
  year   = {2020},
  eprint = {2010.01239},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2010.01239}
}

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

Discussion