Mutual Exclusivity Training and Primitive Augmentation to Induce Compositionality
Not on the map. Why?
Abstract (arXiv)
Recent datasets expose the lack of the systematic generalization ability in standard sequence-to-sequence models. In this work, we analyze this behavior of seq2seq models and identify two contributing factors: a lack of mutual exclusivity bias (i.e., a source sequence already mapped to a target sequence is less likely to be mapped to other target sequences), and the tendency to memorize whole examples rather than separating structures from contents. We propose two techniques to address these two issues respectively: Mutual Exclusivity Training that prevents the model from producing seen generations when facing novel, unseen examples via an unlikelihood-based loss; and prim2primX data augmentation that automatically diversifies the arguments of every syntactic function to prevent memorizing and provide a compositional inductive bias without exposing test-set data. Combining these two techniques, we show substantial empirical improvements using standard sequence-to-sequence models (LSTMs and Transformers) on two widely-used compositionality datasets: SCAN and COGS. Finally, we provide analysis characterizing the improvements as well as the remaining challenges, and provide detailed ablations of our method. Our code is available at https://github.com/owenzx/met-primaug
Key facts. Cited by 8 papers in the map (data through 14 Oct 2026). Builds on 36 of its 61 references that are in the map. First posted on arXiv 28 Nov 2022.
Builds on
36 of 61 references.
References · 36
- 2017Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networkscited by 4,897
- 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,173
- 2018Self-Attention with Relative Position Representationscited by 1,120
- 2019Neural Text Generation with Unlikelihood Trainingcited by 503
- 2016Assessing the Ability of LSTMs to Learn Syntax-Sensitive Dependenciescited by 354
- 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
- 2018On the Practical Computational Power of Finite Precision RNNs for Language Recognitioncited by 117
- 2021The Devil is in the Detail: Simple Tricks Improve Systematic Generalization of Transformerscited by 117
24 more
- 2019Compositional generalization through meta sequence-to-sequence learningcited by 99
- 2020Compositional Generalization in Semantic Parsing: Pre-training vs. Specialized Architecturescited by 95
- 2020Learning Compositional Rules via Neural Program Synthesiscited by 74
- 2020Learning to Recombine and Resample Data for Compositional Generalizationcited by 65
- 2021Meta-Learning to Compositionally Generalizecited by 62
- 2021Unlocking Compositional Generalization in Pre-trained Models Using Intermediate Representationscited by 55
- 2020Compositional Generalization by Learning Analytical Expressionscited by 53
- 2018Rearranging the Familiar: Testing Compositional Generalization in Recurrent Networkscited by 51
- 2019Compositional Generalization for Primitive Substitutionscited by 48
- 2019Human few-shot learning of compositional instructionscited by 47
- 2021Improving Compositional Generalization with Latent Structure and Data Augmentationcited by 46
- 2020Improving Compositional Generalization in Semantic Parsingcited by 42
- 2018Memorize or generalize? Searching for a compositional RNN in a haystackcited by 41
- 2020Compositional Generalization via Semantic Taggingcited by 32
- 2021Learning Algebraic Recombination for Compositional Generalizationcited by 31
- 2021Disentangled Sequence to Sequence Learning for Compositional Generalizationcited by 30
- 2018Jump to better conclusions: SCAN both left and rightcited by 29
- 2021Lexicon Learning for Few-Shot Neural Sequence Modelingcited by 28
- 2019CNNs found to jump around more skillfully than RNNs: Compositional generalization in seq2seq convolutional networkscited by 22
- 2022Revisiting the Compositional Generalization Abilities of Neural Sequence Modelscited by 20
- 2020Revisiting Iterative Back-Translation from the Perspective of Compositional Generalizationcited by 19
- 2021Inducing Transformer's Compositional Generalization Ability via Auxiliary Sequence Prediction Taskscited by 19
- 2018Mutual Information Maximization for Simple and Accurate Part-Of-Speech Inductioncited by 17
- 2020*-CFQ: Analyzing the Scalability of Machine Learning on a Compositional Taskcited by 16
Built on by
Citing papers per year: 2023: 4; 2024: 2; 2025: 2.
8 papers.
- 2023Learning to Substitute Spans towards Improving Compositional Generalizationcited by 8
- 2024From Frege to chatGPT: Compositionality in language, cognition, and deep neural networkscited by 7
- 2023Data Factors for Better Compositional Generalizationcited by 5
- 2023Attribute Diversity Determines the Systematicity Gap in VQAcited by 3
- 2023Efficient Model-Agnostic Multi-Group Equivariant Networkscited by 1
- 2024Inducing Systematicity in Transformers by Attending to Structurally Quantized Embeddingscited by 1
- 2025Learning to Substitute Components for Compositional Generalizationcited by 1
- 2025Data Distributional Properties As Inductive Bias for Systematic Generalizationcited by 0
- 2025Learning to Substitute Components for Compositional Generalization28 Feb 2025
- 2025Data Distributional Properties As Inductive Bias for Systematic Generalization27 Feb 2025
- 2024From Frege to chatGPT: Compositionality in language, cognition, and deep neural networks24 May 2024
- 2024Inducing Systematicity in Transformers by Attending to Structurally Quantized Embeddings9 Feb 2024
- 2023Attribute Diversity Determines the Systematicity Gap in VQA15 Nov 2023
- 2023Data Factors for Better Compositional Generalization8 Nov 2023
- 2023Efficient Model-Agnostic Multi-Group Equivariant Networks14 Oct 2023
- 2023Learning to Substitute Spans towards Improving Compositional Generalization5 Jun 2023