319

Learning Fitness Functions for Genetic Algorithms

Conference on Machine Learning and Systems (MLSys), 2019
Abstract

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 function. 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 two state-of-the-art program synthesis methods and demonstrate that it finds more correct programs with fewer candidate program generations.

View on arXiv
Comments on this paper