基于大语言模型的图形用户界面生成的零样本提示方法
Zero-Shot Prompting Approaches for LLM-based Graphical User Interface Generation
AI总结:
本研究探索零样本提示生成高保真GUI,提出RAGG、PDGG和SCGG方法,经3000余条标注评估,发现SCGG效果最佳并揭示LLM生成缺陷。
摘要:
图形用户界面(GUI)原型设计是交互式系统开发中的一项基本活动,这类系统如今无处不在。GUI原型有助于需求获取,并帮助与用户和开发团队一起测试、评估和验证想法。然而,创建GUI原型是一个耗时的过程,通常需要大量资源。尽管现有的自动GUI生成研究主要集中于对LLM进行资源密集型的训练和微调,且主要针对低保真度GUI,我们研究了零样本(ZS)提示在高保真度GUI生成中的潜力和有效性。我们提出了一种检索增强的GUI生成(RAGG)方法,该方法集成了基于大规模GUI存储库的LLM驱动的GUI检索重排序和过滤机制。此外,我们还将提示分解(PDGG)和自我批判(SCGG)方法适配到GUI生成中。为了评估所提出的零样本提示方法在GUI生成中的有效性,我们广泛评估了生成GUI原型的准确性和主观满意度。我们的评估涵盖了来自100多名具有UI/UX经验的众包工作者的超过3000条GUI标注,结果表明,与PDGG和RAGG相比,SCGG能够带来更有效的GUI生成,并为LLM在生成的GUI原型中产生的缺陷提供了有价值的见解。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。