Unobserved Local Structures Make Compositional Generalization Hard
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
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,893
- 2019Measuring Compositional Generalization: A Comprehensive Method on Realistic Datacited by 284
- 2020COGS: A Compositional Generalization Challenge Based on Semantic Interpretationcited by 263
- 2016Incorporating Copying Mechanism in Sequence-to-Sequence Learningcited by 218
- 2019Good-Enough Compositional Data Augmentationcited by 158
- 2020Compositional Generalization and Natural Language Variation: Can a Semantic Parsing Approach Handle Both?cited by 147
- 2018Improving Text-to-SQL Evaluation Methodologycited by 135
- 2021The Devil is in the Detail: Simple Tricks Improve Systematic Generalization of Transformerscited by 117
- 2020A Benchmark for Systematic Generalization in Grounded Language Understandingcited by 108
- 2020Compositional Generalization in Semantic Parsing: Pre-training vs. Specialized Architecturescited by 95
- 2020Compositional Generalization via Neural-Symbolic Stack Machinescited by 80
12 more
- 2020Span-based Semantic Parsing for Compositional Generalizationcited by 77
- 2020Learning to Recombine and Resample Data for Compositional Generalizationcited by 65
- 2019CLOSURE: Assessing Systematic Generalization of CLEVR Modelscited by 63
- 2021Unlocking Compositional Generalization in Pre-trained Models Using Intermediate Representationscited by 55
- 2020Improving Compositional Generalization in Semantic Parsingcited by 42
- 2018Jump to better conclusions: SCAN both left and rightcited by 29
- 2021Finding needles in a haystack: Sampling Structurally-diverse Training Sets from Synthetic Data for Compositional Generalizationcited by 27
- 2021COVR: A test-bed for Visually Grounded Compositional Generalization with real imagescited by 25
- 2019Genie: A Generator of Natural Language Semantic Parsers for Virtual Assistant Commandscited by 19
- 2020Revisiting Iterative Back-Translation from the Perspective of Compositional Generalizationcited by 19
- 2020Latent Compositional Representations Improve Systematic Generalization in Grounded Question Answeringcited by 16
- 2020Schema2QA: High-Quality and Low-Cost Q&A Agents for the Structured Webcited by 12
Built on by
Citing papers per year: 2022: 13; 2023: 10; 2024: 3; 2025: 3.
29 papers.
Sort:
By area:
- 2023Faith and Fate: Limits of Transformers on Compositionalitycited by 503
- 2022Prompting GPT-3 To Be Reliablecited by 260
- 2022Diverse Demonstrations Improve In-context Compositional Generalizationcited by 139
- 2022UnifiedQA-v2: Stronger Generalization via Broader Cross-Format Trainingcited by 57
- 2022Don't Generate, Discriminate: A Proposal for Grounding Language Models to Real-World Environmentscited by 57
- 2023How Do In-Context Examples Affect Compositional Generalization?cited by 51
- 2022Evaluating the Impact of Model Scale for Compositional Generalization in Semantic Parsingcited by 50
- 2023Entity Tracking in Language Modelscited by 44
- 2022Uncontrolled Lexical Exposure Leads to Overestimation of Compositional Generalization in Pretrained Modelscited by 26
- 2022Structural generalization is hard for sequence-to-sequence modelscited by 24
- 2023What's the Meaning of Superhuman Performance in Today's NLU?cited by 23
- 2024Learning to Retrieve Iteratively for In-Context Learningcited by 13
17 more
- 2022Benchmarking Compositionality with Formal Languagescited by 12
- 2022CTL++: Evaluating Generalization on Never-Seen Compositional Patterns of Known Functions, and Compatibility of Neural Representationscited by 12
- 2022Induced Natural Language Rationales and Interleaved Markup Tokens Enable Extrapolation in Large Language Modelscited by 10
- 2023Leveraging Code to Improve In-context Learning for Semantic Parsingcited by 10
- 2022What Makes Instruction Learning Hard? An Investigation and a New Challenge in a Synthetic Environmentcited by 9
- 2022Structurally Diverse Sampling for Sample-Efficient Training and Comprehensive Evaluationcited by 8
- 2023Learning to Substitute Spans towards Improving Compositional Generalizationcited by 8
- 2022Compositional Generalisation with Structured Reordering and Fertility Layerscited by 6
- 2023Recursive Neural Networks with Bottlenecks Diagnose (Non-)Compositionalitycited by 3
- 2023Understanding Compositional Data Augmentation in Typologically Diverse Morphological Inflectioncited by 3
- 2025Beyond Fertility: Analyzing STRR as a Metric for Multilingual Tokenization Evaluationcited by 3
- 2023Laziness Is a Virtue When It Comes to Compositionality in Neural Semantic Parsingcited by 2
- 2024Meta Operator for Complex Query Answering on Knowledge Graphscited by 2
- 2025Learning to Substitute Components for Compositional Generalizationcited by 1
- 2025Reinforcing Compositional Retrieval: Retrieving Step-by-Step for Composing Informative Contextscited by 1
- 2023Dataflow Dialogue Generationcited by 0
- 2024SetLexSem Challenge: Using Set Operations to Evaluate the Lexical and Semantic Robustness of Language Modelscited by 0
- 2025Beyond Fertility: Analyzing STRR as a Metric for Multilingual Tokenization Evaluation11 Oct 2025
- 2025Reinforcing Compositional Retrieval: Retrieving Step-by-Step for Composing Informative Contexts15 Apr 2025
- 2025Learning to Substitute Components for Compositional Generalization28 Feb 2025
- 2024SetLexSem Challenge: Using Set Operations to Evaluate the Lexical and Semantic Robustness of Language Models11 Nov 2024
- 2024Learning to Retrieve Iteratively for In-Context Learning20 Jun 2024
- 2024Meta Operator for Complex Query Answering on Knowledge Graphs15 Mar 2024
- 2023Leveraging Code to Improve In-context Learning for Semantic Parsing16 Nov 2023
- 2023Dataflow Dialogue Generation4 Aug 2023
- 2023Learning to Substitute Spans towards Improving Compositional Generalization5 Jun 2023
- 2023Faith and Fate: Limits of Transformers on Compositionality29 May 2023
- 2023Understanding Compositional Data Augmentation in Typologically Diverse Morphological Inflection23 May 2023
- 2023What's the Meaning of Superhuman Performance in Today's NLU?15 May 2023
17 more
- 2023How Do In-Context Examples Affect Compositional Generalization?8 May 2023
- 2023Laziness Is a Virtue When It Comes to Compositionality in Neural Semantic Parsing7 May 2023
- 2023Entity Tracking in Language Models3 May 2023
- 2023Recursive Neural Networks with Bottlenecks Diagnose (Non-)Compositionality31 Jan 2023
- 2022Uncontrolled Lexical Exposure Leads to Overestimation of Compositional Generalization in Pretrained Models21 Dec 2022
- 2022Don't Generate, Discriminate: A Proposal for Grounding Language Models to Real-World Environments19 Dec 2022
- 2022Diverse Demonstrations Improve In-context Compositional Generalization13 Dec 2022
- 2022Structural generalization is hard for sequence-to-sequence models24 Oct 2022
- 2022Prompting GPT-3 To Be Reliable17 Oct 2022
- 2022CTL++: Evaluating Generalization on Never-Seen Compositional Patterns of Known Functions, and Compatibility of Neural Representations12 Oct 2022
- 2022Compositional Generalisation with Structured Reordering and Fertility Layers6 Oct 2022
- 2022Induced Natural Language Rationales and Interleaved Markup Tokens Enable Extrapolation in Large Language Models24 Aug 2022
- 2022Benchmarking Compositionality with Formal Languages17 Aug 2022
- 2022Evaluating the Impact of Model Scale for Compositional Generalization in Semantic Parsing24 May 2022
- 2022What Makes Instruction Learning Hard? An Investigation and a New Challenge in a Synthetic Environment19 Apr 2022
- 2022Structurally Diverse Sampling for Sample-Efficient Training and Comprehensive Evaluation16 Mar 2022
- 2022UnifiedQA-v2: Stronger Generalization via Broader Cross-Format Training23 Feb 2022
- 2023Faith and Fate: Limits of Transformers on Compositionalitycited by 503
- 2022Prompting GPT-3 To Be Reliablecited by 260
- 2022Diverse Demonstrations Improve In-context Compositional Generalizationcited by 139
- 2022UnifiedQA-v2: Stronger Generalization via Broader Cross-Format Trainingcited by 57
- 2022Don't Generate, Discriminate: A Proposal for Grounding Language Models to Real-World Environmentscited by 57
- 2022Evaluating the Impact of Model Scale for Compositional Generalization in Semantic Parsingcited by 50
- 2023Entity Tracking in Language Modelscited by 44
- 2022Uncontrolled Lexical Exposure Leads to Overestimation of Compositional Generalization in Pretrained Modelscited by 26
- 2022Structural generalization is hard for sequence-to-sequence modelscited by 24
- 2023What's the Meaning of Superhuman Performance in Today's NLU?cited by 23
- 2024Learning to Retrieve Iteratively for In-Context Learningcited by 13
- 2022Benchmarking Compositionality with Formal Languagescited by 12
12 most cited of 28 All 28 (JSON)
- 2025Beyond Fertility: Analyzing STRR as a Metric for Multilingual Tokenization Evaluation11 Oct 2025
- 2025Reinforcing Compositional Retrieval: Retrieving Step-by-Step for Composing Informative Contexts15 Apr 2025
- 2025Learning to Substitute Components for Compositional Generalization28 Feb 2025
- 2024SetLexSem Challenge: Using Set Operations to Evaluate the Lexical and Semantic Robustness of Language Models11 Nov 2024
- 2024Learning to Retrieve Iteratively for In-Context Learning20 Jun 2024
- 2024Meta Operator for Complex Query Answering on Knowledge Graphs15 Mar 2024
- 2023Leveraging Code to Improve In-context Learning for Semantic Parsing16 Nov 2023
- 2023Dataflow Dialogue Generation4 Aug 2023
- 2023Learning to Substitute Spans towards Improving Compositional Generalization5 Jun 2023
- 2023Faith and Fate: Limits of Transformers on Compositionality29 May 2023
- 2023Understanding Compositional Data Augmentation in Typologically Diverse Morphological Inflection23 May 2023
- 2023What's the Meaning of Superhuman Performance in Today's NLU?15 May 2023
12 newest of 28 All 28 (JSON)