Automatic Program Synthesis of Long Programs with a Learned Garbage Collector

By Amit Zohar, Lior Wolf. 2018

78 citations recorded by the source corpus.

We consider the problem of generating automatic code given sample input-output pairs. We train a neural network to map from the current state and the outputs to the program's next statement. The neural network optimizes multiple tasks concurrently: the next operation out of a set of high level commands, the operands of the next statement, and which variables can be dropped from memory. Using our method we are able to create programs that are more than twice as long as existing state-of-the-art solutions, while improving the success rate for comparable lengths, and cutting the run-time by two orders of magnitude. Our code, including an implementation of various literature baselines, is publicly available at this https URL

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Natural Language Processing

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Percy Liang
  2. Josh Tenenbaum
  3. Sergey Levine
  4. Denny Zhou
  5. Quoc V. Le
  6. Jure Leskovec
  7. Xinyun Chen
  8. Yoshua Bengio

In Computer Vision and Pattern Recognition

  1. Luc Van Gool
  2. Dacheng Tao
  3. Ming-Hsuan Yang
  4. Jitendra Malik
  5. Bo Dai
  6. Josh Tenenbaum
  7. Trevor Darrell
  8. Andrea Vedaldi

In Natural Language Processing

  1. Josh Tenenbaum
  2. Denny Zhou
  3. Xinyun Chen
  4. Maxwell Nye
  5. Armando Solar-Lezama
  6. Kevin Ellis
  7. Brenden M. Lake
  8. Jian-Guang Lou

Citations in the corpus