Program Synthesis with Best-First Bottom-Up Search

被引:0
|
作者
Ameen, Saqib [1 ]
Lelis, Levi H. S. [1 ]
机构
[1] Univ Alberta, Alberta Machine Intelligence Inst Amii, Dept Comp Sci, Edmonton, AB, Canada
基金
加拿大自然科学与工程研究理事会;
关键词
D O I
暂无
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
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.
引用
收藏
页码:1275 / 1310
页数:36
相关论文
共 50 条
  • [1] Program Synthesis with Best-First Bottom-Up Search
    Ameen S.
    Lelis L.H.S.
    1600, AI Access Foundation (77): : 1275 - 1310
  • [2] Program Synthesis with Best-First Bottom-Up Search (Abstract Reprint)
    Ameen, Saqib
    Lelis, Levi H. S.
    THIRTY-EIGHTH AAAI CONFERENCE ON ARTIFICIAL INTELLIGENCE, VOL 38 NO 20, 2024, : 22691 - 22691
  • [3] Improving the efficiency of a best-first bottom-up approach for the Constrained 2D Cutting Problem
    de Armas, Jesica
    Miranda, Gara
    Leon, Coromoto
    EUROPEAN JOURNAL OF OPERATIONAL RESEARCH, 2012, 219 (02) : 201 - 213
  • [4] Best-first minimax search
    Univ of California, Los Angeles, United States
    Artif Intell, 1-2 (299-337):
  • [5] Best-First Beam Search
    Meister, Clara
    Vieira, Tim
    Cotterell, Ryan
    TRANSACTIONS OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS, 2020, 8 : 795 - 809
  • [6] Best-first minimax search
    Korf, RE
    Chickering, DM
    ARTIFICIAL INTELLIGENCE, 1996, 84 (1-2) : 299 - 337
  • [7] Recursive Best-First Search with Bounded Overhead
    Hatem, Matthew
    Kiesel, Scott
    Ruml, Wheeler
    PROCEEDINGS OF THE TWENTY-NINTH AAAI CONFERENCE ON ARTIFICIAL INTELLIGENCE, 2015, : 1151 - 1157
  • [8] Best-First Heuristic Search for Multicore Machines
    Burns, Ethan
    Lemons, Sofia
    Ruml, Wheeler
    Zhou, Rong
    JOURNAL OF ARTIFICIAL INTELLIGENCE RESEARCH, 2010, 39 : 689 - 743
  • [9] Best-first minimax search: Othello results
    Korf, Richard E.
    Chickering, David Maxwell
    Proceedings of the National Conference on Artificial Intelligence, 1994, 2 : 1365 - 1370
  • [10] Effective Heuristics for Suboptimal Best-First Search
    Wilt, Christopher
    Ruml, Wheeler
    JOURNAL OF ARTIFICIAL INTELLIGENCE RESEARCH, 2016, 57 : 273 - 306