A Systematic Assessment of Syntactic Generalization in Neural Language Models

Jennifer Hu, Jon Gauthier, Peng Qian, Ethan Wilcox, Roger P. Levy
5/7/2020
cs.CL

Official code: cpllab/syntactic-generalization (31 stars, Jupyter Notebook, MIT, last commit 2021-06-18).

Abstract

While state-of-the-art neural network models continue to achieve lower perplexity scores on language modeling benchmarks, it remains unknown whether optimizing for broad-coverage predictive performance leads to human-like syntactic knowledge. Furthermore, existing work has not provided a clear picture about the model properties required to produce proper syntactic generalizations.

Show full abstract

We present a systematic evaluation of the syntactic knowledge of neural language models, testing 20 combinations of model types and data sizes on a set of 34 English-language syntactic test suites. We find substantial differences in syntactic generalization performance by model architecture, with sequential models underperforming other architectures. Factorially manipulating model architecture and training dataset size (1M--40M words), we find that variability in syntactic generalization performance is substantially greater by architecture than by dataset size for the corpora tested in our experiments. Our results also reveal a dissociation between perplexity and syntactic generalization performance.

View on arXivView PDF

Code Implementations(1)

MIT

Code and data for "A Systematic Assessment of Syntactic Generalization in Neural Language Models"

315Jupyter Notebook, PythonNov 18, 20195 years agoMIT

Similar Papers

Cite this paper

@article{hu2020systematic,
  title  = {A Systematic Assessment of Syntactic Generalization in Neural Language Models},
  author = {Jennifer Hu and Jon Gauthier and Peng Qian and Ethan Wilcox and Roger P. Levy},
  year   = {2020},
  eprint = {2005.03692},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2005.03692}
}

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

Discussion