Swords: A Benchmark for Lexical Substitution with Improved Data Coverage and Quality

Mina Lee, Chris Donahue, Robin Jia, Alexander Iyabor, Percy Liang
6/8/2021
cs.CL
benchmark-dataset

Official code: p-lambda/swords (33 stars, Python, last commit 2022-03-24).

Abstract

We release a new benchmark for lexical substitution, the task of finding appropriate substitutes for a target word in a context. To assist humans with writing, lexical substitution systems can suggest words that humans cannot easily think of.

Show full abstract

However, existing benchmarks depend on human recall as the only source of data, and therefore lack coverage of the substitutes that would be most helpful to humans. Furthermore, annotators often provide substitutes of low quality, which are not actually appropriate in the given context. We collect higher-coverage and higher-quality data by framing lexical substitution as a classification problem, guided by the intuition that it is easier for humans to judge the appropriateness of candidate substitutes than conjure them from memory. To this end, we use a context-free thesaurus to produce candidates and rely on human judgement to determine contextual appropriateness. Compared to the previous largest benchmark, our Swords benchmark has 4.1x more substitutes per target word for the same level of quality, and its substitutes are 1.5x more appropriate (based on human judgement) for the same number of substitutes.

View on arXivView PDF

Code Implementations(1)

p-lambda/swordsOfficial100%

The Stanford Word Substitution (Swords) Benchmark

336Python, Jupyter NotebookMay 19, 20214 years ago
benchmarklexical-substitutionnlpswordswriting-assistant

Similar Papers

Cite this paper

@article{lee2021swords,
  title  = {Swords: A Benchmark for Lexical Substitution with Improved Data Coverage and Quality},
  author = {Mina Lee and Chris Donahue and Robin Jia and Alexander Iyabor and Percy Liang},
  year   = {2021},
  eprint = {2106.04102},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.04102}
}

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

Discussion