paper-with-me

홈 › Papers

Program Synthesis with Best-First Bottom-Up Search

2023-10-06 · Saqib Ameen, Levi H. S. Lelis

Cost-guided bottom-up search (BUS) algorithms use a cost function to guide the search to solve program synthesis tasks. In this paper, we show that current state-of-the-art cost-guided BUS algorithms suffer from a common problem: they can lose useful information given by the model and fail to perform the search in a best-first order according to a cost function. We introduce a novel best-first bottom-up search algorithm, which we call Bee Search, that does not suffer information loss and is able to perform cost-guided bottom-up synthesis in a best-first manner. Importantly, Bee Search performs best-first search with respect to the generation of programs, i.e., it does not even create in memory programs that are more expensive than the solution program. It attains best-first ordering with respect to generation by performing a search in an abstract space of program costs. We also introduce a new cost function that better uses the information provided by an existing cost model. Empirical results on string manipulation and bit-vector tasks show that Bee Search can outperform existing cost-guided BUS approaches when employing more complex domain-specific languages (DSLs); Bee Search and previous approaches perform equally well with simpler DSLs. Furthermore, our new cost function with Bee Search outperforms previous cost functions on string manipulation tasks.

📄 PDF Abstract BibTeX arXiv:2310.04327

Code (0)

등록된 구현이 없습니다.

Tasks

Program Synthesis

Similar Papers 제목 키워드 기반

BUSTLE: Bottom-Up Program Synthesis Through Learning-Guided Exploration

2020-07-28 · ICLR 2021 1 · Augustus Odena, Kensen Shi, David Bieber, Rishabh Singh 외

Program synthesis is challenging largely because of the difficulty of search in a large space of programs. Human programmers routinely tackle the task of writing complex programs by writing sub-programs and then analyzin…

Program Synthesis

CrossBeam: Learning to Search in Bottom-Up Program Synthesis

2022-03-20 · ICLR 2022 4 · Kensen Shi, Hanjun Dai, Kevin Ellis, Charles Sutton

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, b…

Program SynthesisStructured Prediction

Efficient Bottom-Up Synthesis for Programs with Local Variables

2023-11-07 · Xiang Li, Xiangyu Zhou, Rui Dong, Yihong Zhang 외

We propose a new synthesis algorithm that can efficiently search programs with local variables (e.g., those introduced by lambdas). Prior bottom-up synthesis algorithms are not able to evaluate programs with free local v…

EcoSearch: A Constant-Delay Best-First Search Algorithm for Program Synthesis

2024-12-23 · Théo Matricon, Nathanaël Fijalkow, Guillaume Lagarde

Many approaches to program synthesis perform a combinatorial search within a large space of programs to find one that satisfies a given specification. To tame the search space blowup, previous works introduced probabilis…

Program Synthesis

AbstractBeam: Enhancing Bottom-Up Program Synthesis using Library Learning

2024-05-27 · Janis Zenkner, Lukas Dierkes, Tobias Sesterhenn, Chrisitan Bartelt

LambdaBeam is a state-of-the-art, execution-guided algorithm for program synthesis that utilizes higher-order functions, lambda functions, and iterative loops within a Domain-Specific Language (DSL). LambdaBeam generates…

Program Synthesis