让教师用自然语言一步步生成互动教学模拟,边做边改更清晰。
SimStep: Chain-of-Abstractions for Incremental Specification and Debugging of AI-Generated Interactive Simulations
- 分四步抽象:从概念到界面,每步都可检查修改
- 支持逆向修正模型假设,不用写代码就能调错
- 适合教育工作者快速构建可解释的互动教学内容
通过生成式AI进行编程提示,为非程序员(如教师)提供了描述教学目标即可生成互动学习内容的新范式。然而,绕过直接编码后,程序的可追溯性、逐步细化和行为测试等核心能力随之丧失。本文提出链式抽象(CoA)框架,以恢复这些能力并保留自然语言的表达灵活性。CoA将合成过程分解为一系列认知上有意义、任务对齐的中间表示,作为规范、检查与优化的检查点。我们基于此构建SimStep系统,为教师提供四个中间抽象层级:概念图、情境图、学习目标图和用户交互图。为应对模糊性和不一致问题,SimStep引入反向校正机制,揭示模型隐含假设,支持针对性修订而无需操作代码。对教育工作者的评估显示,CoA提升了编程提示流程中的控制力与可解释性。
原文摘要 · Abstract (English)
Programming-by-prompting with generative AI offers a new paradigm for end-user programming, shifting the focus from syntactic fluency to semantic intent. This shift holds particular promise for non-programmers such as educators, who can describe instructional goals in natural language to generate interactive learning content. Yet in bypassing direct code authoring, many of programming's core affordances - such as traceability, stepwise refinement, and behavioral testing - are lost. We propose the Chain-of-Abstractions (CoA) framework as a way to recover these affordances while preserving the expressive flexibility of natural language. CoA decomposes the synthesis process into a sequence of cognitively meaningful, task-aligned representations that function as checkpoints for specification, inspection, and refinement. We instantiate this approach in SimStep, an authoring environment for teachers that scaffolds simulation creation through four intermediate abstractions: Concept Graph, Scenario Graph, Learning Goal Graph, and UI Interaction Graph. To address ambiguities and misalignments, SimStep includes an inverse correction process that surfaces in-filled model assumptions and enables targeted revision without requiring users to manipulate code. Evaluations with educators show that CoA enables greater authoring control and interpretability in programming-by-prompting workflows.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。