Program Synthesis with Best-First Bottom-Up Search

dc.contributor.advisorLelis, Levi (Computing Science)
dc.contributor.authorAmeen, Saqib
dc.date.accessioned2025-05-29T11:29:33Z
dc.date.available2025-05-29T11:29:33Z
dc.date.issued2023-06
dc.description.abstractCost-guided bottom-up search (BUS) algorithms use a cost function to guide the search for solving program synthesis tasks. In this thesis, 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 the cost function. We introduce a novel best-first bottom-up search algorithm, which we call Bee Search, that does not suffer from 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 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 utilizes the information provided by an existing cost model. Empirical results on string manipulation and bit-vector tasks show that Bee Search can outperform the state-of-the-art cost-guided BUS approaches when employing more complex domain-specific languages (DSLs); Bee Search and previous approaches perform equally well with simpler DSLs. Further, our new cost function with Bee Search outperforms previous cost functions on string manipulation tasks.
dc.identifier.doihttps://doi.org/10.7939/r3-erzd-ey18
dc.language.isoen
dc.rightsThis thesis is made available by the University of Alberta Libraries with permission of the copyright owner solely for non-commercial purposes. This thesis, or any portion thereof, may not otherwise be copied or reproduced without the written consent of the copyright owner, except to the extent permitted by Canadian copyright law.
dc.subjectNeurosymbolic Programming
dc.subjectSearch
dc.subjectProgram Synthesis
dc.subjectAI
dc.titleProgram Synthesis with Best-First Bottom-Up Search
dc.typehttp://purl.org/coar/resource_type/c_46ec
thesis.degree.grantorhttp://id.loc.gov/authorities/names/n79058482
thesis.degree.levelMaster's
thesis.degree.nameMaster of Science
ual.date.graduationSpring 2023
ual.departmentDepartment of Computing Science
ual.jupiterAccesshttp://terms.library.ualberta.ca/public

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
Ameen_Saqib_202212_MSc.pdf
Size:
2.1 MB
Format:
Adobe Portable Document Format