Zero-Shot Prompting Approaches for LLM-based Graphical User Interface Generation

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Kolthoff, Kristian, Kretzer, Felix, Fiebig, Lennart, Bartelt, Christian, Maedche, Alexander, Ponzetto, Simone Paolo
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912158330126336
author Kolthoff, Kristian
Kretzer, Felix
Fiebig, Lennart
Bartelt, Christian
Maedche, Alexander
Ponzetto, Simone Paolo
author_facet Kolthoff, Kristian
Kretzer, Felix
Fiebig, Lennart
Bartelt, Christian
Maedche, Alexander
Ponzetto, Simone Paolo
contents Graphical user interface (GUI) prototyping represents an essential activity in the development of interactive systems, which are omnipresent today. GUI prototypes facilitate elicitation of requirements and help to test, evaluate, and validate ideas with users and the development team. However, creating GUI prototypes is a time-consuming process and often requires extensive resources. While existing research for automatic GUI generation focused largely on resource-intensive training and fine-tuning of LLMs, mainly for low-fidelity GUIs, we investigate the potential and effectiveness of Zero-Shot (ZS) prompting for high-fidelity GUI generation. We propose a Retrieval-Augmented GUI Generation (RAGG) approach, integrated with an LLM-based GUI retrieval re-ranking and filtering mechanism based on a large-scale GUI repository. In addition, we adapt Prompt Decomposition (PDGG) and Self-Critique (SCGG) for GUI generation. To evaluate the effectiveness of the proposed ZS prompting approaches for GUI generation, we extensively evaluated the accuracy and subjective satisfaction of the generated GUI prototypes. Our evaluation, which encompasses over 3,000 GUI annotations from over 100 crowd-workers with UI/UX experience, shows that SCGG, in contrast to PDGG and RAGG, can lead to more effective GUI generation, and provides valuable insights into the defects that are produced by the LLMs in the generated GUI prototypes.
format Preprint
id arxiv_https___arxiv_org_abs_2412_11328
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Zero-Shot Prompting Approaches for LLM-based Graphical User Interface Generation
Kolthoff, Kristian
Kretzer, Felix
Fiebig, Lennart
Bartelt, Christian
Maedche, Alexander
Ponzetto, Simone Paolo
Software Engineering
Graphical user interface (GUI) prototyping represents an essential activity in the development of interactive systems, which are omnipresent today. GUI prototypes facilitate elicitation of requirements and help to test, evaluate, and validate ideas with users and the development team. However, creating GUI prototypes is a time-consuming process and often requires extensive resources. While existing research for automatic GUI generation focused largely on resource-intensive training and fine-tuning of LLMs, mainly for low-fidelity GUIs, we investigate the potential and effectiveness of Zero-Shot (ZS) prompting for high-fidelity GUI generation. We propose a Retrieval-Augmented GUI Generation (RAGG) approach, integrated with an LLM-based GUI retrieval re-ranking and filtering mechanism based on a large-scale GUI repository. In addition, we adapt Prompt Decomposition (PDGG) and Self-Critique (SCGG) for GUI generation. To evaluate the effectiveness of the proposed ZS prompting approaches for GUI generation, we extensively evaluated the accuracy and subjective satisfaction of the generated GUI prototypes. Our evaluation, which encompasses over 3,000 GUI annotations from over 100 crowd-workers with UI/UX experience, shows that SCGG, in contrast to PDGG and RAGG, can lead to more effective GUI generation, and provides valuable insights into the defects that are produced by the LLMs in the generated GUI prototypes.
title Zero-Shot Prompting Approaches for LLM-based Graphical User Interface Generation
topic Software Engineering
url https://arxiv.org/abs/2412.11328