Llm-Assisted Crossover in Genetic Improvement of Software
Dimitrios Bouras, Sergey Mechtaev, Justyna Petke
Peking University University College London
阅读操作
确认中在文库中上传 PDF 后可生成中文音频讲解。
摘要与影响
This study explores the use of Large Language Models to improve the crossover process in genetic programming, as applied in the genetic improvement domain. Traditional crossover techniques typically combine parent variants by selecting modifications uniformly or even randomly, without consideration of contextual relevance, often resulting in inefficient searches and suboptimal solutions due to incompatible or redundant modifications. In contrast, our LLM-assisted crossover leverages context to select and combine edits from parent solutions that are more likely to work well together, with the goal of producing higher quality variants, accelerating optimization. We implemented this approach within MAGPIE, a unified genetic improvement framework. We evaluated against five traditional crossover methods across seven benchmarks, measuring performance on four key metrics: average ranking, best variant execution time, efficiency in reaching performance milestones, and viable variant count. Results show that LLM-assisted crossover achieved an average ranking of 2.27 (on a scale where 1 is best and 6 is worst), making it the top-performing method across benchmarks based on the quality of the optimal variants produced. The LLM-based approach also improved the fitness (execution time) by an average of 8.5 % over the best variant produced by the traditional methods. In terms of efficiency, the LLM-assisted crossover required on average 25.6 % fewer variants to reach$25 \%, 50 \%, 75 \%$, and 100 % of the final performance improvement compared to the traditional methods. Additionally, the LLM-assisted crossover produced 4.8 % more viable variants across scenarios, including both source code modification and parameter tuning cases. These findings suggest that LLMs can significantly enhance genetic improvement by guiding the crossover process toward more effective and viable solutions, providing motivation for further research in LLM-assisted search algorithms.
逐年被引趋势
关键指标
同类平均 = 1
同领域 · 同年份 · 同类型
Google Scholar 与 OpenAlex 的被引统计范围不同,数值存在差异属正常。
AI 辅助阅读
依据:摘要
可就本文提问;依据不足时会说明。
学术脉络
学科主题
计算机 / AIEvolutionary Algorithms and Applications
Viral Infectious Diseases and Gene Expression in Insects · Software Testing and Debugging Techniques
参考文献 17
此处列出前 3 条
引用本文 5
按被引量排序,此处列出前 3 条