Learning Fitness Functions for Machine Programming
Not on the map. Why?
Abstract (arXiv)
The problem of automatic software generation is known as Machine Programming. In this work, we propose a framework based on genetic algorithms to solve this problem. Although genetic algorithms have been used successfully for many problems, one criticism is that hand-crafting its fitness function, the test that aims to effectively guide its evolution, can be notably challenging. Our framework presents a novel approach to learn the fitness function using neural networks to predict values of ideal fitness functions. We also augment the evolutionary process with a minimally intrusive search heuristic. This heuristic improves the framework's ability to discover correct programs from ones that are approximately correct and does so with negligible computational overhead. We compare our approach with several state-of-the-art program synthesis methods and demonstrate that it finds more correct programs with fewer candidate program generations.
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). First posted on arXiv 22 Aug 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 2; 2022: 1; 2023: 2.
5 papers.
- 2021Latent Execution for Neural Program Synthesiscited by 35
- 2023Large Language Models Based Automatic Synthesis of Software Specificationscited by 13
- 2021Toward Code Generation: A Survey and Lessons from Semantic Parsingcited by 8
- 2022Synthesizing Programs with Continuous Optimizationcited by 2
- 2023Learning-Based Automatic Synthesis of Software Code and Configurationcited by 0
- 2023Learning-Based Automatic Synthesis of Software Code and Configuration25 May 2023
- 2023Large Language Models Based Automatic Synthesis of Software Specifications18 Apr 2023
- 2022Synthesizing Programs with Continuous Optimization2 Nov 2022
- 2021Latent Execution for Neural Program Synthesis29 Jun 2021
- 2021Toward Code Generation: A Survey and Lessons from Semantic Parsing26 Apr 2021