Towards neural-network-guided program synthesis and verification

Abstract We propose a novel framework of program and invariant synthesis called neural network-guided synthesis ( NeuGuS ). We first show that, by suitably designing and training neural networks, we can extract logical formulas over integers from the weights and biases of the trained neural networks. Based on the idea, we have implemented a tool to synthesize formulas from positive/negative examples and implication constraints, and obtained promising experimental results. We also discuss two applications of our synthesis method. One is the use of our tool for qualifier discovery in the framework of ICE-learning-based CHC solving, which can in turn be applied to program verification and inductive invariant synthesis. Another application is to a new program development framework called oracle-based programming, which is a neural-network-guided variation of Solar-Lezama’s program synthesis by sketching.

Authors

Institutions

Publication Details

Journal
Formal Methods in System Design
Published
2025-02-24
DOI
https://doi.org/10.1007/s10703-024-00468-9
Primary Topic
Adversarial Robustness in Machine Learning
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Towards neural-network-guided program synthesis and verification

Taro Sekiyama, Hiroshi Unno, Issei Sato, Naoki Kobayashi
Formal Methods in System Design
Adversarial Robustness in Machine Learning
article

Towards neural-network-guided program synthesis and verification

Taro Sekiyama, Hiroshi Unno, Issei Sato, Naoki Kobayashi
article en

Abstract

Abstract We propose a novel framework of program and invariant synthesis called neural network-guided synthesis ( NeuGuS ). We first show that, by suitably designing and training neural networks, we can extract logical formulas over integers from the weights and biases of the trained neural networks. Based on the idea, we have implemented a tool to synthesize formulas from positive/negative examples and implication constraints, and obtained promising experimental results. We also discuss two applications of our synthesis method. One is the use of our tool for qualifier discovery in the framework of ICE-learning-based CHC solving, which can in turn be applied to program verification and inductive invariant synthesis. Another application is to a new program development framework called oracle-based programming, which is a neural-network-guided variation of Solar-Lezama’s program synthesis by sketching.

Formal Methods in System DesignVol. 67(2)
National Institute of Informatics (JP), The Graduate University for Advanced Studies, SOKENDAI (JP), Tohoku University (JP), The University of Tokyo (JP)
University of Tokyo, Japan Society for the Promotion of Science, Japan Science and Technology Agency
Openalex Percentile: Top 99%
Adversarial Robustness in Machine Learning
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.