Scaling Neural Program Synthesis with Distribution-based Search

Nathanaël Fijalkow, Guillaume Lagarde, Théo Matricon, Kevin Ellis, Pierre Ohlmann +1 more
10/24/2021
cs.LGcs.AIcs.PL

Official code: nathanael-fijalkow/DeepSynth (51 stars, Slash, MIT, last commit 2024-10-25).

Abstract

We consider the problem of automatically constructing computer programs from input-output examples. We investigate how to augment probabilistic and neural program synthesis methods with new search algorithms, proposing a framework called distribution-based search.

Show full abstract

Within this framework, we introduce two new search algorithms: Heap Search, an enumerative method, and SQRT Sampling, a probabilistic method. We prove certain optimality guarantees for both methods, show how they integrate with probabilistic and neural techniques, and demonstrate how they can operate at scale across parallel compute environments. Collectively these findings offer theoretical and applied studies of search algorithms for program synthesis that integrate with recent developments in machine-learned program synthesizers.

View on arXivView PDF

Code Implementations(1)

MIT

DeepSynth is a general-purpose program synthesizer in the programming by example framework: the user provides a few examples as pairs of input and output, DeepSynth finds a program matching the examples.

5111Slash, PythonJun 29, 20212 years agoMIT

Similar Papers

Cite this paper

@article{fijalkow2021scaling,
  title  = {Scaling Neural Program Synthesis with Distribution-based Search},
  author = {Nathanaël Fijalkow and Guillaume Lagarde and Théo Matricon and Kevin Ellis and Pierre Ohlmann and Akarsh Potta},
  year   = {2021},
  eprint = {2110.12485},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.12485}
}

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/2110.12485.svg)](https://codeofpaper.com/paper/2110.12485)

Discussion