mlsanityData to 14 Oct 2026

Unobserved Local Structures Make Compositional Generalization Hard

arXiv 2201.05899 ↗First posted 15 Jan 2022cs.CLcited by 29

Not on the map. Why?

Abstract (arXiv)

While recent work has convincingly showed that sequence-to-sequence models struggle to generalize to new compositions (termed compositional generalization), little is known on what makes compositional generalization hard on a particular test instance. In this work, we investigate what are the factors that make generalization to certain test instances challenging. We first substantiate that indeed some examples are more difficult than others by showing that different models consistently fail or succeed on the same test instances. Then, we propose a criterion for the difficulty of an example: a test instance is hard if it contains a local structure that was not observed at training time. We formulate a simple decision rule based on this criterion and empirically show it predicts instance-level generalization well across 5 different semantic parsing datasets, substantially better than alternative decision rules. Last, we show local structures can be leveraged for creating difficult adversarial compositional splits and also to improve compositional generalization under limited training budgets by strategically selecting examples for the training set.

Key facts. Cited by 29 papers in the map (data through 14 Oct 2026). Builds on 24 of its 30 references that are in the map. First posted on arXiv 15 Jan 2022.

Builds on

24 of 30 references.

References · 24

  1. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  2. 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,893
  3. 2019Measuring Compositional Generalization: A Comprehensive Method on Realistic Datacited by 284
  4. 2020COGS: A Compositional Generalization Challenge Based on Semantic Interpretationcited by 263
  5. 2016Incorporating Copying Mechanism in Sequence-to-Sequence Learningcited by 218
  6. 2019Good-Enough Compositional Data Augmentationcited by 158
  7. 2020Compositional Generalization and Natural Language Variation: Can a Semantic Parsing Approach Handle Both?cited by 147
  8. 2018Improving Text-to-SQL Evaluation Methodologycited by 135
  9. 2021The Devil is in the Detail: Simple Tricks Improve Systematic Generalization of Transformerscited by 117
  10. 2020A Benchmark for Systematic Generalization in Grounded Language Understandingcited by 108
  11. 2020Compositional Generalization in Semantic Parsing: Pre-training vs. Specialized Architecturescited by 95
  12. 2020Compositional Generalization via Neural-Symbolic Stack Machinescited by 80
12 more
  1. 2020Span-based Semantic Parsing for Compositional Generalizationcited by 77
  2. 2020Learning to Recombine and Resample Data for Compositional Generalizationcited by 65
  3. 2019CLOSURE: Assessing Systematic Generalization of CLEVR Modelscited by 63
  4. 2021Unlocking Compositional Generalization in Pre-trained Models Using Intermediate Representationscited by 55
  5. 2020Improving Compositional Generalization in Semantic Parsingcited by 42
  6. 2018Jump to better conclusions: SCAN both left and rightcited by 29
  7. 2021Finding needles in a haystack: Sampling Structurally-diverse Training Sets from Synthetic Data for Compositional Generalizationcited by 27
  8. 2021COVR: A test-bed for Visually Grounded Compositional Generalization with real imagescited by 25
  9. 2019Genie: A Generator of Natural Language Semantic Parsers for Virtual Assistant Commandscited by 19
  10. 2020Revisiting Iterative Back-Translation from the Perspective of Compositional Generalizationcited by 19
  11. 2020Latent Compositional Representations Improve Systematic Generalization in Grounded Question Answeringcited by 16
  12. 2020Schema2QA: High-Quality and Low-Cost Q&A Agents for the Structured Webcited by 12

Built on by

Cited by year

Citing papers per year: 2022: 13; 2023: 10; 2024: 3; 2025: 3.

29 papers.

Sort:

By area:

  1. 2023Faith and Fate: Limits of Transformers on Compositionalitycited by 503
  2. 2022Prompting GPT-3 To Be Reliablecited by 260
  3. 2022Diverse Demonstrations Improve In-context Compositional Generalizationcited by 139
  4. 2022UnifiedQA-v2: Stronger Generalization via Broader Cross-Format Trainingcited by 57
  5. 2022Don't Generate, Discriminate: A Proposal for Grounding Language Models to Real-World Environmentscited by 57
  6. 2023How Do In-Context Examples Affect Compositional Generalization?cited by 51
  7. 2022Evaluating the Impact of Model Scale for Compositional Generalization in Semantic Parsingcited by 50
  8. 2023Entity Tracking in Language Modelscited by 44
  9. 2022Uncontrolled Lexical Exposure Leads to Overestimation of Compositional Generalization in Pretrained Modelscited by 26
  10. 2022Structural generalization is hard for sequence-to-sequence modelscited by 24
  11. 2023What's the Meaning of Superhuman Performance in Today's NLU?cited by 23
  12. 2024Learning to Retrieve Iteratively for In-Context Learningcited by 13
17 more
  1. 2022Benchmarking Compositionality with Formal Languagescited by 12
  2. 2022CTL++: Evaluating Generalization on Never-Seen Compositional Patterns of Known Functions, and Compatibility of Neural Representationscited by 12
  3. 2022Induced Natural Language Rationales and Interleaved Markup Tokens Enable Extrapolation in Large Language Modelscited by 10
  4. 2023Leveraging Code to Improve In-context Learning for Semantic Parsingcited by 10
  5. 2022What Makes Instruction Learning Hard? An Investigation and a New Challenge in a Synthetic Environmentcited by 9
  6. 2022Structurally Diverse Sampling for Sample-Efficient Training and Comprehensive Evaluationcited by 8
  7. 2023Learning to Substitute Spans towards Improving Compositional Generalizationcited by 8
  8. 2022Compositional Generalisation with Structured Reordering and Fertility Layerscited by 6
  9. 2023Recursive Neural Networks with Bottlenecks Diagnose (Non-)Compositionalitycited by 3
  10. 2023Understanding Compositional Data Augmentation in Typologically Diverse Morphological Inflectioncited by 3
  11. 2025Beyond Fertility: Analyzing STRR as a Metric for Multilingual Tokenization Evaluationcited by 3
  12. 2023Laziness Is a Virtue When It Comes to Compositionality in Neural Semantic Parsingcited by 2
  13. 2024Meta Operator for Complex Query Answering on Knowledge Graphscited by 2
  14. 2025Learning to Substitute Components for Compositional Generalizationcited by 1
  15. 2025Reinforcing Compositional Retrieval: Retrieving Step-by-Step for Composing Informative Contextscited by 1
  16. 2023Dataflow Dialogue Generationcited by 0
  17. 2024SetLexSem Challenge: Using Set Operations to Evaluate the Lexical and Semantic Robustness of Language Modelscited by 0