DesignRepair: Dual-Stream Design Guideline-Aware Frontend Repair with Large Language Models
Mingyue Yuan, Jieshan Chen, Zhenchang Xing, Aaron Quigley, Yuyu Luo,, Tianqi Luo, Gelareh Mohammadi, Qinghua Lu, Liming Zhu

TL;DR
DesignRepair leverages large language models and a dual-stream approach guided by Material Design principles to automatically analyze and repair frontend UI code, improving design quality, accessibility, and user experience.
Contribution
This work introduces a novel dual-stream system combining knowledge bases, LLMs, and page analysis for automated frontend UI repair, addressing limitations of prior solutions.
Findings
Significant improvements in design guideline adherence
Enhanced accessibility and usability metrics
Effective automatic UI repair demonstrated
Abstract
The rise of Large Language Models (LLMs) has streamlined frontend interface creation through tools like Vercel's V0, yet surfaced challenges in design quality (e.g., accessibility, and usability). Current solutions, often limited by their focus, generalisability, or data dependency, fall short in addressing these complexities. Moreover, none of them examine the quality of LLM-generated UI design. In this work, we introduce DesignRepair, a novel dual-stream design guideline-aware system to examine and repair the UI design quality issues from both code aspect and rendered page aspect. We utilised the mature and popular Material Design as our knowledge base to guide this process. Specifically, we first constructed a comprehensive knowledge base encoding Google's Material Design principles into low-level component knowledge base and high-level system design knowledge base. After that,…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSemantic Web and Ontologies · Multimedia Communication and Technology · Model-Driven Software Engineering Techniques
