为基于块的视觉编程任务合成子任务递进序列
Synthesizing a Progression of Subtasks for Block-Based Visual Programming Tasks
AI总结:
本文提出一种新颖的合成算法,将基于块的视觉编程任务分解为复杂度间隔合理的子任务递进序列,并通过Karel环境实验和Code.org用户研究验证其能提升AI智能体求解效能并辅助新手程序员。
摘要:
基于块的视觉编程环境在向K-12学生介绍计算概念方面发挥着日益重要的作用。近年来,它们在神经符号人工智能领域也获得了广泛关注,被用作评估通用问题解决能力和逻辑推理能力的基准。这些视觉编程任务的开放性和概念性本质使其具有挑战性,无论是对最先进的AI智能体还是对新手程序员而言都是如此。为问题求解提供辅助的一种自然方法是将复杂任务分解为一系列更简单的子任务递进序列;然而,这并非易事,因为解决方案代码通常是嵌套的,并且具有非线性的执行行为。在本文中,我们将为给定的参考基于块的视觉编程任务合成此类递进序列的问题形式化。我们提出了一种新颖的合成算法,该算法生成一组子任务递进序列,这些子任务质量高、在复杂度上间隔合理,并且求解该递进序列能够导向求解参考任务。我们展示了我们的合成算法在提升AI智能体(此处为神经程序合成器)求解Karel编程环境中任务的效能方面的实用性。随后,我们进行了一项用户研究,以证明我们合成的子任务递进序列能够辅助新手程序员求解Code.org的《编程一小时:迷宫挑战》中的任务。
英文摘要:
Block-based visual programming environments play an increasingly important role in introducing computing concepts to K-12 students. In recent years, they have also gained popularity in neuro-symbolic AI, serving as a benchmark to evaluate general problem-solving and logical reasoning skills. The open-ended and conceptual nature of these visual programming tasks make them challenging, both for state-of-the-art AI agents as well as for novice programmers. A natural approach to providing assistance for problem-solving is breaking down a complex task into a progression of simpler subtasks; however, this is not trivial given that the solution codes are typically nested and have non-linear execution behavior. In this paper, we formalize the problem of synthesizing such a progression for a given reference block-based visual programming task. We propose a novel synthesis algorithm that generates a progression of subtasks that are high-quality, well-spaced in terms of their complexity, and solving this progression leads to solving the reference task. We show the utility of our synthesis algorithm in improving the efficacy of AI agents (in this case, neural program synthesizers) for solving tasks in the Karel programming environment. Then, we conduct a user study to demonstrate that our synthesized progression of subtasks can assist a novice programmer in solving tasks in the Hour of Code: Maze Challenge by Code-dot-org.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。