CrowdGenUI: Aligning LLM-Based UI Generation with Crowdsourced User Preferences
Yimeng Liu, Misha Sra, Chang Xiao
TL;DR
CrowdGenUI presents a modular framework that augments LLM-driven UI generation with crowdsourced user preferences to produce task-aware and user-aligned widgets. By integrating a crowdsourced preference library with LLM reasoning and code generation, the approach demonstrates improved alignment with user needs in an image editing prototype, validated through a user study with $N=78$ and a crowdsourcing library of $720$ preferences from $50$ participants. Key contributions include the design of a four-component workflow (user context, preference library, widget candidates, and LLM outputs), a crowdsourcing methodology for collecting UI preferences, and empirical evidence that larger preference libraries yield more consistent widget reasoning while smaller libraries offer cost-effective personalization. The work highlights the potential of crowdsourced guidance to generalize beyond the original task domain, informing scalable, adaptive, human-centered UI generation in diverse domains and laying groundwork for future extensions involving broader task categories and agentic AI collaboration.
Abstract
Large Language Models (LLMs) have demonstrated remarkable potential across various design domains, including user interface (UI) generation. However, current LLMs for UI generation tend to offer generic solutions that lack a nuanced understanding of task context and user preferences. We present CrowdGenUI, a framework that enhances LLM-based UI generation with crowdsourced user preferences. This framework addresses the limitations by guiding LLM reasoning with real user preferences, enabling the generation of UI widgets that reflect user needs and task-specific requirements. We evaluate our framework in the image editing domain by collecting a library of 720 user preferences from 50 participants, covering preferences such as predictability, efficiency, and explorability of various UI widgets. A user study (N=78) demonstrates that UIs generated with our preference-guided framework can better match user intentions compared to those generated by LLMs alone, highlighting the effectiveness of our proposed framework. We further discuss the study findings and present insights for future research on LLM-based user-centered UI generation.
