UICoder: Finetuning Large Language Models to Generate User Interface Code through Automated Feedback

Jason Wu, Eldon Schoop, Alan Leung, Titus Barik, Jeffrey P. Bigham +1 more
6/11/2024
cs.CLcs.HCcs.SE

No confident code implementation found for this paper. 2 possible matches can be shown below.

Abstract

Large language models (LLMs) struggle to consistently generate UI code that compiles and produces visually relevant designs. Existing approaches to improve generation rely on expensive human feedback or distilling a proprietary model. In this paper, we explore the use of automated feedback (compilers and multi-modal models) to guide LLMs to generate high-quality UI code. Our method starts with an existing LLM and iteratively produces improved models by self-generating a large synthetic dataset using an original model, applying automated tools to aggressively filter, score, and de-duplicate the data into a refined higher quality dataset. The original LLM is improved by finetuning on this refined dataset. We applied our approach to several open-source LLMs and compared the resulting performance to baseline models with both automated metrics and human preferences. Our evaluation shows the resulting models outperform all other downloadable baselines and approach the performance of larger proprietary models.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 2 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Cite this paper

@article{wu2024uicoder,
  title  = {UICoder: Finetuning Large Language Models to Generate User Interface Code through Automated Feedback},
  author = {Jason Wu and Eldon Schoop and Alan Leung and Titus Barik and Jeffrey P. Bigham and Jeffrey Nichols},
  year   = {2024},
  eprint = {2406.07739},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.07739v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2406.07739.svg)](https://codeofpaper.com/paper/2406.07739)

Discussion