Phase-wise MLLM Tuning for Multi-framework WebUI Code Generation
Haoran Ma, Linxiao Li, Chenyue Wang, Haochen Sui, Jiechao Gao
Key points
From the paper's conclusion- We then estimate cross framework heterogeneity and compatibility offline, and automatically derive training groups and their ordering by maximizing a phased objective.
Abstract
Multimodal large language models (MLLMs) achieve strong performance in translating WebUI screenshots into HTML/CSS. However, when they faced multiple frameworks (React/Vue/Angular), they often suffer from negative transfer that leads to compilation failures. These failures commonly stem from mixing framework specific syntax and violating framework constraints. This paper studies supervised fine-tuning for multi-framework WebUI code generation and proposes a phase-wise MLLM tuning method driven by compatibility and heterogeneity signals across frameworks. We first apply a normalization mapping that preserves each framework's native syntax while suppressing noise from variable naming and literal content. We then estimate cross framework heterogeneity and compatibility offline, and automatically derive training groups and their ordering by maximizing a phased objective. Finally, we perform phase-wise adapter tuning to reduce cross framework interference. Experiments on multiple benchmarks show that our proposed method improves both generation quality and compilation success rate compared with baselines.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- MulFCoder: Framework-conditioned Multi-agent for MLLM-based Multi-framework Front-end Code GenerationarXiv · 2026
- Toward Executable Multi-framework Front-end Code Generation with Self-CorrectionarXiv · 2026
- TaoD2C-Bench: Benchmarking MLLMs for Industrial UI Code Generation Beyond Visual FidelityarXiv · 2026
- WebVibe: Multimodal Interactive Website Generation via Reverse Synthesis and Visual Self-DistillationarXiv · 2026
- Does It Render Everywhere? A Study of Cross-Environment Compatibility in MLLM-Generated WebpagesarXiv · 2026
- InterWebCoder: Learning Interactive Webpage Generation from Executable Tests via Reinforcement LearningarXiv · 2026