Grammar Filtering for Syntax-Guided Synthesis

Authors

  • Kairo Morton George School
  • William Hallahan Yale University
  • Elven Shum Deerfield Academy
  • Ruzica Piskac Yale University
  • Mark Santolucito Yale University

DOI:

https://doi.org/10.1609/aaai.v34i02.5522

Abstract

Programming-by-example (PBE) is a synthesis paradigm that allows users to generate functions by simply providing input-output examples. While a promising interaction paradigm, synthesis is still too slow for realtime interaction and more widespread adoption. Existing approaches to PBE synthesis have used automated reasoning tools, such as SMT solvers, as well as works applying machine learning techniques. At its core, the automated reasoning approach relies on highly domain specific knowledge of programming languages. On the other hand, the machine learning approaches utilize the fact that when working with program code, it is possible to generate arbitrarily large training datasets. In this work, we propose a system for using machine learning in tandem with automated reasoning techniques to solve Syntax Guided Synthesis (SyGuS) style PBE problems. By preprocessing SyGuS PBE problems with a neural network, we can use a data driven approach to reduce the size of the search space, then allow automated reasoning-based solvers to more quickly find a solution analytically. Our system is able to run atop existing SyGuS PBE synthesis tools, decreasing the runtime of the winner of the 2019 SyGuS Competition for the PBE Strings track by 47.65% to outperform all of the competing tools.

Downloads

Published

2020-04-03

How to Cite

Morton, K., Hallahan, W., Shum, E., Piskac, R., & Santolucito, M. (2020). Grammar Filtering for Syntax-Guided Synthesis. Proceedings of the AAAI Conference on Artificial Intelligence, 34(02), 1611-1618. https://doi.org/10.1609/aaai.v34i02.5522

Issue

Section

AAAI Technical Track: Constraint Satisfaction and Optimization