Programming by Example Using Least General Generalizations
Mohammad Raza, Sumit Gulwani, Nataša Milić-Frayling · Proceedings of the AAAI Conference on Artificial Intelligence · 2014
Recent advances in Programming by Example (PBE) have supported new applications to text editing, but existing approaches are limited to simple text strings. In this paper we address transformations in richly formatted documents, using an approach based on the idea of least general generalizations from inductive inference, which avoids the scalability issues faced by state-of-the-art PBE methods. We describe a novel domain specific language (DSL) that expresses transformations over XML structures describing richly formatted content, and a synthesis algorithm that generates a minimal program with respect to a natural subsumption ordering in our DSL. We present experimental results on tasks collected from online help forums, showing an average of 4.17 examples required for task completion.
Cited by 28 works. doi:10.1609/aaai.v28i1.8744
Authors
References
- International Organization for Standardization
- Efficient Induction of Logic Programs
- Large Margin Methods for Structured and Interdependent Output Variables
- The logic of typed feature structures
- The Logic of Typed Feature Structures
- Your wish is my command: programming by example
- Automating string processing in spreadsheets using input-output examples
- Automating string processing in spreadsheets using input-output examples
- Programming by Demonstration Using Version Space Algebra
- Learning Programs: A Hierarchical Bayesian Approach