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

Théo Matricon, Nathanaël Fijalkow, Guillaume Lagarde
12/23/2024
cs.LGcs.AIcs.PL

No confident code implementation found for this paper.

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{matricon2024ecosearch,
  title  = {EcoSearch: A Constant-Delay Best-First Search Algorithm for Program Synthesis},
  author = {Théo Matricon and Nathanaël Fijalkow and Guillaume Lagarde},
  year   = {2024},
  eprint = {2412.17330},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.17330v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2412.17330.svg)](https://codeofpaper.com/paper/2412.17330)

Discussion