本文研究 LLM 能否为入门编程任务生成特定类型反馈,通过迭代提示设计与分类法评估其随机性、不确定性和变化程度,为 AI 反馈研究及新手编程学习系统提供依据。
摘要:
背景:反馈是影响学习最重要的因素之一,已有大量研究。它在教育技术系统的发展中发挥着关键作用,传统上植根于由专家及其经验定义的确定性反馈。然而,随着生成式人工智能,尤其是大语言模型(LLM)的兴起,我们预期作为学习系统一部分的反馈将发生转变,特别是在编程情境中。过去,为编程学习者自动化生成反馈颇具挑战。LLM 可能创造新的可能性,提供比以往更丰富、更个性化的反馈。目标:本文旨在利用 LLM 为入门编程任务生成特定类型的反馈。我们重新审视现有反馈分类法,以捕捉所生成反馈的特性,例如随机性、不确定性和变化程度。方法:我们迭代设计提示词,用于针对真实学生程序生成特定反馈类型(作为现有反馈分类法的一部分)。随后,我们评估生成的输出,并确定其在多大程度上反映了特定反馈类型。结果与结论:本工作增进了对不同反馈维度和特征的理解。研究结果对未来反馈研究具有启示,例如反馈效果和学习者的信息需求。它还进一步为开发面向新手程序员的新工具和学习系统(包括由 AI 生成的反馈)提供了基础。
英文摘要:
Background: Feedback as one of the most influential factors for learning has been subject to a great body of research. It plays a key role in the development of educational technology systems and is traditionally rooted in deterministic feedback defined by experts and their experience. However, with the rise of generative AI and especially Large Language Models (LLMs), we expect feedback as part of learning systems to transform, especially for the context of programming. In the past, it was challenging to automate feedback for learners of programming. LLMs may create new possibilities to provide richer, and more individual feedback than ever before.
Objectives: This paper aims to generate specific types of feedback for introductory programming tasks using LLMs. We revisit existing feedback taxonomies to capture the specifics of the generated feedback, such as randomness, uncertainty, and degrees of variation.
Methods: We iteratively designed prompts for the generation of specific feedback types (as part of existing feedback taxonomies) in response to authentic student programs. We then evaluated the generated output and determined to what extent it reflected certain feedback types.
Results and Conclusion: The present work provides a better understanding of different feedback dimensions and characteristics. The results have implications for future feedback research with regard to, for example, feedback effects and learners' informational needs. It further provides a basis for the development of new tools and learning systems for novice programmers including feedback generated by AI.
Leveraging Large Language Model and Story-Based Gamification in Intelligent Tutoring System to Scaffold Introductory Programming Courses: A Design-Based Research Study
Fooling MOSS Detection with Pretrained Language Models
Booz Allen Hamilton(博思艾伦咨询公司);EleutherAI(EleutherAI 人工智能研究组织)
随着人工智能(AI)技术在社会中变得越来越强大和突出,它们的滥用越来越令人担忧。在教育环境中,人工智能技术可以被学生用来在作业和考试中作弊。在本文中,我们将探讨Transformers是否可以用于解决入门级编程任务,同时绕过常用的AI工具来检测软件之间的相似性。我们发现,使用GPT-J的学生[Wang and Komatsuzaki,2021]可以完成入门级的编程作业,而不会引起MOSS [Aiken,2000]的怀疑,MOSS是一种广泛使用的软件相似性和剽窃检测工具。尽管GPT-J没有接受过有关问题的培训,也没有提供任何可供借鉴的例子,但情况仍然如此。我们进一步发现,GPT-J编写的代码在结构上是多样的,缺乏任何特定的告诉,未来的剽窃检测技术可能会用来尝试识别算法生成的代码。最后,我们讨论的伦理和教育的影响,大语言模型和未来的研究方向。
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(宾夕法尼亚大学宾夕法尼亚学习分析中心)
Integrating Natural Language Prompting Tasks in Introductory Programming Courses
Simon Fraser University(西蒙菲莎大学);University of Auckland(奥克兰大学);University of Illinois(伊利诺伊大学);Abilene Christian University(阿比林基督教大学);Aalto University(阿尔托大学);Temple University(天普大学)