arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2611.09769cs.SEcs.CV
收藏

AnimWeb-Bench:基于视频的动画网页代码生成基准测试

AnimWeb-Bench: Benchmarking Animated Webpage Code Generation from Videos

The Chinese University of Hong Kong(香港中文大学)

Zhongyi Zhang, Jingyu Xiao, Shuqing Li, Michael R. Lyu

AI总结:

研究人员推出首个基于视频的动画网页代码生成基准测试AnimWeb-Bench,含124个真实网页,通过二维协议评估14个MLLMs和3个编码智能体,发现复现动画比静态外观更难,显式帧检查可提升质量。

摘要:

动画在网页中无处不在,仅CSS动画属性就出现在超过四分之三的网页上。然而现有的网页代码生成基准测试针对的是静态截图、用户触发的交互或孤立的动态图形,多模态大语言模型(MLLMs)和编码智能体重建完整动画网页的能力在很大程度上未被探索。为填补这一空白,我们推出AnimWeb-Bench,这是首个基于视频的动画网页代码生成基准测试。它包含124个真实网页,涵盖7个应用领域和33种动画类型,其中91.9%的网页结合了多种动画类型,每个网页都配有参考视频和原始网页的静态资源。我们进一步提出了一种符合人类偏好的二维评估协议:静态外观保真度在对齐的关键帧上测量结构、文本、颜色和视觉相似度,而动画保真度则跟踪帧间的UI组件,并将它们的位置、大小、速度和外观与参考视频中的对应项进行比较。对14个MLLMs和3个编码智能体的评估显示:(1)复现网页动画比复现静态外观困难得多;(2)显式帧检查和渲染反馈可提升编码智能体的重建质量;(3)快速连续变化比离散状态转换更难复现。我们的代码和数据集可在this https URL获取。

英文摘要:

Animation is pervasive on the Web, the CSS animation property alone appears on over three-quarters of webpages. Yet existing webpage code generation benchmarks target static screenshots, user-triggered interactions, or isolated motion graphics, leaving the ability of multimodal large language models (MLLMs) and coding agents to reconstruct complete animated webpages largely unexplored. To fill this gap, we introduce AnimWeb-Bench, the first benchmark for animated webpage code generation from videos. It comprises 124 real-world webpages spanning 7 application domains and 33 animation types, with 91.9% of pages combining multiple types, each paired with a reference video and the static assets of the original webpage. We further propose a human-aligned, two-dimensional evaluation protocol: Static Appearance Fidelity measures structure, text, color, and visual similarity on aligned keyframes, while Animation Fidelity tracks UI components across frames and compares their position, size, velocity, and appearance with those in the reference video. Evaluating 14 MLLMs and three coding agents reveals: (1) reproducing webpage animations is substantially more difficult than reproducing static appearance; (2) explicit frame inspection and render feedback improve the reconstruction quality of coding agents; and (3) rapid, continuous changes are harder to reproduce than discrete state transitions. Our code and dataset are available at https://starry1001.github.io/AnimWeb-Bench-website/ .

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

↑