From Frege to chatGPT: Compositionality in language, cognition, and deep neural networks
Not on the map. Why?
Abstract (arXiv)
Compositionality has long been considered a key explanatory property underlying human intelligence: arbitrary concepts can be composed into novel complex combinations, permitting the acquisition of an open ended, potentially infinite expressive capacity from finite learning experiences. Influential arguments have held that neural networks fail to explain this aspect of behavior, leading many to dismiss them as viable models of human cognition. Over the last decade, however, modern deep neural networks (DNNs), which share the same fundamental design principles as their predecessors, have come to dominate artificial intelligence, exhibiting the most advanced cognitive behaviors ever demonstrated in machines. In particular, large language models (LLMs), DNNs trained to predict the next word on a large corpus of text, have proven capable of sophisticated behaviors such as writing syntactically complex sentences without grammatical errors, producing cogent chains of reasoning, and even writing original computer programs -- all behaviors thought to require compositional processing. In this chapter, we survey recent empirical work from machine learning for a broad audience in philosophy, cognitive science, and neuroscience, situating recent breakthroughs within the broader context of philosophical arguments about compositionality. In particular, our review emphasizes two approaches to endowing neural networks with compositional generalization capabilities: (1) architectural inductive biases, and (2) metalearning, or learning to learn. We also present findings suggesting that LLM pretraining can be understood as a kind of metalearning, and can thereby equip DNNs with compositional generalization abilities in a similar way. We conclude by discussing the implications that these findings may have for the study of compositionality in human cognition and by suggesting avenues for future research.
Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). Builds on 128 of its 334 references that are in the map. First posted on arXiv 24 May 2024.
Builds on
128 of 334 references.
References · 128
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2020Scaling Laws for Neural Language Modelscited by 6,586
- 2017Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networkscited by 4,897
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,548
- 2022Large Language Models are Zero-Shot Reasonerscited by 4,374
- 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,780
38 more
- 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,211
- 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,918
- 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,592
- 2022Emergent Abilities of Large Language Modelscited by 2,512
- 2018Deep contextualized word representationscited by 2,290
- 2022Large Language Models Encode Clinical Knowledgecited by 1,830
- 2019Explainable Artificial Intelligence (XAI): Concepts, Taxonomies, Opportunities and Challenges toward Responsible AIcited by 1,552
- 2016CLEVR: A Diagnostic Dataset for Compositional Language and Elementary Visual Reasoningcited by 1,457
- 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
- 2022Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 smallcited by 1,165
- 2023Language Models Don't Always Say What They Think: Unfaithful Explanations in Chain-of-Thought Promptingcited by 1,122
- 2022Measuring and Narrowing the Compositionality Gap in Language Modelscited by 1,075
- 2022In-context Learning and Induction Headscited by 964
- 2020Meta-Learning in Neural Networks: A Surveycited by 950
- 2021An Explanation of In-context Learning as Implicit Bayesian Inferencecited by 938
- 2021Show Your Work: Scratchpads for Intermediate Computation with Language Modelscited by 886
- 2023Towards Automated Circuit Discovery for Mechanistic Interpretabilitycited by 724
- 2016The Mythos of Model Interpretabilitycited by 721
- 2023Measuring Faithfulness in Chain-of-Thought Reasoningcited by 703
- 2023Scaling Vision Transformers to 22 Billion Parameterscited by 694
- 2022Towards Reasoning in Large Language Models: A Surveycited by 596
- 2016RL2: Fast Reinforcement Learning via Slow Reinforcement Learningcited by 503
- 2023Faith and Fate: Limits of Transformers on Compositionalitycited by 503
- 2022Multimodal Learning with Transformers: A Surveycited by 400
- 2015Neural Module Networkscited by 376
- 2019The Neuro-Symbolic Concept Learner: Interpreting Scenes, Words, and Sentences From Natural Supervisioncited by 372
- 2019Analysing Mathematical Reasoning Abilities of Neural Modelscited by 335
- 2021Do Prompt-Based Models Really Understand the Meaning of their Prompts?cited by 326
- 2022Data Distributional Properties Drive Emergent In-Context Learning in Transformerscited by 309
- 2023Function Vectors in Large Language Modelscited by 308
- 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
- 2019Risks from Learned Optimization in Advanced Machine Learning Systemscited by 258
- 2023SugarCrepe: Fixing Hackable Benchmarks for Vision-Language Compositionalitycited by 243
- 2022Emergent Analogical Reasoning in Large Language Modelscited by 240
- 2023What Algorithms can Transformers Learn? A Study in Length Generalizationcited by 199
50 most cited of 128 All 128 (JSON)
Built on by
Citing papers per year: 2024: 2; 2025: 3; 2026: 2.
7 papers.
- 2025Cognitive Foundations for Reasoning and Their Manifestation in LLMscited by 26
- 2025Simulating Society Requires Simulating Thoughtcited by 13
- 2024Quantifying artificial intelligence through algorithmic generalizationcited by 5
- 2024Overcoming classic challenges for artificial neural networks by providing incentives and practicecited by 3
- 2026CtD: Composition through Decomposition in Emergent Communicationcited by 1
- 2025Disassociating performance from compositional feature learningcited by 0
- 2026OOD Generalization as a Bifurcation Problemcited by 0
- 2026OOD Generalization as a Bifurcation Problem27 Sep 2026
- 2026CtD: Composition through Decomposition in Emergent Communication15 Jan 2026
- 2025Cognitive Foundations for Reasoning and Their Manifestation in LLMs20 Nov 2025
- 2025Simulating Society Requires Simulating Thought8 Jun 2025
- 2025Disassociating performance from compositional feature learning14 May 2025
- 2024Quantifying artificial intelligence through algorithmic generalization8 Nov 2024
- 2024Overcoming classic challenges for artificial neural networks by providing incentives and practice14 Oct 2024