Compositional Processing Emerges in Neural Networks Solving Math Problems
Not on the map. Why?
Abstract (arXiv)
A longstanding question in cognitive science concerns the learning mechanisms underlying compositionality in human cognition. Humans can infer the structured relationships (e.g., grammatical rules) implicit in their sensory observations (e.g., auditory speech), and use this knowledge to guide the composition of simpler meanings into complex wholes. Recent progress in artificial neural networks has shown that when large models are trained on enough linguistic data, grammatical structure emerges in their representations. We extend this work to the domain of mathematical reasoning, where it is possible to formulate precise hypotheses about how meanings (e.g., the quantities corresponding to numerals) should be composed according to structured rules (e.g., order of operations). Our work shows that neural networks are not only able to infer something about the structured relationships implicit in their training data, but can also deploy this knowledge to guide the composition of individual meanings into composite wholes.
Key facts. Cited by 11 papers in the map (data through 14 Oct 2026). Builds on 7 of its 20 references that are in the map. First posted on arXiv 19 May 2021.
Builds on
7 of 20 references.
References · 7
- 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
- 2019BERT Rediscovers the Classical NLP Pipelinecited by 1,059
- 2019Analysing Mathematical Reasoning Abilities of Neural Modelscited by 335
- 2020Syntactic Structure from Deep Learningcited by 99
- 2019Enhancing the Transformer with Explicit Relational Encoding for Math Problem Solvingcited by 35
Built on by
Citing papers per year: 2021: 1; 2022: 5; 2023: 1; 2024: 3; 2025: 0; 2026: 1.
11 papers.
- 2022Does CLIP Bind Concepts? Probing Compositionality in Large Image Modelscited by 102
- 2021Pointer Value Retrieval: A new benchmark for understanding the limits of neural network generalizationcited by 29
- 2024Limits of Transformer Language Models on Learning to Compose Algorithmscited by 13
- 2022Are Representations Built from the Ground Up? An Empirical Examination of Local Composition in Language Modelscited by 9
- 2024Skews in the Phenomenon Space Hinder Generalization in Text-to-Image Generationcited by 8
- 2024From Frege to chatGPT: Compositionality in language, cognition, and deep neural networkscited by 7
- 2023Recursive Neural Networks with Bottlenecks Diagnose (Non-)Compositionalitycited by 3
- 2022Semantic Representations of Mathematical Expressions in a Continuous Vector Spacecited by 2
- 2026Representational Homomorphism Predicts and Improves Compositional Generalization In Transformer Language Modelcited by 2
- 2022An Application of Pseudo-Log-Likelihoods to Natural Language Scoringcited by 1
- 2022Solving Reasoning Tasks with a Slot Transformercited by 1
- 2026Representational Homomorphism Predicts and Improves Compositional Generalization In Transformer Language Model26 Jan 2026
- 2024From Frege to chatGPT: Compositionality in language, cognition, and deep neural networks24 May 2024
- 2024Skews in the Phenomenon Space Hinder Generalization in Text-to-Image Generation25 Mar 2024
- 2024Limits of Transformer Language Models on Learning to Compose Algorithms8 Feb 2024
- 2023Recursive Neural Networks with Bottlenecks Diagnose (Non-)Compositionality31 Jan 2023
- 2022Does CLIP Bind Concepts? Probing Compositionality in Large Image Models20 Dec 2022
- 2022Solving Reasoning Tasks with a Slot Transformer20 Oct 2022
- 2022Semantic Representations of Mathematical Expressions in a Continuous Vector Space8 Oct 2022
- 2022Are Representations Built from the Ground Up? An Empirical Examination of Local Composition in Language Models7 Oct 2022
- 2022An Application of Pseudo-Log-Likelihoods to Natural Language Scoring23 Jan 2022
- 2021Pointer Value Retrieval: A new benchmark for understanding the limits of neural network generalization27 Jul 2021