pith. machine review for the scientific record. sign in

arxiv: 1704.04327 · v1 · submitted 2017-04-14 · 💻 cs.AI · cs.LG

Recognition: unknown

Deep API Programmer: Learning to Program with APIs

Authors on Pith no claims yet
classification 💻 cs.AI cs.LG
keywords apisalgorithmprogramsearchexamplesneuralprogramssynthesis
0
0 comments X
read the original abstract

We present DAPIP, a Programming-By-Example system that learns to program with APIs to perform data transformation tasks. We design a domain-specific language (DSL) that allows for arbitrary concatenations of API outputs and constant strings. The DSL consists of three family of APIs: regular expression-based APIs, lookup APIs, and transformation APIs. We then present a novel neural synthesis algorithm to search for programs in the DSL that are consistent with a given set of examples. The search algorithm uses recently introduced neural architectures to encode input-output examples and to model the program search in the DSL. We show that synthesis algorithm outperforms baseline methods for synthesizing programs on both synthetic and real-world benchmarks.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.