Compositional generalization in semantic parsing with pretrained transformers
Not on the map. Why?
Abstract (arXiv)
Large-scale pretraining instills large amounts of knowledge in deep neural networks. This, in turn, improves the generalization behavior of these models in downstream tasks. What exactly are the limits to the generalization benefits of large-scale pretraining? Here, we report observations from some simple experiments aimed at addressing this question in the context of two semantic parsing tasks involving natural language, SCAN and COGS. We show that language models pretrained exclusively with non-English corpora, or even with programming language corpora, significantly improve out-of-distribution generalization in these benchmarks, compared with models trained from scratch, even though both benchmarks are English-based. This demonstrates the surprisingly broad transferability of pretrained representations and knowledge. Pretraining with a large-scale protein sequence prediction task, on the other hand, mostly deteriorates the generalization performance in SCAN and COGS, suggesting that pretrained representations do not transfer universally and that there are constraints on the similarity between the pretraining and downstream domains for successful transfer. Finally, we show that larger models are harder to train from scratch and their generalization accuracy is lower when trained up to convergence on the relatively small SCAN and COGS datasets, but the benefits of large-scale pretraining become much clearer with larger models.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 21 of its 25 references that are in the map. First posted on arXiv 30 Sep 2021.
Builds on
21 of 25 references.
References · 21
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
- 2021Zero-Shot Text-to-Image Generationcited by 4,276
- 2020mT5: A massively multilingual pre-trained text-to-text transformercited by 1,813
- 2019Self-training with Noisy Student improves ImageNet classificationcited by 1,304
- 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 890
- 2020Pretrained Transformers Improve Out-of-Distribution Robustnesscited by 293
- 2020COGS: A Compositional Generalization Challenge Based on Semantic Interpretationcited by 260
- 2021Masked Language Modeling and the Distributional Hypothesis: Order Word Matters Pre-training for Littlecited by 176
- 2020ProtTrans: Towards Cracking the Language of Life's Code Through Self-Supervised Deep Learning and High Performance Computingcited by 162
- 2021Pretrained Transformers as Universal Computation Enginescited by 162
9 more
- 2021The Devil is in the Detail: Simple Tricks Improve Systematic Generalization of Transformerscited by 117
- 2020Compositional Generalization in Semantic Parsing: Pre-training vs. Specialized Architecturescited by 95
- 2021Learning to See by Looking at Noisecited by 92
- 2020What Do Neural Networks Learn When Trained With Random Labels?cited by 58
- 2021Does Pretraining for Summarization Require Knowledge Transfer?cited by 30
- 2021Are Pre-trained Convolutions Better than Pre-trained Transformers?cited by 27
- 2019Robustness properties of Facebook's ResNeXt WSL modelscited by 17
- 2020Pre-Training a Language Model Without Human Languagecited by 14
- 2018Leveraging Random Label Memorization for Unsupervised Pre-Trainingcited by 12
Built on by
Citing papers per year: 2022: 3; 2023: 1; 2024: 0; 2025: 1.
5 papers.
- 2022History Compression via Language Models in Reinforcement Learningcited by 39
- 2022Uncontrolled Lexical Exposure Leads to Overestimation of Compositional Generalization in Pretrained Modelscited by 26
- 2023The Validity of Evaluation Results: Assessing Concurrence Across Compositionality Benchmarkscited by 12
- 2025Scaling can lead to compositional generalizationcited by 7
- 2022Compositional Generalization Requires Compositional Parserscited by 2
- 2025Scaling can lead to compositional generalization9 Jul 2025
- 2023The Validity of Evaluation Results: Assessing Concurrence Across Compositionality Benchmarks26 Oct 2023
- 2022Uncontrolled Lexical Exposure Leads to Overestimation of Compositional Generalization in Pretrained Models21 Dec 2022
- 2022History Compression via Language Models in Reinforcement Learning24 May 2022
- 2022Compositional Generalization Requires Compositional Parsers24 Feb 2022