Modeling Black-Box Components with Probabilistic SynthesisBest Paper Award
Sun 15 Nov 2020 21:40 - 22:00 at SPLASH-III - Chair(s): Jeff Gray, Laurence Tratt, Juan de Lara
This paper is concerned with synthesizing programs based on black-box oracles: we are interested in the case where there exists an executable implementation of a component or library, but its internal structure is unknown. We are provided with just an API or function signature, and aim to synthesize a program with equivalent behavior.
To attack this problem, we detail Presyn: a program synthesizer designed for flexible interoperation with existing programs and compiler toolchains. Presyn uses high-level imperative control-flow structures and a pair of cooperating predictive models to efficiently narrow the space of potential programs. These models can be trained effectively on small corpora of synthesized examples.
We evaluate Presyn against five leading program synthesizers on a collection of 112 synthesis benchmarks collated from previous studies and real-world software libraries. We show that Presyn is able to synthesize a wider range of programs than each of them with less human input. We demonstrate the application of our approach to real-world code and software engineering problems with two case studies: accelerator library porting and detection of duplicated library reimplementations.
Sun 15 NovDisplayed time zone: Central Time (US & Canada) change
09:40 - 10:20 | SLE / GPCE at SPLASH-III +12h Chair(s): Laurence Tratt King's College London, Juan de Lara Autonomous University of Madrid, Jeff Gray University of Alabama | ||
09:40 20mTalk | Modeling Black-Box Components with Probabilistic SynthesisBest Paper Award GPCE Bruce Collie University of Edinburgh, Jackson Woodruff University of Edinburgh, Michael F. P. O'Boyle University of Edinburgh Link to publication DOI Media Attached | ||
10:00 20mTalk | Gradually Typing Strategies SLE Link to publication DOI Pre-print Media Attached |
21:40 - 22:20 | SLE / GPCE at SPLASH-III Chair(s): Jeff Gray University of Alabama, Laurence Tratt King's College London, Juan de Lara Autonomous University of Madrid | ||
21:40 20mTalk | Modeling Black-Box Components with Probabilistic SynthesisBest Paper Award GPCE Bruce Collie University of Edinburgh, Jackson Woodruff University of Edinburgh, Michael F. P. O'Boyle University of Edinburgh Link to publication DOI Media Attached | ||
22:00 20mTalk | Gradually Typing Strategies SLE Link to publication DOI Pre-print Media Attached |