Learning to Synthesize
Not on the map. Why?
Abstract (arXiv)
In many scenarios we need to find the most likely program under a local context, where the local context can be an incomplete program, a partial specification, natural language description, etc. We call such problem program estimation. In this paper we propose an abstract framework, learning to synthesis, or L2S in short, to address this problem. L2S combines four tools to achieve this: syntax is used to define the search space and search steps, constraints are used to prune off invalid candidates at each search step, machine-learned models are used to estimate conditional probabilities for the candidates at each search step, and search algorithms are used to find the best possible solution. The main goal of L2S is to lay out the design space to motivate the research on program estimation. We have performed a preliminary evaluation by instantiating this framework for synthesizing conditions of an automated program repair (APR) system. The training data are from the project itself and related JDK packages. Compared to ACS, a state-of-the-art condition synthesis system for program repair, our approach could deal with a larger search space such that we fixed 4 additional bugs outside the search space of ACS, and relies only on the source code of the current projects.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). First posted on arXiv 21 Feb 2018.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 2; 2022: 1; 2023: 1; 2024: 1.
5 papers.
- 2021A Syntax-Guided Edit Decoder for Neural Program Repaircited by 57
- 2021A Survey on Machine Learning Techniques for Source Code Analysiscited by 23
- 2022DCDetector: An IoT terminal vulnerability mining system based on distributed deep ensemble learning under source code representationcited by 1
- 2023VMCDL: Vulnerability Mining Based on Cascaded Deep Learning Under Source Control Flowcited by 0
- 2024Learning to Synthesize Graphics Programs for Geometric Artworkscited by 0
- 2024Learning to Synthesize Graphics Programs for Geometric Artworks21 Oct 2024
- 2023VMCDL: Vulnerability Mining Based on Cascaded Deep Learning Under Source Control Flow13 Mar 2023
- 2022DCDetector: An IoT terminal vulnerability mining system based on distributed deep ensemble learning under source code representation29 Nov 2022
- 2021A Survey on Machine Learning Techniques for Source Code Analysis18 Oct 2021
- 2021A Syntax-Guided Edit Decoder for Neural Program Repair15 Jun 2021