ScoNe: Benchmarking Negation Reasoning in Language Models With Fine-Tuning and In-Context Learning

Jingyuan Selena She, Christopher Potts, Samuel R. Bowman, Atticus Geiger
5/30/2023
cs.CLcs.LG

No official code found. Best implementation: selenashe/ScoNe (4 stars, CC0-1.0, last commit 2023-07-13).

Abstract

A number of recent benchmarks seek to assess how well models handle natural language negation. However, these benchmarks lack the controlled example paradigms that would allow us to infer whether a model had learned how negation morphemes semantically scope. To fill these analytical gaps, we present the Scoped Negation NLI (ScoNe-NLI) benchmark, which contains contrast sets of six examples with up to two negations where either zero, one, or both negative morphemes affect the NLI label. We use ScoNe-NLI to assess fine-tuning and in-context learning strategies. We find that RoBERTa and DeBERTa models solve ScoNe-NLI after many shot fine-tuning. For in-context learning, we test InstructGPT models and find that most prompt strategies are not successful, including those using step-by-step reasoning. To better understand this result, we extend ScoNe with ScoNe-NLG, a sentence completion test set that embeds negation reasoning in short narratives. Here, InstructGPT is successful, which reveals the model can correctly reason about negation, but struggles to do so on prompt-adapted NLI examples outside of its core pretraining regime.

View on arXivView PDF

Code Implementations(1)

selenashe/ScoNeCommunity100%
CC0-1.0
41Jan 18, 20233 years agoCC0-1.0

Similar Papers

Cite this paper

@article{she2023scone,
  title  = {ScoNe: Benchmarking Negation Reasoning in Language Models With Fine-Tuning and In-Context Learning},
  author = {Jingyuan Selena She and Christopher Potts and Samuel R. Bowman and Atticus Geiger},
  year   = {2023},
  eprint = {2305.19426},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.19426v1}
}

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

Discussion