Learning Compositional Neural Programs with Recursive Tree Search and Planning
Not on the map. Why?
Abstract (arXiv)
We propose a novel reinforcement learning algorithm, AlphaNPI, that incorporates the strengths of Neural Programmer-Interpreters (NPI) and AlphaZero. NPI contributes structural biases in the form of modularity, hierarchy and recursion, which are helpful to reduce sample complexity, improve generalization and increase interpretability. AlphaZero contributes powerful neural network guided search algorithms, which we augment with recursion. AlphaNPI only assumes a hierarchical program specification with sparse rewards: 1 when the program execution satisfies the specification, and 0 otherwise. Using this specification, AlphaNPI is able to train NPI models effectively with RL for the first time, completely eliminating the need for strong supervision in the form of execution traces. The experiments show that AlphaNPI can sort as well as previous strongly supervised NPI variants. The AlphaNPI agent is also trained on a Tower of Hanoi puzzle with two disks and is shown to generalize to puzzles with an arbitrary number of disk
Key facts. Cited by 17 papers in the map (data through 7 Oct 2026). First posted on arXiv 30 May 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 4; 2022: 3; 2023: 7; 2024: 1; 2025: 1; 2026: 1.
17 papers.
Sort:
By area:
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2023Modular Deep Learningcited by 82
- 2021Evolving Reinforcement Learning Algorithmscited by 48
- 2022How to Reuse and Compose Knowledge for a Lifetime of Tasks: A Survey on Continual Learning and Functional Compositioncited by 27
- 2023Recursion of Thought: A Divide-and-Conquer Approach to Multi-Context Reasoning with Language Modelscited by 24
- 2023Neural Relational Inference with Fast Modular Meta-learningcited by 16
- 2022Synthesizing explainable counterfactual policies for algorithmic recourse with program synthesiscited by 8
- 2023Hierarchical Neural Program Synthesiscited by 7
- 2022Hierarchies of Reward Machinescited by 4
- 2021Learning compositional programs with arguments and samplingcited by 2
- 2025Beyond Fixed Tasks: Unsupervised Environment Design for Task-Level Pairscited by 2
- 2023Optimizing Large Language Models to Expedite the Development of Smart Contractscited by 1
5 more
- 2024Consistency of Compositional Generalization across Multiple Levelscited by 1
- 2026Training Transformers as a Universal Computercited by 1
- 2021Understanding in Artificial Intelligencecited by 0
- 2023Stochastic Code Generationcited by 0
- 2023Artificial Neuropsychology: Are Large Language Models Developing Executive Functions?cited by 0
- 2026Training Transformers as a Universal Computer28 Apr 2026
- 2025Beyond Fixed Tasks: Unsupervised Environment Design for Task-Level Pairs16 Nov 2025
- 2024Consistency of Compositional Generalization across Multiple Levels18 Dec 2024
- 2023Neural Relational Inference with Fast Modular Meta-learning10 Oct 2023
- 2023Optimizing Large Language Models to Expedite the Development of Smart Contracts8 Oct 2023
- 2023Recursion of Thought: A Divide-and-Conquer Approach to Multi-Context Reasoning with Language Models12 Jun 2023
- 2023Artificial Neuropsychology: Are Large Language Models Developing Executive Functions?6 May 2023
- 2023Stochastic Code Generation14 Apr 2023
- 2023Hierarchical Neural Program Synthesis9 Mar 2023
- 2023Modular Deep Learning22 Feb 2023
- 2022How to Reuse and Compose Knowledge for a Lifetime of Tasks: A Survey on Continual Learning and Functional Composition15 Jul 2022
- 2022Hierarchies of Reward Machines31 May 2022
5 more
- 2022Synthesizing explainable counterfactual policies for algorithmic recourse with program synthesis18 Jan 2022
- 2021Learning compositional programs with arguments and sampling1 Sep 2021
- 2021Evaluating Large Language Models Trained on Code7 Jul 2021
- 2021Understanding in Artificial Intelligence17 Jan 2021
- 2021Evolving Reinforcement Learning Algorithms8 Jan 2021
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2023Modular Deep Learningcited by 82
- 2021Evolving Reinforcement Learning Algorithmscited by 48
- 2022How to Reuse and Compose Knowledge for a Lifetime of Tasks: A Survey on Continual Learning and Functional Compositioncited by 27
- 2023Neural Relational Inference with Fast Modular Meta-learningcited by 16
- 2022Synthesizing explainable counterfactual policies for algorithmic recourse with program synthesiscited by 8
- 2023Hierarchical Neural Program Synthesiscited by 7
- 2022Hierarchies of Reward Machinescited by 4
- 2021Learning compositional programs with arguments and samplingcited by 2
- 2025Beyond Fixed Tasks: Unsupervised Environment Design for Task-Level Pairscited by 2
- 2023Optimizing Large Language Models to Expedite the Development of Smart Contractscited by 1
- 2024Consistency of Compositional Generalization across Multiple Levelscited by 1
12 most cited of 16 All 16 (JSON)
- 2026Training Transformers as a Universal Computer28 Apr 2026
- 2025Beyond Fixed Tasks: Unsupervised Environment Design for Task-Level Pairs16 Nov 2025
- 2024Consistency of Compositional Generalization across Multiple Levels18 Dec 2024
- 2023Neural Relational Inference with Fast Modular Meta-learning10 Oct 2023
- 2023Optimizing Large Language Models to Expedite the Development of Smart Contracts8 Oct 2023
- 2023Artificial Neuropsychology: Are Large Language Models Developing Executive Functions?6 May 2023
- 2023Stochastic Code Generation14 Apr 2023
- 2023Hierarchical Neural Program Synthesis9 Mar 2023
- 2023Modular Deep Learning22 Feb 2023
- 2022How to Reuse and Compose Knowledge for a Lifetime of Tasks: A Survey on Continual Learning and Functional Composition15 Jul 2022
- 2022Hierarchies of Reward Machines31 May 2022
- 2022Synthesizing explainable counterfactual policies for algorithmic recourse with program synthesis18 Jan 2022
12 newest of 16 All 16 (JSON)