mlsanityData to 7 Oct 2026

LambdaBeam: Neural Program Search with Higher-Order Functions and Lambdas

arXiv 2306.02049 ↗First posted 3 Jun 2023cs.LG cs.PLcited by 6

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

  1. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  2. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
  3. 2015Pointer Networkscited by 882
  4. 2017A Survey of Machine Learning for Big Code and Naturalnesscited by 220
  5. 2016DeepCoder: Learning to Write Programscited by 145
  6. 2017RobustFill: Neural Program Learning under Noisy I/Ocited by 124
  7. 2019Write, Execute, Assess: Program Synthesis with a REPLcited by 92
  8. 2015Learning to Search Better Than Your Teachercited by 50
  9. 2019Learning to Infer Program Sketchescited by 44
  10. 2021Latent Execution for Neural Program Synthesiscited by 35
  11. 2020BUSTLE: Bottom-Up Program Synthesis Through Learning-Guided Explorationcited by 30
  12. 2020TF-Coder: Program Synthesis for Tensor Manipulationscited by 27
11 more
  1. 2018Automatic Program Synthesis of Long Programs with a Learned Garbage Collectorcited by 24
  2. 2020Incremental Sampling Without Replacement for Sequence Modelscited by 23
  3. 2020Just-in-Time Learning for Bottom-Up Enumerative Synthesiscited by 18
  4. 2020Latent Programmer: Discrete Latent Codes for Program Synthesiscited by 18
  5. 2022CrossBeam: Learning to Search in Bottom-Up Program Synthesiscited by 18
  6. 2020Learning to Represent Programs with Property Signaturescited by 16
  7. 2018The Three Pillars of Machine Programmingcited by 12
  8. 2018FrAngel: Component-Based Synthesis with Control Structurescited by 10
  9. 2018Learning Beam Search Policies via Imitation Learningcited by 9
  10. 2021Learning to Combine Per-Example Solutions for Neural Program Synthesiscited by 8
  11. 2020An Empirical Investigation of Beam-Aware Training in Supertaggingcited by 3

Built on by

Cited by year (2026 to 7 Oct)

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

6 papers.