WANLI: Worker and AI Collaboration for Natural Language Inference Dataset Creation

Alisa Liu, Swabha Swayamdipta, Noah A. Smith, Yejin Choi
1/16/2022
cs.CL

Official code: alisawuffles/wanli (31 stars, Python, last commit 2023-05-24).

Abstract

A recurring challenge of crowdsourcing NLP datasets at scale is that human writers often rely on repetitive patterns when crafting examples, leading to a lack of linguistic diversity. We introduce a novel approach for dataset creation based on worker and AI collaboration, which brings together the generative strength of language models and the evaluative strength of humans.

Show full abstract

Starting with an existing dataset, MultiNLI for natural language inference (NLI), our approach uses dataset cartography to automatically identify examples that demonstrate challenging reasoning patterns, and instructs GPT-3 to compose new examples with similar patterns. Machine generated examples are then automatically filtered, and finally revised and labeled by human crowdworkers. The resulting dataset, WANLI, consists of 107,885 NLI examples and presents unique empirical strengths over existing NLI datasets. Remarkably, training a model on WANLI improves performance on eight out-of-domain test sets we consider, including by 11% on HANS and 9% on Adversarial NLI, compared to training on the 4x larger MultiNLI. Moreover, it continues to be more effective than MultiNLI augmented with other NLI datasets. Our results demonstrate the promise of leveraging natural language generation techniques and re-imagining the role of humans in the dataset creation process.

View on arXivView PDF

Code Implementations(1)

alisawuffles/wanliOfficial100%

code associated with WANLI dataset in Liu et al., 2022

318Python, ShellApr 20, 20223 years ago

Similar Papers

Cite this paper

@article{liu2022wanli,
  title  = {WANLI: Worker and AI Collaboration for Natural Language Inference Dataset Creation},
  author = {Alisa Liu and Swabha Swayamdipta and Noah A. Smith and Yejin Choi},
  year   = {2022},
  eprint = {2201.05955},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2201.05955}
}

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

Discussion