LLM生成反馈干预在入门编程中的课堂研究
A Classroom Study of LLM-Generated Feedback Intervention in Introductory Programming
AI总结:
通过随机对照实验,比较自然语言提示、AI生成测试用例和无反馈三种条件,发现自然语言反馈显著提高完成率和收敛速度,而测试用例反馈效果取决于其有效性。
摘要:
大型语言模型(LLM)越来越多地被用于在入门编程课程中提供自动反馈,然而来自真实课堂部署的比较不同反馈模态的经验证据仍然有限。在这项工作中,我们展示了一项大规模课堂研究,其中通过随机协议在入门Python编程课程中部署了AI生成的反馈。学生对错误提交收到三种反馈条件之一:自然语言提示、AI生成的失败测试用例或无AI反馈。我们发布了由此产生的数据集ProgFeed,该数据集捕获了来自17个实验室的215名同意学生的6,693次提交,包括反馈条件、基于执行的性能指标和细粒度时间信息。利用这些数据,我们分析了学习轨迹、反馈质量和重复尝试中的提交行为。我们发现自然语言反馈与更高的完成率和更快的正确解收敛显著相关。相比之下,测试用例反馈表现出异质性效应,这些效应关键取决于反馈的有效性。我们的结果表明,AI生成反馈的形式很重要,评估反馈质量——而不仅仅是其存在——对于理解其教学影响至关重要。
英文摘要:
Large language models (LLMs) are increasingly used to provide automated feedback in introductory programming courses, yet empirical evidence from authentic classroom deployments comparing different feedback modalities remains limited. In this work, we present a large-scale classroom study in which AI-generated feedback was deployed through a randomized protocol in an introductory Python programming course. Students received one of three feedback conditions on incorrect submissions: natural language hints, AI-generated failing test cases, or no AI feedback. We release the resulting dataset, ProgFeed, which captures 6,693 submissions from 215 consenting students across 17 labs, including feedback conditions, execution-based performance measures, and fine-grained temporal information. Using this data, we analyze learning trajectories, feedback quality, and submission behavior over repeated attempts. We find that natural language feedback is significantly associated with higher completion rates and faster convergence to correct solutions. Test case feedback, by contrast, exhibits heterogeneous effects that depend critically on feedback validity. Our results suggest that the form of AI-generated feedback matters, and that evaluating feedback quality -- not just its presence -- is essential for understanding its pedagogical impact.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。