Studying the effect of AI Code Generators on Supporting Novice Learners in Introductory Programming
arXiv:2302.07427 · doi:10.1145/3544548.3580919
Abstract
AI code generators like OpenAI Codex have the potential to assist novice programmers by generating code from natural language descriptions, however, over-reliance might negatively impact learning and retention. To explore the implications that AI code generators have on introductory programming, we conducted a controlled experiment with 69 novices (ages 10-17). Learners worked on 45 Python code-authoring tasks, for which half of the learners had access to Codex, each followed by a code-modification task. Our results show that using Codex significantly increased code-authoring performance (1.15x increased completion rate and 1.8x higher scores) while not decreasing performance on manual code-modification tasks. Additionally, learners with access to Codex during the training phase performed slightly better on the evaluation post-tests conducted one week later, although this difference did not reach statistical significance. Of interest, learners with higher Scratch pre-test scores performed significantly better on retention post-tests, if they had prior access to Codex.
arXiv commentTo be published in Proceedings of the 2023 CHI Conference on Human Factors in Computing Systems (CHI '23), April 23--28, 2023, Hamburg, Germany 17 pages with 11 Figures, 2 Tables, 6 Page Appendix
References in corpus (7)
- PaLM: Scaling Language Modeling with Pathways
- Evaluating Large Language Models Trained on Code
- Seq2SQL: Generating Structured Queries from Natural Language using Reinforcement Learning
- Automatic Generation of Programming Exercises and Code Explanations using Large Language Models
- CodeXGLUE: A Machine Learning Benchmark Dataset for Code Understanding and Generation
- SWIM: Synthesizing What I Mean
- Scaffolding Progress: How Structured Editors Shape Novice Errors When Transitioning from Blocks to Text
Cited by in corpus (30)
- The Robots are Here: Navigating the Generative AI Revolution in Computing Education
- The Metacognitive Demands and Opportunities of Generative AI
- CodeAid: Evaluating a Classroom Deployment of an LLM-based Programming Assistant that Balances Student and Educator Needs
- Thrilled by Your Progress! Large Language Models (GPT-4) No Longer Struggle to Pass Assessments in Higher Education Programming Courses
- A Comparative Study of AI-Generated (GPT-4) and Human-crafted MCQs in Programming Education
- How Knowledge Workers Think Generative AI Will (Not) Transform Their Industries
- Desirable Characteristics for AI Teaching Assistants in Programming Education
- Patterns of Student Help-Seeking When Using a Large Language Model-Powered Programming Assistant
- ChatGPT in the classroom. Exploring its potential and limitations in a Functional Programming course
- How Beginning Programmers and Code LLMs (Mis)read Each Other
- Insights from Social Shaping Theory: The Appropriation of Large Language Models in an Undergraduate Programming Course
- Assistance or Disruption? Exploring and Evaluating the Design and Trade-offs of Proactive AI Programming Support
- Research Integrity and GenAI: A Systematic Analysis of Ethical Challenges Across Research Phases
- Exploring How Multiple Levels of GPT-Generated Programming Hints Support or Disappoint Novices
- How Do Programming Students Use Generative AI?
- Enhancing Programming Error Messages in Real Time with Generative AI
- 61A Bot Report: AI Assistants in CS1 Save Students Homework Time and Reduce Demands on Staff. (Now What?)
- The Impact of Generative AI Coding Assistants on Developers Who Are Visually Impaired
- Whodunit: Classifying Code as Human Authored or GPT-4 Generated -- A case study on CodeChef problems
- Will Your Next Pair Programming Partner Be Human? An Empirical Evaluation of Generative AI as a Collaborative Teammate in a Semester-Long Classroom Setting
- SHAPE-IT: Exploring Text-to-Shape-Display for Generative Shape-Changing Behaviors with LLMs
- Large Language Models to the Rescue: Reducing the Complexity in Scientific Workflow Development Using ChatGPT
- Human-AI Experience in Integrated Development Environments: A Systematic Literature Review
- Let's Ask AI About Their Programs: Exploring ChatGPT's Answers To Program Comprehension Questions
- Automating Personalized Parsons Problems with Customized Contexts and Concepts
- Howzat? Appealing to Expert Judgement for Evaluating Human and AI Next-Step Hints for Novice Programmers
- A Systematic Literature Review of the Use of GenAI Assistants for Code Comprehension: Implications for Computing Education Research and Practice
- GestureCoach: Rehearsing for Engaging Talks with LLM-Driven Gesture Recommendations
- Examining the Usage of Generative AI Models in Student Learning Activities for Software Programming
- Unpacking Vibe Coding: Help-Seeking Processes in Student-AI Interactions While Programming