Cross-Linguistic Syntactic Evaluation of Word Prediction Models

Aaron Mueller, Garrett Nicolai, Panayiota Petrou-Zeniou, Natalia Talmina, Tal Linzen
5/1/2020
86 citations
cs.CL

Official code: aaronmueller/clams (18 stars, Python, Apache-2.0, last commit 2024-11-26).

Abstract

A range of studies have concluded that neural word prediction models can distinguish grammatical from ungrammatical sentences with high accuracy. However, these studies are based primarily on monolingual evidence from English.

Show full abstract

To investigate how these models' ability to learn syntax varies by language, we introduce CLAMS (Cross-Linguistic Assessment of Models on Syntax), a syntactic evaluation suite for monolingual and multilingual models. CLAMS includes subject-verb agreement challenge sets for English, French, German, Hebrew and Russian, generated from grammars we develop. We use CLAMS to evaluate LSTM language models as well as monolingual and multilingual BERT. Across languages, monolingual LSTMs achieved high accuracy on dependencies without attractors, and generally poor accuracy on agreement across object relative clauses. On other constructions, agreement accuracy was generally higher in languages with richer morphology. Multilingual models generally underperformed monolingual models. Multilingual BERT showed high syntactic accuracy on English, but noticeable deficiencies in other languages.

View on arXivView PDF

Code Implementations(1)

aaronmueller/clamsOfficial100%
Apache-2.0

Syntactic evaluation sets, attribute-varying grammars, and code for replicating the CLAMS paper. ACL 2020.

184Python, ShellApr 29, 20202 years agoApache-2.0

Similar Papers

Cite this paper

@article{mueller2020crosslinguistic,
  title  = {Cross-Linguistic Syntactic Evaluation of Word Prediction Models},
  author = {Aaron Mueller and Garrett Nicolai and Panayiota Petrou-Zeniou and Natalia Talmina and Tal Linzen},
  year   = {2020},
  eprint = {2005.00187},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2005.00187}
}

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

Discussion