Inferring Algorithmic Patterns with Stack-Augmented Recurrent Nets
Not on the map. Why?
Abstract (arXiv)
Despite the recent achievements in machine learning, we are still very far from achieving real artificial intelligence. In this paper, we discuss the limitations of standard deep learning approaches and show that some of these limitations can be overcome by learning how to grow the complexity of a model in a structured way. Specifically, we study the simplest sequence prediction problems that are beyond the scope of what is learnable with standard recurrent networks, algorithmically generated sequences which can only be learned by models which have the capacity to count and to memorize sequences. We show that some basic algorithms can be learned from sequential data using a recurrent network associated with a trainable memory.
Key facts. Cited by 76 papers in the map (data through 7 Oct 2026). First posted on arXiv 3 Mar 2015.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2019: 1; 2020: 2; 2021: 19; 2022: 12; 2023: 18; 2024: 13; 2025: 9; 2026: 2.
76 papers.
Sort:
By area:
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2022Least-to-Most Prompting Enables Complex Reasoning in Large Language Modelscited by 1,397
- 2022CodeRL: Mastering Code Generation through Pretrained Models and Deep Reinforcement Learningcited by 342
- 2022Neural Networks and the Chomsky Hierarchycited by 214
- 2022Recurrent Memory Transformercited by 197
- 2022Scalable Adaptive Computation for Iterative Generationcited by 190
- 2021Thinking Like Transformerscited by 182
- 2023Birth of a Transformer: A Memory Viewpointcited by 154
- 2025Dynamic Cheatsheet: Test-Time Learning with Adaptive Memorycited by 146
- 2021Investigating the Limitations of Transformers with Simple Arithmetic Taskscited by 136
- 2023Scaling Transformer to 1M tokens and beyond with RMTcited by 97
- 2023Length Generalization in Arithmetic Transformerscited by 64
38 more
- 2024Understanding Transformer Reasoning Capabilities via Graph Algorithmscited by 64
- 2021Personalized Federated Learning through Local Memorizationcited by 57
- 2021Attention, please! A survey of Neural Attention Models in Deep Learningcited by 50
- 2021ABC: Attention with Bounded-memory Controlcited by 36
- 2022Fine-tuning Image Transformers using Learnable Memorycited by 34
- 2024Learning Universal Predictorscited by 29
- 2021Artificial Intelligence in Drug Discovery: Applications and Techniquescited by 28
- 2021Minimum Description Length Recurrent Neural Networkscited by 23
- 2023Practical Computational Power of Linear Transformers and Their Recurrent and Self-Referential Extensionscited by 20
- 2022Deep Reinforcement Learning for Inverse Inorganic Materials Designcited by 18
- 2023Pushdown Layers: Encoding Recursive Structure in Transformer Language Modelscited by 18
- 2023Stack Attention: Improving the Ability of Transformers to Model Hierarchical Patternscited by 17
- 2021Learning Hierarchical Structures with Differentiable Nondeterministic Stackscited by 16
- 2022GALOIS: Boosting Deep Reinforcement Learning via Generalizable Logic Synthesiscited by 16
- 2024Memory Mosaicscited by 16
- 2024On the Expressiveness and Length Generalization of Selective State-Space Models on Regular Languagescited by 15
- 2021UnweaveNet: Unweaving Activity Storiescited by 14
- 2023Memory-Based Meta-Learning on Non-Stationary Distributionscited by 14
- 2024Bridging the Empirical-Theoretical Gap in Neural Network Formal Language Learning Using Minimum Description Lengthcited by 14
- 2022A Call for Clarity in Beam Search: How It Works and When It Stopscited by 10
- 2022Induced Natural Language Rationales and Interleaved Markup Tokens Enable Extrapolation in Large Language Modelscited by 10
- 2024On the Markov Property of Neural Algorithmic Reasoning: Analyses and Methodscited by 10
- 2021Can RNNs learn Recursive Nested Subject-Verb Agreements?cited by 9
- 2021pix2rule: End-to-end Neuro-symbolic Rule Learningcited by 9
- 2023Recursive Algorithmic Reasoningcited by 9
- 2021Recognizing and Verifying Mathematical Equations using Multiplicative Differential Neural Unitscited by 8
- 2023On the Computational Complexity and Formal Hierarchy of Second Order Recurrent Neural Networkscited by 8
- 2021∞-former: Infinite Memory Transformercited by 7
- 2021Learning Bounded Context-Free-Grammar via LSTM and the Transformer:Difference and Explanationscited by 7
- 2023Neural Priority Queues for Graph Neural Networkscited by 7
- 2024Dependency Transformer Grammars: Integrating Dependency Structures into Transformer Language Modelscited by 7
- 2022The Surprising Computational Power of Nondeterministic Stack RNNscited by 6
- 2023Language models in molecular discoverycited by 6
- 2019Hierarchical Variational Imitation Learning of Control Programscited by 5
- 2021Neural Sequence-to-grid Module for Learning Symbolic Rulescited by 5
- 2021Evolutionary Training and Abstraction Yields Algorithmic Generalization of Neural Computerscited by 5
- 2023Differentiable Tree Operations Promote Compositional Generalizationcited by 5
- 2024Compositional Generalization Across Distributional Shifts with Sparse Tree Operationscited by 5
50 most cited of 76 All 76 (JSON)
- 2026Typological Alignment of Stack-Based Language Models on Mildly Context-Sensitive Artificial Languages1 Oct 2026
- 2026Transcript-Managed Transformers: Monotone Multi-Agent Collapse and Universality with Two Pop-Enabled Transcripts31 Jul 2026
- 2025Exact Learning of Arithmetic with Differentiable Agents27 Nov 2025
- 2025Bearing Syntactic Fruit with Stack-Augmented Neural Networks5 Nov 2025
- 2025To Infinity and Beyond: Tool-Use Unlocks Length Generalization in State Space Models16 Oct 2025
- 2025StackTrans: From Large Language Model to Large Pushdown Automata Model21 Jul 2025
- 2025A Systematic Study of Compositional Syntactic Transformer Language Models28 Jun 2025
- 2025Common Benchmarks Undervalue the Generalization Power of Programmatic Policies17 Jun 2025
- 2025Position as Probability: Self-Supervised Transformers that Think Past Their Training for Length Extrapolation1 Jun 2025
- 2025Dynamic Cheatsheet: Test-Time Learning with Adaptive Memory10 Apr 2025
- 2025Emergent Stack Representations in Modeling Counter Languages Using Transformers3 Feb 2025
- 2024On the Expressiveness and Length Generalization of Selective State-Space Models on Regular Languages26 Dec 2024
38 more
- 2024Compositional Generalization Across Distributional Shifts with Sparse Tree Operations18 Dec 2024
- 2024Exploring Learnability in Memory-Augmented Recurrent Neural Networks: Precision, Stability, and Empirical Insights4 Oct 2024
- 2024Dependency Transformer Grammars: Integrating Dependency Structures into Transformer Language Models24 Jul 2024
- 2024Learning Program Behavioral Models from Synthesized Input-Output Pairs11 Jul 2024
- 2024Understanding Transformer Reasoning Capabilities via Graph Algorithms28 May 2024
- 2024Memory Mosaics10 May 2024
- 2024A Transformer with Stack Attention7 May 2024
- 2024On the Markov Property of Neural Algorithmic Reasoning: Analyses and Methods7 Mar 2024
- 2024MemoryPrompt: A Light Wrapper to Improve Context Tracking in Pre-trained Language Models23 Feb 2024
- 2024Neuro-mimetic Task-free Unsupervised Online Learning with Continual Self-Organizing Maps19 Feb 2024
- 2024Bridging the Empirical-Theoretical Gap in Neural Network Formal Language Learning Using Minimum Description Length15 Feb 2024
- 2024Learning Universal Predictors26 Jan 2024
- 2023Style Locality for Controllable Generation with kNN Language Models1 Nov 2023
- 2023Pushdown Layers: Encoding Recursive Structure in Transformer Language Models29 Oct 2023
- 2023Practical Computational Power of Linear Transformers and Their Recurrent and Self-Referential Extensions24 Oct 2023
- 2023Stack Attention: Improving the Ability of Transformers to Model Hierarchical Patterns3 Oct 2023
- 2023A Framework for Inference Inspired by Human Memory Mechanisms1 Oct 2023
- 2023Language models in molecular discovery28 Sep 2023
- 2023On the Computational Complexity and Formal Hierarchy of Second Order Recurrent Neural Networks26 Sep 2023
- 2023Benchmarking Neural Network Generalization for Grammar Induction16 Aug 2023
- 2023Neural Priority Queues for Graph Neural Networks18 Jul 2023
- 2023Recursive Algorithmic Reasoning1 Jul 2023
- 2023Length Generalization in Arithmetic Transformers27 Jun 2023
- 2023A Comprehensive Review of State-of-The-Art Methods for Java Code Generation from Natural Language Text10 Jun 2023
- 2023Birth of a Transformer: A Memory Viewpoint1 Jun 2023
- 2023Differentiable Tree Operations Promote Compositional Generalization1 Jun 2023
- 2023Scaling Transformer to 1M tokens and beyond with RMT19 Apr 2023
- 2023Theoretical Conditions and Empirical Failure of Bracket Counting on Long Sequences with Linear Recurrent Networks7 Apr 2023
- 2023Neural Attention Memory18 Feb 2023
- 2023Memory-Based Meta-Learning on Non-Stationary Distributions6 Feb 2023
- 2022Scalable Adaptive Computation for Iterative Generation22 Dec 2022
- 2022Deep Reinforcement Learning for Inverse Inorganic Materials Design21 Oct 2022
- 2022The Surprising Computational Power of Nondeterministic Stack RNNs4 Oct 2022
- 2022Benchmarking Learning Efficiency in Deep Reservoir Computing29 Sep 2022
- 2022Induced Natural Language Rationales and Interleaved Markup Tokens Enable Extrapolation in Large Language Models24 Aug 2022
- 2022Recurrent Memory Transformer14 Jul 2022
- 2022Neural Networks and the Chomsky Hierarchy5 Jul 2022
- 2022CodeRL: Mastering Code Generation through Pretrained Models and Deep Reinforcement Learning5 Jul 2022
50 newest of 76 All 76 (JSON)
- 2022Scalable Adaptive Computation for Iterative Generationcited by 190
- 2022Scalable Adaptive Computation for Iterative Generation22 Dec 2022
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2022CodeRL: Mastering Code Generation through Pretrained Models and Deep Reinforcement Learningcited by 342
- 2022Neural Networks and the Chomsky Hierarchycited by 214
- 2022Recurrent Memory Transformercited by 197
- 2021Thinking Like Transformerscited by 182
- 2023Birth of a Transformer: A Memory Viewpointcited by 154
- 2025Dynamic Cheatsheet: Test-Time Learning with Adaptive Memorycited by 146
- 2021Investigating the Limitations of Transformers with Simple Arithmetic Taskscited by 136
- 2023Scaling Transformer to 1M tokens and beyond with RMTcited by 97
- 2023Length Generalization in Arithmetic Transformerscited by 64
- 2021Personalized Federated Learning through Local Memorizationcited by 57
- 2021Attention, please! A survey of Neural Attention Models in Deep Learningcited by 50
- 2021ABC: Attention with Bounded-memory Controlcited by 36
12 most cited of 69 All 69 (JSON)
- 2026Typological Alignment of Stack-Based Language Models on Mildly Context-Sensitive Artificial Languages1 Oct 2026
- 2026Transcript-Managed Transformers: Monotone Multi-Agent Collapse and Universality with Two Pop-Enabled Transcripts31 Jul 2026
- 2025Exact Learning of Arithmetic with Differentiable Agents27 Nov 2025
- 2025Bearing Syntactic Fruit with Stack-Augmented Neural Networks5 Nov 2025
- 2025To Infinity and Beyond: Tool-Use Unlocks Length Generalization in State Space Models16 Oct 2025
- 2025StackTrans: From Large Language Model to Large Pushdown Automata Model21 Jul 2025
- 2025A Systematic Study of Compositional Syntactic Transformer Language Models28 Jun 2025
- 2025Common Benchmarks Undervalue the Generalization Power of Programmatic Policies17 Jun 2025
- 2025Position as Probability: Self-Supervised Transformers that Think Past Their Training for Length Extrapolation1 Jun 2025
- 2025Dynamic Cheatsheet: Test-Time Learning with Adaptive Memory10 Apr 2025
- 2025Emergent Stack Representations in Modeling Counter Languages Using Transformers3 Feb 2025
- 2024Compositional Generalization Across Distributional Shifts with Sparse Tree Operations18 Dec 2024
12 newest of 69 All 69 (JSON)