Proceedings of the ACM on Programming Languages · 2020 · 31 citations · 34 references
ComputingComputer ScienceAlgorithmsMachine LearningNatural Language ProcessingCode GenerationDesign SynthesisAutomated Program SynthesisBottom-up ImplementationJust-in-time LearningProblem Domain AnalysisProgram SynthesisSolution Generation
A key challenge in program synthesis is the astronomical size of the search space the synthesizer has to explore. In response to this challenge, recent work proposed to guide synthesis using learned probabilistic models. Obtaining such a model, however, might be infeasible for a problem domain where no high-quality training data is available. In this work we introduce an alternative approach to guided program synthesis: instead of training a model ahead of time we show how to bootstrap one just in time, during synthesis, by learning from partial solutions encountered along the way. To make the best use of the model, we also propose a new program enumeration algorithm we dub guided bottom-up search, which extends the efficient bottom-up search with guidance from probabilistic models. We implement this approach in a tool called Probe, which targets problems in the popular syntax-guided synthesis (SyGuS) format. We evaluate Probe on benchmarks from the literature and show that it achieves significant performance gains both over unguided bottom-up search and over a state-of-the-art probability-guided synthesizer, which had been trained on a corpus of existing solutions. Moreover, we show that these performance gains do not come at the cost of solution quality: programs generated by Probe are only slightly more verbose than the shortest solutions and perform no unnecessary case-splitting.
34
Oracle-guided component-based program synthesis
Susmit Jha, Sumit Gulwani, Sanjit A. Seshia et al. · 2010 · 479 citations
Automating string processing in spreadsheets using input-output examples
Sumit Gulwani · 2011 · 446 citations
Choice Reviews Online · 2013 · 253 citations
Synthesis of loop-free programs
Sumit Gulwani, Susmit Jha, Ashish Tiwari et al. · ACM SIGPLAN Notices · 2011 · 242 citations