Using Program Repair as a Proxy for Language Models’ Feedback Ability in Programming Education

Research output: Chapter in Book/Report/Conference proceedingConference article in proceedingsScientificpeer-review

37 Downloads (Pure)

Abstract

One of the key challenges in programming education is being able to provide high-quality feedback to learners. Such feedback often includes explanations of the issues in students’ programs coupled with suggestions on how to fix these issues. Large language models (LLMs) have recently emerged as valuable tools that can help in this effort. In this article, we explore the relationship between the program repair ability of LLMs and their proficiency in providing natural language explanations of coding mistakes. We outline a benchmarking study that evaluates leading LLMs (including open-source ones) on program repair and explanation tasks. Our experiments study the capabilities of LLMs both on a course level and on a programming concept level, allowing us to assess whether the programming concepts practised in exercises with faulty student programs relate to the performance of the models. Our results highlight that LLMs proficient in repairing student programs tend to provide more complete and accurate natural language explanations of code issues. Overall, these results enhance our understanding of the role and capabilities of LLMs in programming education. Using program repair as a proxy for explanation evaluation opens the door for cost-effective assessment methods.
Original languageEnglish
Title of host publicationProceedings of the 19th Workshop on Innovative Use of NLP for Building Educational Applications (BEA 2024)
EditorsEkaterina Kochmar, Marie Bexte, Jill Burstein, Andrea Horbach, Ronja Laarmann-Quante, Anaïs Tack, Victoria Yaneva, Zheng Yuang
PublisherAssociation for Computational Linguistics
Pages165–181
ISBN (Print)979-8-89176-100-1
Publication statusPublished - Jun 2024
MoE publication typeA4 Conference publication
EventWorkshop on Innovative Use of NLP for Building Educational Applications - Mexico City, Mexico
Duration: 20 Jun 202420 Jun 2024
Conference number: 19

Workshop

WorkshopWorkshop on Innovative Use of NLP for Building Educational Applications
Abbreviated titleBEA
Country/TerritoryMexico
CityMexico City
Period20/06/202420/06/2024

Fingerprint

Dive into the research topics of 'Using Program Repair as a Proxy for Language Models’ Feedback Ability in Programming Education'. Together they form a unique fingerprint.
  • Science-IT

    Hakala, M. (Manager)

    School of Science

    Facility/equipment: Facility

Cite this