Learning to Substitute Components for Compositional Generalization
Not on the map. Why?
Abstract (arXiv)
Despite the rising prevalence of neural language models, recent empirical evidence suggests their deficiency in compositional generalization. One of the current de-facto solutions to this problem is compositional data augmentation, which aims to introduce additional compositional inductive bias. However, existing handcrafted augmentation strategies offer limited improvement when systematic generalization of neural language models requires multi-grained compositional bias (i.e., not limited to either lexical or structural biases alone) or when training sentences have an imbalanced difficulty distribution. To address these challenges, we first propose a novel compositional augmentation strategy called Component Substitution (CompSub), which enables multi-grained composition of substantial substructures across the entire training set. Furthermore, we introduce the Learning Component Substitution (LCS) framework. This framework empowers the learning of component substitution probabilities in CompSub in an end-to-end manner by maximizing the loss of neural language models, thereby prioritizing challenging compositions with elusive concepts and novel contexts. We extend the key ideas of CompSub and LCS to the recently emerging in-context learning scenarios of pre-trained large language models (LLMs), proposing the LCS-ICL algorithm to enhance the few-shot compositional generalization of state-of-the-art (SOTA) LLMs. Theoretically, we provide insights into why applying our algorithms to language models can improve compositional generalization performance. Empirically, our results on four standard compositional generalization benchmarks(SCAN, COGS, GeoQuery, and COGS-QL) demonstrate the superiority of CompSub, LCS, and LCS-ICL, with improvements of up to 66.5%, 10.3%, 1.4%, and 8.8%, respectively.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 69 of its 89 references that are in the map. First posted on arXiv 28 Feb 2025.
Builds on
69 of 89 references.
References · 69
- 2017Attention Is All You Needcited by 60,361
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
- 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,893
- 2017mixup: Beyond Empirical Risk Minimizationcited by 5,183
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,548
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
38 more
- 2014Sequence to Sequence Learning with Neural Networkscited by 2,986
- 2016Categorical Reparameterization with Gumbel-Softmaxcited by 2,739
- 2019Invariant Risk Minimizationcited by 1,854
- 2019fairseq: A Fast, Extensible Toolkit for Sequence Modelingcited by 1,488
- 2022Least-to-Most Prompting Enables Complex Reasoning in Large Language Modelscited by 1,407
- 2017Get To The Point: Summarization with Pointer-Generator Networkscited by 1,292
- 2022Transformers learn in-context by gradient descentcited by 732
- 2022What learning algorithm is in-context learning? Investigations with linear modelscited by 684
- 2023Learning to Compress Prompts with Gist Tokenscited by 390
- 2024Long-context LLMs Struggle with Long In-context Learningcited by 286
- 2019Measuring Compositional Generalization: A Comprehensive Method on Realistic Datacited by 284
- 2020COGS: A Compositional Generalization Challenge Based on Semantic Interpretationcited by 263
- 2017OpenNMT: Open-source Toolkit for Neural Machine Translationcited by 251
- 2019Good-Enough Compositional Data Augmentationcited by 158
- 2020Compositional Generalization and Natural Language Variation: Can a Semantic Parsing Approach Handle Both?cited by 147
- 2022Diverse Demonstrations Improve In-context Compositional Generalizationcited by 139
- 2018Improving Text-to-SQL Evaluation Methodologycited by 135
- 2016Data Recombination for Neural Semantic Parsingcited by 111
- 2019Compositional generalization through meta sequence-to-sequence learningcited by 99
- 2020Compositional Generalization in Semantic Parsing: Pre-training vs. Specialized Architecturescited by 95
- 2022Compositional Semantic Parsing with Large Language Modelscited by 95
- 2021Provably Strict Generalisation Benefit for Equivariant Modelscited by 91
- 2020On the Benefits of Invariance in Neural Networkscited by 79
- 2020Span-based Semantic Parsing for Compositional Generalizationcited by 77
- 2021Making Transformers Solve Compositional Taskscited by 72
- 2020Sequence-Level Mixed Sample Data Augmentationcited by 71
- 2021Meta-Learning to Compositionally Generalizecited by 62
- 2023Coverage-based Example Selection for In-Context Learningcited by 59
- 2021Unlocking Compositional Generalization in Pre-trained Models Using Intermediate Representationscited by 55
- 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
- 2019Compositional Generalization for Primitive Substitutionscited by 48
- 2021Tighter expected generalization error bounds via Wasserstein distancecited by 43
- 2024The Clever Hans Mirage: A Comprehensive Survey on Spurious Correlations in Machine Learningcited by 41
- 2021Disentangled Sequence to Sequence Learning for Compositional Generalizationcited by 30
- 2022Unobserved Local Structures Make Compositional Generalization Hardcited by 29
- 2021Lexicon Learning for Few-Shot Neural Sequence Modelingcited by 28
- 2021Finding needles in a haystack: Sampling Structurally-diverse Training Sets from Synthetic Data for Compositional Generalizationcited by 27
50 most cited of 69 All 69 (JSON)
Built on by
Citing papers per year: 2026: 1.
1 paper.