Refining Targeted Syntactic Evaluation of Language Models

Benjamin Newman, Kai-Siang Ang, Julia Gong, John Hewitt
4/19/2021
cs.CL

Official code: bnewm0609/refining-tse (2 stars, Python, MIT, last commit 2021-05-26).

Abstract

Targeted syntactic evaluation of subject-verb number agreement in English (TSE) evaluates language models' syntactic knowledge using hand-crafted minimal pairs of sentences that differ only in the main verb's conjugation. The method evaluates whether language models rate each grammatical sentence as more likely than its ungrammatical counterpart.

Show full abstract

We identify two distinct goals for TSE. First, evaluating the systematicity of a language model's syntactic knowledge: given a sentence, can it conjugate arbitrary verbs correctly? Second, evaluating a model's likely behavior: given a sentence, does the model concentrate its probability mass on correctly conjugated verbs, even if only on a subset of the possible verbs? We argue that current implementations of TSE do not directly capture either of these goals, and propose new metrics to capture each goal separately. Under our metrics, we find that TSE overestimates systematicity of language models, but that models score up to 40% better on verbs that they predict are likely in context.

View on arXivView PDF

Code Implementations(1)

MIT
22Python, TeXApr 10, 20215 years agoMIT

Similar Papers

Cite this paper

@article{newman2021refining,
  title  = {Refining Targeted Syntactic Evaluation of Language Models},
  author = {Benjamin Newman and Kai-Siang Ang and Julia Gong and John Hewitt},
  year   = {2021},
  eprint = {2104.09635},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2104.09635}
}

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

Discussion