Scaling can lead to compositional generalization
Not on the map. Why?
Abstract (arXiv)
Can neural networks systematically capture discrete, compositional task structure despite their continuous, distributed nature? The impressive capabilities of large-scale neural networks suggest that the answer to this question is yes. However, even for the most capable models, there are still frequent failure cases that raise doubts about their compositionality. Here, we seek to understand what it takes for a standard neural network to generalize over tasks that share compositional structure. We find that simply scaling data and model size leads to compositional generalization. We show that this holds across different task encodings as long as the training distribution sufficiently covers the task space. In line with this finding, we prove that standard multilayer perceptrons can approximate a general class of compositional task families to arbitrary precision using only a linear number of neurons with respect to the number of task modules. Finally, we uncover that if networks successfully compositionally generalize, the constituents of a task can be linearly decoded from their hidden activations. We show that this metric correlates with failures of text-to-image generation models to compose known concepts.
Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). Builds on 52 of its 81 references that are in the map. First posted on arXiv 9 Jul 2025.
Builds on
52 of 81 references.
References · 52
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
- 2020Scaling Laws for Neural Language Modelscited by 6,586
- 2024Scaling Rectified Flow Transformers for High-Resolution Image Synthesiscited by 4,181
- 2022Training Compute-Optimal Large Language Modelscited by 3,019
- 2022Emergent Abilities of Large Language Modelscited by 2,512
- 2016Density estimation using Real NVPcited by 2,042
- 2022Least-to-Most Prompting Enables Complex Reasoning in Large Language Modelscited by 1,407
- 2018Relational inductive biases, deep learning, and graph networkscited by 1,360
- 2022Measuring and Narrowing the Compositionality Gap in Language Modelscited by 1,075
- 2016HyperNetworkscited by 1,027
- 2018Exploring the Limits of Weakly Supervised Pretrainingcited by 605
38 more
- 2024GSM-Symbolic: Understanding the Limitations of Mathematical Reasoning in Large Language Modelscited by 550
- 2023Faith and Fate: Limits of Transformers on Compositionalitycited by 503
- 2023The Reversal Curse: LLMs trained on "A is B" fail to learn "B is A"cited by 407
- 2015Neural Module Networkscited by 376
- 2023In-Context Learning Creates Task Vectorscited by 312
- 2020Implicit Bias of Gradient Descent for Wide Two-layer Neural Networks Trained with the Logistic Losscited by 268
- 2024Do Large Language Models Latently Perform Multi-Hop Reasoning?cited by 169
- 2021The Devil is in the Detail: Simple Tricks Improve Systematic Generalization of Transformerscited by 117
- 2019How do infinite width bounded norm networks look in function space?cited by 106
- 2022Does CLIP Bind Concepts? Probing Compositionality in Large Image Modelscited by 102
- 2020Compositional Generalization in Semantic Parsing: Pre-training vs. Specialized Architecturescited by 95
- 2023Compositional Abilities Emerge Multiplicatively: Exploring Diffusion Models on a Synthetic Taskcited by 93
- 2022Gradient flow dynamics of shallow ReLU networks for square loss and orthogonal inputscited by 76
- 2023How Deep Neural Networks Learn Compositional Data: The Random Hierarchy Modelcited by 71
- 2023Compositional Generalization from First Principlescited by 64
- 2024ConceptMix: A Compositional Image Generation Benchmark with Controllable Difficultycited by 61
- 2025Deep Learning is Not So Mysterious or Differentcited by 56
- 2022Evaluating the Impact of Model Scale for Compositional Generalization in Semantic Parsingcited by 50
- 2023Break It Down: Evidence for Structural Compositionality in Neural Networkscited by 44
- 2023Provable Compositional Generalization for Object-Centric Learningcited by 41
- 2024Compositional Generative Modeling: A Single Model is Not All You Needcited by 41
- 2024Do Large Language Models Have Compositional Ability? An Investigation into Limitations and Scalabilitycited by 40
- 2023The Impact of Depth on Compositional Generalization in Transformer Language Modelscited by 38
- 2024Not All LLM Reasoners Are Created Equalcited by 30
- 2023Discovering modular solutions that generalize compositionallycited by 23
- 2024When does compositional structure yield compositional generalization? A kernel theorycited by 20
- 2024Interaction Asymmetry: A General Principle for Learning Composable Abstractionscited by 20
- 2025Task Vectors in In-Context Learning: Emergence, Formation, and Benefitcited by 20
- 2023Attribute-Centric Compositional Text-to-Image Generationcited by 19
- 2024Why Do Animals Need Shaping? A Theory of Task Composition and Curriculum Learningcited by 16
- 2024Vision-Language Models Create Cross-Modal Task Representationscited by 15
- 2024On The Specialization of Neural Modulescited by 14
- 2024Attention as a Hypernetworkcited by 13
- 2024How Diffusion Models Learn to Factorize and Composecited by 13
- 2024A Complexity-Based Theory of Compositionalitycited by 13
- 2025Analyzing the Inner Workings of Transformers in Compositional Generalizationcited by 6
- 2021Compositional generalization in semantic parsing with pretrained transformerscited by 5
- 2024Breaking Neural Network Scaling Laws with Modularitycited by 5
50 most cited of 52 All 52 (JSON)
Built on by
Citing papers per year: 2025: 2; 2026: 5.
7 papers.
- 2025What Drives Compositional Generalization in Visual Generative Models? The Importance of Continuous Training Objectivescited by 3
- 2026What You Can't See Is What You Learn: Slot-Selective Evidence Masking Favors Compositional Generalization in Shared-Genome Language-Model Societiescited by 1
- 2025COGITAO: A Visual Reasoning Framework To Study Compositionality & Generalizationcited by 0
- 2026A mathematical theory of balancing relational generalization and memorizationcited by 0
- 2026BRo-JEPA: Learning Modular Transformations in Latent Spacecited by 0
- 2026Blind-Spots-Bench: Evaluating Blind Spots in Multimodal Modelscited by 0
- 2026Hierarchical Compositionality for An Assistive AI Agentcited by 0
- 2026What You Can't See Is What You Learn: Slot-Selective Evidence Masking Favors Compositional Generalization in Shared-Genome Language-Model Societies20 Aug 2026
- 2026Hierarchical Compositionality for An Assistive AI Agent11 Aug 2026
- 2026Blind-Spots-Bench: Evaluating Blind Spots in Multimodal Models9 Jul 2026
- 2026BRo-JEPA: Learning Modular Transformations in Latent Space31 May 2026
- 2026A mathematical theory of balancing relational generalization and memorization21 May 2026
- 2025What Drives Compositional Generalization in Visual Generative Models? The Importance of Continuous Training Objectives3 Oct 2025
- 2025COGITAO: A Visual Reasoning Framework To Study Compositionality & Generalization5 Sep 2025