Eco Search: A No-delay Best-First Search Algorithm for Program Synthesis

Authors

  • Théo Matricon LaBRI, CNRS, France
  • Nathanaël Fijalkow LaBRI, CNRS, France
  • Guillaume Lagarde LaBRI, Université de Bordeaux, France

DOI:

https://doi.org/10.1609/aaai.v39i18.34139

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 Eco Search, which is the first no-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 Eco Search outperforms its predecessors on two classical domains.

Published

2025-04-11

How to Cite

Matricon, T., Fijalkow, N., & Lagarde, G. (2025). Eco Search: A No-delay Best-First Search Algorithm for Program Synthesis. Proceedings of the AAAI Conference on Artificial Intelligence, 39(18), 19432–19439. https://doi.org/10.1609/aaai.v39i18.34139

Issue

Section

AAAI Technical Track on Machine Learning IV