Selecting Representative Examples for Program Synthesis

Yewen Pu, Zachery Miranda, Armando Solar-Lezama, Leslie Pack Kaelbling
11/9/2017
cs.AI

Official code: evanthebouncy/icml2018_selecting_representative_examples (12 stars, OpenEdge ABL, last commit 2018-07-08).

Abstract

Program synthesis is a class of regression problems where one seeks a solution, in the form of a source-code program, mapping the inputs to their corresponding outputs exactly. Due to its precise and combinatorial nature, program synthesis is commonly formulated as a constraint satisfaction problem, where input-output examples are encoded as constraints and solved with a constraint solver.

Show full abstract

A key challenge of this formulation is scalability: while constraint solvers work well with a few well-chosen examples, a large set of examples can incur significant overhead in both time and memory. We describe a method to discover a subset of examples that is both small and representative: the subset is constructed iteratively, using a neural network to predict the probability of unchosen examples conditioned on the chosen examples in the subset, and greedily adding the least probable example. We empirically evaluate the representativeness of the subsets constructed by our method, and demonstrate such subsets can significantly improve synthesis time and stability.

View on arXivView PDF

Code Implementations(1)

code for icml paper: https://arxiv.org/abs/1711.03243v3

123OpenEdge ABL, PythonJun 6, 20188 years ago

Similar Papers

Cite this paper

@article{pu2017selecting,
  title  = {Selecting Representative Examples for Program Synthesis},
  author = {Yewen Pu and Zachery Miranda and Armando Solar-Lezama and Leslie Pack Kaelbling},
  year   = {2017},
  eprint = {1711.03243},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1711.03243}
}

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

Discussion