arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2611.01692cs.SEcs.AI
收藏

面向多框架WebUI代码生成的分阶段多模态大语言模型(MLLM)调优

Phase-wise MLLM Tuning for Multi-framework WebUI Code Generation

Harvard University(哈佛大学);The University of Sydney(悉尼大学);University of Michigan(密歇根大学);Stanford University(斯坦福大学)

Haoran Ma, Linxiao Li, Chenyue Wang, Haochen Sui, Jiechao Gao

AI总结:

本文针对MLLM生成多框架WebUI代码时的编译失败问题,提出分阶段MLLM调优方法,通过归一化映射、跨框架异质性估计和分阶段适配器调优,提升了代码生成质量与编译成功率。

摘要:

多模态大语言模型(MLLM)在将WebUI截图转换为HTML/CSS方面表现出色,但当面对React、Vue、Angular等多个框架时,常出现负迁移导致编译失败,这些失败通常源于混合框架特定语法和违反框架约束。本文研究面向多框架WebUI代码生成的监督微调,提出一种由跨框架兼容性与异质性信号驱动的分阶段MLLM调优方法:首先应用归一化映射,在保留各框架原生语法的同时抑制变量命名和字面内容的噪声;接着离线估计跨框架异质性与兼容性,通过最大化分阶段目标自动推导训练组及其排序;最后执行分阶段适配器调优以减少跨框架干扰。在多个基准上的实验表明,与基线方法相比,本文提出的方法提升了生成质量和编译成功率。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑