Home > Publications Search > Publication Detail

Automated Program Repair Using Generative Models For Code Infilling

Conference Paper/Proceedings
Automated Program Repair Using Generative Models For Code Infilling
Publication Year:
2023
Publication Source:
Lecture Notes In Computer Science (Including Subseries Lecture Notes In Artificial Intelligence And Lecture Notes In Bioinformatics)
Volume:
13916 LNAI
Funding Type:
ECR:Core
Author(s):
Koutcheme, Charles; Sarsa, Sami; Leinonen, Juho; Hellas, Arto; Denny, Paul
Supporting Project(s):

In educational settings, automated program repair techniques serve as a feedback mechanism to guide students working on their programming assignments. Recent work has investigated using large language models (LLMs) for program repair. In this area, most of the attention has been focused on using proprietary systems accessible through APIs. However, the limited access and control over these systems remain a block to their adoption and usage in education. The present work studies the repairing capabilities of open large language models. In particular, we focus on a recent family of generative models, which, on top of standard left-to-right program synthesis, can also predict missing spans of code at any position in a program. We experiment with one of these models on four programming datasets and show that we can obtain good repair performance even without additional training. © 2023, The Author(s), under exclusive license to Springer Nature Switzerland AG.