Beyond Code Generation: LLM-supported Exploration of the Program Design Space
J. D. Zamfirescu-Pereira, Eunice Jun, Michael Terry, Qian Yang, Bjoern Hartmann
Abstract
In this work, we explore explicit Large Language Model (LLM)powered support for the iterative design of computer programs.Program design, like other design activity, is characterized by navigating a space of alternative problem formulations and associated solutions in an iterative fashion.LLMs are potentially powerful tools in helping this exploration; however, by default, code-generation LLMs deliver code that represents a particular point solution.This obscures the larger space of possible alternatives, many of which might be preferable to the LLM's default interpretation and its generated code.We contribute an IDE that supports program design through generating and showing new ways to frame problems alongside alternative solutions, tracking design decisions, and identifying implicit decisions made by either the programmer or the LLM.In a user study, we find that with our IDE, users combine and parallelize design phases to explore a broader design space-but also struggle to keep up with LLM-originated changes to code and other information overload.These findings suggest a core challenge for future IDEs that support program design through higher-level instructions given to LLM-based agents: carefully managing attention and deciding what information agents should surface to program designers and when.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
13 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- SQUIRE: Interactive UI Authoring via Slot QUery Intermediate REpresentations cites Design Guidelines for Prompt Engineering Text-to-Image Generative Models
- SQUIRE: Interactive UI Authoring via Slot QUery Intermediate REpresentations cites Why Johnny Can't Prompt: How Non-AI Experts Try (and Fail) to Design LLM Prompts
- Code with Me or for Me? How Increasing AI Automation Transforms Developer Workflows cites Grounded Copilot: How Programmers Interact with Code-Generating Models
- Promptify: Text-to-Image Generation through Interactive Prompt Exploration with Large Language Models cites Design Guidelines for Prompt Engineering Text-to-Image Generative Models
Cited by top-tier papers13
- Semantic Commit: Helping Users Update Intent Specifications for AI Memory at ScalePriyan Vaithilingam, Munyeong Kim, Frida-Cecilia Acosta-Parenteau, Daniel Lee et al.UIST 2025 · 5 citations
- SQUIRE: Interactive UI Authoring via Slot QUery Intermediate REpresentationsAlan Leung, Ruijia Cheng, Jason Wu, Jeffrey Nichols et al.UIST 2025 · 4 citations
- Creativity in LLM-based Multi-Agent Systems: A SurveyYi-Cheng Lin, Kang-Chieh Chen, Zhe-Yan Li, Tzu-Heng Wu et al.EMNLP 2025 · 3 citations
- Answering Developer Questions with Annotated Agent-Discovered Program TracesLitao Yan, Jeffrey Tao, Lydia B. Chilton, Andrew HeadUIST 2025 · 2 citations
- Code with Me or for Me? How Increasing AI Automation Transforms Developer WorkflowsValerie Chen, Ameet Talwalkar, Robert Brennan, Graham NeubigCHI 2026 · 2 citations
Builds on20
- Why Johnny Can't Prompt: How Non-AI Experts Try (and Fail) to Design LLM PromptsJ. D. Zamfirescu-Pereira, Richmond Y. Wong, Bjoern Hartmann, Qian YangCHI 2023 · 892 citations
- Design Guidelines for Prompt Engineering Text-to-Image Generative ModelsVivian Liu, Lydia B. ChiltonCHI 2022 · 586 citations
- AI Chains: Transparent and Controllable Human-AI Interaction by Chaining Large Language Model PromptsTongshuang Wu, Michael Terry, Carrie Jun CaiCHI 2022 · 465 citations
- Grounded Copilot: How Programmers Interact with Code-Generating ModelsShraddha Barke, Michael B. James, Nadia PolikarpovaOOPSLA 2023 · 408 citations
- Promptify: Text-to-Image Generation through Interactive Prompt Exploration with Large Language ModelsStephen Brade, Bryan Wang, Maurício Sousa, Sageev Oore et al.UIST 2023 · 179 citations
Related papers
- IdeationWeb: Tracking the Evolution of Design Ideas in Human-AI Co-CreationHanshu Shen, Lyukesheng Shen, Wenqi Wu, Kejun ZhangCHI 2025 · 24 citations
- DynEx: Dynamic Code Synthesis with Structured Design Exploration for Accelerated Exploratory ProgrammingJenny Guangzhen Ma, Karthik Sreedhar, Vivian Liu, Pedro Alejandro Perez et al.CHI 2025 · 11 citations
- CoPrompt: Supporting Prompt Sharing and Referring in Collaborative Natural Language ProgrammingLi Feng, Ryan Yen, Yuzhe You, Mingming Fan et al.CHI 2024 · 28 citations
- CoLadder: Manipulating Code Generation via Multi-Level BlocksRyan Yen, Jiawen Stefanie Zhu, Sangho Suh, Haijun Xia et al.UIST 2024 · 22 citations
- Luminate: Structured Generation and Exploration of Design Space with Large Language Models for Human-AI Co-CreationSangho Suh, Meng Chen, Bryan Min, Toby Jia-Jun Li et al.CHI 2024 · 143 citations
