Manuscript Offprint

arXiv:2608.24749

From Natural Language Requirements to Graphical User Interfaces: Automated Prototyping and Verification with Pretrained Language Models

Kristian Kolthoff

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Dissertation

zur Erlangung des Doktorgrades

der Naturwissenschaften

vorgelegt von

KRISTIAN KOLTHOFF

aus Nagold

genehmigt von der Fakultät für

Naturwissenschaften, Mathematik und Informatik

der Technischen Universität Clausthal

Tag der mündlichen Prüfung

29.04.2026

Dekan

Prof. Dr. René Wilhelm, TU Clausthal

Vorsitzender der

Promotionskommission

Prof. Dr. Rüdiger Ehlers, TU Clausthal

Betreuer

Prof. Dr. Christian Bartelt, TU Clausthal

Gutachter

Prof. Dr. Jörg P. Müller, TU Clausthal

Gutachter

Prof. Dr. Simone Paolo Ponzetto, Universität Mannheim

iii

ACKNOWLEDGEMENTS

Throughout the course of my doctoral journey, I have received invaluable support, guidance and encouragement from many individuals, for which I am deeply grateful.

First and foremost, I wish to express my sincere gratitude to my two supervisors, Prof. Dr. Christian Bartelt and Prof. Dr. Simone Paolo Ponzetto. From the beginning of my doctoral journey, Christian contributed substantially to shaping my research direction through countless hours of engaging discussions, provided continuous guidance and support, and offered steady encouragement, particularly during challenging periods. Beyond his significant influence on my academic development, Christian’s mentorship also played an important role in my personal growth, for which I am sincerely thankful. Simone likewise supported my research journey in many meaningful ways through insightful discussions, consistently constructive feedback and encouragement, which profoundly improved the quality of my research and this thesis.

I am also deeply grateful to Prof. Dr. Alexander Mädche from the Karlsruhe Institute of Technology for the inspiring collaboration and insightful feedback over the final two years of my doctoral journey. In particular, I wish to express my sincere gratitude to Dr. Felix Kretzer for the close collaboration during this period, which had a substantial impact on this thesis. I greatly appreciated both the professional and personal exchange, and I am especially thankful for his remarkable commitment and perseverance during demanding phases marked by tight deadlines, late-night work and countless discussions.

I am also grateful to my friends and former colleagues at the Institute for Enterprise Systems, University of Mannheim, and my friends and colleagues at the Clausthal University of Technology, Institute for Software and Systems Engineering, for their contributions to this thesis through insightful discussions and diverse perspectives.

I would also like to acknowledge the many researchers I encountered over the years at conferences for the insightful discussions, inspiring perspectives and valuable exchanges. These interactions helped broaden my perspective and refine many of my research ideas.

I am also deeply grateful to my parents, Cornelia Kolthoff and Dr. med. Dr. phil. Helmut Kolthoff, whose constant support and encouragement throughout my life provided the foundation for my academic journey and made this work possible.

Lastly, my deepest gratitude goes to my family – my wonderful wife Yaru, and my son, Lio – for your unconditional love, understanding and endless support, which carried me through every stage of this journey. Without your love, constant encouragement and many sacrifices, pursuing a PhD and completing this work would not have been possible.

iv

ABSTRACT

Requirements elicitation is a crucial activity before and during the development of interactive software systems, ensuring that the resulting product meets the needs of the stakeholders. Typically, the process of requirements elicitation relies heavily on natural language (NL) communication between requirements analysts and stakeholders, being prone to misunderstandings due to the inherent ambiguity of NL. While formal software specifications serve as ambiguity mitigation, they necessitate technical knowledge for proper interpretation. Therefore, Graphical User Interface (GUI) prototyping has emerged as an effective requirements elicitation and validation technique, providing tangible, visual artifacts representing the implemented requirements and acting as a common language between analysts and stakeholders. In particular, employing GUI prototyping improves the elicitation and validation of requirements by enabling fruitful discussions and integrating stakeholders more closely into the development process. Although GUI prototyping offers these advantages in comparison to other elicitation and validation approaches, it simultaneously necessitates increased manual effort, which is time-consuming and costly, especially for high-fidelity GUI prototypes that enable stakeholders to provide feedback of higher quality. While requirements validation ensures that the software system aligns with the actual needs of the stakeholders, verification of requirements is equally important, ensuring that the implementation of requirements in the software system and prototypes aligns with the specification. However, similar to validation, verification is still often a manual and effort-demanding task, while existing solutions offer mostly merely rule-based, static techniques and approaches.

In this work, we propose several approaches to address the mentioned challenges, namely (C1) reducing the effort required to transform NL requirements into GUI prototypes to facilitate requirements elicitation and validation, and (C2) reducing the effort required for conducting requirements verification in GUI applications and prototypes. Specifically, we tackle the first challenge (C1) by initially presenting novel NL-based GUI retrieval and reranking approaches, enabling to rapidly map NL requirements to tangible GUI prototypes, while creating new benchmarks and achieving state-of-the-art performance. Furthermore, we propose several methods for efficiently adapting LLMs to GUI generation and devise novel techniques to efficiently enable LLM-based generation for proprietary GUI representations, allowing to quickly translate NL requirements into customizable GUI prototypes. We evaluated these techniques on a novel benchmark encompassing an extensive collection of human annotations created via crowdsourcing,

V showing their high effectiveness for GUI generation. To tackle the second challenge (C2), we initially present novel LLM-based methods enabling the verification of semantically complex NL requirements on static GUI prototypes. To assess their performance, we created a high-quality benchmark, which links NL requirements to GUI prototypes, indicating high effectiveness for requirements verification on GUI prototypes. Moreover, we propose a multi-modal (M)LLM-based agent approach that enables verification of complex functional and non-functional NL requirements of fully-fledged, highly dynamic GUI prototypes and applications by automatically creating and evaluating meaningful interaction trajectories, showing high effectiveness on a novel benchmark of human-annotated NL requirements and GUI applications. To summarize, by providing effective methods for rapidly mapping NL requirements to GUI prototypes, we facilitate automated GUI prototyping and substantially increase prototyping productivity, positively impacting elicitation and validation activities. Moreover, with our novel and effective MLLM-based agent approach, we substantially improve and facilitate the automated verification of complex NL requirements in GUIs.

vi

References (62)