A Theoretical Analysis of Provable Compositional Generalization in Neural Networks: A Necessary and Sufficient Condition
Not on the map. Why?
Abstract (arXiv)
Compositional generalizationunicodex2013the ability to systematically process novel combinations of known componentsunicodex2013is a hallmark of human intelligence; however, its theoretical foundation in neural networks is not yet well understood. This paper establishes a necessary and sufficient condition for provable compositional generalization, precisely characterizing its boundary. Conceptually, the condition consists of two principles: (i) structural alignment, where a model's computational graph aligns with a task's true compositional hierarchy, and (ii) unambiguous minimized representations, where each component encodes adequate but not redundant information on the training data. The result is fully proved and machine-verified in Lean 4 and holds even in few-shot and one-shot regimes. The necessity direction establishes that provable compositional generalization cannot circumvent these requirements, while the sufficiency direction yields a unified inductive bias that jointly governs architectural design, training data properties, and regularization strategies. Building on this condition, we develop an example algorithmic approach, illustrate it through a controlled minimal example, and further demonstrate the condition on the SCAN jump task. All conclusions are derived mathematically without reliance on empirical validation. Our work provides a theoretical characterization of provable compositional generalization.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 23 of its 46 references that are in the map. First posted on arXiv 5 May 2025.
Builds on
23 of 46 references.
References · 23
- 2017Attention Is All You Needcited by 60,361
- 2023Faith and Fate: Limits of Transformers on Compositionalitycited by 503
- 2015Neural Module Networkscited by 376
- 2018Towards a Definition of Disentangled Representationscited by 296
- 2020Inductive Biases for Deep Learning of Higher-Level Cognitioncited by 275
- 2019A Meta-Transfer Objective for Learning to Disentangle Causal Mechanismscited by 158
- 2017The Consciousness Priorcited by 107
- 2023Consciousness in Artificial Intelligence: Insights from the Science of Consciousnesscited by 104
- 2021Efficient Neural Causal Discovery without Acyclicity Constraintscited by 82
- 2019Compositional generalization in a deep seq2seq model by separating syntax and semanticscited by 56
- 2019Causal Reasoning from Meta-reinforcement Learningcited by 53
- 2022Compositional Generalization in Unsupervised Compositional Representation Learning: A Study on Disentanglement and Emergent Languagecited by 42
11 more
- 2023Provable Compositional Generalization for Object-Centric Learningcited by 41
- 2021Discrete-Valued Neural Communicationcited by 39
- 2023Discovering modular solutions that generalize compositionallycited by 23
- 2024On Provable Length and Compositional Generalizationcited by 22
- 2024When does compositional structure yield compositional generalization? A kernel theorycited by 20
- 2024Interaction Asymmetry: A General Principle for Learning Composable Abstractionscited by 20
- 2023ExeDec: Execution Decomposition for Compositional Generalization in Neural Program Synthesiscited by 17
- 2024On The Specialization of Neural Modulescited by 14
- 2024Compositional Risk Minimizationcited by 13
- 2022GAMR: A Guided Attention Model for (visual) Reasoningcited by 12
- 2024Compositional Generalization Across Distributional Shifts with Sparse Tree Operationscited by 5
Built on by
Not cited yet.