Lune

ICLR2022Top-tier venue

CrossBeam: Learning to Search in Bottom-Up Program Synthesis

Kensen Shi, Hanjun Dai, Kevin Ellis, Charles Sutton

Abstract

Many approaches to program synthesis perform a search within an enormous space of programs to find one that satisfies a given specification. Prior works have used neural models to guide combinatorial search algorithms, but such approaches still explore a huge portion of the search space and quickly become intractable as the size of the desired program increases. To tame the search space blowup, we propose training a neural model to learn a hands-on search policy for bottom-up synthesis, instead of relying on a combinatorial search algorithm. Our approach, called CROSSBEAM, uses the neural model to choose how to combine previouslyexplored programs into new programs, taking into account the search history and partial program executions. Motivated by work in structured prediction on learning to search, CROSSBEAM is trained on-policy using data extracted from its own bottom-up searches on training tasks. We evaluate CROSSBEAM in two very different domains, string manipulation and logic programming. We observe that CROSSBEAM learns to search efficiently, exploring much smaller portions of the program space compared to the state-of-the-art.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

14 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • ExeDec: Execution Decomposition for Compositional Generalization in Neural Program Synthesis cites Just-in-time learning for bottom-up enumerative synthesis
  • ExeDec: Execution Decomposition for Compositional Generalization in Neural Program Synthesis cites Learning to Represent Programs with Property Signatures
  • ExeDec: Execution Decomposition for Compositional Generalization in Neural Program Synthesis cites BUSTLE: Bottom-Up Program Synthesis Through Learning-Guided Exploration
  • Hypothesis Search: Inductive Reasoning with Language Models cites BUSTLE: Bottom-Up Program Synthesis Through Learning-Guided Exploration
  • NExT: Teaching Large Language Models to Reason about Code Execution cites ExeDec: Execution Decomposition for Compositional Generalization in Neural Program Synthesis
  • Is Programming by Example Solved by LLMs? cites Just-in-time learning for bottom-up enumerative synthesis
  • Is Programming by Example Solved by LLMs? cites Hypothesis Search: Inductive Reasoning with Language Models
  • Is Programming by Example Solved by LLMs? cites NExT: Teaching Large Language Models to Reason about Code Execution
  • HYSYNTH: Context-Free LLM Approximation for Guiding Program Synthesis cites Just-in-time learning for bottom-up enumerative synthesis
  • HYSYNTH: Context-Free LLM Approximation for Guiding Program Synthesis cites Hypothesis Search: Inductive Reasoning with Language Models
  • HYSYNTH: Context-Free LLM Approximation for Guiding Program Synthesis cites BUSTLE: Bottom-Up Program Synthesis Through Learning-Guided Exploration
  • BUSTLE: Bottom-Up Program Synthesis Through Learning-Guided Exploration cites Learning to Represent Programs with Property Signatures
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers14

  1. Hypothesis Search: Inductive Reasoning with Language ModelsRuocheng Wang, Eric Zelikman, Gabriel Poesia, Yewen Pu et al.ICLR 2024 · 156 citations
  2. NExT: Teaching Large Language Models to Reason about Code ExecutionAnsong Ni, Miltiadis Allamanis, Arman Cohan, Yinlin Deng et al.ICML 2024 · 73 citations
  3. Is Programming by Example Solved by LLMs?Wen-Ding Li, Kevin EllisNeurIPS 2024 · 45 citations
  4. HYSYNTH: Context-Free LLM Approximation for Guiding Program SynthesisShraddha Barke, Emmanuel Anaya Gonzalez, Saketh Ram Kasibatla, Taylor Berg-Kirkpatrick et al.NeurIPS 2024 · 34 citations
  5. ExeDec: Execution Decomposition for Compositional Generalization in Neural Program SynthesisKensen Shi, Joey Hong, Yinlin Deng, Pengcheng Yin et al.ICLR 2024 · 21 citations

Builds on7

  1. Global Relational Models of Source CodeVincent J. Hellendoorn, Charles Sutton, Rishabh Singh, Petros Maniatis et al.ICLR 2020 · 252 citations
  2. BUSTLE: Bottom-Up Program Synthesis Through Learning-Guided ExplorationAugustus Odena, Kensen Shi, David Bieber, Rishabh Singh et al.ICLR 2021 · 60 citations
  3. Learning to Represent Programs with Property SignaturesAugustus Odena, Charles SuttonICLR 2020 · 34 citations
  4. Just-in-time learning for bottom-up enumerative synthesisShraddha Barke, Hila Peleg, Nadia PolikarpovaOOPSLA 2020 · 33 citations
  5. Incremental Sampling Without Replacement for Sequence ModelsKensen Shi, David Bieber, Charles SuttonICML 2020 · 29 citations

Related papers

  1. LambdaBeam: Neural Program Search with Higher-Order Functions and LambdasKensen Shi, Hanjun Dai, Wen-Ding Li, Kevin Ellis et al.NeurIPS 2023 · 8 citations
  2. Eco Search: A No-delay Best-First Search Algorithm for Program SynthesisThéo Matricon, Nathanaël Fijalkow, Guillaume LagardeAAAI 2025 · 1 citation
  3. Learning to Synthesize Programs as Interpretable and Generalizable PoliciesDweep Trivedi, Jesse Zhang, Shao-Hua Sun, Joseph J. LimNeurIPS 2021 · 104 citations
  4. Representing Partial Programs with Blended Abstract SemanticsMaxwell I. Nye, Yewen Pu, Matthew Bowers, Jacob Andreas et al.ICLR 2021 · 23 citations
  5. Grammar Filtering for Syntax-Guided SynthesisKairo Morton, William T. Hallahan, Elven Shum, Ruzica Piskac et al.AAAI 2020 · 12 citations
Dusk over the sea between two cliffs drawn in fine vertical lines