[Paper Review] Still not systematic after all these years: On the compositional skills of sequence-to-sequence recurrent networks
This paper introduces the SCAN domain to evaluate compositional generalization in sequence-to-sequence RNNs, demonstrating that despite strong performance on similar commands, RNNs fail dramatically when required to generalize systematically—such as combining novel verbs with modifiers—highlighting a core limitation in neural network systematicity. The findings suggest that lack of systematic generalization may explain the need for massive training data in neural models.
Humans can understand and produce new utterances effortlessly, thanks to their systematic compositional skills. Once a person learns the meaning of a new verb dax, he or she can immediately understand the meaning of twice or sing and dax. In this paper, we introduce the SCAN domain, consisting of a set of simple compositional navigation commands paired with the corresponding action sequences. We then test the zero-shot generalization capabilities of a variety of recurrent neural networks (RNNs) trained on SCAN with sequence-to-sequence methods. We find that RNNs can generalize well when the differences between training and test commands are small, so that they can apply mix-and-match strategies to solve the task. However, when generalization requires systematic compositional skills (as in the dax example above), RNNs fail spectacularly. We conclude with a proof-of-concept experiment in neural machine translation, supporting the conjecture that lack of systematicity is an important factor explaining why neural networks need very large training sets.
Motivation & Objective
- To investigate whether recurrent neural networks (RNNs) can learn systematic compositional generalization, akin to human language understanding.
- To identify the limitations of sequence-to-sequence RNNs in zero-shot generalization when novel combinations of known elements are required.
- To evaluate whether poor systematic generalization is a key reason for the need for large-scale training data in neural models.
- To provide a benchmark domain—SCAN—that isolates compositional generalization from other linguistic complexities.
Proposed method
- The authors introduce the SCAN domain, a synthetic navigation environment with compositional commands and corresponding action sequences.
- They train various sequence-to-sequence RNN architectures on a diverse set of training commands from the SCAN domain.
- Generalization is evaluated via zero-shot testing on unseen combinations of known components, such as novel verbs paired with modifiers.
- The model's performance is measured on both simple command variations and complex compositional generalization tasks.
- A proof-of-concept experiment in neural machine translation is conducted to test if systematicity constraints affect data efficiency.
Experimental results
Research questions
- RQ1Can RNNs generalize systematically to unseen combinations of known linguistic components, such as a new verb with a frequency modifier?
- RQ2How does performance on zero-shot generalization vary with the complexity of compositional structure in the test set?
- RQ3To what extent does the failure of RNNs in systematic generalization explain their reliance on large training datasets?
- RQ4Does the lack of systematic generalization manifest similarly in real-world neural machine translation tasks?
Key findings
- RNNs achieve high performance on simple variations of training commands, indicating effective pattern matching and mix-and-match strategies.
- RNNs fail completely on zero-shot generalization tasks requiring systematic composition, such as understanding 'twice dax' when 'dax' is a novel verb.
- The failure is not due to model capacity or architecture, but stems from an inability to compose meanings of components in novel ways.
- In neural machine translation, models trained on limited data fail to generalize systematically, supporting the conjecture that systematicity is a key bottleneck in data efficiency.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.