mlsanityData to 7 Oct 2026

Hierarchical Neural Program Synthesis

arXiv 2303.06018 ↗First posted 9 Mar 2023cs.SE cs.AI cs.LGcited by 7

Not on the map. Why?

Abstract (arXiv)

Program synthesis aims to automatically construct human-readable programs that satisfy given task specifications, such as input/output pairs or demonstrations. Recent works have demonstrated encouraging results in a variety of domains, such as string transformation, tensor manipulation, and describing behaviors of embodied agents. Most existing program synthesis methods are designed to synthesize programs from scratch, generating a program token by token, line by line. This fundamentally prevents these methods from scaling up to synthesize programs that are longer or more complex. In this work, we present a scalable program synthesis framework that instead synthesizes a program by hierarchically composing programs. Specifically, we first learn a task embedding space and a program decoder that can decode a task embedding into a program. Then, we train a high-level module to comprehend the task specification (e.g., input/output pairs or demonstrations) from long programs and produce a sequence of task embeddings, which are then decoded by the program decoder and composed to yield the synthesized program. We extensively evaluate our proposed framework in a string transformation domain with input/output pairs. The experimental results demonstrate that the proposed framework can synthesize programs that are significantly longer and more complex than the programs considered in prior program synthesis works. Website at https://thoughtp0lice.github.io/hnps_web/

Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Builds on 31 of its 53 references that are in the map. First posted on arXiv 9 Mar 2023.

Builds on

31 of 53 references.

References · 31

  1. 2017Attention Is All You Needcited by 59,932
  2. 2022Competition-Level Code Generation with AlphaCodecited by 1,427
  3. 2014Neural Turing Machinescited by 630
  4. 2018Programmatically Interpretable Reinforcement Learningcited by 192
  5. 2020DreamCoder: Growing generalizable, interpretable knowledge with wake-sleep Bayesian program learningcited by 159
  6. 2016DeepCoder: Learning to Write Programscited by 145
  7. 2017RobustFill: Neural Program Learning under Noisy I/Ocited by 124
  8. 2015Neural GPUs Learn Algorithmscited by 118
  9. 2018NL2Bash: A Corpus and Semantic Parser for Natural Language Interface to the Linux Operating Systemcited by 97
  10. 2015Neural Programmer-Interpreterscited by 96
  11. 2019Write, Execute, Assess: Program Synthesis with a REPLcited by 92
  12. 2016Neuro-Symbolic Program Synthesiscited by 84
19 more
  1. 2018Leveraging Grammar and Reinforcement Learning for Neural Program Synthesiscited by 83
  2. 2017Neural Task Programming: Learning to Generalize Across Hierarchical Taskscited by 75
  3. 2021Learning to Synthesize Programs as Interpretable and Generalizable Policiescited by 59
  4. 2017Making Neural Programming Architectures Generalize via Recursioncited by 35
  5. 2016Programming with a Differentiable Forth Interpretercited by 33
  6. 2015Neural Programmer: Inducing Latent Programs with Gradient Descentcited by 32
  7. 2016Differentiable Programs with Neural Librariescited by 30
  8. 2019Few-Shot Bayesian Imitation Learning with Logical Program Policiescited by 30
  9. 2020BUSTLE: Bottom-Up Program Synthesis Through Learning-Guided Explorationcited by 30
  10. 2018Neural Program Synthesis with Priority Queue Trainingcited by 24
  11. 2017Neural Program Meta-Inductioncited by 23
  12. 2018Beyond imitation: Zero-shot task transfer on robots by learning concepts as cognitive programscited by 21
  13. 2023Hierarchical Programmatic Reinforcement Learning via Learning to Compose Programscited by 20
  14. 2020Latent Programmer: Discrete Latent Codes for Program Synthesiscited by 18
  15. 2019Learning Compositional Neural Programs with Recursive Tree Search and Planningcited by 17
  16. 2015Learning Simple Algorithms from Examplescited by 12
  17. 2019From explanation to synthesis: Compositional program induction for learning from demonstrationcited by 9
  18. 2022Compositional Generalization and Decomposition in Neural Program Synthesiscited by 6
  19. 2018Improving the Universality and Learnability of Neural Programmer-Interpreters with Combinator Abstractioncited by 3

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 3; 2024: 3; 2025: 0; 2026: 1.

7 papers.