Feedback-Generation for Programming Exercises With GPT-4
arXiv:2403.04449 · doi:10.1145/3649217.3653594
Abstract
Ever since Large Language Models (LLMs) and related applications have become broadly available, several studies investigated their potential for assisting educators and supporting students in higher education. LLMs such as Codex, GPT-3.5, and GPT 4 have shown promising results in the context of large programming courses, where students can benefit from feedback and hints if provided timely and at scale. This paper explores the quality of GPT-4 Turbo's generated output for prompts containing both the programming task specification and a student's submission as input. Two assignments from an introductory programming course were selected, and GPT-4 was asked to generate feedback for 55 randomly chosen, authentic student programming submissions. The output was qualitatively analyzed regarding correctness, personalization, fault localization, and other features identified in the material. Compared to prior work and analyses of GPT-3.5, GPT-4 Turbo shows notable improvements. For example, the output is more structured and consistent. GPT-4 Turbo can also accurately identify invalid casing in student programs' output. In some cases, the feedback also includes the output of the student program. At the same time, inconsistent feedback was noted such as stating that the submission is correct but an error needs to be fixed. The present work increases our understanding of LLMs' potential, limitations, and how to integrate them into e-assessment systems, pedagogical scenarios, and instructing students who are using applications based on GPT-4.
accepted at ITiCSE 2024, Milan, Italy
References in corpus (7)
- Automatic Generation of Programming Exercises and Code Explanations using Large Language Models
- The Robots are Here: Navigating the Generative AI Revolution in Computing Education
- Using Large Language Models to Enhance Programming Error Messages
- Comparing Code Explanations Created by Students and Large Language Models
- AI-enhanced Auto-correction of Programming Exercises: How Effective is GPT-3.5?
- Large Language Models in Introductory Programming Education: ChatGPT's Performance and Implications for Assessments
- Computing Education in the Era of Generative AI
Cited by in corpus (6)
- Evaluating the Application of Large Language Models to Generate Feedback in Programming Education
- Rubric Is All You Need: Enhancing LLM-based Code Evaluation With Question-Specific Rubrics
- Evaluating adaptive and generative AI-based feedback and recommendations in a knowledge-graph-integrated programming learning system
- That's Not the Feedback I Need! -- Student Engagement with GenAI Feedback in the Tutor Kai
- Unlimited Practice Opportunities: Automated Generation of Comprehensive, Personalized Programming Tasks
- Student Engagement with GenAI's Tutoring Feedback: A Mixed Methods Study