TL;DR
CANVAS is a new benchmark designed to evaluate how well Vision-Language Models (VLMs) can act as design agents by interacting directly with design software (like Figma) via tool calls. Unlike previous benchmarks that focus on generating static code (HTML/CSS), CANVAS tests a model's ability to iteratively replicate and modify UI designs using a suite of 50 professional design tools.
What Problem Does This Paper Address?
While VLMs have become impressively good at "Screenshot-to-Code" tasks, there is a massive gap between generating a static webpage and participating in the actual UI design process. Professional designers don't just write code; they use specialized software (Figma, Sketch) to iteratively refine layouts, components, and styles.
Existing benchmarks primarily evaluate the implementation stage (code). However, we lack a way to measure how well AI agents can collaborate in the design stage—where they must understand hierarchical node structures, manipulate layers, and respond to high-level editing instructions (e.g., "make this button rounded"). The authors argue that for AI to be a true design partner, it needs to master tool-based interaction, not just code generation.
Methods
The authors developed an agentic framework where a VLM interacts with a design environment (Figma) through a ReAct (Reasoning + Acting) loop.
- Tool Integration: They provided models with 50 predefined tools (via the Model Context Protocol) covering connection, creation, inspection, layout, operation, style, and text manipulation.
- Task Types:
- Design Replication: Reconstructing a target UI from scratch on an empty canvas.
- Design Modification: Performing targeted edits on an existing design based on natural language instructions (e.g., "Change the theme to dark mode" or "Insert a XL size selection button").
- Evaluation Framework: To move beyond simple pixel-matching, they introduced a hierarchical evaluation:
- Feature-level: SSIM for structural preservation.
- Pattern-level: Saliency Similarity to see if the model captures human attention patterns.
- Object-level: BLIP Caption Similarity for semantic alignment.
- Component-level: Direct attribute matching (position, color, text) using the Hungarian algorithm.
Datasets
The authors introduced the CANVAS Dataset, which consists of 598 tool-based design tasks sampled from a pool of 3,327 human-crafted mobile UI designs across 30 functional categories (e.g., onboarding, messaging, dashboards).
The dataset was meticulously refined by four experienced designers to remove "noise" that often plagues raw design files, such as hidden layers, complex vector illustrations that are too granular for current models, and misaligned "clutter."
Key Insights and Ideas
- Strategic vs. Brute Force: High-performing models (like GPT-4.1 and Gemini-2.5-Pro) don't just create elements one by one. They exhibit "strategic" tool use, such as creating a component once and using a
copy_nodetool to propagate it, mirroring how human designers work. - The Modification Challenge: Modification tasks are actually harder than replication. In replication, a model can be "mostly right" and get a good score. In modification, a single incorrect tool call (like a bad auto-layout setting) can "disintegrate" the entire design, leading to massive score drops.
- Precision vs. Diversity: For modification, "Tool Precision" (choosing the exact right tool) is more correlated with success than "Tool Diversity." Models that explored too many unnecessary tools often ended up degrading the existing design.
- Human Alignment: A study with professional designers confirmed that the benchmark's automated metrics (Saliency, BLIP, and Component-wise similarity) are statistically significant predictors of human preference.
Key Results
The researchers evaluated five state-of-the-art models: GPT-4o, GPT-4.1, Claude-3.5-Sonnet, and Gemini-2.5 (Flash and Pro).
- Top Performers: GPT-4.1 and Gemini-2.5-Pro emerged as leaders.
- Replication: Gemini-2.5-Pro excelled at visual patterns (Saliency), while GPT-4.1 was superior at capturing semantics and component attributes.
- Modification: GPT-4.1 was the most robust, consistently improving designs across all metrics, whereas other models sometimes caused "score stagnation" or even degraded the design after editing.
- Ablation: The study found that multi-turn agentic interaction (allowing the model to see its work and correct it) significantly outperformed single-turn tool use for complex tasks.
Limitations and Future Work
- Geometric Reasoning: Models still struggle with precise spatial counting (e.g., drawing the wrong number of stars in a rating bar) and incoherent path directions.
- Auto-Layout Logic: Figma’s "Auto-layout" feature (which handles responsive resizing) remains a "black box" for many models. When a model changes one parameter, it often fails to predict how the rest of the hierarchy will shift, leading to overlapping text or disappearing elements.
- Future Directions: The authors suggest that future work should focus on "imitation learning" from designer action logs to teach models more precise tool selection and better internal models of layout engines.
Summary updated