Accelerating search-based program synthesis using learned probabilistic models

By Woosuk Lee, Kihong Heo, Rajeev Alur, Mayur Naik. 2018

126 citations recorded by the source corpus.

A key challenge in program synthesis concerns how to efficiently search for the desired program in the space of possible programs. We propose a general approach to accelerate search-based program synthesis by biasing the search towards likely programs. Our approach targets a standard formulation, syntax-guided synthesis (SyGuS), by extending the grammar of possible programs with a probabilistic model dictating the likelihood of each program. We develop a weighted search algorithm to efficiently enumerate programs in order of their likelihood. We also propose a method based on transfer learning that enables to effectively learn a powerful model, called probabilistic higher-order grammar, from known solutions in a domain. We have implemented our approach in a tool called Euphony and evaluate it on SyGuS benchmark problems from a variety of domains. We show that Euphony can learn good models using easily obtainable solutions, and achieves significant performance gains over existing general-purpose as well as domain-specific synthesizers.

Subfields: Artificial Intelligence, Information Systems, Software, 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. Charles Sutton
  2. Rishabh Singh
  3. Augustus Odena
  4. Sergey Levine
  5. Ion Stoica
  6. Koushik Sen
  7. Kensen Shi
  8. David Bieber

In Information Systems

  1. Rishabh Singh
  2. Charles Sutton
  3. Koushik Sen
  4. David Bieber
  5. Kensen Shi
  6. Augustus Odena
  7. Rohan Bavishi
  8. Ion Stoica

In Software

  1. Koushik Sen
  2. Rishabh Singh
  3. Charles Sutton
  4. David Bieber
  5. Caroline Lemieux
  6. Augustus Odena
  7. Rohan Bavishi
  8. Suresh Parthasarathy

In Natural Language Processing

  1. Charles Sutton
  2. Koushik Sen
  3. Rishabh Singh
  4. Augustus Odena
  5. David Bieber
  6. Rohan Bavishi
  7. Kensen Shi
  8. Ion Stoica

Citations in the corpus