Assessing Large Language Models for Automated Feedback Generation in Learning Programming Problem Solving

Priscylla Silva, Evandro Costa
3/18/2025
cs.SEcs.AIcs.LG

No official code found. Best implementation: priscylla/Assessing-LMMs-for-Feedback-Generation (1 star, last commit 2025-02-27).

Abstract

Providing effective feedback is important for student learning in programming problem-solving. In this sense, Large Language Models (LLMs) have emerged as potential tools to automate feedback generation. However, their reliability and ability to identify reasoning errors in student code remain not well understood. This study evaluates the performance of four LLMs (GPT-4o, GPT-4o mini, GPT-4-Turbo, and Gemini-1.5-pro) on a benchmark dataset of 45 student solutions. We assessed the models' capacity to provide accurate and insightful feedback, particularly in identifying reasoning mistakes. Our analysis reveals that 63\% of feedback hints were accurate and complete, while 37\% contained mistakes, including incorrect line identification, flawed explanations, or hallucinated issues. These findings highlight the potential and limitations of LLMs in programming education and underscore the need for improvements to enhance reliability and minimize risks in educational applications.

View on arXivView PDF

Code Implementations(1)

Assessing Large Language Models for Automated Feedback Generation in Learning Programming Problem Solving

10Jupyter NotebookJan 21, 20251 years ago
educationfeedbackllmprogramming-exercises

Similar Papers

Cite this paper

@article{silva2025assessing,
  title  = {Assessing Large Language Models for Automated Feedback Generation in Learning Programming Problem Solving},
  author = {Priscylla Silva and Evandro Costa},
  year   = {2025},
  eprint = {2503.14630},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.14630v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2503.14630.svg)](https://codeofpaper.com/paper/2503.14630)

Discussion