Synthesizing Programs with Continuous Optimization

11/02/2022
by   Shantanu Mandal, et al.
0

Automatic software generation based on some specification is known as program synthesis. Most existing approaches formulate program synthesis as a search problem with discrete parameters. In this paper, we present a novel formulation of program synthesis as a continuous optimization problem and use a state-of-the-art evolutionary approach, known as Covariance Matrix Adaptation Evolution Strategy to solve the problem. We then propose a mapping scheme to convert the continuous formulation into actual programs. We compare our system, called GENESYS, with several recent program synthesis techniques (in both discrete and continuous domains) and show that GENESYS synthesizes more programs within a fixed time budget than those existing schemes. For example, for programs of length 10, GENESYS synthesizes 28 existing schemes within the same time budget.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
05/25/2023

Learning-Based Automatic Synthesis of Software Code and Configuration

Increasing demands in software industry and scarcity of software enginee...
research
11/22/2022

Genetic Algorithm for Program Synthesis

A deductive program synthesis tool takes a specification as input and de...
research
08/19/2021

Programming-By-Example by Programming-By-Example: Synthesis of Looping Programs

Program synthesis has seen many new applications in recent years, in lar...
research
02/19/2021

Controller Synthesis for Golog Programs over Finite Domains with Metric Temporal Constraints

Executing a Golog program on an actual robot typically requires addition...
research
09/16/2018

Controller Synthesis for Discrete-time Hybrid Polynomial Systems via Occupation Measures

We present a novel controller synthesis approach for discrete-time hybri...
research
06/01/2019

Synthesizing Datalog Programs using Numerical Relaxation

The problem of learning logical rules from examples arises in diverse fi...
research
01/09/2023

Learning to compile smartly for program size reduction

Compiler optimization passes are an important tool for improving program...

Please sign up or login with your details

Forgot password? Click here to reset