mlsanityData to 7 Oct 2026

Data Factors for Better Compositional Generalization

arXiv 2311.04420 ↗First posted 8 Nov 2023cs.CL cs.AI cs.LGcited by 5

Not on the map. Why?

Abstract (arXiv)

Recent diagnostic datasets on compositional generalization, such as SCAN (Lake and Baroni, 2018) and COGS (Kim and Linzen, 2020), expose severe problems in models trained from scratch on these datasets. However, in contrast to this poor performance, state-of-the-art models trained on larger and more general datasets show better generalization ability. In this work, to reconcile this inconsistency, we conduct an empirical analysis by training Transformer models on a variety of training sets with different data factors, including dataset scale, pattern complexity, example difficulty, etc. First, we show that increased dataset complexity can lead to better generalization behavior on multiple different generalization challenges. To further understand this improvement, we show two axes of the benefit from more complex datasets: they provide more diverse examples so compositional understanding becomes more effective, and they also prevent ungeneralizable memorization of the examples due to reduced example repetition frequency. Finally, we explore how training examples of different difficulty levels influence generalization differently. On synthetic datasets, simple examples invoke stronger compositionality than hard examples do. On larger-scale real language datasets, while hard examples become more important potentially to ensure decent data coverage, a balanced mixture of simple and hard examples manages to induce the strongest generalizability. The code and data for this work are available at https://github.com/owenzx/data4comp

Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 40 of its 63 references that are in the map. First posted on arXiv 8 Nov 2023.

Builds on

40 of 63 references.

References · 40

  1. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  2. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  3. 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
  4. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
  5. 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,168
  6. 2018Self-Attention with Relative Position Representationscited by 1,112
  7. 2018Annotation Artifacts in Natural Language Inference Datacited by 656
  8. 2022Beyond neural scaling laws: beating power law scaling via data pruningcited by 519
  9. 2020Dataset Cartography: Mapping and Diagnosing Datasets with Training Dynamicscited by 423
  10. 2016Assessing the Ability of LSTMs to Learn Syntax-Sensitive Dependenciescited by 350
  11. 2022Data Distributional Properties Drive Emergent In-Context Learning in Transformerscited by 303
  12. 2019Measuring Compositional Generalization: A Comprehensive Method on Realistic Datacited by 280
28 more
  1. 2019Compositionality decomposed: how do neural networks generalise?cited by 264
  2. 2020COGS: A Compositional Generalization Challenge Based on Semantic Interpretationcited by 260
  3. 2019Good-Enough Compositional Data Augmentationcited by 158
  4. 2020Compositional Generalization and Natural Language Variation: Can a Semantic Parsing Approach Handle Both?cited by 147
  5. 2022Scaling Laws and Interpretability of Learning from Repeated Datacited by 147
  6. 2018Improving Text-to-SQL Evaluation Methodologycited by 133
  7. 2020Task-Oriented Dialogue as Dataflow Synthesiscited by 122
  8. 2018On the Practical Computational Power of Finite Precision RNNs for Language Recognitioncited by 117
  9. 2021The Devil is in the Detail: Simple Tricks Improve Systematic Generalization of Transformerscited by 117
  10. 2019Compositional generalization through meta sequence-to-sequence learningcited by 98
  11. 2020Compositional Generalization in Semantic Parsing: Pre-training vs. Specialized Architecturescited by 95
  12. 2020Learning to Recombine and Resample Data for Compositional Generalizationcited by 65
  13. 2021Meta-Learning to Compositionally Generalizecited by 62
  14. 2021The paradox of the compositionality of natural language: a neural machine translation case studycited by 58
  15. 2021Unlocking Compositional Generalization in Pre-trained Models Using Intermediate Representationscited by 55
  16. 2018Rearranging the Familiar: Testing Compositional Generalization in Recurrent Networkscited by 51
  17. 2022Evaluating the Impact of Model Scale for Compositional Generalization in Semantic Parsingcited by 50
  18. 2019Compositional Generalization for Primitive Substitutionscited by 48
  19. 2020Improving Compositional Generalization in Semantic Parsingcited by 42
  20. 2022Characterizing Intrinsic Compositionality in Transformers with Tree Projectionscited by 40
  21. 2020Compositional Generalization via Semantic Taggingcited by 32
  22. 2021Sequence-to-Sequence Learning with Latent Neural Grammarscited by 30
  23. 2018Jump to better conclusions: SCAN both left and rightcited by 29
  24. 2019CNNs found to jump around more skillfully than RNNs: Compositional generalization in seq2seq convolutional networkscited by 22
  25. 2022Revisiting the Compositional Generalization Abilities of Neural Sequence Modelscited by 20
  26. 2021Inducing Transformer's Compositional Generalization Ability via Auxiliary Sequence Prediction Taskscited by 19
  27. 2020*-CFQ: Analyzing the Scalability of Machine Learning on a Compositional Taskcited by 16
  28. 2022Mutual Exclusivity Training and Primitive Augmentation to Induce Compositionalitycited by 8

Built on by

Cited by year

Citing papers per year: 2025: 5.

5 papers.