WebUIBench
收藏资源简介:
WebUIBench是一个全面评估多模态大型语言模型(MLLMs)在WebUI到代码转换能力的数据集。数据集包含来自超过700个真实世界网站的高质量问答对,总计约21,793对。WebUIBench旨在通过WebUI感知、HTML编程、WebUI-HTML理解和WebUI到代码转换四个关键领域来评估MLLMs。数据集为9个子任务提供了多样化的评估,涵盖了WebUI元素分类、属性识别、视觉定位、OCR、代码错误纠正、代码功能编辑、网页-HTML匹配、网页-HTML检索以及WebUI到代码转换。数据集的创建过程包括收集真实世界网站的截图、源代码和页面元素信息,并通过网页切片和自动标注生成问答对。WebUIBench的数据集和评估框架为MLLMs在Web应用开发领域的性能评估提供了重要资源。
WebUIBench is a comprehensive dataset designed to evaluate the web UI-to-code conversion capabilities of multimodal large language models (MLLMs). The dataset includes high-quality question-answer pairs sourced from over 700 real-world websites, with a total of approximately 21,793 pairs. WebUIBench aims to assess MLLMs across four core domains: WebUI perception, HTML programming, WebUI-HTML understanding, and WebUI-to-code conversion. It supports diverse evaluations across 9 subtasks, covering WebUI element classification, attribute recognition, visual localization, OCR, code error correction, code function editing, webpage-HTML matching, webpage-HTML retrieval, and WebUI-to-code conversion. The dataset creation process involves collecting screenshots, source codes, and page element information from real-world websites, and generating question-answer pairs via webpage slicing and automatic annotation. The WebUIBench dataset and its evaluation framework provide a critical resource for performance evaluation of MLLMs in the field of web application development.
WebUIBench 数据集概述
基本信息
- 数据集名称: WebUIBench
- 发布日期: 2024年5月20日
- 许可证: MIT
- 数据集地址: HuggingFace
- 论文地址: arXiv
- GitHub仓库: MAIL-Tele-AI/WebUIBench
数据集简介
WebUIBench是一个系统设计的基准测试,用于评估多模态大语言模型(MLLMs)在四个关键领域的能力:
- WebUI感知
- HTML编程
- WebUI-HTML理解
- WebUI-to-Code
数据集包含21K高质量的问题-答案对,源自超过0.7K个真实世界的网站。
评估结果
研究团队对29个主流多模态大语言模型进行了全面评估,包括:
- 7个闭源模型: GPT-4o、Gemini-1.5 Pro、Claude-3.5-Sonnet等
- 22个开源模型: InternVL2.5系列、Qwen2-VL系列等(参数规模从2B到78B不等)
安装与使用
-
安装: bash git clone https://github.com/MAIL-Tele-AI/WebUIBench cd WebUIBench pip install -r requirements.txt
-
评估: bash tasks=(ec ocr ap vg cec cfe whm whr w2c) model_name=your_model_name for task in ${tasks[@]}; do python model_eval.py --task xx --model_name ${model_name} --gold_path xx --pred_path xx --eval_model gpt4o --eval_output xx --eval_type node --task_type ${task}
引用
如需引用,请使用以下BibTeX条目: bibtex @article{xx, title={WebUIBench: A Comprehensive Benchmark for Evaluating Multimodal Large Language Models in WebUI-to-Code}, author={xx}, journal={arXiv preprint arXiv:xx}, year={2025} }
致谢
特别感谢以下项目的贡献:




