DesignBench
收藏资源简介:
DesignBench是一个多框架、多任务的评估基准,用于评估多模态大语言模型(MLLMs)在自动化前端工程中的能力。它涵盖了三种广泛使用的UI框架(React、Vue和Angular)以及原生HTML/CSS,并在真实开发工作流程中评估三个基本前端任务(生成、编辑和修复)。DesignBench包含900个网页样本,涵盖11个主题、9种编辑类型和6个问题类别,能够从多个维度详细分析MLLM的性能。
DesignBench is a multi-framework, multi-task evaluation benchmark designed to assess the capabilities of Multimodal Large Language Models (MLLMs) in automated frontend engineering. It encompasses three widely-used UI frameworks (React, Vue, and Angular) as well as native HTML/CSS, and evaluates three fundamental frontend tasks (generation, editing, and repair) within the context of real-world development workflows. Comprising 900 web samples, DesignBench covers 11 themes, 9 editing types, and 6 question categories, enabling a detailed multidimensional analysis of the performance of MLLMs.
DesignBench 数据集概述
📜 数据集简介
DesignBench 是一个用于评估多模态大语言模型(MLLMs)在前端工程中自动化代码生成能力的综合基准测试。该数据集针对现有前端UI代码生成基准的不足,提供了多框架、多任务的评估环境。
🛠️ 数据集特点
框架支持
- Vanilla HTML
- React
- Vue
- Angular
任务类型
| 任务类型 | 枚举 | 支持模式 | 描述 |
|---|---|---|---|
| 生成 | Task.GENERATION |
Mode.IMAGE |
从UI图像生成前端代码 |
| 编辑 | Task.EDIT |
Mode.IMAGE, Mode.CODE, Mode.BOTH |
根据需求修改现有UI |
| 修复 | Task.REPAIR |
Mode.IMAGE, Mode.CODE, Mode.BOTH, Mode.MARK |
修复损坏的UI实现 |
| 编译错误修复 | Task.COMPILE |
Mode.CODE, Mode.BOTH |
修复UI代码中的编译错误 |
📊 数据集规模
- 包含900个网页样本
- 覆盖11个主题
- 包含9种编辑类型
- 涵盖6种问题类别
📥 数据获取
数据集下载地址:https://drive.google.com/drive/folders/1gCeg4LqO7VsOSpB70iMnKbNR8gfzUot_
🔥 引用
@misc{xiao2025designbench, title={DesignBench: A Comprehensive Benchmark for MLLM-based Front-end Code Generation}, author={Jingyu Xiao and Ming Wang and Man Ho Lam and Yuxuan Wan and Junliang Liu and Yintong Huo and Michael R. Lyu}, year={2025}, eprint={2506.06251}, archivePrefix={arXiv}, primaryClass={cs.SE}, url={https://arxiv.org/abs/2506.06251}, }




