Please use this identifier to cite or link to this item: http://hdl.handle.net/1893/35483
Appears in Collections:Computing Science and Mathematics Book Chapters and Sections
Title: Enhancing Genetic Improvement Mutations Using Large Language Models
Author(s): Brownlee, Alexander
Callan, James
Even-Mendoza, Karine
Geiger, Alina
Hanna, Carol
Petke, Justyna
Sarro, Federica
Sobania, Dominik
Contact Email: alexander.brownlee@stir.ac.uk
Editor(s): Arcaini, Paolo
Yue, Tao
Fredericks, Erik M
Sponsor: Engineering and Physical Sciences Research Council
European Commission (Horizon 2020)
Citation: Brownlee A, Callan J, Even-Mendoza K, Geiger A, Hanna C, Petke J, Sarro F & Sobania D (2023) Enhancing Genetic Improvement Mutations Using Large Language Models. In: Arcaini P, Yue T & Fredericks EM (eds.) <i>Search-Based Software Engineering: 15th International Symposium, SSBSE 2023, San Francisco, CA, USA, December 8, 2023, Proceedings</i>. Lecture Notes in Computer Science. Cham, Switzerland: Springer. https://link.springer.com/book/9783031487958
Issue Date: 28-Dec-2023
Date Deposited: 17-Oct-2023
Series/Report no.: Lecture Notes in Computer Science
Abstract: 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.
URL: https://link.springer.com/book/9783031487958
Licence URL(s): http://www.rioxx.net/licenses/under-embargo-all-rights-reserved

Files in This Item:
File Description SizeFormat 
ssbse23challenge-final31.pdfFulltext - Accepted Version203.09 kBAdobe PDFUnder Permanent Embargo    Request a copy

Note: If any of the files in this item are currently embargoed, you can request a copy directly from the author by clicking the padlock icon above. However, this facility is dependent on the depositor still being contactable at their original email address.



This item is protected by original copyright



Items in the Repository are protected by copyright, with all rights reserved, unless otherwise indicated.

The metadata of the records in the Repository are available under the CC0 public domain dedication: No Rights Reserved https://creativecommons.org/publicdomain/zero/1.0/

If you believe that any material held in STORRE infringes copyright, please contact library@stir.ac.uk providing details and we will remove the Work from public display in STORRE and investigate your claim.