Skip to main navigation Skip to search Skip to main content

Impact of LLM Feedback on Learner Persistence in Programming

  • Yiqiu Zhou*
  • , Maciej Pankiewicz
  • , Luc Paquette
  • , Ryan S. Baker
  • *Corresponding author for this work
  • University of Illinois at Urbana-Champaign
  • University of Pennsylvania

Research output: Chapter in Book or Report/Conference proceedingConference Proceedingpeer-review

7 Citations (Scopus)

Abstract

This study examines how Large Language Model (LLM) feedback generated for compiler errors impacts learners’ persistence in programming tasks within a system for automated assessment of programming assignments. Persistence, the ability to maintain effort in the face of challenges, is crucial for academic success but can sometimes lead to unproductive "wheel spinning" when students struggle without progress. We investigated how additional LLM feedback based on the GPT-4 model, provided for compiler errors affects learners’ persistence within a CS1 course. Specifically, we examined whether its impacts differ based on task difficulty, and if the effects persist after the feedback is removed. A randomized controlled trial involving 257 students across various programming tasks was conducted. Our findings reveal that LLM feedback improved some aspects of students’ performance and persistence, such as increased scores, a higher likelihood of solving problems, and a lower tendency to demonstrate unproductive "wheel spinning" behavior. Notably, this positive impact was also observed in challenging tasks. However, its benefits did not sustain once the feedback was removed. The results highlight both the potential and limitations of LLM feedback, pointing out the need to promote long-term skill development and learning independent of immediate AI assistance.

Original languageEnglish
Title of host publicationProceedings of the 33rd International Conference on Computers in Education, ICCE 2025
EditorsMaria Mercedes T. RODRIGO, Bo JIANG, Yanjie SONG, Jayakrishnan WARRIEM
PublisherAsia-Pacific Society for Computers in Education
Volume4
ISBN (Print)9786269689064
Publication statusPublished - 2025
Externally publishedYes
Event33rd International Conference on Computers in Education, ICCE 2025 - Chennai, India
Duration: 1 Dec 20255 Dec 2025

Conference

Conference33rd International Conference on Computers in Education, ICCE 2025
Country/TerritoryIndia
CityChennai
Period1/12/255/12/25

Keywords

  • Autograding
  • Automated feedback
  • GPT
  • LLM
  • Persistence
  • Programming

Cite this