mlsanityData to 14 Oct 2026

Scaling can lead to compositional generalization

arXiv 2507.07207 ↗First posted 9 Jul 2025cs.LG cs.NEcited by 7

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

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
  3. 2020Scaling Laws for Neural Language Modelscited by 6,586
  4. 2024Scaling Rectified Flow Transformers for High-Resolution Image Synthesiscited by 4,181
  5. 2022Training Compute-Optimal Large Language Modelscited by 3,019
  6. 2022Emergent Abilities of Large Language Modelscited by 2,512
  7. 2016Density estimation using Real NVPcited by 2,042
  8. 2022Least-to-Most Prompting Enables Complex Reasoning in Large Language Modelscited by 1,407
  9. 2018Relational inductive biases, deep learning, and graph networkscited by 1,360
  10. 2022Measuring and Narrowing the Compositionality Gap in Language Modelscited by 1,075
  11. 2016HyperNetworkscited by 1,027
  12. 2018Exploring the Limits of Weakly Supervised Pretrainingcited by 605
38 more
  1. 2024GSM-Symbolic: Understanding the Limitations of Mathematical Reasoning in Large Language Modelscited by 550
  2. 2023Faith and Fate: Limits of Transformers on Compositionalitycited by 503
  3. 2023The Reversal Curse: LLMs trained on "A is B" fail to learn "B is A"cited by 407
  4. 2015Neural Module Networkscited by 376
  5. 2023In-Context Learning Creates Task Vectorscited by 312
  6. 2020Implicit Bias of Gradient Descent for Wide Two-layer Neural Networks Trained with the Logistic Losscited by 268
  7. 2024Do Large Language Models Latently Perform Multi-Hop Reasoning?cited by 169
  8. 2021The Devil is in the Detail: Simple Tricks Improve Systematic Generalization of Transformerscited by 117
  9. 2019How do infinite width bounded norm networks look in function space?cited by 106
  10. 2022Does CLIP Bind Concepts? Probing Compositionality in Large Image Modelscited by 102
  11. 2020Compositional Generalization in Semantic Parsing: Pre-training vs. Specialized Architecturescited by 95
  12. 2023Compositional Abilities Emerge Multiplicatively: Exploring Diffusion Models on a Synthetic Taskcited by 93
  13. 2022Gradient flow dynamics of shallow ReLU networks for square loss and orthogonal inputscited by 76
  14. 2023How Deep Neural Networks Learn Compositional Data: The Random Hierarchy Modelcited by 71
  15. 2023Compositional Generalization from First Principlescited by 64
  16. 2024ConceptMix: A Compositional Image Generation Benchmark with Controllable Difficultycited by 61
  17. 2025Deep Learning is Not So Mysterious or Differentcited by 56
  18. 2022Evaluating the Impact of Model Scale for Compositional Generalization in Semantic Parsingcited by 50
  19. 2023Break It Down: Evidence for Structural Compositionality in Neural Networkscited by 44
  20. 2023Provable Compositional Generalization for Object-Centric Learningcited by 41
  21. 2024Compositional Generative Modeling: A Single Model is Not All You Needcited by 41
  22. 2024Do Large Language Models Have Compositional Ability? An Investigation into Limitations and Scalabilitycited by 40
  23. 2023The Impact of Depth on Compositional Generalization in Transformer Language Modelscited by 38
  24. 2024Not All LLM Reasoners Are Created Equalcited by 30
  25. 2023Discovering modular solutions that generalize compositionallycited by 23
  26. 2024When does compositional structure yield compositional generalization? A kernel theorycited by 20
  27. 2024Interaction Asymmetry: A General Principle for Learning Composable Abstractionscited by 20
  28. 2025Task Vectors in In-Context Learning: Emergence, Formation, and Benefitcited by 20
  29. 2023Attribute-Centric Compositional Text-to-Image Generationcited by 19
  30. 2024Why Do Animals Need Shaping? A Theory of Task Composition and Curriculum Learningcited by 16
  31. 2024Vision-Language Models Create Cross-Modal Task Representationscited by 15
  32. 2024On The Specialization of Neural Modulescited by 14
  33. 2024Attention as a Hypernetworkcited by 13
  34. 2024How Diffusion Models Learn to Factorize and Composecited by 13
  35. 2024A Complexity-Based Theory of Compositionalitycited by 13
  36. 2025Analyzing the Inner Workings of Transformers in Compositional Generalizationcited by 6
  37. 2021Compositional generalization in semantic parsing with pretrained transformerscited by 5
  38. 2024Breaking Neural Network Scaling Laws with Modularitycited by 5

50 most cited of 52 All 52 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 2; 2026: 5.

7 papers.