Hide metadata

dc.date.accessioned2024-02-03T23:43:45Z
dc.date.available2024-02-03T23:43:45Z
dc.date.created2024-01-13T20:29:57Z
dc.date.issued2023
dc.identifier.citationLiventsev, Vadim Anastasiia, Grishina Härmä, Aki Moonen, Leon . Fully Autonomous Programming with Large Language Models. GECCO '23: Proceedings of the Genetic and Evolutionary Computation Conference. 2023 Association for Computing Machinery (ACM)
dc.identifier.urihttp://hdl.handle.net/10852/107448
dc.description.abstractCurrent approaches to program synthesis with Large Language Models (LLMs) exhibit a "near miss syndrome": they tend to generate programs that semantically resemble the correct answer (as measured by text similarity metrics or human evaluation), but achieve a low or even zero accuracy as measured by unit tests due to small imperfections, such as the wrong input or output format. This calls for an approach known as Synthesize, Execute, Debug (SED), whereby a draft of the solution is generated first, followed by a program repair phase addressing the failed tests. To effectively apply this approach to instruction-driven LLMs, one needs to determine which prompts perform best as instructions for LLMs, as well as strike a balance between repairing unsuccessful programs and replacing them with newly generated ones. We explore these trade-offs empirically, comparing replace-focused, repair-focused, and hybrid debug strategies, as well as different template-based and model-based prompt-generation techniques. We use OpenAI Codex as the LLM and Program Synthesis Benchmark 2 as a database of problem descriptions and tests for evaluation. The resulting framework outperforms both conventional usage of Codex without the repair phase and traditional genetic programming approaches.
dc.languageEN
dc.publisherAssociation for Computing Machinery (ACM)
dc.rightsAttribution 4.0 International
dc.rights.urihttps://creativecommons.org/licenses/by/4.0/
dc.titleFully Autonomous Programming with Large Language Models
dc.title.alternativeENEngelskEnglishFully Autonomous Programming with Large Language Models
dc.typeChapter
dc.creator.authorLiventsev, Vadim
dc.creator.authorAnastasiia, Grishina
dc.creator.authorHärmä, Aki
dc.creator.authorMoonen, Leon
cristin.unitcode185,15,5,0
cristin.unitnameInstitutt for informatikk
cristin.ispublishedtrue
cristin.fulltextoriginal
dc.identifier.cristin2225873
dc.identifier.bibliographiccitationinfo:ofi/fmt:kev:mtx:ctx&ctx_ver=Z39.88-2004&rft_val_fmt=info:ofi/fmt:kev:mtx:book&rft.btitle=GECCO '23: Proceedings of the Genetic and Evolutionary Computation Conference&rft.spage=&rft.date=2023
dc.identifier.startpage1146
dc.identifier.endpage1155
dc.identifier.pagecount1650
dc.identifier.doihttps://doi.org/10.1145/3583131.3590481
dc.type.documentBokkapittel
dc.type.peerreviewedPeer reviewed
dc.source.isbn979-8-4007-0119-1
dc.type.versionPublishedVersion
cristin.btitleGECCO '23: Proceedings of the Genetic and Evolutionary Computation Conference


Files in this item

Appears in the following Collection

Hide metadata

Attribution 4.0 International
This item's license is: Attribution 4.0 International