Enhancing Software Runtime With Reinforcement Learning-Driven Mutation Operator Selection in Genetic Improvement

Genetic Improvement employs heuristic search algorithms to explore the search space of program variants by modifying code using mutation operators. This research focuses on operators that delete, insert and replace source code statements. Traditionally, in GI an operator is chosen uniformly at random at each search iteration. This work leverages Reinforcement Learning to intelligently guide the selection of these operators specifically to improve program runtime. We propose to integrate RL into the operator selection process. Four Multi-Armed bandit RL algorithms (Epsilon Greedy, UCB, Probability Matching, and Policy Gradient) were integrated within a GI framework, and their efficacy and efficiency were benchmarked against the traditional GI operator selection approach. These RL-guided operator selection strategies have demonstrated empirical superiority over the traditional GI methods of randomly selecting a search operator, with UCB emerging as the top-performing RL algorithm. On average, the UCBguided Hill Climbing search algorithm produced variants that compiled and passed all tests 44 % of the time, while only 22 % of the variants produced by the traditional uniform random selection strategies compiled and passed all tests.

Authors

Institutions

Publication Details

Published
2025-04-27
DOI
https://doi.org/10.1109/gi66624.2025.00013
Primary Topic
Evolutionary Algorithms and Applications
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Enhancing Software Runtime With Reinforcement Learning-Driven Mutation Operator Selection in Genetic Improvement

D. Subhas Bose, Justyna Petke, Carol Hanna
Evolutionary Algorithms and Applications
article

Enhancing Software Runtime With Reinforcement Learning-Driven Mutation Operator Selection in Genetic Improvement

D. Subhas Bose, Justyna Petke, Carol Hanna
article en

Abstract

Genetic Improvement employs heuristic search algorithms to explore the search space of program variants by modifying code using mutation operators. This research focuses on operators that delete, insert and replace source code statements. Traditionally, in GI an operator is chosen uniformly at random at each search iteration. This work leverages Reinforcement Learning to intelligently guide the selection of these operators specifically to improve program runtime. We propose to integrate RL into the operator selection process. Four Multi-Armed bandit RL algorithms (Epsilon Greedy, UCB, Probability Matching, and Policy Gradient) were integrated within a GI framework, and their efficacy and efficiency were benchmarked against the traditional GI operator selection approach. These RL-guided operator selection strategies have demonstrated empirical superiority over the traditional GI methods of randomly selecting a search operator, with UCB emerging as the top-performing RL algorithm. On average, the UCBguided Hill Climbing search algorithm produced variants that compiled and passed all tests 44 % of the time, while only 22 % of the variants produced by the traditional uniform random selection strategies compiled and passed all tests.

University College London (GB)
Openalex Percentile: Top 93%
Evolutionary Algorithms and Applications
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.