Memorize or generalize? Searching for a compositional RNN in a haystack
Not on the map. Why?
Abstract (arXiv)
Neural networks are very powerful learning systems, but they do not readily generalize from one task to the other. This is partly due to the fact that they do not learn in a compositional way, that is, by discovering skills that are shared by different tasks, and recombining them to solve new problems. In this paper, we explore the compositional generalization capabilities of recurrent neural networks (RNNs). We first propose the lookup table composition domain as a simple setup to test compositional behaviour and show that it is theoretically possible for a standard RNN to learn to behave compositionally in this domain when trained with standard gradient descent and provided with additional supervision. We then remove this additional supervision and perform a search over a large number of model initializations to investigate the proportion of RNNs that can still converge to a compositional solution. We discover that a small but non-negligible proportion of RNNs do reach partial compositional solutions even without special architectural constraints. This suggests that a combination of gradient descent and evolutionary strategies directly favouring the minority models that developed more compositional approaches might suffice to lead standard RNNs towards compositional solutions.
Key facts. Cited by 41 papers in the map (data through 14 Oct 2026). First posted on arXiv 18 Feb 2018.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 12; 2022: 9; 2023: 7; 2024: 10; 2025: 2; 2026: 1.
41 papers.
Sort:
By area:
- 2021The Devil is in the Detail: Simple Tricks Improve Systematic Generalization of Transformerscited by 117
- 2022State-of-the-art generalisation research in NLP: A taxonomy and reviewcited by 98
- 2021Making Transformers Solve Compositional Taskscited by 72
- 2021The Neural Data Router: Adaptive Control Flow in Transformers Improves Systematic Generalizationcited by 62
- 2022Transformers in Time-series Analysis: A Tutorialcited by 46
- 2021On the proper role of linguistically-oriented deep net analysis in linguistic theorizingcited by 43
- 2021Pointer Value Retrieval: A new benchmark for understanding the limits of neural network generalizationcited by 29
- 2023Compositional Capabilities of Autoregressive Transformers: A Study on Synthetic, Interpretable Taskscited by 22
- 2021Inducing Transformer's Compositional Generalization Ability via Auxiliary Sequence Prediction Taskscited by 19
- 2023Dissecting Chain-of-Thought: Compositionality through In-Context Filtering and Learningcited by 19
- 2021Improving Compositional Generalization in Classification Tasks via Structure Annotationscited by 12
- 2021Compositional Attention: Disentangling Search and Retrievalcited by 12
29 more
- 2022LogicInference: A New Dataset for Teaching Logical Inference to seq2seq Modelscited by 12
- 2022CTL++: Evaluating Generalization on Never-Seen Compositional Patterns of Known Functions, and Compatibility of Neural Representationscited by 12
- 2023The Validity of Evaluation Results: Assessing Concurrence Across Compositionality Benchmarkscited by 12
- 2022Induced Natural Language Rationales and Interleaved Markup Tokens Enable Extrapolation in Large Language Modelscited by 10
- 2023Monotonic Location Attention for Length Generalizationcited by 9
- 2024Benchmarking GPT-4 on Algorithmic Problems: A Systematic Evaluation of Prompting Strategiescited by 9
- 2022Mutual Exclusivity Training and Primitive Augmentation to Induce Compositionalitycited by 8
- 2021On the Interplay Between Fine-tuning and Composition in Transformerscited by 6
- 2021Iterative Decoding for Compositional Generalization in Transformerscited by 6
- 2023Visual Referential Games Further the Emergence of Disentangled Representationscited by 5
- 2022Does Entity Abstraction Help Generative Transformers Reason?cited by 3
- 2024Overcoming classic challenges for artificial neural networks by providing incentives and practicecited by 3
- 2021How Do Neural Sequence Models Generalize? Local and Global Context Cues for Out-of-Distribution Predictioncited by 2
- 2022Meta-Referential Games to Learn Compositional Learning Behaviourscited by 2
- 2024A Neural Rewriting System to Solve Algorithmic Problemscited by 2
- 2024Compositional learning of functions in humans and machinescited by 2
- 2024Attention-based Iterative Decomposition for Tensor Product Representationcited by 2
- 2024IWISDM: Assessing instruction following in multimodal models at scalecited by 2
- 2024From Words to Worlds: Compositionality for Cognitive Architecturescited by 1
- 2024MLissard: Multilingual Long and Simple Sequential Reasoning Benchmarkscited by 1
- 2021Relational Weight Priors in Neural Networks for Abstract Pattern Learning and Language Modellingcited by 0
- 2022A Short Survey of Systematic Generalizationcited by 0
- 2023Self-Organising Neural Discrete Representation Learning `a la Kohonencited by 0
- 2023Modularity Trumps Invariance for Compositional Robustnesscited by 0
- 2024Lissard: Long and Simple Sequential Reasoning Datasetscited by 0
- 2024Discrete Dictionary-based Decomposition Layer for Structured Representation Learningcited by 0
- 2025Iterative In-Context Learning to Enhance LLMs Abstract Reasoning: The Case-Study of Algebraic Taskscited by 0
- 2025Can Constructions "SCAN" Compositionality ?cited by 0
- 2026Generalization in LLM Problem Solving: The Case of the Shortest Pathcited by 0
- 2026Generalization in LLM Problem Solving: The Case of the Shortest Path16 Apr 2026
- 2025Can Constructions "SCAN" Compositionality ?24 Sep 2025
- 2025Iterative In-Context Learning to Enhance LLMs Abstract Reasoning: The Case-Study of Algebraic Tasks1 Sep 2025
- 2024Overcoming classic challenges for artificial neural networks by providing incentives and practice14 Oct 2024
- 2024MLissard: Multilingual Long and Simple Sequential Reasoning Benchmarks8 Oct 2024
- 2024From Words to Worlds: Compositionality for Cognitive Architectures18 Jul 2024
- 2024IWISDM: Assessing instruction following in multimodal models at scale20 Jun 2024
- 2024Discrete Dictionary-based Decomposition Layer for Structured Representation Learning11 Jun 2024
- 2024Attention-based Iterative Decomposition for Tensor Product Representation3 Jun 2024
- 2024Compositional learning of functions in humans and machines18 Mar 2024
- 2024A Neural Rewriting System to Solve Algorithmic Problems27 Feb 2024
- 2024Benchmarking GPT-4 on Algorithmic Problems: A Systematic Evaluation of Prompting Strategies27 Feb 2024
29 more
- 2024Lissard: Long and Simple Sequential Reasoning Datasets12 Feb 2024
- 2023Compositional Capabilities of Autoregressive Transformers: A Study on Synthetic, Interpretable Tasks21 Nov 2023
- 2023The Validity of Evaluation Results: Assessing Concurrence Across Compositionality Benchmarks26 Oct 2023
- 2023Modularity Trumps Invariance for Compositional Robustness15 Jun 2023
- 2023Monotonic Location Attention for Length Generalization31 May 2023
- 2023Dissecting Chain-of-Thought: Compositionality through In-Context Filtering and Learning30 May 2023
- 2023Visual Referential Games Further the Emergence of Disentangled Representations27 Apr 2023
- 2023Self-Organising Neural Discrete Representation Learning `a la Kohonen15 Feb 2023
- 2022Mutual Exclusivity Training and Primitive Augmentation to Induce Compositionality28 Nov 2022
- 2022A Short Survey of Systematic Generalization22 Nov 2022
- 2022CTL++: Evaluating Generalization on Never-Seen Compositional Patterns of Known Functions, and Compatibility of Neural Representations12 Oct 2022
- 2022State-of-the-art generalisation research in NLP: A taxonomy and review6 Oct 2022
- 2022Induced Natural Language Rationales and Interleaved Markup Tokens Enable Extrapolation in Large Language Models24 Aug 2022
- 2022Meta-Referential Games to Learn Compositional Learning Behaviours16 Jul 2022
- 2022Transformers in Time-series Analysis: A Tutorial28 Apr 2022
- 2022LogicInference: A New Dataset for Teaching Logical Inference to seq2seq Models28 Mar 2022
- 2022Does Entity Abstraction Help Generative Transformers Reason?5 Jan 2022
- 2021How Do Neural Sequence Models Generalize? Local and Global Context Cues for Out-of-Distribution Prediction4 Nov 2021
- 2021Compositional Attention: Disentangling Search and Retrieval18 Oct 2021
- 2021The Neural Data Router: Adaptive Control Flow in Transformers Improves Systematic Generalization14 Oct 2021
- 2021Iterative Decoding for Compositional Generalization in Transformers8 Oct 2021
- 2021Inducing Transformer's Compositional Generalization Ability via Auxiliary Sequence Prediction Tasks30 Sep 2021
- 2021The Devil is in the Detail: Simple Tricks Improve Systematic Generalization of Transformers26 Aug 2021
- 2021Making Transformers Solve Compositional Tasks9 Aug 2021
- 2021Pointer Value Retrieval: A new benchmark for understanding the limits of neural network generalization27 Jul 2021
- 2021Improving Compositional Generalization in Classification Tasks via Structure Annotations19 Jun 2021
- 2021On the proper role of linguistically-oriented deep net analysis in linguistic theorizing16 Jun 2021
- 2021On the Interplay Between Fine-tuning and Composition in Transformers31 May 2021
- 2021Relational Weight Priors in Neural Networks for Abstract Pattern Learning and Language Modelling10 Mar 2021
- 2023Dissecting Chain-of-Thought: Compositionality through In-Context Filtering and Learningcited by 19
- 2022Does Entity Abstraction Help Generative Transformers Reason?cited by 3
- 2024MLissard: Multilingual Long and Simple Sequential Reasoning Benchmarkscited by 1
- 2024Lissard: Long and Simple Sequential Reasoning Datasetscited by 0
- 2025Iterative In-Context Learning to Enhance LLMs Abstract Reasoning: The Case-Study of Algebraic Taskscited by 0
- 2025Iterative In-Context Learning to Enhance LLMs Abstract Reasoning: The Case-Study of Algebraic Tasks1 Sep 2025
- 2024MLissard: Multilingual Long and Simple Sequential Reasoning Benchmarks8 Oct 2024
- 2024Lissard: Long and Simple Sequential Reasoning Datasets12 Feb 2024
- 2023Dissecting Chain-of-Thought: Compositionality through In-Context Filtering and Learning30 May 2023
- 2022Does Entity Abstraction Help Generative Transformers Reason?5 Jan 2022
- 2021The Devil is in the Detail: Simple Tricks Improve Systematic Generalization of Transformerscited by 117
- 2022State-of-the-art generalisation research in NLP: A taxonomy and reviewcited by 98
- 2021Making Transformers Solve Compositional Taskscited by 72
- 2021The Neural Data Router: Adaptive Control Flow in Transformers Improves Systematic Generalizationcited by 62
- 2022Transformers in Time-series Analysis: A Tutorialcited by 46
- 2021On the proper role of linguistically-oriented deep net analysis in linguistic theorizingcited by 43
- 2021Pointer Value Retrieval: A new benchmark for understanding the limits of neural network generalizationcited by 29
- 2023Compositional Capabilities of Autoregressive Transformers: A Study on Synthetic, Interpretable Taskscited by 22
- 2021Inducing Transformer's Compositional Generalization Ability via Auxiliary Sequence Prediction Taskscited by 19
- 2021Improving Compositional Generalization in Classification Tasks via Structure Annotationscited by 12
- 2021Compositional Attention: Disentangling Search and Retrievalcited by 12
- 2022LogicInference: A New Dataset for Teaching Logical Inference to seq2seq Modelscited by 12
12 most cited of 36 All 36 (JSON)
- 2026Generalization in LLM Problem Solving: The Case of the Shortest Path16 Apr 2026
- 2025Can Constructions "SCAN" Compositionality ?24 Sep 2025
- 2024Overcoming classic challenges for artificial neural networks by providing incentives and practice14 Oct 2024
- 2024From Words to Worlds: Compositionality for Cognitive Architectures18 Jul 2024
- 2024IWISDM: Assessing instruction following in multimodal models at scale20 Jun 2024
- 2024Discrete Dictionary-based Decomposition Layer for Structured Representation Learning11 Jun 2024
- 2024Attention-based Iterative Decomposition for Tensor Product Representation3 Jun 2024
- 2024Compositional learning of functions in humans and machines18 Mar 2024
- 2024A Neural Rewriting System to Solve Algorithmic Problems27 Feb 2024
- 2024Benchmarking GPT-4 on Algorithmic Problems: A Systematic Evaluation of Prompting Strategies27 Feb 2024
- 2023Compositional Capabilities of Autoregressive Transformers: A Study on Synthetic, Interpretable Tasks21 Nov 2023
- 2023The Validity of Evaluation Results: Assessing Concurrence Across Compositionality Benchmarks26 Oct 2023
12 newest of 36 All 36 (JSON)