探索在AI支持的规划中追踪的作用:用于算法推理
A Plan-Tracing Interface for AI-Supported Algorithm Planning
AI总结:
本研究探讨了在AI支持的规划中使用追踪对算法推理的影响,发现追踪促使学习者转向目标导向的推理,并提高了部分正确解决方案的一致性,但未显著影响反馈质量。
摘要:
AI支持的规划工具显示出在支持编程学习者方面有潜力,通过在编码前提供早期的形成性反馈,帮助学习者在思考过程中获得反馈。然而,到目前为止,大多数AI支持的规划工具依赖于学生自然语言解释,利用大语言模型(LLM)来解释学习者对算法意图的描述。在LLM系统出现之前,计算机科学教育研究广泛研究了基于追踪的规划在手写环境中的应用,证明通过逐步执行和显式状态转换的推理有助于学习者构建和完善程序行为的思维模型。尽管其潜力,目前对追踪如何与AI中介反馈互动以及将追踪整合到AI支持的规划工具中是否导致不同的学习过程或交互动态仍知之甚少。我们研究了要求学习者使用AI支持的规划工具生成显式执行追踪如何影响其算法推理。在20名学生之间的主题研究中,追踪使学习者从代码式的逐行描述转向更以目标为导向的程序行为推理。此外,它导致了更一致的部分正确解决方案,尽管最终的编码表现在不同条件下保持相似。值得注意的是,追踪并未显著影响LLM生成反馈的质量或可靠性。这些发现揭示了结合追踪与AI支持规划的权衡,并为整合自然语言、追踪和编码以支持编程过程中的迭代推理提供了设计指南。
英文摘要:
Planning an algorithm in natural language allows learners to get formative feedback on their approach before coding. But these descriptions can be ambiguous, making it challenging for learners to translate them into code and for LLMs to provide feedback. To address these challenges, we introduce plan tracing, in which learners manually simulate how the described algorithm would execute on a concrete input. We develop an interface that enables plan tracing and allows learners to receive AI feedback on their plans before writing code. We report on an exploratory between-subjects study with 20 participants who solved an algorithm design task, with or without the plan tracing interface. We observed how plan tracing shaped students' plans, the feedback they received, and their experiences using the interface. Students who performed plan tracing wrote plans with fewer code-like steps but more goal-driven descriptions. We did not detect a difference in the quality of the LLM feedback between conditions. Students used plan tracing to debug and verify their strategy, describing it as tedious but worthwhile when they were uncertain about their solution. We reflect on the design and use of our tool, identifying what worked, what didn't, and why, and offer recommendations for instructors and tool designers.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。