While Genetic Improvement (GI) is a useful paradigm to improve functional and nonfunctional aspects of software, existing techniques tended to use the same set of mutation operators for differing objectives, due to the difficulty of writing custom mutation operators. In this work, we suggest that Large Language Models (LLMs) can be used to generate objective-tailored mutants, expanding the possibilities of software optimizations that GI can perform. We further argue that LLMs and the GI process can benefit from the strengths of one another, and present a simple example demonstrating that LLMs can both improve the effectiveness of the GI optimization process, while also benefiting from the evaluation steps of GI. As a result, we believe that the combination of LLMs and GI has the capability to significantly aid developers in optimizing their software.
翻译:虽然遗传改进(GI)是提高软件的功能和非功能方面的有用范例,但现有的技术往往使用相同的变异操作集以实现不同的目标,因为编写自定义变异操作的难度较大。在本文中,我们建议可以利用大语言模型(LLMs)生成目标定制的突变体,从而扩展GI能够执行的软件优化可能性。我们进一步论证LLMs和GI过程可以互相受益,并提出了一个简单的示例,证明LLMs既可以提高GI优化过程的有效性,又可以从GI的评估步骤中受益。因此,我们认为LLMs和GI的组合有能力帮助开发人员优化他们的软件。