UI2App: Benchmarking Visual Interaction Inference in Executable Web Application Generation

· Source: cs.SE updates on arXiv.org · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Software Development & Engineering · Depth: Expert, extended

Summary

UI2App is introduced as the first benchmark specifically designed to evaluate "interaction inference" in executable web application generation from image-only UI screenshots. Comprising 327 screenshots organized into 45 state-coherent sets for multi-route web applications, UI2App assesses generated artifacts across four dimensions: executability, navigation reachability, visual fidelity, and interaction inference (IIS). Experiments with six frontier vision-language models revealed a significant capability mismatch; the visual-fidelity leader scored only 7.5 on IIS, ranking fourth and trailing the IIS leader by 5.2x. High-complexity interactions, particularly cross-page state management, remain a pervasive bottleneck, with half of the models scoring exactly zero in this dimension. Overall, the benchmark highlights that inferring complete interaction behavior from static screenshots is a major challenge for current models.

Key takeaway

For Machine Learning Engineers developing or evaluating vision-language models for UI-to-code generation, you must move beyond visual fidelity metrics. Your models should be rigorously tested for interaction inference, particularly for complex cross-route state management, which is a frontier-wide challenge. Prioritize improving functional correctness and state-management complexity to build truly dynamic and usable web applications, rather than just pixel-perfect static facades.

Key insights

Interaction inference from static UI screenshots is a distinct, challenging capability for VLMs, separate from visual fidelity.

Principles

Method

UI2App employs an end-to-end pipeline evaluating executability, navigation, visual fidelity, and interaction inference (IIS) via a rubric-based taxonomy across seven interaction categories and three state-management scopes.

In practice

Topics

Code references

Best for: Research Scientist, AI Scientist, Machine Learning Engineer, AI Engineer

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by cs.SE updates on arXiv.org.