Genetic Algorithms for Searching a Matrix of Metagrammars for Synthesis

06/01/2023
by   Yixuan Li, et al.
0

Syntax-guided synthesis is a paradigm in program synthesis in which the search space of candidate solutions is constrained by a syntactic template in the form of a grammar. These syntactic constraints serve two purposes: constraining the language to the space the user desires, but also rendering the search space tractable for the synthesizer. Given a well-written syntactic template, this is an extremely effective technique. However, this is highly dependent on the user providing such a template: a syntactic template that is too large results in a larger search space and slower synthesis, and a syntactic template that is too small may not contain the solution needed. In this work, we frame the space of syntactic templates as a matrix of rules, and demonstrate how this matrix can be searched effectively with little training data using simple search techniques such as genetic algorithms, giving improvements in both the number of benchmarks solved and solving time for the state-of-the-art synthesis solver.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
07/13/2020

Gradient Descent over Metagrammars for Syntax-Guided Synthesis

The performance of a syntax-guided synthesis algorithm is highly depende...
research
05/24/2016

Experiments in Linear Template Combination using Genetic Algorithms

Natural Language Generation systems typically have two parts - strategic...
research
12/10/2021

Inferring Invariants with Quantifier Alternations: Taming the Search Space Explosion

We present a PDR/IC3 algorithm for finding inductive invariants with qua...
research
04/06/2023

HOTGP – Higher-Order Typed Genetic Programming

Program synthesis is the process of generating a computer program follow...
research
06/05/2023

Synthesis of Distributed Protocols by Enumeration Modulo Isomorphisms

Synthesis of distributed protocols is a hard, often undecidable, problem...
research
04/02/2020

Exact and Approximate Methods for Proving Unrealizability of Syntax-Guided Synthesis Problems

We consider the problem of automatically establishing that a given synta...
research
08/01/2016

Left-corner Methods for Syntactic Modeling with Universal Structural Constraints

The primary goal in this thesis is to identify better syntactic constrai...

Please sign up or login with your details

Forgot password? Click here to reset