arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2505.17399cs.CL
收藏

FullFront:跨完整前端工程工作流基准测试多模态大语言模型

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

Tongji University(同济大学);University of Washington(华盛顿大学);Sun Yat-sen University(中山大学);Microsoft(微软);The Chinese University of Hong Kong(香港中文大学)

Haoyu Sun, Huichen Will Wang, Jiawei Gu, Linjie Li, Yu Cheng

AI总结:

提出FullFront基准,评估多模态大语言模型在完整前端工程流程中的网页设计、感知问答和代码生成能力,发现其与人类专家存在显著差距。

摘要:

前端工程涉及一个复杂的工作流程,工程师在此过程中构思设计、将其转化为代码,并迭代优化实现。尽管近期基准主要关注将视觉设计转换为代码,我们提出了FullFront,一个旨在评估多模态大语言模型(MLLMs)在完整前端开发流程中表现的基准。FullFront评估三项直接对应前端工程流程的基本任务:网页设计(概念化阶段)、网页感知问答(对视觉组织和元素的理解)以及网页代码生成(实现阶段)。与使用带有臃肿代码的抓取网站或过度简化的LLM生成HTML的现有基准不同,FullFront采用一种新颖的两阶段过程,将真实网页转换为干净、标准化的HTML,同时保持多样的视觉设计并避免版权问题。对最先进MLLMs的广泛测试揭示了在页面感知、代码生成(特别是图像处理和布局)以及交互实现方面的显著局限性。我们的结果定量展示了模型和任务之间的性能差异,并突显了当前MLLM能力与前端工程中人类专家表现之间的巨大差距。FullFront基准和代码可在https://github.com/Mikivishy/FullFront获取。

英文摘要:

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 designs to code, we present FullFront, a benchmark designed to evaluate Multimodal Large Language Models (MLLMs) \textbf{across the full front-end development pipeline}. FullFront assesses three fundamental tasks that map directly to the front-end engineering pipeline: Webpage Design (conceptualization phase), Webpage Perception QA (comprehension of visual organization and elements), and Webpage Code Generation (implementation phase). Unlike existing benchmarks that use either scraped websites with bloated code or oversimplified LLM-generated HTML, FullFront employs a novel, two-stage process to transform real-world webpages into clean, standardized HTML while maintaining diverse visual designs and avoiding copyright issues. Extensive testing of state-of-the-art MLLMs reveals significant limitations in page perception, code generation (particularly for image handling and layout), and interaction implementation. Our results quantitatively demonstrate performance disparities across models and tasks, and highlight a substantial gap between current MLLM capabilities and human expert performance in front-end engineering. The FullFront benchmark and code are available in https://github.com/Mikivishy/FullFront.

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

↑