mlsanityData to 7 Oct 2026

Improving Compositional Generalization in Semantic Parsing

arXiv 2010.05647 ↗First posted 12 Oct 2020cs.CLcited by 42

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

Cited by year

Citing papers per year: 2021: 14; 2022: 17; 2023: 8; 2024: 2; 2025: 1.

42 papers.

Sort:

By area:

  1. 2022State-of-the-art generalisation research in NLP: A taxonomy and reviewcited by 97
  2. 2021Exploring Underexplored Limitations of Cross-Domain Text-to-SQL Generalizationcited by 92
  3. 2021Competency Problems: On Finding and Removing Artifacts in Language Datacited by 91
  4. 2022TalkToModel: Explaining Machine Learning Models with Interactive Natural Language Conversationscited by 65
  5. 2021Unlocking Compositional Generalization in Pre-trained Models Using Intermediate Representationscited by 55
  6. 2021Complex Knowledge Base Question Answering: A Surveycited by 52
  7. 2022Evaluating the Impact of Model Scale for Compositional Generalization in Semantic Parsingcited by 50
  8. 2021Improving Compositional Generalization with Latent Structure and Data Augmentationcited by 46
  9. 2022SeqZero: Few-shot Compositional Semantic Parsing with Sequential Prompts and Zero-shot Modelscited by 38
  10. 2021Sequence-to-Sequence Learning with Latent Neural Grammarscited by 30
  11. 2021Disentangled Sequence to Sequence Learning for Compositional Generalizationcited by 30
  12. 2022Unobserved Local Structures Make Compositional Generalization Hardcited by 29
30 more
  1. 2021Finding needles in a haystack: Sampling Structurally-diverse Training Sets from Synthetic Data for Compositional Generalizationcited by 27
  2. 2023Neural-Logic Human-Object Interaction Detectioncited by 25
  3. 2023ReCOGS: How Incidental Details of a Logical Form Overshadow an Evaluation of Semantic Interpretationcited by 24
  4. 2021Inducing Transformer's Compositional Generalization Ability via Auxiliary Sequence Prediction Taskscited by 19
  5. 2022Measuring and Improving Compositional Generalization in Text-to-SQL via Component Alignmentcited by 16
  6. 2021Compositional Generalization in Multilingual Semantic Parsing over Wikidatacited by 9
  7. 2021Toward Code Generation: A Survey and Lessons from Semantic Parsingcited by 8
  8. 2022Structurally Diverse Sampling for Sample-Efficient Training and Comprehensive Evaluationcited by 8
  9. 2022Mutual Exclusivity Training and Primitive Augmentation to Induce Compositionalitycited by 8
  10. 2021Compositional Generalization for Natural Language Interfaces to Web APIscited by 7
  11. 2022Retrieve-and-Fill for Scenario-based Task-Oriented Semantic Parsingcited by 7
  12. 2022InterFair: Debiasing with Natural Language Feedback for Fair Interpretable Predictionscited by 7
  13. 2023Seen to Unseen: Exploring Compositional Generalization of Multi-Attribute Controllable Dialogue Generationcited by 7
  14. 2021Paired Examples as Indirect Supervision in Latent Decision Modelscited by 6
  15. 2021Learning to Generalize Compositionally by Transferring Across Semantic Parsing Taskscited by 6
  16. 2022Compositional Generalization and Decomposition in Neural Program Synthesiscited by 6
  17. 2022Compositional Generalisation with Structured Reordering and Fertility Layerscited by 6
  18. 2023On Evaluating Multilingual Compositional Generalization with Translated Datasetscited by 6
  19. 2025Beyond Statistical Learning: Exact Learning Is Essential for General Intelligencecited by 6
  20. 2023Data Factors for Better Compositional Generalizationcited by 5
  21. 2024A General Theory for Compositional Generalizationcited by 4
  22. 2022Improving Compositional Generalization in Math Word Problem Solvingcited by 3
  23. 2022Translate First Reorder Later: Leveraging Monotonicity in Semantic Parsingcited by 3
  24. 2022Real-World Compositional Generalization with Disentangled Sequence-to-Sequence Learningcited by 3
  25. 2023Semantic-aware Contrastive Learning for More Accurate Semantic Parsingcited by 2
  26. 2023Laziness Is a Virtue When It Comes to Compositionality in Neural Semantic Parsingcited by 2
  27. 2023Towards Zero-Shot Functional Compositionality of Language Modelscited by 1
  28. 2024Inducing Systematicity in Transformers by Attending to Structurally Quantized Embeddingscited by 1
  29. 2022Improving Text-to-SQL Semantic Parsing with Fine-grained Query Understandingcited by 0
  30. 2022A Short Survey of Systematic Generalizationcited by 0