Abstract
While Vision-Language Models (VLMs) have demonstrated proficiency in generating static code from screenshots, a significant gap remains in their ability to participate in the professional, iterative UI design process. We introduce CANVAS, a novel benchmark that evaluates VLMs as design agents interacting with professional software via tool calls. CANVAS features 598 tasks across design replication and modification, utilizing a suite of 50 specialized tools. Our evaluation of state-of-the-art models reveals that while top performers like GPT-4.1 and Gemini-2.5-Pro exhibit strategic tool use, significant challenges remain in geometric reasoning and complex layout management.
Introduction
Existing benchmarks for UI automation primarily focus on the implementation stage, such as "Screenshot-to-Code" tasks. However, professional design involves more than writing HTML/CSS; it requires manipulating hierarchical node structures and layers within specialized environments like Figma. To address this, the CANVAS benchmark measures how well AI agents can collaborate in the design stage by responding to high-level editing instructions and mastering tool-based interaction rather than just static code generation.
The CANVAS Framework
CANVAS employs an agentic framework where a VLM interacts with a design environment through a ReAct (Reasoning + Acting) loop. Models are provided with 50 predefined tools covering connection, creation, inspection, layout, operation, style, and text manipulation.
Task Categories
The benchmark evaluates models on two primary task types:
- Design Replication: Reconstructing a target UI from scratch on an empty canvas ($S_0 \rightarrow S_T$).
- Design Modification: Performing targeted edits on an existing design ($S_{Base} \rightarrow S_{Target}$) based on natural language instructions, such as changing themes or inserting specific components.
Dataset and Evaluation
The CANVAS Dataset consists of 598 tool-based tasks sampled from over 3,000 human-crafted mobile UI designs across 30 functional categories. The data was meticulously refined by professional designers to remove noise, such as hidden layers or misaligned elements, ensuring a high-quality ground truth.
To move beyond simple pixel-matching, CANVAS introduces a hierarchical evaluation framework:
- Feature-level: SSIM for structural preservation.
- Pattern-level: Saliency Similarity to capture human attention patterns.
- Object-level: BLIP Caption Similarity for semantic alignment.
- Component-level: Direct attribute matching (position, color, text) using the Hungarian algorithm.
Experimental Results and Insights
Evaluation of models like GPT-4o, GPT-4.1, Claude-3.5-Sonnet, and Gemini-2.5 yielded several key insights:
- Top Performers: GPT-4.1 and Gemini-2.5-Pro emerged as leaders. Gemini-2.5-Pro excelled at visual patterns, while GPT-4.1 was superior in semantic and component-level accuracy.
- Strategic Tool Use: High-performing models mirror human workflows by using tools like
copy_nodeto propagate components strategically rather than creating every element from scratch. - The Modification Challenge: Modification tasks proved more difficult than replication. A single incorrect tool call (e.g., a bad auto-layout setting) can cause a design to "disintegrate," making tool precision far more critical than tool diversity.
- Agentic Advantage: Multi-turn interaction, where models can see and correct their own work, significantly outperforms single-turn tool use for complex tasks.
Discussion and Future Work
Despite recent progress, VLMs still struggle with precise geometric reasoning (e.g., drawing the correct number of icons) and the "black box" logic of responsive layout engines like Figma’s Auto-layout. Future work should focus on imitation learning from designer action logs to improve spatial precision and internal models of complex layout hierarchies.
Summary updated