mlsanityData to 14 Oct 2026

Unlocking Compositional Generalization in Pre-trained Models Using Intermediate Representations

arXiv 2104.07478 ↗First posted 15 Apr 2021cs.CLcited by 55

Not on the map. Why?

Abstract (arXiv)

Sequence-to-sequence (seq2seq) models are prevalent in semantic parsing, but have been found to struggle at out-of-distribution compositional generalization. While specialized model architectures and pre-training of seq2seq models have been proposed to address this issue, the former often comes at the cost of generality and the latter only shows limited success. In this paper, we study the impact of intermediate representations on compositional generalization in pre-trained seq2seq models, without changing the model architecture at all, and identify key aspects for designing effective representations. Instead of training to directly map natural language to an executable form, we map to a reversible or lossy intermediate representation that has stronger structural correspondence with natural language. The combination of our proposed intermediate representations and pre-trained models is surprisingly effective, where the best combinations obtain a new state-of-the-art on CFQ (+14.8 accuracy points) and on the template-splits of three text-to-SQL datasets (+15.0 to +19.4 accuracy points). This work highlights that intermediate representations provide an important and potentially overlooked degree of freedom for improving the compositional generalization abilities of pre-trained seq2seq models.

Key facts. Cited by 55 papers in the map (data through 14 Oct 2026). Builds on 36 of its 49 references that are in the map. First posted on arXiv 15 Apr 2021.

Builds on

36 of 49 references.

References · 36

  1. 2017Attention Is All You Needcited by 60,361
  2. 2020Language Models are Few-Shot Learnerscited by 32,419
  3. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  4. 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,548
  5. 2018Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Taskcited by 1,139
  6. 2020Exploiting Cloze Questions for Few Shot Text Classification and Natural Language Inferencecited by 938
  7. 2018Universal Transformerscited by 647
  8. 2019RAT-SQL: Relation-Aware Schema Encoding and Linking for Text-to-SQL Parserscited by 424
  9. 2019Measuring Compositional Generalization: A Comprehensive Method on Realistic Datacited by 284
  10. 2019Towards Complex Text-to-SQL in Cross-Domain Database with Intermediate Representationcited by 210
  11. 2019The Evolved Transformercited by 180
  12. 2016Language to Logical Form with Neural Attentioncited by 158
24 more
  1. 2019Good-Enough Compositional Data Augmentationcited by 158
  2. 2020Compositional Generalization and Natural Language Variation: Can a Semantic Parsing Approach Handle Both?cited by 147
  3. 2018Improving Text-to-SQL Evaluation Methodologycited by 135
  4. 2016Data Recombination for Neural Semantic Parsingcited by 111
  5. 2018Coarse-to-Fine Decoding for Neural Semantic Parsingcited by 110
  6. 2017Learning a Neural Semantic Parser from User Feedbackcited by 99
  7. 2019Compositional generalization through meta sequence-to-sequence learningcited by 99
  8. 2020SmBoP: Semi-autoregressive Bottom-up Semantic Parsingcited by 97
  9. 2020Compositional Generalization in Semantic Parsing: Pre-training vs. Specialized Architecturescited by 95
  10. 2020Compositional Generalization via Neural-Symbolic Stack Machinescited by 80
  11. 2020Span-based Semantic Parsing for Compositional Generalizationcited by 77
  12. 2020Learning Compositional Rules via Neural Program Synthesiscited by 74
  13. 2019Compositional generalization in a deep seq2seq model by separating syntax and semanticscited by 56
  14. 2020Compositional Generalization by Learning Analytical Expressionscited by 53
  15. 2018Rearranging the Familiar: Testing Compositional Generalization in Recurrent Networkscited by 51
  16. 2019Compositional Generalization for Primitive Substitutionscited by 48
  17. 2020The EOS Decision and Length Extrapolationcited by 46
  18. 2019Learning to Infer Program Sketchescited by 44
  19. 2020Improving Compositional Generalization in Semantic Parsingcited by 42
  20. 2020Compositional Generalization via Semantic Taggingcited by 32
  21. 2019SEQ^3: Differentiable Sequence-to-Sequence-to-Sequence Autoencoder for Unsupervised Abstractive Sentence Compressioncited by 27
  22. 2020Hierarchical Poset Decoding for Compositional Generalization in Languagecited by 26
  23. 2020Revisiting Iterative Back-Translation from the Perspective of Compositional Generalizationcited by 19
  24. 2018Decoupling Structure and Lexicon for Zero-Shot Semantic Parsingcited by 11

Built on by

Cited by year

Citing papers per year: 2021: 17; 2022: 15; 2023: 18; 2024: 3; 2025: 2.

55 papers.

Sort:

By area:

  1. 2021Constrained Language Models Yield Few-Shot Semantic Parserscited by 163
  2. 2021ExT5: Towards Extreme Multi-Task Scaling for Transfer Learningcited by 161
  3. 2021The Devil is in the Detail: Simple Tricks Improve Systematic Generalization of Transformerscited by 117
  4. 2022Compositional Semantic Parsing with Large Language Modelscited by 95
  5. 2021Making Transformers Solve Compositional Taskscited by 72
  6. 2021Natural SQL: Making SQL Easier to Infer from Natural Language Specificationscited by 68
  7. 2023How Do In-Context Examples Affect Compositional Generalization?cited by 51
  8. 2022Evaluating the Impact of Model Scale for Compositional Generalization in Semantic Parsingcited by 50
  9. 2022Recent Advances in Text-to-SQL: A Survey of What We Have and What We Expectcited by 47
  10. 2021Improving Compositional Generalization with Latent Structure and Data Augmentationcited by 46
  11. 2022Modern Baselines for SPARQL Semantic Parsingcited by 34
  12. 2021Reason first, then respond: Modular Generation for Knowledge-infused Dialoguecited by 32
38 more
  1. 2022Unobserved Local Structures Make Compositional Generalization Hardcited by 29
  2. 2021Finding needles in a haystack: Sampling Structurally-diverse Training Sets from Synthetic Data for Compositional Generalizationcited by 27
  3. 2022Uncontrolled Lexical Exposure Leads to Overestimation of Compositional Generalization in Pretrained Modelscited by 26
  4. 2022On the Compositional Generalization Gap of In-Context Learningcited by 24
  5. 2023Improving Generalization in Language Model-Based Text-to-SQL Semantic Parsing: Two Simple Semantic Boundary-Based Techniquescited by 24
  6. 2022Few-shot Subgoal Planning with Language Modelscited by 22
  7. 2023SLOG: A Structural Generalization Benchmark for Semantic Parsingcited by 22
  8. 2021Inducing Transformer's Compositional Generalization Ability via Auxiliary Sequence Prediction Taskscited by 19
  9. 2023ExeDec: Execution Decomposition for Compositional Generalization in Neural Program Synthesiscited by 17
  10. 2021Weakly Supervised Text-to-SQL Parsing through Question Decompositioncited by 15
  11. 2023A Parse-Then-Place Approach for Generating Graphic Layouts from Textual Descriptionscited by 15
  12. 2024A Survey on Compositional Learning of AI Models: Theoretical and Experimental Practicescited by 15
  13. 2021On The Ingredients of an Effective Zero-shot Semantic Parsercited by 13
  14. 2022GraphQ IR: Unifying the Semantic Parsing of Graph Query Languages with One Intermediate Representationcited by 13
  15. 2023Leveraging Code to Improve In-context Learning for Semantic Parsingcited by 10
  16. 2021Compositional Generalization in Multilingual Semantic Parsing over Wikidatacited by 9
  17. 2023LeafAI: query generator for clinical cohort discovery rivaling a human programmercited by 9
  18. 2022Mutual Exclusivity Training and Primitive Augmentation to Induce Compositionalitycited by 8
  19. 2023Learning to Substitute Spans towards Improving Compositional Generalizationcited by 8
  20. 2021LAGr: Labeling Aligned Graphs for Improving Systematic Generalization in Semantic Parsingcited by 7
  21. 2022Towards Generalizable and Robust Text-to-SQL Parsingcited by 7
  22. 2021Grounded Graph Decoding Improves Compositional Generalization in Question Answeringcited by 6
  23. 2021Learning to Generalize Compositionally by Transferring Across Semantic Parsing Taskscited by 6
  24. 2022Compositional Generalization and Decomposition in Neural Program Synthesiscited by 6
  25. 2022Generalization Differences between End-to-End and Neuro-Symbolic Vision-Language Reasoning Systemscited by 6
  26. 2023On Evaluating Multilingual Compositional Generalization with Translated Datasetscited by 6
  27. 2021Pay More Attention to History: A Context Modelling Strategy for Conversational Text-to-SQLcited by 5
  28. 2023Knowledge-augmented Few-shot Visual Relation Detectioncited by 5
  29. 2023Data Factors for Better Compositional Generalizationcited by 5
  30. 2024Towards Understanding the Relationship between In-context Learning and Compositional Generalizationcited by 5
  31. 2021Compositional Generalization in Dependency Parsingcited by 4
  32. 2023Structural generalization in COGS: Supertagging is (almost) all you needcited by 4
  33. 2023Learning to Compose Representations of Different Encoder Layers towards Improving Compositional Generalizationcited by 3
  34. 2023Knowledge Base Question Answering for Space Debris Queriescited by 3
  35. 2023Semantic-aware Contrastive Learning for More Accurate Semantic Parsingcited by 2
  36. 2023Laziness Is a Virtue When It Comes to Compositionality in Neural Semantic Parsingcited by 2
  37. 2023Layer-wise Representation Fusion for Compositional Generalizationcited by 2
  38. 2023An In-Context Schema Understanding Method for Knowledge Base Question Answeringcited by 1

50 most cited of 55 All 55 (JSON)