Why does SyntaxGym exist?

A growing movement within natural language processing (NLP) and cognitive science asks how we can gain a deeper understanding of the generalizations that are learned by neural language models. While a language model may achieve high performance on certain benchmarks, another measure of success may be the degree to which its predictions agree with human intuitions about grammatical phenomena. To this end, an emerging line of work has begun evaluating language models as "psycholinguistic subjects" (e.g. Linzen et al. 2016, Futrell et al. 2018). This approach has shown certain models to be capable of learning a wide range of phenomena, while failing at others.

However, as this subfield grows, it becomes increasingly difficult to compare and replicate results. Test suites from existing papers have been published in a variety of formats, making them difficult to adapt in new studies. It has also been notoriously challenging to reproduce model output due to differences in computing environments and resources.

Furthermore, this research demands nuanced knowledge about both natural language syntax and machine learning. This has made it difficult for experts on both sides to engage in discussion: linguists may have trouble running language models, and computer scientists may have trouble designing robust suites of test items.

This is why we created SyntaxGym: a unified platform where language and NLP researchers can design psycholinguistic tests and visualize the performance of language models. Our goal is to make psycholinguistic assessment of language models more standardized, reproducible, and accessible to a wide variety of researchers.

Get in touch

If you have any questions or feedback, we would love to hear from you. Please email us at contact@syntaxgym.org.
You can also sign up for our mailing list to receive occasional updates.


SyntaxGym was created by Jennifer Hu, Jon Gauthier, Ethan Wilcox, Peng Qian, and Roger Levy in the MIT Computational Psycholinguistics Laboratory.
J.H. is supported by an NSF Graduate Research Fellowship and NIH Computationally-Enabled Integrative Neuroscience training grant.
The kettlebell icon in our logo was made by Freepik from www.flaticon.com.