English

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

Machine Learning 2024-12-24 v1 Artificial Intelligence Programming Languages

Abstract

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 probabilistic and neural approaches to guide this combinatorial search by inducing heuristic cost functions. Best-first search algorithms ensure to search in the exact order induced by the cost function, significantly reducing the portion of the program space to be explored. We present a new best-first search algorithm called EcoSearch, which is the first constant-delay algorithm for pre-generation cost function: the amount of compute required between outputting two programs is constant, and in particular does not increase over time. This key property yields important speedups: we observe that EcoSearch outperforms its predecessors on two classic domains.

Keywords

Cite

@article{arxiv.2412.17330,
  title  = {EcoSearch: A Constant-Delay Best-First Search Algorithm for Program Synthesis},
  author = {Théo Matricon and Nathanaël Fijalkow and Guillaume Lagarde},
  journal= {arXiv preprint arXiv:2412.17330},
  year   = {2024}
}

Comments

Extended version of AAAI 2025

R2 v1 2026-06-28T20:46:06.193Z