arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2107.14035cs.CYcs.LG
收藏

ProtoTransformer:一种提供学生反馈的元学习方法

ProtoTransformer: A Meta-Learning Approach to Providing Student Feedback

Stanford University(斯坦福大学)

Mike Wu, Noah Goodman, Chris Piech, Chelsea Finn

摘要:

高质量的计算机科学教育受到难以向学生大规模提供教师反馈的限制。虽然这种反馈原则上可以自动化,但预测正确反馈的监督方法受到注释大量学生代码的棘手性的考验。在本文中,我们将提供反馈的问题框定为Few-Shot分类,其中元学习者适应于从教师注释的几个示例中就新的编程问题向学生代码提供反馈。由于元训练的数据有限,我们对典型的少样本学习框架提出了一些修改,包括任务增强以创建合成任务,以及额外的辅助信息以构建关于每个任务的更强先验。这些添加与Transformer架构组合以将离散序列(例如代码)嵌入到反馈类标签的原型表示。在一系列Few-Shot自然语言处理任务中,我们的表现达到或超过了最先进的性能。然后,在收集学生的解决方案,从介绍大学课程的考试问题,我们表明,我们的方法达到了88%的平均精度看不见的问题,超过了82%的精度教学助理。我们的方法已成功部署,为一所一流大学提供的编程课程中的16,000名学生考试解决方案提供反馈。据我们所知,这是第一次成功地将基于机器学习的反馈部署到开放式学生代码中。

英文摘要:

High-quality computer science education is limited by the difficulty of providing instructor feedback to students at scale. While this feedback could in principle be automated, supervised approaches to predicting the correct feedback are bottlenecked by the intractability of annotating large quantities of student code. In this paper, we instead frame the problem of providing feedback as few-shot classification, where a meta-learner adapts to give feedback to student code on a new programming question from just a few examples annotated by instructors. Because data for meta-training is limited, we propose a number of amendments to the typical few-shot learning framework, including task augmentation to create synthetic tasks, and additional side information to build stronger priors about each task. These additions are combined with a transformer architecture to embed discrete sequences (e.g. code) to a prototypical representation of a feedback class label. On a suite of few-shot natural language processing tasks, we match or outperform state-of-the-art performance. Then, on a collection of student solutions to exam questions from an introductory university course, we show that our approach reaches an average precision of 88% on unseen questions, surpassing the 82% precision of teaching assistants. Our approach was successfully deployed to deliver feedback to 16,000 student exam-solutions in a programming course offered by a tier 1 university. This is, to the best of our knowledge, the first successful deployment of a machine learning based feedback to open-ended student code.

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

↑