[Paper Review] Large Language Models (GPT) for automating feedback on programming assignments
This study evaluates GPT-3.5 for generating personalized feedback on programming assignments within an automated assessment platform. Using a controlled experiment with 132 university students, it shows that GPT-generated hints significantly improved performance on tasks where they were available, reduced reliance on standard feedback, and enabled rapid adaptation when hints were later disabled, though some over-reliance was observed.
Addressing the challenge of generating personalized feedback for programming assignments is demanding due to several factors, like the complexity of code syntax or different ways to correctly solve a task. In this experimental study, we automated the process of feedback generation by employing OpenAI's GPT-3.5 model to generate personalized hints for students solving programming assignments on an automated assessment platform. Students rated the usefulness of GPT-generated hints positively. The experimental group (with GPT hints enabled) relied less on the platform's regular feedback but performed better in terms of percentage of successful submissions across consecutive attempts for tasks, where GPT hints were enabled. For tasks where the GPT feedback was made unavailable, the experimental group needed significantly less time to solve assignments. Furthermore, when GPT hints were unavailable, students in the experimental condition were initially less likely to solve the assignment correctly. This suggests potential over-reliance on GPT-generated feedback. However, students in the experimental condition were able to correct reasonably rapidly, reaching the same percentage correct after seven submission attempts. The availability of GPT hints did not significantly impact students' affective state.
Motivation & Objective
- To investigate whether GPT-3.5-generated hints improve student performance on programming assignments compared to standard automated feedback.
- To examine the impact of GPT-generated hints on student behavior, including feedback usage, time on task, and performance on subsequent assignments.
- To assess whether the availability of GPT feedback affects students’ affective states, such as anxiety, confusion, or focus.
- To explore the potential for LLMs to automate personalized feedback in computer science education, reducing instructor workload while maintaining or improving learning outcomes.
Proposed method
- Integrated OpenAI’s GPT-3.5 API with the RunCode automated assessment platform to generate personalized hints for 38 out of 46 programming tasks.
- Randomly assigned 132 second-semester computer science students (66 in control, 66 in experimental group) to compare standard feedback vs. GPT-enhanced feedback.
- Collected 5,923 code submissions over a 9-week period, with performance measured via submission success rates, time to completion, and feedback usage.
- Used a 5-point Likert scale survey to assess student perceptions of hint usefulness, with median ratings analyzed using non-parametric tests.
- Employed Mann-Whitney U tests to compare affective states (anxiety, confusion, focus) between conditions, adjusting for multiple comparisons.
- Analyzed performance trends across submission attempts, particularly comparing success rates and time-to-solution when GPT hints were enabled vs. disabled.
Experimental results
Research questions
- RQ1Does the integration of GPT-3.5-generated hints improve student performance on programming assignments compared to standard automated feedback?
- RQ2How does the availability of GPT-generated hints affect students’ reliance on standard feedback mechanisms within the platform?
- RQ3What is the impact of GPT-generated hints on students’ time to complete assignments, both when hints are available and when they are disabled?
- RQ4How does the absence of GPT-generated hints affect students’ initial success rates on more complex tasks, and how quickly do they adapt?
- RQ5Does the use of GPT-generated feedback influence students’ affective states, such as anxiety, confusion, or focus levels?
Key findings
- 46% of students rated GPT-generated hints as highly useful (median rating of 4 or 5 on a 5-point scale), while 19% found them not useful (median rating of 1 or 2).
- Students in the experimental group relied significantly less on the platform’s standard feedback for tasks with GPT hints enabled, despite higher success rates.
- The experimental group achieved significantly higher percentages of successful submissions across consecutive attempts on tasks with GPT hints enabled.
- When GPT hints were disabled, students in the experimental group solved assignments significantly faster than in the control group, suggesting prior exposure enhanced learning efficiency.
- Students in the experimental group were initially less likely to solve tasks correctly when GPT hints were unavailable, indicating temporary over-reliance, but performance normalized after about seven submission attempts.
- No significant differences were found between conditions in students’ anxiety (p=0.718), confusion (p=0.935), or focus (p=0.620), indicating GPT feedback did not substantially affect affective states.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.