Adaptive restarts for stochastic synthesis

Jason R. Koenig, Oded Padon, Alex Aiken

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

We consider the problem of program synthesis from input-output examples via stochastic search. We identify a robust feature of stochastic synthesis: The search often progresses through a series of discrete plateaus. We observe that the distribution of synthesis times is often heavy-tailed and analyze how these distributions arise. Based on these insights, we present an algorithm that speeds up synthesis by an order of magnitude over the naive algorithm currently used in practice. Our experimental results are obtained in part using a new program synthesis benchmark for superoptimization distilled from widely used production code.

Original languageEnglish
Title of host publicationPLDI 2021 - Proceedings of the 42nd ACM SIGPLAN International Conference on Programming Language Design and Implementation
EditorsStephen N. Freund, Eran Yahav
Pages696-709
Number of pages14
ISBN (Electronic)9781450383912
DOIs
StatePublished - 18 Jun 2021
Externally publishedYes
Event42nd ACM SIGPLAN International Conference on Programming Language Design and Implementation, PLDI 2021 - Virtual, Online, Canada
Duration: 20 Jun 202125 Jun 2021

Publication series

NameProceedings of the ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI)

Conference

Conference42nd ACM SIGPLAN International Conference on Programming Language Design and Implementation, PLDI 2021
Country/TerritoryCanada
CityVirtual, Online
Period20/06/2125/06/21

Keywords

  • restart strategies
  • stochastic synthesis
  • superoptimization

All Science Journal Classification (ASJC) codes

  • Software

Fingerprint

Dive into the research topics of 'Adaptive restarts for stochastic synthesis'. Together they form a unique fingerprint.

Cite this