Recent advancements in Natural Language Processing (NLP) have led to widespread claims that large neural models, such as LSTMs and Transformers, "induce" a deep understanding of human syntax. However, research by Jordan Kodner and Nitish Gupta suggests a sobering reality: our current methods for proving syntactic competence may be fundamentally flawed, often mistaking surface-level statistical patterns for deep structural knowledge.
The Problem: Probing for Syntax
To determine if Recurrent Neural Networks (RNNs) learn the latent, hierarchical structure of language, researchers frequently employ syntactic priming. In humans, processing a specific sentence structure (e.g., a complex relative clause) makes subsequent sentences with the same structure easier to process. If a neural model shows a similar drop in "surprisal" when encountering a second sentence of the same type, it is often cited as evidence of an internal syntactic representation.
Kodner and Gupta argue that these conclusions are premature. They hypothesize that these models might be exploiting "side channels"—such as word order and lexical collocations—rather than true hierarchical understanding.
Methodology: Challenging the Baselines
The authors tested the validity of template-based syntactic probes by introducing two "non-syntactic" baseline models that should, in theory, fail if the tests truly required hierarchical knowledge:
- The N-Gram Model: A simple 4-gram model with Kneser-Ney smoothing. This model is physically incapable of representing context-free syntax as it only observes local word sequences.
- The Scrambled-Input LSTM: An LSTM trained on data where word order was randomly shuffled. This destroys syntactic structure while preserving vocabulary and general topicality.
These models were evaluated using the standard Prasad et al. (2019) templates, which generate adaptation and test sentences designed to minimize lexical overlap and ensure semantic "felicity."
Key Results
N-Gram Models Mimic Syntax
Surprisingly, the 4-gram model—which possesses no concept of hierarchy—passed the syntactic priming test for 6 out of 7 sentence types. As shown in Figure 1, the model frequently exhibited a stronger adaptation effect (lower surprisal) for "Same" type sentences compared to "Different" types.
In specific cases, such as unreduced passive relative clauses, the n-gram model even showed a "reverse" effect, highlighting its sensitivity to superficial bigrams like "that the" rather than the underlying structure.
Scrambled LSTMs and Lexical Fingerprints
The LSTM trained on scrambled input produced adaptation effects an order of magnitude larger than the n-gram model. This suggests that even without word order, neural networks are exceptionally adept at latching onto lexical-semantic similarities that mimic syntactic behavior.
Discussion and Future Directions
The study does not claim that LSTMs are incapable of learning syntax, but rather that current behavioral probes are too noisy to provide definitive proof. The "success criterion" used in many studies is a low bar that fails to discriminate between true syntax and sophisticated statistical guessing.
To move forward, the authors suggest several improvements for the field:
- Consequence-Based Analysis: Testing if "syntactic" models actually perform better on downstream tasks requiring structure, such as complex Question Answering.
- "Colorless Green Ideas": Using grammatically correct but semantically nonsensical sentences to strip away the side channel of semantic collocations.
- Naturalistic Benchmarks: Moving away from rigid templates toward naturalistic data and "hard" sentence types that specifically target the known weaknesses of shallow models.
Summary updated