DreamCoder: bootstrapping inductive program synthesis with wake-sleep library learning

By Kevin Ellis, Catherine Wong, Maxwell Nye, Mathias Sablé-Meyer, Lucas Morales, Luke B. Hewitt, Luc Cary, Armando Solar-Lezama, Josh Tenenbaum. 2021

278 citations recorded by the source corpus.

We present a system for inductive program synthesis called DreamCoder, which inputs a corpus of synthesis problems each specified by one or a few examples, and automatically derives a library of program components and a neural search policy that can be used to efficiently solve other similar synthesis problems. The library and search policy bootstrap each other iteratively through a variant of "wake-sleep" approximate Bayesian learning. A new refactoring algorithm based on E-graph matching identifies common sub-components across synthesized programs, building a progressively deepening library of abstractions capturing the structure of the input domain. We evaluate on eight domains including classic program synthesis areas and AI tasks such as planning, inverse graphics, and equation discovery. We show that jointly learning the library and neural search policy leads to solving more problems, and solving them more quickly.

Subfields: Artificial Intelligence, Information Systems, Software, Prompting & Reasoning, Reinforcement Learning

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. Josh Tenenbaum
  2. Jianfeng Gao
  3. Mohit Bansal
  4. Jacob Andreas
  5. Karthik Narasimhan
  6. Chuang Gan
  7. Sergey Levine
  8. Percy Liang

In Information Systems

  1. Josh Tenenbaum
  2. Armando Solar-Lezama
  3. Kevin Ellis
  4. Maxwell Nye
  5. Chuang Gan
  6. Catherine Wong
  7. Karthik Narasimhan
  8. Theo X. Olausson

In Software

  1. Josh Tenenbaum
  2. Armando Solar-Lezama
  3. Catherine Wong
  4. Kevin Ellis
  5. Jianfeng Gao
  6. Jeevana Priya Inala
  7. Jacob Andreas
  8. Chenglong Wang

In Prompting & Reasoning

  1. Josh Tenenbaum
  2. Chuang Gan
  3. Zhenfang Chen
  4. Karthik Narasimhan
  5. Jianfeng Gao
  6. Jacob Andreas
  7. Jimmy Ba
  8. Shunyu Yao

In Reinforcement Learning

  1. Karthik Narasimhan
  2. Shunyu Yao
  3. Jacob Andreas
  4. Josh Tenenbaum
  5. Jianfeng Gao
  6. Theodore R. Sumers
  7. Thomas L. Griffiths
  8. Armando Solar-Lezama

Citations in the corpus