Exploring the Responses of Large Language Models to Beginner Programmers' Help Requests
arXiv:2306.05715 · doi:10.1145/3568813.3600139
Abstract
Background and Context: Over the past year, large language models (LLMs) have taken the world by storm. In computing education, like in other walks of life, many opportunities and threats have emerged as a consequence. Objectives: In this article, we explore such opportunities and threats in a specific area: responding to student programmers' help requests. More specifically, we assess how good LLMs are at identifying issues in problematic code that students request help on. Method: We collected a sample of help requests and code from an online programming course. We then prompted two different LLMs (OpenAI Codex and GPT-3.5) to identify and explain the issues in the students' code and assessed the LLM-generated answers both quantitatively and qualitatively. Findings: GPT-3.5 outperforms Codex in most respects. Both LLMs frequently find at least one actual issue in each student program (GPT-3.5 in 90% of the cases). Neither LLM excels at finding all the issues (GPT-3.5 finding them 57% of the time). False positives are common (40% chance for GPT-3.5). The advice that the LLMs provide on the issues is often sensible. The LLMs perform better on issues involving program logic rather than on output formatting. Model solutions are frequently provided even when the LLM is prompted not to. LLM responses to prompts in a non-English language are only slightly worse than responses to English prompts. Implications: Our results continue to highlight the utility of LLMs in programming education. At the same time, the results highlight the unreliability of LLMs: LLMs make some of the same mistakes that students do, perhaps especially when formatting output as required by automated assessment systems. Our study informs teachers interested in using LLMs as well as future efforts to customize LLMs for the needs of programming education.
arXiv comment13 pages, 1 figure. To be published in Proceedings of the 2023 ACM Conference on International Computing Education Research V.1 (ICER '23 V1)
References in corpus (3)
Cited by in corpus (16)
- The Robots are Here: Navigating the Generative AI Revolution in Computing Education
- Desirable Characteristics for AI Teaching Assistants in Programming Education
- Iris: An AI-Driven Virtual Tutor For Computer Science Education
- AI-enhanced Auto-correction of Programming Exercises: How Effective is GPT-3.5?
- Evaluating the Application of Large Language Models to Generate Feedback in Programming Education
- Innovating Computer Programming Pedagogy: The AI-Lab Framework for Generative AI Adoption
- How Do Programming Students Use Generative AI?
- 61A Bot Report: AI Assistants in CS1 Save Students Homework Time and Reduce Demands on Staff. (Now What?)
- Enhancing Programming Error Messages in Real Time with Generative AI
- Rubric Is All You Need: Enhancing LLM-based Code Evaluation With Question-Specific Rubrics
- The Responsible Development of Automated Student Feedback with Generative AI
- Let's Ask AI About Their Programs: Exploring ChatGPT's Answers To Program Comprehension Questions
- Leveraging Lecture Content for Improved Feedback: Explorations with GPT-4 and Retrieval Augmented Generation
- That's Not the Feedback I Need! -- Student Engagement with GenAI Feedback in the Tutor Kai
- Howzat? Appealing to Expert Judgement for Evaluating Human and AI Next-Step Hints for Novice Programmers
- Student Engagement with GenAI's Tutoring Feedback: A Mixed Methods Study