mlsanityData to 7 Oct 2026

Evaluating the Impact of Model Scale for Compositional Generalization in Semantic Parsing

arXiv 2205.12253 ↗First posted 24 May 2022cs.CLcited by 50

Not on the map. Why?

Abstract (arXiv)

Despite their strong performance on many tasks, pre-trained language models have been shown to struggle on out-of-distribution compositional generalization. Meanwhile, recent work has shown considerable improvements on many NLP tasks from model scaling. Can scaling up model size also improve compositional generalization in semantic parsing? We evaluate encoder-decoder models up to 11B parameters and decoder-only models up to 540B parameters, and compare model scaling curves for three different methods for applying a pre-trained language model to a new task: fine-tuning all parameters, prompt tuning, and in-context learning. We observe that fine-tuning generally has flat or negative scaling curves on out-of-distribution compositional generalization in semantic parsing evaluations. In-context learning has positive scaling curves, but is generally outperformed by much smaller fine-tuned models. Prompt-tuning can outperform fine-tuning, suggesting further potential improvements from scaling as it exhibits a more positive scaling curve. Additionally, we identify several error trends that vary with model scale. For example, larger models are generally better at modeling the syntax of the output space, but are also more prone to certain types of overfitting. Overall, our study highlights limitations of current techniques for effectively leveraging model scale for compositional generalization, while our analysis also suggests promising directions for future work.

Key facts. Cited by 50 papers in the map (data through 7 Oct 2026). Builds on 75 of its 87 references that are in the map. First posted on arXiv 24 May 2022.

Builds on

75 of 87 references.

References · 75

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  4. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  5. 2020Scaling Laws for Neural Language Modelscited by 6,411
  6. 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
  7. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
  8. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
  9. 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,769
  10. 2021Program Synthesis with Large Language Modelscited by 3,509
  11. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
  12. 2022Training Compute-Optimal Large Language Modelscited by 2,927
38 more
  1. 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,222
  2. 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,413
  3. 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,371
  4. 2018Relational inductive biases, deep learning, and graph networkscited by 1,341
  5. 2021Scaling Language Models: Methods, Analysis & Insights from Training Gophercited by 1,199
  6. 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,122
  7. 2021Towards a Unified View of Parameter-Efficient Transfer Learningcited by 863
  8. 2021Robust fine-tuning of zero-shot modelscited by 785
  9. 2022Fine-Tuning can Distort Pretrained Features and Underperform Out-of-Distributioncited by 722
  10. 2021P-Tuning v2: Prompt Tuning Can Be Comparable to Fine-tuning Universally Across Scales and Taskscited by 686
  11. 2021Learning To Retrieve Prompts for In-Context Learningcited by 641
  12. 2021Prompt Programming for Large Language Models: Beyond the Few-Shot Paradigmcited by 599
  13. 2017Deep Learning Scaling is Predictable, Empiricallycited by 556
  14. 2020Scaling Laws for Autoregressive Generative Modelingcited by 510
  15. 2021PICARD: Parsing Incrementally for Constrained Auto-Regressive Decoding from Language Modelscited by 402
  16. 2021Explaining Neural Scaling Lawscited by 353
  17. 2019Measuring Compositional Generalization: A Comprehensive Method on Realistic Datacited by 280
  18. 2021Scaling Laws for Transfercited by 265
  19. 2020COGS: A Compositional Generalization Challenge Based on Semantic Interpretationcited by 260
  20. 2022UnifiedSKG: Unifying and Multi-Tasking Structured Knowledge Grounding with Text-to-Text Language Modelscited by 231
  21. 2019A Constructive Prediction of the Generalization Error Across Scalescited by 202
  22. 2021Constrained Language Models Yield Few-Shot Semantic Parserscited by 162
  23. 2019Good-Enough Compositional Data Augmentationcited by 158
  24. 2022What Language Model Architecture and Pretraining Objective Work Best for Zero-Shot Generalization?cited by 149
  25. 2020Compositional Generalization and Natural Language Variation: Can a Semantic Parsing Approach Handle Both?cited by 147
  26. 2018Improving Text-to-SQL Evaluation Methodologycited by 133
  27. 2020Task-Oriented Dialogue as Dataflow Synthesiscited by 122
  28. 2021The Devil is in the Detail: Simple Tricks Improve Systematic Generalization of Transformerscited by 117
  29. 2016Data Recombination for Neural Semantic Parsingcited by 111
  30. 2021Scaling Laws for Neural Machine Translationcited by 110
  31. 2021Scale Efficiently: Insights from Pre-training and Fine-tuning Transformerscited by 105
  32. 2021Exploring the Limits of Large Scale Pre-trainingcited by 104
  33. 2022Evaluating the Text-to-SQL Capabilities of Large Language Modelscited by 101
  34. 2019Compositional generalization through meta sequence-to-sequence learningcited by 98
  35. 2020Compositional Generalization in Semantic Parsing: Pre-training vs. Specialized Architecturescited by 95
  36. 2019Scaling description of generalization with number of parameters in deep learningcited by 83
  37. 2020Compositional Generalization via Neural-Symbolic Stack Machinescited by 80
  38. 2020Span-based Semantic Parsing for Compositional Generalizationcited by 77

50 most cited of 75 All 75 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2022: 7; 2023: 24; 2024: 10; 2025: 7; 2026: 2.

50 papers.

Sort:

By area:

  1. 2024Retrieval-Augmented Generation for AI-Generated Content: A Surveycited by 352
  2. 2023Compositional Exemplars for In-context Learningcited by 143
  3. 2022Diverse Demonstrations Improve In-context Compositional Generalizationcited by 136
  4. 2022Compositional Semantic Parsing with Large Language Modelscited by 95
  5. 2023Language Model Behavior: A Comprehensive Surveycited by 92
  6. 2023Testing the General Deductive Reasoning Capacity of Large Language Models Using OOD Examplescited by 84
  7. 2022Complementary Explanations for Effective In-Context Learningcited by 71
  8. 2023Coverage-based Example Selection for In-Context Learningcited by 58
  9. 2023Grammar Prompting for Domain-Specific Language Generation with Large Language Modelscited by 58
  10. 2023How Do In-Context Examples Affect Compositional Generalization?cited by 51
  11. 2023Using In-Context Learning to Improve Dialogue Safetycited by 41
  12. 2023The Impact of Depth on Compositional Generalization in Transformer Language Modelscited by 37
38 more
  1. 2022Uncontrolled Lexical Exposure Leads to Overestimation of Compositional Generalization in Pretrained Modelscited by 26
  2. 2022On the Compositional Generalization Gap of In-Context Learningcited by 24
  3. 2023Mixture of Soft Prompts for Controllable Data Generationcited by 23
  4. 2023Improving Generalization in Language Model-Based Text-to-SQL Semantic Parsing: Two Simple Semantic Boundary-Based Techniquescited by 23
  5. 2023Exposing Limitations of Language Model Agents in Sequential-Task Compositions on the Webcited by 23
  6. 2023SLOG: A Structural Generalization Benchmark for Semantic Parsingcited by 22
  7. 2024On the Noise Robustness of In-Context Learning for Text Generationcited by 15
  8. 2023A Survey on Compositional Generalization in Applicationscited by 12
  9. 2023Generating Data for Symbolic Language with Large Language Modelscited by 12
  10. 2023Leveraging Code to Improve In-context Learning for Semantic Parsingcited by 10
  11. 2024Probabilistic Abduction for Visual Abstract Reasoning via Learning Rules in Vector-symbolic Architecturescited by 9
  12. 2023Adapt and Decompose: Efficient Generalization of Text-to-SQL via Domain Adapted Least-To-Most Promptingcited by 8
  13. 2023SIP: Injecting a Structural Inductive Bias into a Seq2Seq Model by Simulationcited by 7
  14. 2023Compositional Generalization for Multi-label Text Classification: A Data-Augmentation Approachcited by 7
  15. 2024ALTA: Compiler-Based Analysis of Transformerscited by 7
  16. 2025Scaling can lead to compositional generalizationcited by 7
  17. 2023On Evaluating Multilingual Compositional Generalization with Translated Datasetscited by 6
  18. 2023GistScore: Learning Better Representations for In-Context Example Selection with Gist Bottleneckscited by 6
  19. 2023Data Factors for Better Compositional Generalizationcited by 5
  20. 2024Towards Understanding the Relationship between In-context Learning and Compositional Generalizationcited by 5
  21. 2024EHR-SeqSQL : A Sequential Text-to-SQL Dataset For Interactively Exploring Electronic Health Recordscited by 5
  22. 2025Position: We Need An Algorithmic Understanding of Generative AIcited by 5
  23. 2023MAQA: A Multimodal QA Benchmark for Negationcited by 4
  24. 2024Exploring Continual Learning of Compositional Generalization in NLIcited by 4
  25. 2022Translate First Reorder Later: Leveraging Monotonicity in Semantic Parsingcited by 3
  26. 2023Neuro-symbolic Zero-Shot Code Cloning with Cross-Language Intermediate Representationcited by 2
  27. 2023Laziness Is a Virtue When It Comes to Compositionality in Neural Semantic Parsingcited by 2
  28. 2025Considering Length Diversity in Retrieval-Augmented Summarizationcited by 2
  29. 2024Sequential Compositional Generalization in Multimodal Modelscited by 1
  30. 2024Towards Compositionally Generalizable Semantic Parsing in Large Language Models: A Surveycited by 1
  31. 2024DiNeR: a Large Realistic Dataset for Evaluating Compositional Generalizationcited by 1
  32. 2025Learning to Substitute Components for Compositional Generalizationcited by 1
  33. 2025Diverse In-Context Example Selection After Decomposing Programs and Aligned Utterances Improves Semantic Parsingcited by 1
  34. 2025Large Language Models are Demonstration Pre-Selectors for Themselvescited by 1
  35. 2025Two Heads Are Better Than One: Audio-Visual Speech Error Correction with Dual Hypothesescited by 1
  36. 2026Reinforcement Learning for Compositional Generalization with Outcome-Level Optimizationcited by 1
  37. 2022A Short Survey of Systematic Generalizationcited by 0
  38. 2026The Imperfective Paradox Is Not Necessarily in Large Language Models: A Benchmark Failure Before a Model Failurecited by 0