SEAILGNEOct 18, 2023

Enhancing Genetic Improvement Mutations Using Large Language Models

arXiv:2310.19813v128 citationsh-index: 6Has Code
Originality Incremental advance
AI Analysis

This work addresses a bottleneck in search-based software engineering for developers, but it is incremental as it builds on existing GI methods with LLMs.

The paper tackles the problem of improving Genetic Improvement (GI) search by using Large Language Models (LLMs) as mutation operators, finding that LLM-based edits increase the number of patches passing unit tests by up to 75% compared to standard Insert edits, but the best runtime improvement patch was still found by standard GI.

Large language models (LLMs) have been successfully applied to software engineering tasks, including program repair. However, their application in search-based techniques such as Genetic Improvement (GI) is still largely unexplored. In this paper, we evaluate the use of LLMs as mutation operators for GI to improve the search process. We expand the Gin Java GI toolkit to call OpenAI's API to generate edits for the JCodec tool. We randomly sample the space of edits using 5 different edit types. We find that the number of patches passing unit tests is up to 75% higher with LLM-based edits than with standard Insert edits. Further, we observe that the patches found with LLMs are generally less diverse compared to standard edits. We ran GI with local search to find runtime improvements. Although many improving patches are found by LLM-enhanced GI, the best improving patch was found by standard GI.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes