Skip to main content
QUICK REVIEW

[Paper Review] A Systematic Assessment of Syntactic Generalization in Neural Language Models

Jennifer Hu, Jon Gauthier|arXiv (Cornell University)|May 7, 2020
Topic ModelingComputer Science58 references26 citations
TL;DR

This paper systematically evaluates syntactic generalization in neural language models across 34 test suites spanning diverse syntactic phenomena. It finds that model architecture, particularly structural supervision and attention mechanisms in Transformers, has a far greater impact on syntactic performance than training data size, with perplexity showing little correlation to syntactic generalization ability.

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. 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.

Motivation & Objective

  • To assess whether state-of-the-art neural language models learn human-like syntactic generalizations despite optimizing for perplexity.
  • To investigate the relative contributions of model architecture and training data size to syntactic generalization performance.
  • To examine the dissociation between perplexity and syntactic generalization, challenging the assumption that lower perplexity implies better syntactic understanding.
  • To provide a scalable, standardized evaluation framework for syntactic generalization using 34 test suites with controlled linguistic variables.

Proposed method

  • Trained four classes of neural models—recurrent, convolutional, Transformer, and an n-gram baseline—on four data subsets (1M–42M tokens) from a newswire corpus.
  • Designed 34 syntactic test suites based on psycholinguistic paradigms, each testing specific syntactic phenomena with controlled lexical and structural variables.
  • Measured performance using a Syntactic Generalization (SG) score, requiring models to assign higher probability to grammatically correct forms than to ungrammatical ones.
  • Grouped test suites into six syntactic circuits based on underlying linguistic representations needed for high performance.
  • Evaluated off-the-shelf models trained on up to 2 billion tokens to compare with in-house trained models.
  • Used a factorial design to isolate the effects of architecture and data size on SG scores.

Experimental results

Research questions

  • RQ1Does improving perplexity lead to better syntactic generalization in neural language models?
  • RQ2How do model architecture and training data size jointly influence syntactic generalization performance?
  • RQ3To what extent does structural supervision during training improve syntactic generalization compared to sequence-based learning?
  • RQ4Are there systematic differences in syntactic generalization performance across different types of syntactic phenomena?
  • RQ5Is there a reliable correlation between perplexity and syntactic generalization ability?

Key findings

  • A substantial dissociation exists between perplexity and syntactic generalization: models with similar perplexity scores can show vastly different performance on syntactic tests.
  • Model architecture has a significantly larger effect on syntactic generalization than training data size, with Transformers outperforming RNNs even on smaller datasets.
  • Structurally supervised models achieve the same SG scores as purely sequence-based models trained on ~100× more data, demonstrating the power of architectural inductive bias.
  • Several Transformer models match the SG performance of a model trained on ~200× more data, highlighting the efficiency of attention mechanisms for syntactic learning.
  • Different architectures show distinct relative strengths across syntactic circuits, indicating that models rely on different underlying processing capacities for different syntactic phenomena.
  • The results suggest that architectural design—especially attention mechanisms and explicit structural supervision—is more critical than data scale for acquiring human-like syntactic generalization.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.