生成式 AI 和大型语言模型在通过自动为学生生成个性化反馈来增强编程教育方面展现出巨大前景。我们研究生成式 AI 模型在提供人类导师式编程提示、帮助学生解决其错误程序中错误方面的作用。近期工作已在多种反馈生成场景下对最先进模型进行了基准测试;然而,这些模型的整体质量仍不及人类导师,尚未准备好用于真实世界部署。本文中,我们致力于推动生成式 AI 模型在提供高质量编程提示方面的极限,并开发了一种新技术 GPT4Hints-GPT3.5Val。作为第一步,该技术利用 GPT-4 作为“导师”模型生成提示——通过在提示中使用失败测试用例和修复的符号信息来提升生成质量。作为下一步,该技术利用较弱的模型 GPT-3.5 作为“学生”模型进一步验证提示质量——通过模拟提供该反馈的潜在效用执行自动质量验证。我们通过使用三个真实世界 Python 程序数据集进行广泛评估,证明了该技术的有效性;这些数据集涵盖从基础算法到正则表达式以及使用 pandas 库进行数据分析的多种概念。
英文摘要:
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.
Large Language Models (GPT) for automating feedback on programming assignments
Institute of Information Technology, Warsaw University of Life Sciences(华沙生命科学大学信息技术研究所);Penn Center for Learning Analytics, University of Pennsylvania(宾夕法尼亚大学宾夕法尼亚学习分析中心)
SPL: A Socratic Playground for Learning Powered by Large Language Model
Institute for Intelligent Systems, University of Memphis(孟菲斯大学智能系统研究所);University of Memphis(孟菲斯大学);School of Computer Science, Carnegie Mellon University(卡内基梅隆大学计算机科学学院);School of Psychology, Shaanxi Normal University(陕西师范大学心理学院);School of Psychology, Central China Normal University(华中师范大学心理学院);Department of Applied Social Sciences, Hong Kong Polytechnic University(香港理工大学应用社会科学系)
Beyond Helpfulness: A Teaching-over-Solving Diagnostic for Measuring Educational Impact in LLM Tutors
Washington University in St. Louis(圣路易斯华盛顿大学);Department of Operations Research and Engineering Management, Southern Methodist University(南卫理公会大学运筹学与工程管理系)
Automated Personalized Feedback Improves Learning Gains in an Intelligent Tutoring System
Korbit Technologies Inc.(科比科技公司);University of Cambridge(剑桥大学);École de Technologie Supérieure(高等技术学院);McGill University(麦吉尔大学);MILA (Quebec Artificial Intelligence Institute)(MILA(魁北克人工智能研究所))
The Grainger College of Engineering, Department of Civil and Environmental Engineering, University of Illinois at Urbana-Champaign, 205 N Matthews, Urbana, IL 61801(伊利诺伊大学厄巴纳-香槟分校格拉inger工程学院,土木与环境工程系)
Automating Skill Acquisition through Large-Scale Mining of Open-Source Agentic Repositories: A Framework for Multi-Agent Procedural Knowledge Extraction
A Large-Scale, Open-Domain, Mixed-Interface Dialogue-Based ITS for STEM
Korbit Technologies Inc.(Korbit科技公司);University of Cambridge(剑桥大学);École de Technologie Supérieure(高等工程技术学院);MILA (Quebec Artificial Intelligence Institute)(MILA(魁北克人工智能研究所))
Large Language Model-Driven Dynamic Assessment of Grammatical Accuracy in English Language Learner Writing
National Institute of Standards(国家标准 institute);Department of Physics, Colorado State University(物理系,科罗拉多州立大学);Electrical Engineering Department, University of Colorado(电气工程系,科罗拉多大学)