paper-with-me

Papers

Interaction2Code: Benchmarking MLLM-based Interactive Webpage Code Generation from Interactive Prototyping

2024-11-05 · Jingyu Xiao, Yuxuan Wan, Yintong Huo, Zixin Wang, Xinyi Xu, Wenxuan Wang, Zhiyao Xu, Yuhang Wang, Michael R. Lyu

Multimodal Large Language Models (MLLMs) have demonstrated remarkable performance on the design-to-code task, i.e., generating UI code from UI mock-ups. However, existing benchmarks only contain static web pages for evaluation and ignore the dynamic interaction, limiting the practicality, usability and user engagement of the generated webpages. To bridge these gaps, we present the first systematic investigation of MLLMs in generating interactive webpages. Specifically, we formulate the Interaction-to-Code task and establish the Interaction2Code benchmark, encompassing 127 unique webpages and 374 distinct interactions across 15 webpage types and 31 interaction categories. Through comprehensive experiments utilizing state-of-the-art (SOTA) MLLMs, evaluated via both automatic metrics and human assessments, we identify four critical limitations of MLLM on Interaction-to-Code task: (1) inadequate generation of interaction compared with full page, (2) prone to ten types of failure, (3) poor performance on visually subtle interactions, and (4) insufficient undestanding on interaction when limited to single-modality visual descriptions. To address these limitations, we propose four enhancement strategies: Interactive Element Highlighting, Failureaware Prompting (FAP), Visual Saliency Enhancement, and Visual-Textual Descriptions Combination, all aiming at improving MLLMs' performance on the Interaction-toCode task. The Interaction2Code benchmark and code are available in https://github. com/WebPAI/Interaction2Code.

📄 PDF Abstract BibTeX arXiv:2411.03292

Code (1)

webpai/interaction2code 공식 구현

Tasks

BenchmarkingCode Generation

Similar Papers 제목 키워드 기반

Benchmarking Multimodal LLMs on Code Generation for Complex Interactive Webpages

2026-05-29 · Fan Wu, Lishuai Dong, Cuiyun Gao, Yujia Chen 외 arxiv

Recent advancements in multimodal large language models (MLLMs) have achieved remarkable progress in multimodal reasoning and code generation, catalyzing a new paradigm for front-end development. In particular, these mod…

Multimodal ReasoningCode Generation

FullFront: Benchmarking MLLMs Across the Full Front-End Engineering Workflow

2025-05-23 · Haoyu Sun, Huichen Will Wang, Jiawei Gu, Linjie Li 외

Front-end engineering involves a complex workflow where engineers conceptualize designs, translate them into code, and iteratively refine the implementation. While recent benchmarks primarily focus on converting visual d…

BenchmarkingCode Generation

WebCode2M: A Real-World Dataset for Code Generation from Webpage Designs

2024-04-09 · Yi Gui, Zhen Li, Yao Wan, Yemin Shi 외

Automatically generating webpage code from webpage designs can significantly reduce the workload of front-end developers, and recent Multimodal Large Language Models (MLLMs) have shown promising potential in this area. H…

BenchmarkingCode Generation

Design2Code: Benchmarking Multimodal Code Generation for Automated Front-End Engineering

2024-03-05 · Chenglei Si, Yanzhe Zhang, Ryan Li, Zhengyuan Yang 외

Generative AI has made rapid advancements in recent years, achieving unprecedented capabilities in multimodal understanding and code generation. This can enable a new paradigm of front-end development in which multimodal…

BenchmarkingCode Generation

WebVR: Benchmarking Multimodal LLMs for WebPage Recreation from Videos via Human-Aligned Visual Rubrics

2026-03-11 · Yuhong Dai, Yanlin Lai, Mitt Huang, Hangyu Guo 외 arxiv

Existing web-generation benchmarks rely on text prompts or static screenshots as input. However, videos naturally convey richer signals such as interaction flow, transition timing, and motion continuity, which are essent…