Can Transformers Jump Around Right in Natural Language? Assessing Performance Transfer from SCAN
Not on the map. Why?
Abstract (arXiv)
Despite their practical success, modern seq2seq architectures are unable to generalize systematically on several SCAN tasks. Hence, it is not clear if SCAN-style compositional generalization is useful in realistic NLP tasks. In this work, we study the benefit that such compositionality brings about to several machine translation tasks. We present several focused modifications of Transformer that greatly improve generalization capabilities on SCAN and select one that remains on par with a vanilla Transformer on a standard machine translation (MT) task. Next, we study its performance in low-resource settings and on a newly introduced distribution-shifted English-French translation task. Overall, we find that improvements of a SCAN-capable model do not directly transfer to the resource-rich MT setup. In contrast, in the low-resource setup, general modifications lead to an improvement of up to 13.1% BLEU score w.r.t. a vanilla Transformer. Similarly, an improvement of 14% in an accuracy-based metric is achieved in the introduced compositional English-French translation task. This provides experimental evidence that the compositional generalization assessed in SCAN is particularly useful in resource-starved and domain-shifted scenarios.
Key facts. Cited by 14 papers in the map (data through 7 Oct 2026). Builds on 29 of its 42 references that are in the map. First posted on arXiv 3 Jul 2021.
Builds on
29 of 42 references.
References · 29
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2016Layer Normalizationcited by 5,579
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
- 2014Sequence to Sequence Learning with Neural Networkscited by 2,974
- 2019fairseq: A Fast, Extensible Toolkit for Sequence Modelingcited by 1,486
- 2018Self-Attention with Relative Position Representationscited by 1,112
- 2016Language Modeling with Gated Convolutional Networkscited by 688
- 2017Convolutional Sequence to Sequence Learningcited by 550
- 2016Weight Normalization: A Simple Reparameterization to Accelerate Training of Deep Neural Networkscited by 541
- 2020Towards a Human-like Open-Domain Chatbotcited by 467
- 2019On the Relationship between Self-Attention and Convolutional Layerscited by 299
17 more
- 2019Compositionality decomposed: how do neural networks generalise?cited by 264
- 2019Stabilizing Transformers for Reinforcement Learningcited by 262
- 2019Adaptive Attention Span in Transformerscited by 148
- 2019Compositional generalization through meta sequence-to-sequence learningcited by 98
- 2020Compositional Generalization via Neural-Symbolic Stack Machinescited by 80
- 2020Does syntax need to grow on trees? Sources of hierarchical inductive bias in sequence-to-sequence networkscited by 72
- 2019The FLoRes Evaluation Datasets for Low-Resource Machine Translation: Nepali-English and Sinhala-Englishcited by 61
- 2019Linguistic generalization and compositionality in modern artificial neural networkscited by 58
- 2019Compositional generalization in a deep seq2seq model by separating syntax and semanticscited by 56
- 2018Rearranging the Familiar: Testing Compositional Generalization in Recurrent Networkscited by 51
- 2019Compositional Generalization for Primitive Substitutionscited by 48
- 2018Modeling Localness for Self-Attention Networkscited by 43
- 2018Jump to better conclusions: SCAN both left and rightcited by 29
- 2020Do Transformers Need Deep Long-Range Memorycited by 24
- 2019CNNs found to jump around more skillfully than RNNs: Compositional generalization in seq2seq convolutional networkscited by 22
- 2020What they do when in doubt: a study of inductive biases in seq2seq learnerscited by 20
- 2018Learning compositionally through attentive guidancecited by 11
Built on by
Citing papers per year: 2021: 5; 2022: 4; 2023: 4; 2024: 1.
14 papers.
Sort:
By area:
- 2022State-of-the-art generalisation research in NLP: A taxonomy and reviewcited by 97
- 2021The Neural Data Router: Adaptive Control Flow in Transformers Improves Systematic Generalizationcited by 62
- 2021The paradox of the compositionality of natural language: a neural machine translation case studycited by 58
- 2021Sequence-to-Sequence Learning with Latent Neural Grammarscited by 30
- 2021How BPE Affects Memorization in Transformerscited by 29
- 2022Can Transformer be Too Compositional? Analysing Idiom Processing in Neural Machine Translationcited by 28
- 2022Improving Systematic Generalization Through Modularity and Augmentationcited by 13
- 2023The Validity of Evaluation Results: Assessing Concurrence Across Compositionality Benchmarkscited by 12
- 2024Language-Guided World Models: A Model-Based Approach to AI Controlcited by 12
- 2021Towards Interactive Language Modelingcited by 4
- 2023Approximating CKY with Transformerscited by 3
- 2023Learning to Compose Representations of Different Encoder Layers towards Improving Compositional Generalizationcited by 3
2 more
- 2024Language-Guided World Models: A Model-Based Approach to AI Control24 Jan 2024
- 2023The Validity of Evaluation Results: Assessing Concurrence Across Compositionality Benchmarks26 Oct 2023
- 2023Layer-wise Representation Fusion for Compositional Generalization20 Jul 2023
- 2023Learning to Compose Representations of Different Encoder Layers towards Improving Compositional Generalization20 May 2023
- 2023Approximating CKY with Transformers3 May 2023
- 2022Categorizing Semantic Representations for Neural Machine Translation13 Oct 2022
- 2022State-of-the-art generalisation research in NLP: A taxonomy and review6 Oct 2022
- 2022Can Transformer be Too Compositional? Analysing Idiom Processing in Neural Machine Translation30 May 2022
- 2022Improving Systematic Generalization Through Modularity and Augmentation22 Feb 2022
- 2021Towards Interactive Language Modeling14 Dec 2021
- 2021The Neural Data Router: Adaptive Control Flow in Transformers Improves Systematic Generalization14 Oct 2021
- 2021How BPE Affects Memorization in Transformers6 Oct 2021
- 2022State-of-the-art generalisation research in NLP: A taxonomy and reviewcited by 97
- 2021The Neural Data Router: Adaptive Control Flow in Transformers Improves Systematic Generalizationcited by 62
- 2021The paradox of the compositionality of natural language: a neural machine translation case studycited by 58
- 2021Sequence-to-Sequence Learning with Latent Neural Grammarscited by 30
- 2021How BPE Affects Memorization in Transformerscited by 29
- 2022Can Transformer be Too Compositional? Analysing Idiom Processing in Neural Machine Translationcited by 28
- 2022Improving Systematic Generalization Through Modularity and Augmentationcited by 13
- 2023The Validity of Evaluation Results: Assessing Concurrence Across Compositionality Benchmarkscited by 12
- 2021Towards Interactive Language Modelingcited by 4
- 2023Approximating CKY with Transformerscited by 3
- 2023Learning to Compose Representations of Different Encoder Layers towards Improving Compositional Generalizationcited by 3
- 2022Categorizing Semantic Representations for Neural Machine Translationcited by 2
12 most cited of 13 All 13 (JSON)
- 2023The Validity of Evaluation Results: Assessing Concurrence Across Compositionality Benchmarks26 Oct 2023
- 2023Layer-wise Representation Fusion for Compositional Generalization20 Jul 2023
- 2023Learning to Compose Representations of Different Encoder Layers towards Improving Compositional Generalization20 May 2023
- 2023Approximating CKY with Transformers3 May 2023
- 2022Categorizing Semantic Representations for Neural Machine Translation13 Oct 2022
- 2022State-of-the-art generalisation research in NLP: A taxonomy and review6 Oct 2022
- 2022Can Transformer be Too Compositional? Analysing Idiom Processing in Neural Machine Translation30 May 2022
- 2022Improving Systematic Generalization Through Modularity and Augmentation22 Feb 2022
- 2021Towards Interactive Language Modeling14 Dec 2021
- 2021The Neural Data Router: Adaptive Control Flow in Transformers Improves Systematic Generalization14 Oct 2021
- 2021How BPE Affects Memorization in Transformers6 Oct 2021
- 2021Sequence-to-Sequence Learning with Latent Neural Grammars2 Sep 2021
12 newest of 13 All 13 (JSON)