arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2310.03780cs.AI
收藏

自动化人类导师式编程反馈:利用 GPT-4 导师模型生成提示,并利用 GPT-3.5 学生模型验证提示

Automating Human Tutor-Style Programming Feedback: Leveraging GPT-4 Tutor Model for Hint Generation and GPT-3.5 Student Model for Hint Validation

Max Planck Institute for Software Systems(马克斯·普朗克软件系统研究所);University of Michigan(密歇根大学);Microsoft(微软公司)

Tung Phung, Victor-Alexandru Pădurean, Anjali Singh, Christopher Brooks, José Cambronero, Sumit Gulwani, Adish Singla, Gustavo Soares

AI总结:

提出 GPT4Hints-GPT3.5Val,用 GPT-4 结合失败测试与修复的符号信息生成编程提示,并用 GPT-3.5 模拟学生验证提示效用。

摘要:

生成式 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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑