NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Automated UI Interface Generation via Diffusion Models: Enhancing Personalization and Efficiency

Yifei Duan, Liuqingqing Yang, Tong Zhang, Zhijun Song, Fenghua Shao · DOI

TL;DR

This paper introduces a novel framework for automated UI design using diffusion models that integrate multimodal inputs like text and sketches. By combining a step-by-step denoising process with domain-specific design rules and a real-time user feedback loop, the authors achieved significantly higher visual quality and user satisfaction compared to traditional generative models like GANs or VAEs.

What Problem Does This Paper Address?

User Interface (UI) design is traditionally a labor-intensive, manual process that relies heavily on existing templates, often resulting in a lack of personalization and diversity. While generative AI has revolutionized general image synthesis, applying it to UI design presents unique challenges.

Unlike a digital painting, a UI must adhere to strict logical structures, functional requirements, and aesthetic constraints (like alignment and color harmony). Existing models like Generative Adversarial Networks (GANs) often struggle to maintain the structural consistency and fine-grained detail necessary for a functional interface. The authors sought to bridge this gap by leveraging the superior stability and detail-oriented nature of diffusion models.

Methods

The researchers built a UI generation system centered on a conditional diffusion model. The key technical components include:

  • Multimodal Conditioning: The model doesn't just take a text prompt. It fuses text descriptions (defining style and color) with hand-drawn sketches (defining geometric structure) into a feature vector that guides the denoising process.
  • Design Optimization Module: To ensure the output isn't just a "pretty picture" but a functional UI, the authors integrated prior design knowledge—such as alignment rules, spacing constraints, and color theory—directly into the training process.
  • Iterative Denoising: Following the standard diffusion approach, the model starts with pure Gaussian noise and gradually restores the UI structure through a reverse Markov chain, allowing for higher fidelity than "one-shot" generative methods.
  • Human-in-the-Loop Feedback: The system allows users to adjust generated results in real-time (e.g., modifying a layout or swapping a color scheme), which the model then uses to refine the final output.

Datasets

The study utilized the RICO dataset, a massive benchmark in UI research.

  • Scale: 72,219 mobile application screenshots.
  • Metadata: Each screenshot is accompanied by high-quality annotations detailing component properties (size, type, color, position) and JSON files capturing the hierarchical structure of the interface. This allowed the model to learn not just the "look" of an app, but the underlying structural logic of mobile interfaces.

Key Insights and Ideas

  • Diffusion > GANs for Structure: The study confirms that the iterative nature of diffusion models is better suited for the "high-stakes" geometry of UIs. While GANs are fast, they often produce "mushy" borders or illogical layouts that fail in a UI context.
  • The Power of the Sketch: The ablation studies revealed that omitting conditional inputs (like sketches) caused the largest drop in performance. This suggests that for professional design tasks, text alone is insufficient; spatial guidance is a "must-have."
  • Domain Knowledge as a Constraint: By hard-coding design principles into an optimization module, the researchers moved AI generation from "unconstrained creativity" to "constrained utility," which is essential for industrial applications.

Key Results

The proposed model was benchmarked against GAN, VAE, Autoregressive models, and DALL-E using standard image metrics (PSNR, SSIM, and FID) and user surveys.

  • Quantitative Superiority: The diffusion model achieved a PSNR of 31.8 and an SSIM of 0.90, outperforming DALL-E (30.5 / 0.87) and significantly beating GANs (27.8 / 0.82).
  • Distribution Accuracy: It achieved the lowest FID score (22.5), indicating that its generated UIs were statistically closest to real-world designs.
  • User Preference: In a subjective evaluation, the model reached a 95% user satisfaction score, compared to 88% for DALL-E and a lowly 65% for VAE-based generations. Users specifically noted the "logical clarity" of the information transmission.

Limitations and Future Work

While the results are promising, the authors acknowledge a few hurdles:

  • Efficiency: Diffusion models are computationally expensive and slower than GANs. Future work will focus on optimizing generation speed to make the "real-time" feedback loop even smoother.
  • Complexity of Input: The current model handles text and sketches, but the authors want to explore even more complex multimodal inputs.
  • Broader Application: The researchers plan to extend this framework beyond mobile apps into more immersive fields like Virtual Reality (VR) and game interface design, where spatial logic is even more critical.

Summary updated

BibTeX
@misc{duan2025automated,
  author = {Yifei Duan and Liuqingqing Yang and Tong Zhang and Zhijun Song and Fenghua Shao},
  title = {{Automated UI Interface Generation via Diffusion Models: Enhancing Personalization and Efficiency}},
  year = {2025},
  eprint = {2503.20229},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2503.20229},
  howpublished = {arXiv},
}
Figure