Improving Compositional Generalization in Semantic Parsing
Not on the map. Why?
Abstract (arXiv)
Generalization of models to out-of-distribution (OOD) data has captured tremendous attention recently. Specifically, compositional generalization, i.e., whether a model generalizes to new structures built of components observed during training, has sparked substantial interest. In this work, we investigate compositional generalization in semantic parsing, a natural test-bed for compositional generalization, as output programs are constructed from sub-components. We analyze a wide variety of models and propose multiple extensions to the attention module of the semantic parser, aiming to improve compositional generalization. We find that the following factors improve compositional generalization: (a) using contextual representations, such as ELMo and BERT, (b) informing the decoder what input tokens have previously been attended to, (c) training the decoder attention to agree with pre-computed token alignments, and (d) downsampling examples corresponding to frequent program templates. While we substantially reduce the gap between in-distribution and OOD generalization, performance on OOD compositions is still substantially lower.
Key facts. Cited by 42 papers in the map (data through 7 Oct 2026). First posted on arXiv 12 Oct 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 14; 2022: 17; 2023: 8; 2024: 2; 2025: 1.
42 papers.
Sort:
By area:
- 2022State-of-the-art generalisation research in NLP: A taxonomy and reviewcited by 97
- 2021Exploring Underexplored Limitations of Cross-Domain Text-to-SQL Generalizationcited by 92
- 2021Competency Problems: On Finding and Removing Artifacts in Language Datacited by 91
- 2022TalkToModel: Explaining Machine Learning Models with Interactive Natural Language Conversationscited by 65
- 2021Unlocking Compositional Generalization in Pre-trained Models Using Intermediate Representationscited by 55
- 2021Complex Knowledge Base Question Answering: A Surveycited by 52
- 2022Evaluating the Impact of Model Scale for Compositional Generalization in Semantic Parsingcited by 50
- 2021Improving Compositional Generalization with Latent Structure and Data Augmentationcited by 46
- 2022SeqZero: Few-shot Compositional Semantic Parsing with Sequential Prompts and Zero-shot Modelscited by 38
- 2021Sequence-to-Sequence Learning with Latent Neural Grammarscited by 30
- 2021Disentangled Sequence to Sequence Learning for Compositional Generalizationcited by 30
- 2022Unobserved Local Structures Make Compositional Generalization Hardcited by 29
30 more
- 2021Finding needles in a haystack: Sampling Structurally-diverse Training Sets from Synthetic Data for Compositional Generalizationcited by 27
- 2023Neural-Logic Human-Object Interaction Detectioncited by 25
- 2023ReCOGS: How Incidental Details of a Logical Form Overshadow an Evaluation of Semantic Interpretationcited by 24
- 2021Inducing Transformer's Compositional Generalization Ability via Auxiliary Sequence Prediction Taskscited by 19
- 2022Measuring and Improving Compositional Generalization in Text-to-SQL via Component Alignmentcited by 16
- 2021Compositional Generalization in Multilingual Semantic Parsing over Wikidatacited by 9
- 2021Toward Code Generation: A Survey and Lessons from Semantic Parsingcited by 8
- 2022Structurally Diverse Sampling for Sample-Efficient Training and Comprehensive Evaluationcited by 8
- 2022Mutual Exclusivity Training and Primitive Augmentation to Induce Compositionalitycited by 8
- 2021Compositional Generalization for Natural Language Interfaces to Web APIscited by 7
- 2022Retrieve-and-Fill for Scenario-based Task-Oriented Semantic Parsingcited by 7
- 2022InterFair: Debiasing with Natural Language Feedback for Fair Interpretable Predictionscited by 7
- 2023Seen to Unseen: Exploring Compositional Generalization of Multi-Attribute Controllable Dialogue Generationcited by 7
- 2021Paired Examples as Indirect Supervision in Latent Decision Modelscited by 6
- 2021Learning to Generalize Compositionally by Transferring Across Semantic Parsing Taskscited by 6
- 2022Compositional Generalization and Decomposition in Neural Program Synthesiscited by 6
- 2022Compositional Generalisation with Structured Reordering and Fertility Layerscited by 6
- 2023On Evaluating Multilingual Compositional Generalization with Translated Datasetscited by 6
- 2025Beyond Statistical Learning: Exact Learning Is Essential for General Intelligencecited by 6
- 2023Data Factors for Better Compositional Generalizationcited by 5
- 2024A General Theory for Compositional Generalizationcited by 4
- 2022Improving Compositional Generalization in Math Word Problem Solvingcited by 3
- 2022Translate First Reorder Later: Leveraging Monotonicity in Semantic Parsingcited by 3
- 2022Real-World Compositional Generalization with Disentangled Sequence-to-Sequence Learningcited by 3
- 2023Semantic-aware Contrastive Learning for More Accurate Semantic Parsingcited by 2
- 2023Laziness Is a Virtue When It Comes to Compositionality in Neural Semantic Parsingcited by 2
- 2023Towards Zero-Shot Functional Compositionality of Language Modelscited by 1
- 2024Inducing Systematicity in Transformers by Attending to Structurally Quantized Embeddingscited by 1
- 2022Improving Text-to-SQL Semantic Parsing with Fine-grained Query Understandingcited by 0
- 2022A Short Survey of Systematic Generalizationcited by 0
- 2025Beyond Statistical Learning: Exact Learning Is Essential for General Intelligence30 Jun 2025
- 2024A General Theory for Compositional Generalization20 May 2024
- 2024Inducing Systematicity in Transformers by Attending to Structurally Quantized Embeddings9 Feb 2024
- 2023Neural-Logic Human-Object Interaction Detection16 Nov 2023
- 2023Data Factors for Better Compositional Generalization8 Nov 2023
- 2023On Evaluating Multilingual Compositional Generalization with Translated Datasets20 Jun 2023
- 2023Seen to Unseen: Exploring Compositional Generalization of Multi-Attribute Controllable Dialogue Generation17 Jun 2023
- 2023Laziness Is a Virtue When It Comes to Compositionality in Neural Semantic Parsing7 May 2023
- 2023ReCOGS: How Incidental Details of a Logical Form Overshadow an Evaluation of Semantic Interpretation24 Mar 2023
- 2023Towards Zero-Shot Functional Compositionality of Language Models6 Mar 2023
- 2023Semantic-aware Contrastive Learning for More Accurate Semantic Parsing19 Jan 2023
- 2022Real-World Compositional Generalization with Disentangled Sequence-to-Sequence Learning12 Dec 2022
30 more
- 2022Mutual Exclusivity Training and Primitive Augmentation to Induce Compositionality28 Nov 2022
- 2022A Short Survey of Systematic Generalization22 Nov 2022
- 2022InterFair: Debiasing with Natural Language Feedback for Fair Interpretable Predictions14 Oct 2022
- 2022Translate First Reorder Later: Leveraging Monotonicity in Semantic Parsing10 Oct 2022
- 2022Compositional Generalisation with Structured Reordering and Fertility Layers6 Oct 2022
- 2022State-of-the-art generalisation research in NLP: A taxonomy and review6 Oct 2022
- 2022Improving Text-to-SQL Semantic Parsing with Fine-grained Query Understanding28 Sep 2022
- 2022Improving Compositional Generalization in Math Word Problem Solving3 Sep 2022
- 2022TalkToModel: Explaining Machine Learning Models with Interactive Natural Language Conversations8 Jul 2022
- 2022Evaluating the Impact of Model Scale for Compositional Generalization in Semantic Parsing24 May 2022
- 2022SeqZero: Few-shot Compositional Semantic Parsing with Sequential Prompts and Zero-shot Models15 May 2022
- 2022Measuring and Improving Compositional Generalization in Text-to-SQL via Component Alignment4 May 2022
- 2022Compositional Generalization and Decomposition in Neural Program Synthesis7 Apr 2022
- 2022Structurally Diverse Sampling for Sample-Efficient Training and Comprehensive Evaluation16 Mar 2022
- 2022Retrieve-and-Fill for Scenario-based Task-Oriented Semantic Parsing2 Feb 2022
- 2022Unobserved Local Structures Make Compositional Generalization Hard15 Jan 2022
- 2021Improving Compositional Generalization with Latent Structure and Data Augmentation14 Dec 2021
- 2021Compositional Generalization for Natural Language Interfaces to Web APIs9 Dec 2021
- 2021Learning to Generalize Compositionally by Transferring Across Semantic Parsing Tasks9 Nov 2021
- 2021Disentangled Sequence to Sequence Learning for Compositional Generalization9 Oct 2021
- 2021Inducing Transformer's Compositional Generalization Ability via Auxiliary Sequence Prediction Tasks30 Sep 2021
- 2021Exploring Underexplored Limitations of Cross-Domain Text-to-SQL Generalization11 Sep 2021
- 2021Finding needles in a haystack: Sampling Structurally-diverse Training Sets from Synthetic Data for Compositional Generalization6 Sep 2021
- 2021Sequence-to-Sequence Learning with Latent Neural Grammars2 Sep 2021
- 2021Complex Knowledge Base Question Answering: A Survey15 Aug 2021
- 2021Compositional Generalization in Multilingual Semantic Parsing over Wikidata7 Aug 2021
- 2021Toward Code Generation: A Survey and Lessons from Semantic Parsing26 Apr 2021
- 2021Competency Problems: On Finding and Removing Artifacts in Language Data17 Apr 2021
- 2021Unlocking Compositional Generalization in Pre-trained Models Using Intermediate Representations15 Apr 2021
- 2021Paired Examples as Indirect Supervision in Latent Decision Models5 Apr 2021
- 2022State-of-the-art generalisation research in NLP: A taxonomy and reviewcited by 97
- 2021Exploring Underexplored Limitations of Cross-Domain Text-to-SQL Generalizationcited by 92
- 2021Competency Problems: On Finding and Removing Artifacts in Language Datacited by 91
- 2022TalkToModel: Explaining Machine Learning Models with Interactive Natural Language Conversationscited by 65
- 2021Unlocking Compositional Generalization in Pre-trained Models Using Intermediate Representationscited by 55
- 2021Complex Knowledge Base Question Answering: A Surveycited by 52
- 2022Evaluating the Impact of Model Scale for Compositional Generalization in Semantic Parsingcited by 50
- 2021Improving Compositional Generalization with Latent Structure and Data Augmentationcited by 46
- 2022SeqZero: Few-shot Compositional Semantic Parsing with Sequential Prompts and Zero-shot Modelscited by 38
- 2021Sequence-to-Sequence Learning with Latent Neural Grammarscited by 30
- 2021Disentangled Sequence to Sequence Learning for Compositional Generalizationcited by 30
- 2022Unobserved Local Structures Make Compositional Generalization Hardcited by 29
12 most cited of 40 All 40 (JSON)
- 2024A General Theory for Compositional Generalization20 May 2024
- 2024Inducing Systematicity in Transformers by Attending to Structurally Quantized Embeddings9 Feb 2024
- 2023Neural-Logic Human-Object Interaction Detection16 Nov 2023
- 2023Data Factors for Better Compositional Generalization8 Nov 2023
- 2023On Evaluating Multilingual Compositional Generalization with Translated Datasets20 Jun 2023
- 2023Seen to Unseen: Exploring Compositional Generalization of Multi-Attribute Controllable Dialogue Generation17 Jun 2023
- 2023Laziness Is a Virtue When It Comes to Compositionality in Neural Semantic Parsing7 May 2023
- 2023ReCOGS: How Incidental Details of a Logical Form Overshadow an Evaluation of Semantic Interpretation24 Mar 2023
- 2023Towards Zero-Shot Functional Compositionality of Language Models6 Mar 2023
- 2023Semantic-aware Contrastive Learning for More Accurate Semantic Parsing19 Jan 2023
- 2022Real-World Compositional Generalization with Disentangled Sequence-to-Sequence Learning12 Dec 2022
- 2022Mutual Exclusivity Training and Primitive Augmentation to Induce Compositionality28 Nov 2022
12 newest of 40 All 40 (JSON)