LambdaBeam: Neural Program Search with Higher-Order Functions and Lambdas
Not on the map. Why?
Abstract (arXiv)
Search is an important technique in program synthesis that allows for adaptive strategies such as focusing on particular search directions based on execution results. Several prior works have demonstrated that neural models are effective at guiding program synthesis searches. However, a common drawback of those approaches is the inability to handle iterative loops, higher-order functions, or lambda functions, thus limiting prior neural searches from synthesizing longer and more general programs. We address this gap by designing a search algorithm called LambdaBeam that can construct arbitrary lambda functions that compose operations within a given DSL. We create semantic vector representations of the execution behavior of the lambda functions and train a neural policy network to choose which lambdas to construct during search, and pass them as arguments to higher-order functions to perform looping computations. Our experiments show that LambdaBeam outperforms neural, symbolic, and LLM-based techniques in an integer list manipulation domain.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 23 of its 42 references that are in the map. First posted on arXiv 3 Jun 2023.
Builds on
23 of 42 references.
References · 23
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
- 2015Pointer Networkscited by 882
- 2017A Survey of Machine Learning for Big Code and Naturalnesscited by 220
- 2016DeepCoder: Learning to Write Programscited by 145
- 2017RobustFill: Neural Program Learning under Noisy I/Ocited by 124
- 2019Write, Execute, Assess: Program Synthesis with a REPLcited by 92
- 2015Learning to Search Better Than Your Teachercited by 50
- 2019Learning to Infer Program Sketchescited by 44
- 2021Latent Execution for Neural Program Synthesiscited by 35
- 2020BUSTLE: Bottom-Up Program Synthesis Through Learning-Guided Explorationcited by 30
- 2020TF-Coder: Program Synthesis for Tensor Manipulationscited by 27
11 more
- 2018Automatic Program Synthesis of Long Programs with a Learned Garbage Collectorcited by 24
- 2020Incremental Sampling Without Replacement for Sequence Modelscited by 23
- 2020Just-in-Time Learning for Bottom-Up Enumerative Synthesiscited by 18
- 2020Latent Programmer: Discrete Latent Codes for Program Synthesiscited by 18
- 2022CrossBeam: Learning to Search in Bottom-Up Program Synthesiscited by 18
- 2020Learning to Represent Programs with Property Signaturescited by 16
- 2018The Three Pillars of Machine Programmingcited by 12
- 2018FrAngel: Component-Based Synthesis with Control Structurescited by 10
- 2018Learning Beam Search Policies via Imitation Learningcited by 9
- 2021Learning to Combine Per-Example Solutions for Neural Program Synthesiscited by 8
- 2020An Empirical Investigation of Beam-Aware Training in Supertaggingcited by 3
Built on by
Citing papers per year: 2024: 2; 2025: 3; 2026: 1.
6 papers.
- 2024Is Programming by Example solved by LLMs?cited by 27
- 2024AbstractBeam: Enhancing Bottom-Up Program Synthesis using Library Learningcited by 2
- 2025Shedding Light in Task Decomposition in Program Synthesis: The Driving Force of the Synthesizer Modelcited by 2
- 2025Beyond Either-Or Reasoning: Transduction and Induction as Cooperative Problem-Solving Paradigmscited by 1
- 2025Bayesian Inverse Physics for Neuro-Symbolic Robot Learningcited by 0
- 2026Solver-Aware Decompositions for Programming-by-Example: When Dividing Requires Knowing how to Conquercited by 0
- 2026Solver-Aware Decompositions for Programming-by-Example: When Dividing Requires Knowing how to Conquer4 Aug 2026
- 2025Bayesian Inverse Physics for Neuro-Symbolic Robot Learning10 Jun 2025
- 2025Beyond Either-Or Reasoning: Transduction and Induction as Cooperative Problem-Solving Paradigms20 May 2025
- 2025Shedding Light in Task Decomposition in Program Synthesis: The Driving Force of the Synthesizer Model11 Mar 2025
- 2024Is Programming by Example solved by LLMs?12 Jun 2024
- 2024AbstractBeam: Enhancing Bottom-Up Program Synthesis using Library Learning27 May 2024