TL;DR
This paper investigates whether recurrent neural networks (RNNs) can learn hierarchical linguistic structures, like question formation, without being explicitly programmed with a bias for hierarchy. The authors find that certain RNN architectures, particularly those with attention mechanisms and gated recurrent units, can indeed learn these structures, suggesting that hierarchical cues within the input data and implicit architectural biases might be sufficient. This challenges the long-held "poverty of the stimulus" argument that human language learners require innate hierarchical constraints.
What Problem Does This Paper Address?
Human language learners consistently acquire complex hierarchical grammatical structures, even when the input data could also be explained by simpler, linear rules. A prominent explanation for this phenomenon is the "poverty of the stimulus" argument, which posits that learners must possess an innate bias towards hierarchical rules, preventing them from even considering linear explanations. This paper directly challenges this assumption by asking: can artificial neural networks, which are not pre-programmed with a hierarchical bias, learn these hierarchical structures? Specifically, the authors focus on the acquisition of English subject-auxiliary inversion for question formation, a task that requires understanding sentence structure beyond simple linear order.
Methods
The researchers employed sequence-to-sequence neural network models, a standard architecture for natural language processing tasks. These models consist of an encoder (which processes the input sentence into a fixed-size representation) and a decoder (which generates the output sentence). They experimented with different types of recurrent units within these components: Simple Recurrent Networks (SRNs), Gated Recurrent Units (GRUs), and Long Short-Term Memory (LSTM) units. Additionally, they explored the impact of an "attention mechanism," which allows the decoder to selectively focus on different parts of the input during generation.
Crucially, the networks were trained on artificial languages designed to mimic aspects of English grammar, including a "no-agreement" language and an "agreement" language. The agreement language included subject-verb agreement, which serves as an additional hierarchical cue. The core of their experimental design involved withholding the most critical examples (those that definitively distinguish between linear and hierarchical rules) from the training set for the question formation task, forcing the networks to generalize.
Datasets
The study utilized two custom-generated, artificial languages:
- No-agreement language: Mimics English sentence structures but without subject-verb agreement.
- Agreement language: Similar to the no-agreement language but includes subject-verb agreement (e.g., "do/don't" for plural subjects, "does/doesn't" for singular subjects).
Both languages were used to generate training sets of 120,000 sentences and test/generalization sets of 10,000 sentences each. The generalization set specifically contained sentences from the withheld critical cases.
Key Insights and Ideas
- Hierarchy without explicit bias: The most significant finding is that certain RNN architectures (specifically GRUs with attention) can learn hierarchical generalizations for question formation, even when not explicitly biased towards hierarchy and when critical disambiguating examples are withheld during training. This suggests that the "poverty of the stimulus" argument might overstate the necessity of innate hierarchical constraints.
- The power of input cues: The "agreement language," which provides an additional hierarchical cue through subject-verb agreement, significantly increased the likelihood of networks learning hierarchical generalizations compared to the "no-agreement language." This highlights the crucial role of linguistic input in guiding hierarchical learning.
- Architectural differences matter: Not all RNN architectures performed equally well. GRUs with attention showed a distinct preference for hierarchical generalization, while vanilla GRUs strongly favored linear patterns. This indicates that architectural choices, beyond just the presence of a recurrent unit, can influence the type of generalizations learned.
- Attention as a facilitator: The attention mechanism appeared to be a key factor in enabling hierarchical generalization in GRUs, suggesting it helps the network better leverage the hierarchical structure of the input.
- Human-like errors: The analysis of network errors revealed some similarities to errors made by human children learning English, particularly in the types of mistakes made when inverting auxiliaries. This adds a layer of plausibility to the RNN models as potential analogues for language acquisition.
Key Results
- Test Set Accuracy: Most architectures achieved high accuracy (over 94%) on the test set, indicating they could learn the basic patterns of the artificial languages.
- Generalization Set Accuracy: Performance on the generalization set (the withheld critical cases) was much lower, with the best-performing architecture (LSTM with attention) achieving only about 13% exact accuracy for full questions. However, focusing on the first word of the question (the auxiliary) provided a clearer metric for hierarchical generalization.
- Auxiliary Prediction: The GRU with attention architecture showed a significantly higher proportion of correctly predicting the main auxiliary (rather than the linearly first auxiliary) on the generalization set, especially in the agreement language.
- Agreement Language Impact: In all architectures, the agreement language led to a statistically significant increase in the likelihood of choosing the main auxiliary, underscoring the importance of agreement as a hierarchical cue.
Limitations and Future Work
- Artificial Languages: The study used simplified, artificial languages. The authors acknowledge that these may not fully capture the complexity and richness of natural human language input. Future work should involve replacing these with corpora of child-directed speech.
- Unnecessary Constraint: While the results suggest that an explicit hierarchical constraint might not be necessary, they do not rule out the possibility that human learners do possess such an innate constraint, even if it's not strictly required.
- Architectural Differences: The paper notes that it's unclear why the GRU with attention was uniquely successful in overcoming linear biases, and further investigation into the differences between recurrent units is planned.
- Bias Understanding: The nature of implicit biases in RNNs, arising from their architecture and learning algorithms, is still poorly understood and warrants further investigation.
Summary updated