RefCraft: Benchmarking Visual-Reference-Conditioned Agentic Generation through Web Development
Yuchi Wang, Rongyao Fang, Weihao Yu, Xilin Wei, Tiancheng Gu, Dingkang Yang, Hang Zhang, Dayiheng Liu, Hongsheng Li, Shuai Bai
Abstract
Beyond basic tool use and coding skills, effectively incorporating visual references into agentic generation is equally essential for applying AI agents to real-world productivity tasks. We study this crucial capability through webpage development, a practical and readily evaluable setting in which existing benchmarks remain largely idealized: they typically focus on reconstructing visual targets or generating webpages from textual instructions alone, overlooking the more common workflow of developing from visual examples. Specifically, we introduce RefCraft, a benchmark comprising 300 realistic multimodal webpage-development tasks that combine natural-language instructions with screenshots from one to five reference webpages. Agents must selectively interpret and utilize these references while rendering, visually inspecting, and iteratively refining their outputs. We evaluate the resulting open-ended artifacts using independently verifiable keypoints and complementary programmatic and VLM judges. Across nine frontier (M)LLMs, the strongest system achieves an overall score of only 52.12 out of 100, revealing that visual-reference-conditioned agentic generation remains a substantial challenge for current models in practical webpage-development settings.
Create a lesson
Related papers
OpenVLHarness: Real World Visual Agentic Tool-Use with Multimodal Memory
Yu Zhou, Cheng-Fu Yang, Rui Sun et al.
LatComm: Reusable Context Compression for Latent Communication between Large Language Models
Huawei Lin, Jinting Liu, Tan Yu et al.
Competing Learning in Hybrid Architectures
Xingyu Shen, Yingfa Chen, Ziqing Qiao et al.
KEEP-Bench: Evaluating Evidence Preservation in Context Compression
Ziqing Man, Di Wu, Jia-Chen Gu et al.
MemT-1.0: Towards Memory-Native Evolution
Zhiyu Li, Zeyu Zhang, Linyun Liu et al.
SpecMRL: Redesign Matryoshka Representation Learning within Parametric Spectrum
Zhongxin Chen, Songhao Wu, Heng Cui et al.