Neural Program Synthesis with Priority Queue Training

By Daniel A. Abolafia, Mohammad Norouzi, Quoc V. Le. 2018

69 citations recorded by the source corpus.

We consider the task of program synthesis in the presence of a reward function over the output of programs, where the goal is to find programs with maximal rewards. We employ an iterative optimization scheme, where we train an RNN on a dataset of K best programs from a priority queue of the generated programs so far. Then, we synthesize new programs and add them to the priority queue by sampling from the RNN. We benchmark our algorithm, called priority queue training (or PQT), against genetic algorithm and reinforcement learning baselines on a simple but expressive Turing complete programming language called BF. Our experimental results show that our simple PQT algorithm significantly outperforms the baselines. By adding a program length penalty to the reward function, we are able to synthesize short, human readable programs.

Subfields: Artificial Intelligence, Information Systems, Prompting & Reasoning

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. Luke S. Zettlemoyer
  2. Mohit Bansal
  3. Percy Liang
  4. Hannaneh Hajishirzi
  5. Jonathan Berant
  6. Quoc V. Le
  7. Jianfeng Gao
  8. Caiming Xiong

In Information Systems

  1. Jonathan Berant
  2. Sewon Min
  3. Joseph J. Lim
  4. Luke S. Zettlemoyer
  5. Josh Tenenbaum
  6. Swarat Chaudhuri
  7. Pushmeet Kohli
  8. Hannaneh Hajishirzi

In Prompting & Reasoning

  1. Luke S. Zettlemoyer
  2. Hannaneh Hajishirzi
  3. Sewon Min
  4. Jonathan Berant
  5. Quoc V. Le
  6. Mikel Landajuela
  7. Brenden K. Petersen
  8. Josh Tenenbaum

Citations in the corpus