ArtifactsBench: Bridging the Visual-Interactive Gap in LLM Code Generation Evaluation
ArtifactsBench 是一个用于评估大型语言模型(LLM)生成交互式视觉作品能力的自动化多模态基准。
更新于 2025-07-09。作者:Chenchen Zhang、Yuhang Li、Can Xu、Jiaheng Liu、Ao Liu、Shihui Hu、Dengpeng Wu、Guanhua Huang、Kejiao Li、Qi Yi、Ruibin Xiong、Haotian Zhu、Yuanxing Zhang、Yuhao Jiang、Yue Zhang、Zenan Xu、Bohui Zhai、Guoxiang He、Hebin Li、Jie Zhao、Le Zhang、Lingyun Tan、Pengyu Guo、Xianshu Pang、Yang Ruan、Zhifeng Zhang、Zhonghu Wang、Ziyan Xu、Zuopu Yin、Wiggin Zhou、Chayse Zhou、Fengzong Lian。
中文摘要
大型语言模型(LLMs)的生成能力正迅速从静态代码扩展到动态、交互式的视觉作品。这一进步受到一个关键评价差距的瓶颈限制:现有的基准主要关注算法的正确性,而忽视了定义现代用户体验的视觉保真度和交互完整性。为了弥合这一差距,我们引入了ArtifactsBench,这是一个新的基准和范式,用于自动、多模态评估视觉代码生成。我们的框架通过程序性渲染每个生成的作品,并通过时间截图捕捉其动态行为。这种视觉证据,连同源代码一起,随后由一个多模态LLM(MLLM)作为评判者进行评估,该评判者严格遵循任务细粒度的清单,以确保全面和可重复的评分。我们构建了一个包含1,825个不同任务的新的基准,并评估了30多个领先的LLMs。我们的自动评估在WebDev Arena(人类在网页开发中偏好的黄金标准)上达到了惊人的94.4%的排名一致性,并且与人类专家有超过90%的双边一致性。这确立了ArtifactsBench作为第一个能够可靠地大规模评估人类感知质量的框架。我们的分析提供了一个高分辨率的当前SOTA(最先进的技术)地图,揭示了一般性模型通常优于特定领域的模型。我们将ArtifactsBench开源,包括基准、评估工具和基线结果,可在https://artifactsbenchmark.github.io/获取,为社区提供一个可扩展且准确的工具,以加速以用户为中心的生成模型的发展。
英文摘要
The generative capabilities of Large Language Models (LLMs) are rapidly expanding from static code to dynamic, interactive visual artifacts. This progress is bottlenecked by a critical evaluation gap: established benchmarks focus on algorithmic correctness and are blind to the visual fidelity and interactive integrity that define modern user experiences. To bridge this gap, we introduce ArtifactsBench, a new benchmark and paradigm for the automated, multimodal evaluation of visual code generation. Our framework programmatically renders each generated artifact and captures its dynamic behavior through temporal screenshots. This visual evidence, alongside the source code, is then assessed by a Multimodal LLM (MLLM)-as-Judge, which is rigorously guided by a fine-grained, per-task checklist to ensure holistic and reproducible scoring. We construct a new benchmark of 1,825 diverse tasks and evaluate over 30 leading LLMs. Our automated evaluation achieves a striking 94.4% ranking consistency with WebDev Arena, the gold-standard for human preference in web development, and over 90% pairwise agreement with human experts. This establishes ArtifactsBench as the first framework to reliably automate the assessment of human-perceived quality at scale. Our analysis provides a high-resolution map of the current SOTA, revealing that generalist models often outperform domain-specific ones. We open-source ArtifactsBench, including the benchmark, evaluation harness, and baseline results at https://artifactsbenchmark.github.io/, to provide the community with a scalable and accurate tool to accelerate the development of user-centric generative models.
解读
一句话总结
ArtifactsBench 是一个用于评估大型语言模型(LLM)生成交互式视觉作品能力的自动化多模态基准。
问题1:这篇论文想要解决什么具体问题?
- 问题背景:现有代码生成基准主要关注算法正确性,忽略了视觉保真度和交互完整性,这对于现代用户体验至关重要。
- 现有方案不足:现有基准无法全面评估交互式作品的视觉保真度和交互正确性。
- 研究目标:开发一个自动化多模态评估框架,用于评估 LLM 生成交互式视觉作品的能力。
问题2:论文的核心创新点是什么?
- 技术创新:提出 ArtifactsBench,一个用于评估交互式视觉作品生成能力的自动化多模态基准。
- 方法改进:利用 MLLM 进行评估,通过细粒度、任务特定的清单来确保全面和可重复的评分。
- 优势:与人类专家的评估结果高度一致,为生成用户为中心的生成模型提供可扩展和准确的工具。
问题3:实验结果如何验证了方法的有效性?
- 关键实验:构建了一个包含 1,825 个不同任务的基准,评估了超过 30 个领先的 LLM。
- 性能提升:ArtifactsBench 的排名与 WebDev Arena(人类偏好的黄金标准)达到 94.4% 的一致性,与人类专家的成对一致性超过 90%。
- 对比结果:ArtifactsBench 在评估交互式视觉作品生成能力方面优于现有基准。
问题4:这个研究的实际应用价值是什么?
- 应用场景:适用于评估 LLM 生成交互式视觉作品的能力,如网页、数据可视化、交互式游戏等。
- 实施建议:将 ArtifactsBench 作为评估工具,用于指导 LLM 生成模型的开发。
- 局限与展望:未来可以进一步改进交互性评估,探索代理和迭代开发,以提供更全面的评估。
来源
机器可读索引:llms.txt