arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.00400cs.HC
收藏

DynEx:面向加速探索式编程的结构化设计探索动态代码合成

DynEx: Dynamic Code Synthesis with Structured Design Exploration for Accelerated Exploratory Programming

Jenny Ma, Karthik Sreedhar, Vivian Liu, Pedro Alejandro Perez, Sitong Wang, Riya Sahni, Lydia B. Chilton

AI总结:

DynEx通过结构化设计矩阵和模块化逐步代码生成,在探索式编程中增强设计探索,使用户能构建更复杂多样的原型。

摘要:

近年来,大型语言模型的进展显著加快了前端代码生成过程,使用户能够快速原型化用户界面并通过代码进行构思,这一过程被称为探索式编程。然而,现有的大语言模型代码生成工具更侧重于技术实现细节,而非针对特定问题寻找合适的设计。我们提出DynEx,一种基于大语言模型的方法,用于加速探索式编程中的设计探索。DynEx引入了一种技术,在通过模块化、逐步的大语言模型代码生成方法创建原型之前,先借助结构化设计矩阵(Design Matrix)探索设计空间。代码按顺序生成,用户可以在进入下一步之前测试并批准每一步。一项由10位专家参与的用户研究表明,与Claude Artifact基线相比,DynEx增强了设计探索,并能够创建更复杂、更多样化的原型。最后,我们讨论了设计探索对探索式编程的影响。

英文摘要:

Recent advancements in large language models have significantly expedited the process of generating front-end code. This allows users to rapidly prototype user interfaces and ideate through code, a process known as exploratory programming. However, existing LLM code generation tools focus more on technical implementation details rather than finding the right design given a particular problem. We present DynEx, an LLM-based method for design exploration in accelerated exploratory programming. DynEx introduces a technique to explore the design space through a structured Design Matrix before creating the prototype with a modular, stepwise approach to LLM code generation. Code is generated sequentially, and users can test and approve each step before moving onto the next. A user study of 10 experts found that DynEx increased design exploration and enabled the creation of more complex and varied prototypes compared to a Claude Artifact baseline. We conclude with a discussion of the implications of design exploration for exploratory programming.

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

↑