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

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Ma, Jenny, Sreedhar, Karthik, Liu, Vivian, Perez, Pedro Alejandro, Wang, Sitong, Sahni, Riya, Chilton, Lydia B.
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866913683720896512
author Ma, Jenny
Sreedhar, Karthik
Liu, Vivian
Perez, Pedro Alejandro
Wang, Sitong
Sahni, Riya
Chilton, Lydia B.
author_facet Ma, Jenny
Sreedhar, Karthik
Liu, Vivian
Perez, Pedro Alejandro
Wang, Sitong
Sahni, Riya
Chilton, Lydia B.
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2410_00400
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle DynEx: Dynamic Code Synthesis with Structured Design Exploration for Accelerated Exploratory Programming
Ma, Jenny
Sreedhar, Karthik
Liu, Vivian
Perez, Pedro Alejandro
Wang, Sitong
Sahni, Riya
Chilton, Lydia B.
Human-Computer Interaction
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.
title DynEx: Dynamic Code Synthesis with Structured Design Exploration for Accelerated Exploratory Programming
topic Human-Computer Interaction
url https://arxiv.org/abs/2410.00400