arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2312.01801cs.HCcs.SE
收藏

SPROUT:一种通过可视化大型语言模型来生成编程教程的交互式创作工具

SPROUT: an Interactive Authoring Tool for Generating Programming Tutorials with the Visualization of Large Language Models

Yihan Liu, Zhen Wen, Luoxuan Weng, Ollie Woodman, Yi Yang, Wei Chen

AI总结:

针对 LLM 端到端生成编程教程不透明、难控制的问题,本文提出基于 tree-of-thought 的分步生成方法,并实现交互式可视化创作工具 SPROUT,使用户能参与过程并获得更可靠、可定制的教程。

摘要:

大型语言模型(LLM,如 ChatGPT)的快速发展,已经革新了创建编程教程的效率。人们可以通过文本提示指示 LLM 为代码片段生成全面的文字描述。然而,端到端生成过程缺乏透明度,这妨碍了对模型行为的理解,并限制了用户对生成结果的控制。为应对这一挑战,我们提出一种新方法,将编程教程创建任务分解为可执行的步骤。通过采用 tree-of-thought(思维树)方法,LLM 参与一个探索性过程,以生成多样且忠实的编程教程。随后,我们展示了 SPROUT,这是一种配备一系列交互式可视化的创作工具,使用户能够更好地控制并理解编程教程创建过程。一项正式用户研究证明了 SPROUT 的有效性,结果表明我们的工具可帮助用户主动参与编程教程创建过程,从而产生更可靠、更可定制的结果。通过为用户提供更强的控制力和理解力,SPROUT 改善了用户体验,并提升了编程教程的整体质量。本文的免费副本及所有补充材料可在 https://osf.io/uez2t/?view_only=5102e958802341daa414707646428f86 获取。

英文摘要:

The rapid development of large language models (LLMs), such as ChatGPT, has revolutionized the efficiency of creating programming tutorials. LLMs can be instructed with text prompts to generate comprehensive text descriptions of code snippets. However, the lack of transparency in the end-to-end generation process has hindered the understanding of model behavior and limited user control over the generated results. To tackle this challenge, we introduce a novel approach that breaks down the programming tutorial creation task into actionable steps. By employing the tree-of-thought method, LLMs engage in an exploratory process to generate diverse and faithful programming tutorials. We then present SPROUT, an authoring tool equipped with a series of interactive visualizations that empower users to have greater control and understanding of the programming tutorial creation process. A formal user study demonstrated the effectiveness of SPROUT, showing that our tool assists users to actively participate in the programming tutorial creation process, leading to more reliable and customizable results. By providing users with greater control and understanding, SPROUT enhances the user experience and improves the overall quality of programming tutorial. A free copy of this paper and all supplemental materials are available at https://osf.io/uez2t/?view_only=5102e958802341daa414707646428f86.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑