Stitch:面向Scratch的大语言模型分步引导式辅导
Stitch: Step-by-step LLM Guided Tutoring for Scratch
AI总结:
针对Scratch等积木式编程新手语义错误难解决、现有直接给答案的调试方式不利于能力培养的问题,提出交互式分步辅导系统Stitch,经实证验证其学习效果优于直接答案模式和现有自动反馈工具。
摘要:
Scratch等积木式编程环境在编程教育中日益普及。尽管积木语法减少了表层错误,但语义错误仍然十分常见,且新手很难解决这类问题。现有调试工作流通常直接向学习者展示正确程序,这种策略虽能修复错误,却会阻碍问题解决能力的培养。\n我们提出了Stitch——一款交互式辅导系统,它用分步脚手架式引导替代“直接展示答案”的模式。该系统的Diff-Analyze(差异分析)模块将学生项目与参考实现进行对比,识别最关键的差异,并借助大语言模型解释这些改动的重要性。学习者通过定制渲染引擎查看高亮标注的积木块,理解相关解释后,可选择性应用部分修复方案。这一迭代过程会持续进行,直到实现预期功能为止。\n我们通过实证研究评估了Stitch的效果,将其与一款最先进的Scratch自动反馈生成工具进行对比。我们的核心发现是:直接展示正确程序在教学上效果不佳。相比之下,我们的交互式分步引导系统能带来更高效的学习体验。更广泛而言,积木式编程中何为有效反馈仍是一个开放问题。我们的评估提供了新证据,表明分步辅导能显著提升学习效果,表现优于直接给答案的方式以及现有的自动反馈生成工具。
英文摘要:
Block-based environments such as Scratch are increasingly popular in programming education. While block syntax reduces surface errors, semantic bugs remain common and challenging for novices to resolve. Existing debugging workflows typically show the correct program directly to learners, a strategy that may fix errors but undermines the development of problem-solving skills. We present Stitch, an interactive tutoring system that replaces "showing the answer" with step-by-step scaffolding. The system's Diff-Analyze module contrasts a student's project with a reference implementation, identifies the most critical differences, and uses a large language model to explain why these changes matter. Learners inspect highlighted blocks through a custom rendering engine, understand the explanations, and selectively apply partial fixes. This iterative process continues until the intended functionality is achieved. We evaluate Stitch in an empirical study, comparing it against a state-of-the-art automated feedback generation tool for Scratch. Our key insight is that simply presenting the correct program is pedagogically ineffective. In contrast, our interactive, step-by-step guided system promotes a more effective learning experience. More broadly, what constitutes effective feedback in block-based programming remains an open question. Our evaluation provides new evidence that step-by-step tutoring significantly enhances learning outcomes, outperforming both direct-answer approaches and current automated feedback generation tools.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。