DeltaUI: Framework-Normalized UI State Transition Modeling for Multi-Task Front-End Engineering
Abstract
Multimodal Large Language Models (MLLMs) are emerging as a foundation for automated front-end engineering because they enable joint reasoning over screenshots and natural-language instructions. However, most front-end assistants treat this workflow as a set of isolated code-generation tasks, directly decoding framework-specific syntax for each request. This direct-decoding paradigm leaves three limitations unresolved: (i) it provides no transferable prediction target across tasks and frameworks, (ii) it offers no stable representation for localized edits and repairs, and (iii) it provides no auditable path from multimodal input to executable outcomes. In this paper, we propose DeltaUI, a unified framework that recasts generation, editing, and repair as predictions of transitions in a shared, framework-normalized UI state space, modeling UI change rather than directly decoding target code. DeltaUI begins by parsing heterogeneous front-end artifacts into a typed UI state graph that separates shared UI semantics from framework-specific surface syntax. It then uses a multimodal transition model to predict structured state operations by encoding the source state and multimodal evidence (e.g., screenshots, instructions, and issues), preserving explicit source-to-update correspondence. A deterministic framework-conditioned realizer converts the resulting state into target-framework code. Finally, an execution-aware critic drives a bounded refinement loop using compiler and render feedback, ensuring the full path remains auditable. Extensive experiments on DesignBench and Design2Code demonstrate that modeling UI-state transitions yields consistent gains over direct code-decoding baselines across multiple MLLM backbones while retaining effective transfer to real-world webpages. The code and implementation of DeltaUI are provided in the supplementary material.