Skip to main content
QUICK REVIEW

[Paper Review] Students' Perceptions and Preferences of Generative Artificial Intelligence Feedback for Programming

Zhengdong Zhang, Zihan Dong|arXiv (Cornell University)|Dec 17, 2023
Software Engineering ResearchComputer Science4 citations
TL;DR

This study evaluates students' perceptions of ChatGPT-generated feedback for Java programming assignments in a CS1 course. Using the Shute formative feedback framework, it finds that students view LLM feedback as highly formative when code is included in prompts, prefer specific, corrective, and clear feedback with code examples, and suggest improvements in tone personalization and accuracy.

ABSTRACT

The rapid evolution of artificial intelligence (AI), specifically large language models (LLMs), has opened opportunities for various educational applications. This paper explored the feasibility of utilizing ChatGPT, one of the most popular LLMs, for automating feedback for Java programming assignments in an introductory computer science (CS1) class. Specifically, this study focused on three questions: 1) To what extent do students view LLM-generated feedback as formative? 2) How do students see the comparative affordances of feedback prompts that include their code, vs. those that exclude it? 3) What enhancements do students suggest for improving AI-generated feedback? To address these questions, we generated automated feedback using the ChatGPT API for four lab assignments in the CS1 class. The survey results revealed that students perceived the feedback as aligning well with formative feedback guidelines established by Shute. Additionally, students showed a clear preference for feedback generated by including the students' code as part of the LLM prompt, and our thematic study indicated that the preference was mainly attributed to the specificity, clarity, and corrective nature of the feedback. Moreover, this study found that students generally expected specific and corrective feedback with sufficient code examples, but had diverged opinions on the tone of the feedback. This study demonstrated that ChatGPT could generate Java programming assignment feedback that students perceived as formative. It also offered insights into the specific improvements that would make the ChatGPT-generated feedback useful for students.

Motivation & Objective

  • To investigate how students perceive LLM-generated feedback for programming assignments in terms of formative feedback quality.
  • To compare student preferences between feedback prompts that include their code versus those that do not.
  • To identify actionable improvements students suggest for enhancing the usefulness and clarity of LLM-generated feedback.
  • To assess the feasibility of using ChatGPT for automating formative feedback in introductory computer science courses.

Proposed method

  • Generated automated feedback for four CS1 lab assignments using the ChatGPT API with prompts that either included or excluded students’ code.
  • Administered a survey based on Shute’s formative feedback guidelines to evaluate perceived feedback quality.
  • Conducted thematic analysis on open-ended survey responses to understand reasons behind feedback preferences and suggestions for improvement.
  • Collected data from 58 computer science majors in a U.S. public university during Summer 2023.
  • Used quantitative analysis to assess the percentage of students who viewed feedback as formative, with a 70% threshold as a subjective benchmark.
  • Explored feedback tone preferences through analysis of student responses to open-ended questions on tone and tone impact.

Experimental results

Research questions

  • RQ1To what extent do students view LLM-generated feedback as formative, according to Shute’s guidelines?
  • RQ2How do students compare feedback generated with and without their code in the prompt in terms of perceived quality and usefulness?
  • RQ3What specific enhancements do students suggest for improving the clarity, specificity, and corrective nature of LLM-generated feedback?
  • RQ4How do students’ feedback preferences vary based on performance level (e.g., full score vs. lower score)?
  • RQ5What role does feedback tone play in student perception, and are there divergent preferences for positive vs. critical tones?

Key findings

  • 70% or more of students perceived the LLM-generated feedback as formative, aligning with Shute’s criteria for effective formative feedback.
  • Students strongly preferred feedback generated with their code included in the prompt, citing increased specificity, clarity, and corrective value.
  • Students consistently requested more specific, clear, and example-rich feedback, particularly with correct code snippets to guide improvement.
  • There was a divergence in tone preferences: 3 out of 117 students preferred a positive, encouraging tone, while 5 preferred a more critical, error-focused tone.
  • Students who earned full scores were more interested in feedback extending beyond the syllabus, while lower-scoring students sought external learning resources.
  • Students identified limitations in the LLM’s understanding of context and thought processes, suggesting a need for improved model awareness of student-specific needs.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.