DynEx: Dynamic Code Synthesis with Structured Design Exploration for Accelerated Exploratory Programming
Honorable MentionAuthors
Research Background and Problem
-
Identified Problems or Challenges:
Current code generation tools based on large language models (LLMs) primarily focus on technical implementation, lacking functionalities to support users in exploring the design space. Most tools generate code through commands but overlook user experience during the design phase, such as effectively translating abstract concepts into concrete implementations and ensuring designs meet the needs of target users. Users often fall into design fixation, pursuing a single technical implementation path while neglecting potential diverse solutions. -
Importance of the Problem:
Exploratory programming is considered critical in modern user interface (UI) design and rapid prototyping, especially when quick iterations are needed to test real-world design outcomes. Limitations of existing tools hinder creativity, making it difficult to rapidly generate user-centered and complex prototypes. -
Research Motivation and Related Work:
This research draws inspiration from four classic categories of design space exploration (example-based exploration, reflective exploration, generative exploration, dimensional exploration) and combines them with the capabilities of LLMs to propose a workflow supporting users from ideation to functional prototype development. The project compares its approach with existing tools like Claude Artifact, aiming to address current limitations through the introduction of a structured Design Matrix and Modular Stepwise Implementation.
Solution
-
Method or Solution:
The authors propose the DynEx system, which consists of two main stages:- Design Matrix - Based on user-input problems, the system guides users in exploring the design space across three dimensions (target users, methodology, interaction modes) and concretizing abstract ideas.
- Modular Stepwise Implementation - Converts the generated design into stepwise code implementation, with each step independently generated, tested, and refined based on user feedback.
-
Innovative Aspects of the Solution:
- Explicitly divides the design process into three dimensions—target users (Person), methodology (Approach), and interaction (Interaction)—and further refines each dimension into two levels: "Idea" and "Grounding."
- Introduces self-calling multimodal LLMs, enabling prototypes to dynamically generate placeholder data, images, and recommendations to simulate real user experiences.
- Encapsulates LLM functionality to support modular stepwise generation, ensuring code snippets are independent and easy to debug, avoiding unnecessary residual errors.
-
Implementation Steps and Techniques:
- Users explore the problem space using the Design Matrix, filling out the needs of "target users," the core algorithms or strategies of "methodology," and the implementation modes of "interaction."
- The system generates project requirements (technical requirements) and technical specifications (specifications) based on the provided information.
- Code is implemented in modular steps, with each step independently tested and refined, including:
- Basic HTML structure
- Functional modules (e.g., Flashcards component, Quiz module)
- External API calls (e.g., OpenAI GPT-4/DALL-E) for dynamic data generation
- Users can debug and refine the UI in real time, exploring multiple variants after the final prototype is completed.
Research Outcomes
-
Specific Outcomes:
- Structured design exploration: Users can systematically define target users, design methodologies, and interaction modes, significantly reducing design ambiguity and the risk of overlooking critical requirements.
- Development of functional prototypes: DynEx enables rapid code generation through modular methods and supports highly flexible debugging.
- Enhanced design diversity: User studies show that compared to Claude Artifact, applications generated by DynEx exhibit greater design complexity and functional completeness.
-
Comparative Advantages over Existing Solutions:
- DynEx fosters broader design exploration, avoiding the design fixation commonly seen in existing solutions.
- Provides user-friendly modular steps and self-calling API functionality, resulting in prototypes that are closer to real-world applications.
- Offers a comprehensive solution starting from structured problem exploration, surpassing tools that merely generate code.
-
Experimental or Evaluation Results:
In comparative studies, participants reported higher divergent exploration scores after using DynEx (average 6.1/7, compared to Claude Artifact's 4.0/7). Additionally, DynEx received higher ratings for developing complex prototypes (average 4.9/7, compared to Claude Artifact's 3.7/7).
In NASA-TLX evaluations, while there was no significant difference in "mental workload" and other details, DynEx scored significantly higher in task performance (p = 0.003). -
Limitations and Future Directions:
- The current Design Matrix does not encompass additional dimensions (e.g., stakeholders, existing solutions) or higher levels of refinement.
- Code generation using Claude 3.5 Sonnet is limited by token constraints (4096 tokens), affecting the implementation of complex functionalities.
- Users reported slow generation speeds; future improvements could optimize code cleaning and debugging processes to enhance user experience.
- Future research should conduct horizontal studies across a broader range of non-technical user groups and tools to validate DynEx's generalizability.
By integrating design exploration and code implementation capabilities, DynEx not only addresses shortcomings in existing tools but also provides a solid technical foundation for more efficient exploratory programming.
Research Questions / Practical Problems
Question signals indexed for this paper.
Research Questions
3- How do current code generation tools affect users' exploratory programming in interface design?Category: Code and Programming-Assisted CreationSimilar questionsarrow_forward
- How can design matrices and modular step-by-step implementation support users from ideas to functional prototypes?Category: Code and Programming-Assisted CreationSimilar questionsarrow_forward
- How does DynEx improve design diversity and functional completeness compared with existing code generation tools?Category: Code and Programming-Assisted CreationSimilar questionsarrow_forward
Practical Problems
1- Users struggle to transform abstract ideas into interactive interface prototypes that meet requirements.Category: Code and Programming-Assisted CreationSimilar questionsarrow_forward
- 100%
Towards Rapid Interactive Machine Learning: Evaluating Tradeoffs of Classification without Representation
IUI '19· Human-LLM Collaboration +1
- 80%
EvalLM: Interactive Evaluation of Large Language Model Prompts on User-Defined Criteria
CHI '24· Human-LLM Collaboration +1
- 80%
RAG Without the Lag: Enabling "What-If" Analysis for Retrieval-Augmented Generation Pipelines
CHI '26· Human-LLM Collaboration +1
- 80%
PDFChatAnnotator: A Human-LLM Collaborative Multi-Modal Data Annotation Tool for PDF-Format Catalogs
IUI '24· Human-LLM Collaboration +1
- 75%
MAPLE: Mobile App Prediction Leveraging Large Language Model Embeddings
UbiComp '24· Human-LLM Collaboration
- 75%
LlamaTouch: A Faithful and Scalable Testbed for Mobile UI Task Automation
UIST '24· Human-LLM Collaboration
- 67%
From Throw-Away to Takeaway: How GenAI and Vibe Coding Accelerate Prototyping Across Technical Skill Levels
CHI '26· Generative AI (Text, Image, Music, Video) +2
- 60%
CFar: A Tool to Increase Communication, Productivity, and Review Quality in Collaborative Code Review
CHI '18· Open-Source Collaboration & Code Review +1
- 60%
Characterizing Scalability Issues in Spreadsheet Software using Online Forums
CHI '18· User Research Methods (Interviews, Surveys, Observation) +1
- 60%
ResearchIME: A Mobile Keyboard Application for Studying Free Typing Behaviour in the Wild
CHI '18· User Research Methods (Interviews, Surveys, Observation) +1
Based on Jaccard similarity of research subtopics & professions (≥60%)