Modeling Black-Box Components with Probabilistic Synthesis
Bruce Collie, Jackson Woodruff, Michael F.P. O'Boyle

TL;DR
This paper introduces Presyn, a program synthesizer that efficiently generates programs from black-box components using predictive models, outperforming existing tools on benchmarks and real-world software engineering tasks.
Contribution
Presyn is a novel synthesizer leveraging high-level control flow and predictive models, enabling effective synthesis from black-box APIs with minimal human input.
Findings
Presyn outperforms five leading synthesizers on 112 benchmarks.
Presyn successfully synthesizes a wider range of programs.
Demonstrated effectiveness in real-world code porting and duplicate detection.
Abstract
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.…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
