Automating Human Tutor-Style Programming Feedback: Leveraging GPT-4 Tutor Model for Hint Generation and GPT-3.5 Student Model for Hint Validation
Not on the map. Why?
Abstract (arXiv)
Generative AI and large language models hold great promise in enhancing programming education by automatically generating individualized feedback for students. We investigate the role of generative AI models in providing human tutor-style programming hints to help students resolve errors in their buggy programs. Recent works have benchmarked state-of-the-art models for various feedback generation scenarios; however, their overall quality is still inferior to human tutors and not yet ready for real-world deployment. In this paper, we seek to push the limits of generative AI models toward providing high-quality programming hints and develop a novel technique, GPT4Hints-GPT3.5Val. As a first step, our technique leverages GPT-4 as a ``tutor'' model to generate hints -- it boosts the generative quality by using symbolic information of failing test cases and fixes in prompts. As a next step, our technique leverages GPT-3.5, a weaker model, as a ``student'' model to further validate the hint quality -- it performs an automatic quality validation by simulating the potential utility of providing this feedback. We show the efficacy of our technique via extensive evaluation using three real-world datasets of Python programs covering a variety of concepts ranging from basic algorithms to regular expressions and data analysis using pandas library.
Key facts. Cited by 29 papers in the map (data through 14 Oct 2026). Builds on 20 of its 37 references that are in the map. First posted on arXiv 5 Oct 2023.
Builds on
20 of 37 references.
References · 20
- 2023GPT-4 Technical Reportcited by 18,396
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
- 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,442
- 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,592
- 2023Teaching Large Language Models to Self-Debugcited by 988
- 2023A Multitask, Multilingual, Multimodal Evaluation of ChatGPT on Reasoning, Hallucination, and Interactivitycited by 894
- 2022Automatic Generation of Programming Exercises and Code Explanations using Large Language Modelscited by 126
- 2022Reading Between the Lines: Modeling User Behavior and Costs in AI-Assisted Programmingcited by 91
- 2022Experiences from Using Code Explanations Generated by Large Language Models in a Web Software Development E-Bookcited by 84
- 2022Using Large Language Models to Enhance Programming Error Messagescited by 67
- 2023Generative AI for Programming Education: Benchmarking ChatGPT, GPT-4, and Human Tutorscited by 39
8 more
- 2023Generating High-Precision Feedback for Programming Syntax Errors using Large Language Modelscited by 34
- 2023Large Language Models (GPT) for automating feedback on programming assignmentscited by 32
- 2023Can GPT-4 Support Analysis of Textual Data in Tasks Requiring Highly Specialized Domain Expertise?cited by 31
- 2022Repairing Bugs in Python Assignments Using Large Language Modelscited by 28
- 2023Exploring the Potential of Large Language Models to Generate Formative Programming Feedbackcited by 28
- 2016Automated Clustering and Program Repair for Introductory Programming Assignmentscited by 21
- 2023Neural Task Synthesis for Visual Programmingcited by 13
- 2023Evaluating ChatGPT and GPT-4 for Visual Programmingcited by 13
Built on by
Citing papers per year: 2023: 1; 2024: 14; 2025: 7; 2026: 7.
29 papers.
Sort:
By area:
- 2024Open Source Language Models Can Provide Feedback: Evaluating LLMs' Ability to Help Students Using GPT-4-As-A-Judgecited by 20
- 2024Evaluating and Optimizing Educational Content with Large Language Model Judgmentscited by 12
- 2025Modeling Student Learning with 3.8 Million Program Tracescited by 10
- 2024Automatic Generation of Question Hints for Mathematics Problems using Large Language Models in Educational Technologycited by 9
- 2023Large Language Models for In-Context Student Modeling: Synthesizing Student's Behavior in Visual Programmingcited by 8
- 2024Evaluating Language Models for Generating and Judging Programming Feedbackcited by 8
- 2024Hints-In-Browser: Benchmarking Language Models for Programming Feedback Generationcited by 7
- 2024Leveraging Lecture Content for Improved Feedback: Explorations with GPT-4 and Retrieval Augmented Generationcited by 6
- 2024BugSpotter: Automated Generation of Code Debugging Exercisescited by 5
- 2024Using Large Language Models for Student-Code Guided Test Case Generation in Computer Science Educationcited by 4
- 2024Towards Generalizable Agents in Text-Based Educational Environments: A Study of Integrating RL with LLMscited by 4
- 2024Program Synthesis Benchmark for Visual Programming in XLogoOnline Environmentcited by 4
17 more
- 2024Automated Feedback in Math Education: A Comparative Analysis of LLMs for Open-Ended Responsescited by 4
- 2024Evaluating Large Language Models on the GMAT: Implications for the Future of Business Educationcited by 3
- 2024Generating Feedback-Ladders for Logical Errors in Programming using Large Language Modelscited by 3
- 2024Benchmarking Generative Models on Computational Thinking Tests in Elementary Visual Programmingcited by 3
- 2025Synthesizing High-Quality Programming Tasks with LLM-based Expert and Student Agentscited by 3
- 2026When Verification Hurts: Asymmetric Effects of Multi-Agent Feedback in Logic Proof Tutoringcited by 2
- 2026Confirming Correct, Missing the Rest: LLM Tutoring Agents Struggle Where Feedback Matters Mostcited by 2
- 2025Learning Code-Edit Embedding to Model Student Debugging Behaviorcited by 1
- 2025The promise and limits of LLMs in constructing proofs and hints for logic problems in intelligent tutoring systemscited by 1
- 2026Teaching Language Models How to Code Like Learners: Conversational Serialization for Student Simulationcited by 1
- 2026Towards Just-in-Time Adaptive Feedback: Enhancing Student Learning via Knowledge-Grounded LLMcited by 1
- 2025Enhancing tutoring systems by leveraging tailored promptings and domain knowledge with Large Language Modelscited by 0
- 2025ClickSight: Interpreting Student Clickstreams to Reveal Insights on Learning Strategies via LLMscited by 0
- 2025From Pilots to Practices: A Scoping Review of GenAI-Enabled Personalization in Computer Science Educationcited by 0
- 2026Stable and Privacy-Preserving Synthetic Educational Data with Empirical Marginals: A Copula-Based Approachcited by 0
- 2026Pedagogical Promise and Peril of AI: A Text Mining Analysis of ChatGPT Research Discussions in Programming Educationcited by 0
- 2026An Explainable AI Assistant for Introductory Programming Education: Improving Feedback Reliability with Instructor-AI Collaborationcited by 0
- 2026Towards Just-in-Time Adaptive Feedback: Enhancing Student Learning via Knowledge-Grounded LLM26 May 2026
- 2026Confirming Correct, Missing the Rest: LLM Tutoring Agents Struggle Where Feedback Matters Most15 May 2026
- 2026An Explainable AI Assistant for Introductory Programming Education: Improving Feedback Reliability with Instructor-AI Collaboration12 May 2026
- 2026Pedagogical Promise and Peril of AI: A Text Mining Analysis of ChatGPT Research Discussions in Programming Education1 May 2026
- 2026Teaching Language Models How to Code Like Learners: Conversational Serialization for Student Simulation12 Apr 2026
- 2026Stable and Privacy-Preserving Synthetic Educational Data with Empirical Marginals: A Copula-Based Approach5 Apr 2026
- 2026When Verification Hurts: Asymmetric Effects of Multi-Agent Feedback in Logic Proof Tutoring28 Mar 2026
- 2025From Pilots to Practices: A Scoping Review of GenAI-Enabled Personalization in Computer Science Education23 Dec 2025
- 2025Modeling Student Learning with 3.8 Million Program Traces6 Oct 2025
- 2025ClickSight: Interpreting Student Clickstreams to Reveal Insights on Learning Strategies via LLMs21 May 2025
- 2025The promise and limits of LLMs in constructing proofs and hints for logic problems in intelligent tutoring systems7 May 2025
- 2025Enhancing tutoring systems by leveraging tailored promptings and domain knowledge with Large Language Models2 May 2025
17 more
- 2025Synthesizing High-Quality Programming Tasks with LLM-based Expert and Student Agents10 Apr 2025
- 2025Learning Code-Edit Embedding to Model Student Debugging Behavior26 Feb 2025
- 2024BugSpotter: Automated Generation of Code Debugging Exercises21 Nov 2024
- 2024Automatic Generation of Question Hints for Mathematics Problems using Large Language Models in Educational Technology5 Nov 2024
- 2024Automated Feedback in Math Education: A Comparative Analysis of LLMs for Open-Ended Responses29 Oct 2024
- 2024Evaluating Language Models for Generating and Judging Programming Feedback5 Jul 2024
- 2024Program Synthesis Benchmark for Visual Programming in XLogoOnline Environment17 Jun 2024
- 2024Benchmarking Generative Models on Computational Thinking Tests in Elementary Visual Programming14 Jun 2024
- 2024Hints-In-Browser: Benchmarking Language Models for Programming Feedback Generation7 Jun 2024
- 2024Open Source Language Models Can Provide Feedback: Evaluating LLMs' Ability to Help Students Using GPT-4-As-A-Judge8 May 2024
- 2024Leveraging Lecture Content for Improved Feedback: Explorations with GPT-4 and Retrieval Augmented Generation5 May 2024
- 2024Generating Feedback-Ladders for Logical Errors in Programming using Large Language Models1 May 2024
- 2024Towards Generalizable Agents in Text-Based Educational Environments: A Study of Integrating RL with LLMs29 Apr 2024
- 2024Evaluating and Optimizing Educational Content with Large Language Model Judgments5 Mar 2024
- 2024Using Large Language Models for Student-Code Guided Test Case Generation in Computer Science Education11 Feb 2024
- 2024Evaluating Large Language Models on the GMAT: Implications for the Future of Business Education2 Jan 2024
- 2023Large Language Models for In-Context Student Modeling: Synthesizing Student's Behavior in Visual Programming15 Oct 2023
- 2024Towards Generalizable Agents in Text-Based Educational Environments: A Study of Integrating RL with LLMscited by 4
- 2026When Verification Hurts: Asymmetric Effects of Multi-Agent Feedback in Logic Proof Tutoringcited by 2
- 2026Confirming Correct, Missing the Rest: LLM Tutoring Agents Struggle Where Feedback Matters Mostcited by 2
- 2026Confirming Correct, Missing the Rest: LLM Tutoring Agents Struggle Where Feedback Matters Most15 May 2026
- 2026When Verification Hurts: Asymmetric Effects of Multi-Agent Feedback in Logic Proof Tutoring28 Mar 2026
- 2024Towards Generalizable Agents in Text-Based Educational Environments: A Study of Integrating RL with LLMs29 Apr 2024
- 2024Open Source Language Models Can Provide Feedback: Evaluating LLMs' Ability to Help Students Using GPT-4-As-A-Judgecited by 20
- 2024Evaluating and Optimizing Educational Content with Large Language Model Judgmentscited by 12
- 2025Modeling Student Learning with 3.8 Million Program Tracescited by 10
- 2024Automatic Generation of Question Hints for Mathematics Problems using Large Language Models in Educational Technologycited by 9
- 2023Large Language Models for In-Context Student Modeling: Synthesizing Student's Behavior in Visual Programmingcited by 8
- 2024Evaluating Language Models for Generating and Judging Programming Feedbackcited by 8
- 2024Hints-In-Browser: Benchmarking Language Models for Programming Feedback Generationcited by 7
- 2024BugSpotter: Automated Generation of Code Debugging Exercisescited by 5
- 2024Using Large Language Models for Student-Code Guided Test Case Generation in Computer Science Educationcited by 4
- 2024Program Synthesis Benchmark for Visual Programming in XLogoOnline Environmentcited by 4
- 2024Automated Feedback in Math Education: A Comparative Analysis of LLMs for Open-Ended Responsescited by 4
- 2024Evaluating Large Language Models on the GMAT: Implications for the Future of Business Educationcited by 3
12 most cited of 25 All 25 (JSON)
- 2026Towards Just-in-Time Adaptive Feedback: Enhancing Student Learning via Knowledge-Grounded LLM26 May 2026
- 2026An Explainable AI Assistant for Introductory Programming Education: Improving Feedback Reliability with Instructor-AI Collaboration12 May 2026
- 2026Pedagogical Promise and Peril of AI: A Text Mining Analysis of ChatGPT Research Discussions in Programming Education1 May 2026
- 2026Teaching Language Models How to Code Like Learners: Conversational Serialization for Student Simulation12 Apr 2026
- 2026Stable and Privacy-Preserving Synthetic Educational Data with Empirical Marginals: A Copula-Based Approach5 Apr 2026
- 2025From Pilots to Practices: A Scoping Review of GenAI-Enabled Personalization in Computer Science Education23 Dec 2025
- 2025Modeling Student Learning with 3.8 Million Program Traces6 Oct 2025
- 2025ClickSight: Interpreting Student Clickstreams to Reveal Insights on Learning Strategies via LLMs21 May 2025
- 2025The promise and limits of LLMs in constructing proofs and hints for logic problems in intelligent tutoring systems7 May 2025
- 2025Enhancing tutoring systems by leveraging tailored promptings and domain knowledge with Large Language Models2 May 2025
- 2025Synthesizing High-Quality Programming Tasks with LLM-based Expert and Student Agents10 Apr 2025
- 2025Learning Code-Edit Embedding to Model Student Debugging Behavior26 Feb 2025
12 newest of 25 All 25 (JSON)