Interlinking User Stories and GUI Prototyping: A Semi-Automatic LLM-based Approach
Kristian Kolthoff, Felix Kretzer, Christian Bartelt, Alexander Maedche, Simone Paolo Ponzetto
TL;DR
The paper tackles the challenge of validating natural-language user stories against GUI prototypes and providing actionable implementation recommendations to support rapid GUI prototyping. It introduces a semi-automatic, LLM-driven pipeline that (i) abstracts GUI prototypes into a functional textual representation, (ii) detects whether user stories are implemented, (iii) maps user stories to GUI components, and (iv) generates HTML/CSS-based recommendations. Preliminary evaluation on Rico-derived data shows promising accuracy for implementation detection and a moderate ability to match relevant GUI components, with recommendations demonstrated in HTML/CSS form. The work highlights the potential to reduce prototyping effort and improve requirements elicitation and validation, while outlining limitations and a concrete plan for expanding datasets and user studies to assess practical impact. Overall, the approach provides a feasible pathway toward integrated, AI-assisted GUI prototyping workflows embedded within design tools.
Abstract
Interactive systems are omnipresent today and the need to create graphical user interfaces (GUIs) is just as ubiquitous. For the elicitation and validation of requirements, GUI prototyping is a well-known and effective technique, typically employed after gathering initial user requirements represented in natural language (NL) (e.g., in the form of user stories). Unfortunately, GUI prototyping often requires extensive resources, resulting in a costly and time-consuming process. Despite various easy-to-use prototyping tools in practice, there is often a lack of adequate resources for developing GUI prototypes based on given user requirements. In this work, we present a novel Large Language Model (LLM)-based approach providing assistance for validating the implementation of functional NL-based requirements in a GUI prototype embedded in a prototyping tool. In particular, our approach aims to detect functional user stories that are not implemented in a GUI prototype and provides recommendations for suitable GUI components directly implementing the requirements. We collected requirements for existing GUIs in the form of user stories and evaluated our proposed validation and recommendation approach with this dataset. The obtained results are promising for user story validation and we demonstrate feasibility for the GUI component recommendations.
