Generative AI for Programming Education: Benchmarking ChatGPT, GPT-4, and Human Tutors
Not on the map. Why?
Abstract (arXiv)
Generative AI and large language models hold great promise in enhancing computing education by powering next-generation educational technologies for introductory programming. Recent works have studied these models for different scenarios relevant to programming education; however, these works are limited for several reasons, as they typically consider already outdated models or only specific scenario(s). Consequently, there is a lack of a systematic study that benchmarks state-of-the-art models for a comprehensive set of programming education scenarios. In our work, we systematically evaluate two models, ChatGPT (based on GPT-3.5) and GPT-4, and compare their performance with human tutors for a variety of scenarios. We evaluate using five introductory Python programming problems and real-world buggy programs from an online platform, and assess performance using expert-based annotations. Our results show that GPT-4 drastically outperforms ChatGPT (based on GPT-3.5) and comes close to human tutors' performance for several scenarios. These results also highlight settings where GPT-4 still struggles, providing exciting future directions on developing techniques to improve the performance of these models.
Key facts. Cited by 39 papers in the map (data through 14 Oct 2026). Builds on 14 of its 28 references that are in the map. First posted on arXiv 29 Jun 2023.
Builds on
14 of 28 references.
References · 14
- 2023GPT-4 Technical Reportcited by 18,396
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,592
- 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
- 2022Using Large Language Models to Enhance Programming Error Messagescited by 67
- 2021MathBERT: A Pre-trained Language Model for General NLP Tasks in Mathematics Educationcited by 37
- 2023Generating High-Precision Feedback for Programming Syntax Errors using Large Language Modelscited by 34
- 2022Repairing Bugs in Python Assignments Using Large Language Modelscited by 28
- 2023Is AI the better programming partner? Human-Human Pair Programming vs. Human-AI pAIr Programmingcited by 20
- 2020Synthesizing Tasks for Block-based Programmingcited by 19
- 2023Neural Task Synthesis for Visual Programmingcited by 13
Built on by
Citing papers per year: 2023: 7; 2024: 18; 2025: 6; 2026: 8.
39 papers.
Sort:
By area:
- 2023The Robots are Here: Navigating the Generative AI Revolution in Computing Educationcited by 86
- 2024AutoTutor meets Large Language Models: A Language Model Tutor with Rich Pedagogy and Guardrailscited by 31
- 2023Automating Human Tutor-Style Programming Feedback: Leveraging GPT-4 Tutor Model for Hint Generation and GPT-3.5 Student Model for Hint Validationcited by 29
- 2025Rubric Is All You Need: Enhancing LLM-based Code Evaluation With Question-Specific Rubricscited by 29
- 2024Open Source Language Models Can Provide Feedback: Evaluating LLMs' Ability to Help Students Using GPT-4-As-A-Judgecited by 20
- 2023User Modeling in the Era of Large Language Models: Current Research and Future Directionscited by 18
- 2023Evaluating ChatGPT and GPT-4 for Visual Programmingcited by 13
- 2023Adapting Large Language Models for Education: Foundational Capabilities, Potentials, and Challengescited by 13
- 2024Generative AI for Education (GAIED): Advances, Opportunities, and Challengescited by 13
- 2024Evaluating Contextually Personalized Programming Exercises Created with Generative AIcited by 13
- 2024LLMs with Industrial Lens: Deciphering the Challenges and Prospects -- A Surveycited by 12
- 2024Evaluating the Application of Large Language Models to Generate Feedback in Programming Educationcited by 10
27 more
- 2024Comparing large language models and human programmers for generating programming codecited 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
- 2024Enhancing Programming Education with ChatGPT: A Case Study on Student Perceptions and Interactions in a Python Coursecited 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
- 2025AI Literacy in K-12 and Higher Education in the Wake of Generative AI: An Integrative Reviewcited by 4
- 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
- 2024No Size Fits All: The Perils and Pitfalls of Leveraging LLMs Vary with Company Sizecited by 3
- 2025Synthesizing High-Quality Programming Tasks with LLM-based Expert and Student Agentscited by 3
- 2024Benchmarking Educational Program Repaircited by 2
- 2025AGACCI : Affiliated Grading Agents for Criteria-Centric Interface in Educational Coding Contextscited by 2
- 2025Scaffolding Metacognition in Programming Education: Understanding Student-AI Interactions and Design Implicationscited by 2
- 2023Anticipating User Needs: Insights from Design Fiction on Conversational Agents for Computational Thinkingcited by 1
- 2026Human-Human-AI Triadic Programming: Uncovering the Role of AI Agent and the Value of Human Partner in Collaborative Learningcited by 1
- 2025Design of AI-Powered Tool for Self-Regulation Support in Programming Educationcited by 0
- 2026Paper Reconstruction Evaluation: Evaluating Presentation and Hallucination in AI-written Paperscited 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
- 2026AI-Assisted Help-Seeking Trajectories in Programming Education from an SRL-Informed Perspectivecited by 0
- 2026LoRA Fine-Tuned Models for Control Systems Course Q&A: A Multidimensional Evaluation of Model Scale and Rank Effectscited by 0
- 2026Where LLM Graders Succeed and Break: Evidence from Two Computer-Science Examscited by 0
- 2026SocraticRepair: Planning-Guided Socratic Tutoring for Program Debugging and Misconception Repaircited by 0
- 2026SocraticRepair: Planning-Guided Socratic Tutoring for Program Debugging and Misconception Repair10 Oct 2026
- 2026Where LLM Graders Succeed and Break: Evidence from Two Computer-Science Exams24 Sep 2026
- 2026LoRA Fine-Tuned Models for Control Systems Course Q&A: A Multidimensional Evaluation of Model Scale and Rank Effects12 Sep 2026
- 2026AI-Assisted Help-Seeking Trajectories in Programming Education from an SRL-Informed Perspective22 Jun 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
- 2026Paper Reconstruction Evaluation: Evaluating Presentation and Hallucination in AI-written Papers1 Apr 2026
- 2026Human-Human-AI Triadic Programming: Uncovering the Role of AI Agent and the Value of Human Partner in Collaborative Learning17 Jan 2026
- 2025Scaffolding Metacognition in Programming Education: Understanding Student-AI Interactions and Design Implications6 Nov 2025
- 2025AGACCI : Affiliated Grading Agents for Criteria-Centric Interface in Educational Coding Contexts7 Jul 2025
- 2025Synthesizing High-Quality Programming Tasks with LLM-based Expert and Student Agents10 Apr 2025
- 2025Design of AI-Powered Tool for Self-Regulation Support in Programming Education3 Apr 2025
27 more
- 2025Rubric Is All You Need: Enhancing LLM-based Code Evaluation With Question-Specific Rubrics31 Mar 2025
- 2025AI Literacy in K-12 and Higher Education in the Wake of Generative AI: An Integrative Review27 Feb 2025
- 2024BugSpotter: Automated Generation of Code Debugging Exercises21 Nov 2024
- 2024No Size Fits All: The Perils and Pitfalls of Leveraging LLMs Vary with Company Size21 Jul 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
- 2024Evaluating Contextually Personalized Programming Exercises Created with Generative AI11 Jun 2024
- 2024Hints-In-Browser: Benchmarking Language Models for Programming Feedback Generation7 Jun 2024
- 2024Benchmarking Educational Program Repair8 May 2024
- 2024Open Source Language Models Can Provide Feedback: Evaluating LLMs' Ability to Help Students Using GPT-4-As-A-Judge8 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
- 2024Enhancing Programming Education with ChatGPT: A Case Study on Student Perceptions and Interactions in a Python Course20 Mar 2024
- 2024Evaluating the Application of Large Language Models to Generate Feedback in Programming Education13 Mar 2024
- 2024Comparing large language models and human programmers for generating programming code1 Mar 2024
- 2024LLMs with Industrial Lens: Deciphering the Challenges and Prospects -- A Survey22 Feb 2024
- 2024AutoTutor meets Large Language Models: A Language Model Tutor with Rich Pedagogy and Guardrails14 Feb 2024
- 2024Using Large Language Models for Student-Code Guided Test Case Generation in Computer Science Education11 Feb 2024
- 2024Generative AI for Education (GAIED): Advances, Opportunities, and Challenges2 Feb 2024
- 2023Adapting Large Language Models for Education: Foundational Capabilities, Potentials, and Challenges27 Dec 2023
- 2023User Modeling in the Era of Large Language Models: Current Research and Future Directions11 Dec 2023
- 2023Anticipating User Needs: Insights from Design Fiction on Conversational Agents for Computational Thinking12 Nov 2023
- 2023Large Language Models for In-Context Student Modeling: Synthesizing Student's Behavior in Visual Programming15 Oct 2023
- 2023Automating Human Tutor-Style Programming Feedback: Leveraging GPT-4 Tutor Model for Hint Generation and GPT-3.5 Student Model for Hint Validation5 Oct 2023
- 2023The Robots are Here: Navigating the Generative AI Revolution in Computing Education1 Oct 2023
- 2023Evaluating ChatGPT and GPT-4 for Visual Programming30 Jul 2023
- 2023The Robots are Here: Navigating the Generative AI Revolution in Computing Educationcited by 86
- 2024AutoTutor meets Large Language Models: A Language Model Tutor with Rich Pedagogy and Guardrailscited by 31
- 2023Automating Human Tutor-Style Programming Feedback: Leveraging GPT-4 Tutor Model for Hint Generation and GPT-3.5 Student Model for Hint Validationcited by 29
- 2025Rubric Is All You Need: Enhancing LLM-based Code Evaluation With Question-Specific Rubricscited by 29
- 2024Open Source Language Models Can Provide Feedback: Evaluating LLMs' Ability to Help Students Using GPT-4-As-A-Judgecited by 20
- 2023User Modeling in the Era of Large Language Models: Current Research and Future Directionscited by 18
- 2023Evaluating ChatGPT and GPT-4 for Visual Programmingcited by 13
- 2023Adapting Large Language Models for Education: Foundational Capabilities, Potentials, and Challengescited by 13
- 2024Generative AI for Education (GAIED): Advances, Opportunities, and Challengescited by 13
- 2024Evaluating Contextually Personalized Programming Exercises Created with Generative AIcited by 13
- 2024LLMs with Industrial Lens: Deciphering the Challenges and Prospects -- A Surveycited by 12
- 2024Evaluating the Application of Large Language Models to Generate Feedback in Programming Educationcited by 10
12 most cited of 36 All 36 (JSON)
- 2026SocraticRepair: Planning-Guided Socratic Tutoring for Program Debugging and Misconception Repair10 Oct 2026
- 2026Where LLM Graders Succeed and Break: Evidence from Two Computer-Science Exams24 Sep 2026
- 2026LoRA Fine-Tuned Models for Control Systems Course Q&A: A Multidimensional Evaluation of Model Scale and Rank Effects12 Sep 2026
- 2026AI-Assisted Help-Seeking Trajectories in Programming Education from an SRL-Informed Perspective22 Jun 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
- 2026Human-Human-AI Triadic Programming: Uncovering the Role of AI Agent and the Value of Human Partner in Collaborative Learning17 Jan 2026
- 2025Scaffolding Metacognition in Programming Education: Understanding Student-AI Interactions and Design Implications6 Nov 2025
- 2025Synthesizing High-Quality Programming Tasks with LLM-based Expert and Student Agents10 Apr 2025
- 2025Design of AI-Powered Tool for Self-Regulation Support in Programming Education3 Apr 2025
- 2025Rubric Is All You Need: Enhancing LLM-based Code Evaluation With Question-Specific Rubrics31 Mar 2025
- 2025AI Literacy in K-12 and Higher Education in the Wake of Generative AI: An Integrative Review27 Feb 2025
12 newest of 36 All 36 (JSON)