A Machine Learning Framework for Programming by Example
Aditya Krishna Menon, Omer Tamuz, Sumit Gulwani et al. · 2013
Learning programs is a timely and interesting challenge. In Programming by Example (PBE), a system attempts to infer a program from input and output examples alone, by searching for a composition of some set of base functions. We show how machine learning can be used to speed up this seemingly hopeless search problem, by learning weights that relate textual features describing the provided input-output examples to plausible sub-components of a program. This generic learning framework lets us address problems beyond the scope of earlier PBE systems. Experiments on a prototype implementation show that learning improves search and ranking on a variety of text processing tasks found on help forums. 1.
Cited by 103 works.
Authors
References
- Watch what I do: programming by demonstration
- Your wish is my command: programming by example
- Automating string processing in spreadsheets using input-output examples
- Oracle-guided component-based program synthesis
- Programming by Demonstration Using Version Space Algebra
- Editing by example
- Adaptor Grammars: A Framework for Specifying Compositional Nonparametric Bayesian Models
- Spreadsheet data manipulation using examples
- Learning Programs: A Hierarchical Bayesian Approach
- Version Space Algebra and its Application to Programming by Demonstration