What makes Models Compositional? A Theoretical View: With Supplement
Not on the map. Why?
Abstract (arXiv)
Compositionality is thought to be a key component of language, and various compositional benchmarks have been developed to empirically probe the compositional generalization of existing sequence processing models. These benchmarks often highlight failures of existing models, but it is not clear why these models fail in this way. In this paper, we seek to theoretically understand the role the compositional structure of the models plays in these failures and how this structure relates to their expressivity and sample complexity. We propose a general neuro-symbolic definition of compositional functions and their compositional complexity. We then show how various existing general and special purpose sequence processing models (such as recurrent, convolution and attention-based ones) fit this definition and use it to analyze their compositional complexity. Finally, we provide theoretical guarantees for the expressivity and systematic generalization of compositional models that explicitly depend on our proposed definition and highlighting factors which drive poor empirical performance.
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Builds on 27 of its 40 references that are in the map. First posted on arXiv 2 May 2024.
Builds on
27 of 40 references.
References · 27
- 2017Attention Is All You Needcited by 60,361
- 2022Least-to-Most Prompting Enables Complex Reasoning in Large Language Modelscited by 1,407
- 2020Efficient Transformers: A Surveycited by 790
- 2023Faith and Fate: Limits of Transformers on Compositionalitycited by 503
- 2021A Survey of Transformerscited by 401
- 2019Measuring Compositional Generalization: A Comprehensive Method on Realistic Datacited by 284
- 2019Compositionality decomposed: how do neural networks generalise?cited by 265
- 2020COGS: A Compositional Generalization Challenge Based on Semantic Interpretationcited by 263
- 2020Sparse Sinkhorn Attentioncited by 251
- 2017Neural-Symbolic Learning and Reasoning: A Survey and Interpretationcited by 196
- 2021The Devil is in the Detail: Simple Tricks Improve Systematic Generalization of Transformerscited by 117
- 2018Ordered Neurons: Integrating Tree Structures into Recurrent Neural Networkscited by 101
15 more
- 2022Compositional Semantic Parsing with Large Language Modelscited by 95
- 2019Measuring Compositionality in Representation Learningcited by 84
- 2020Learning Compositional Rules via Neural Program Synthesiscited by 74
- 2021Making Transformers Solve Compositional Taskscited by 72
- 2023Compositional Generalization from First Principlescited by 64
- 2021Memory-efficient Transformers via Top-k Attentioncited by 60
- 2017Neural Language Modeling by Jointly Learning Syntax and Lexiconcited by 57
- 2019Compositional generalization in a deep seq2seq model by separating syntax and semanticscited by 56
- 2020Compositional Generalization by Learning Analytical Expressionscited by 53
- 2019Routing Networks and the Challenges of Modular and Compositional Computationcited by 50
- 2019Compositional Generalization for Primitive Substitutionscited by 48
- 2016A Fast Unified Model for Parsing and Sentence Understandingcited by 34
- 2021Learning Algebraic Recombination for Compositional Generalizationcited by 31
- 2022When Can Transformers Ground and Compose: Insights from Compositional Generalization Benchmarkscited by 11
- 2020A Study of Compositional Generalization in Neural Modelscited by 8
Built on by
Citing papers per year: 2024: 4; 2025: 1.
5 papers.
- 2024A Survey on Compositional Learning of AI Models: Theoretical and Experimental Practicescited by 15
- 2024A Complexity-Based Theory of Compositionalitycited by 13
- 2024Quantifying artificial intelligence through algorithmic generalizationcited by 5
- 2025Topos Theory for Generative AI and LLMscited by 2
- 2024Compositional Models for Estimating Causal Effectscited by 0
- 2025Topos Theory for Generative AI and LLMs5 Aug 2025
- 2024Quantifying artificial intelligence through algorithmic generalization8 Nov 2024
- 2024A Complexity-Based Theory of Compositionality18 Oct 2024
- 2024Compositional Models for Estimating Causal Effects25 Jun 2024
- 2024A Survey on Compositional Learning of AI Models: Theoretical and Experimental Practices13 Jun 2024