UI2App: Benchmarking Visual Interaction Inference in Executable Web Application Generation
summary
The gist
Large language models have demonstrated growing competence in web page generation, but existing text-driven approaches are limited by complex prompts, and image-driven paradigms lack systematic
In short
UI2App is a benchmark testing how well AI models can infer application behavior from static screenshots without text prompts. It measures four aspects: executability, navigation reachability, visual fidelity, and interaction inference (IIS). The study shows that high visual quality does not guarantee the ability to understand complex interactions like cross-route state management.
Key concepts
- Interaction Inference Scoring (IIS)
- This core metric quantifies a model's ability to predict and implement actions implied by a screenshot. It assesses coverage, result, and scope across three interaction types: UI state, data state, and cross-route persistence. A higher IIS means the model successfully infers the intended application behavior.
- Cross-Route State Persistence (S3)
- This refers to the most difficult type of interaction to infer—understanding how data or settings persist across different parts or routes of a web application. The paper identifies this as a major bottleneck, with half of tested models failing to correctly handle this complexity.
- Latent Affordance Inference
- This is the underlying capability being tested: the model's ability to understand hidden, implied behaviors (affordances) within a visual interface. The research suggests that this inference capability does not scale predictably with model size or image quality alone.
Terminology used across episodes
This episode discusses
- UI2App: Benchmarking Visual Interaction Inference in Executable Web Application Generation · Paper Radio
- IWR-Bench: Can LVLMs reconstruct interactive webpage from a user interaction video?
- PSD2Code: Automated Front-End Code Generation from Design Files via Multimodal Large Language Models
- DesignCoder: Hierarchy-Aware and Self-Correcting UI Code Generation with Large Language Models
- WebVR: Benchmarking Multimodal LLMs for WebPage Recreation from Videos via Human-Aligned Visual Rubrics
- Advancing vision-language models in front-end development via data synthesis
- DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligence
- DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learning
- Vision2Web: A Hierarchical Benchmark for Visual Website Development with Agent Verification
- Kimi K2.5: Visual Agentic Intelligence
- Unlocking the conversion of Web Screenshots into HTML Code with the WebSight Dataset
- Code Llama: Open Foundation Models for Code
- MRWeb: An Exploration of Generating Multi-Page Resource-Aware Web Code from UI Designs
- VSA:Visual-Structural Alignment for UI-to-Code
- DesignBench: A Comprehensive Benchmark for MLLM-based Front-end Code Generation
- ArtifactsBench: Bridging the Visual-Interactive Gap in LLM Code Generation Evaluation
- Widget2Code: From Visual Widgets to UI Code via Multimodal LLMs
The paper
UI2App: Benchmarking Visual Interaction Inference in Executable Web Application Generation · Read on arXiv
The Hong Kong University of Science and Technology
Large language models (LLMs) have demonstrated growing competence in generating web pages from UI screenshots, which convey both visual structure and cues to application behavior. Yet most screenshot-to-code benchmarks emphasize visual fidelity, while interactive generation benchmarks often supply behavioral specifications or demonstrated transitions. Whether models can infer and realize interactions from static screenshots alone remains insufficiently evaluated. We introduce UI2App to evaluate interaction inference: inferring and realizing application behavior from static visual cues without added behavioral guidance. UI2App comprises 600 screenshots organized into 95 state-coherent sets for runnable multi-route web applications. Our end-to-end pipeline evaluates each artifact along three dimensions: executability, visual fidelity, and interaction inference. The interaction metric (IIS) assesses functional correctness and state-management complexity, crediting valid implementations rather than requiring a match to a single reference. Experiments on six frontier vision-language models reveal a marked mismatch between visual fidelity and interaction realization: the visual-fidelity leader scores only 8.1 on IIS, ranking fourth, while the IIS leader achieves 4.5 times that score. High-complexity interactions such as cross-route state persistence remain a major bottleneck, with five of the six models scoring at most 3.5 on this dimension. Overall, these results highlight interaction inference as a key challenge in generating functional web applications from static screenshots.
Transcript
Introduction to the show: ident: AI Radio. Generated commentary on the latest Artificial Intelligence papers.
Tom: Today's paper: "UI2App: Benchmarking Visual Interaction Inference in Executable Web Application Generation".
Jane: Large language models have demonstrated growing competence in web page generation, but existing text-driven approaches are limited by complex prompts, and image-driven paradigms lack systematic evaluation of interaction capabilities.
Tom: First, who's behind it and why it matters.
Paper summary: Tom: So, to recap where we are with UI2App: this benchmark consists of three hundred twenty-seven screenshots grouped into forty-five sets that represent runnable multi-route web applications <ref:2607.06306#pg0,327 screenshots grouped into 45>. The authors set out to create a protocol that assesses artifacts across four dimensions: executability, navigation reachability, visual fidelity, and interaction inference.
Jane: It really tackles the gap where we have image-driven approaches that focus too much on how the app looks instead of whether it actually works when you interact with it.
Lu: The central thesis they are pushing is that inferring complete interaction behavior from static screenshots alone remains a significant challenge for models, especially because cross-route state persistence seems to be a major bottleneck across the frontier.
Meng: They introduce this framework to systematically evaluate these interaction capabilities using an "interaction taxonomy" of seven categories, which structures how interactions are assessed into UI-state, data-state, and cross-route persistence.
Lalam: That taxonomy approach is key because it allows them to do a structured assessment of inferred behaviors without needing a unique ground-truth execution trace, which is a huge practical advantage for testing.
Conclusion: Tom: The authors of UI2App are Grace Man Chen, Litao Guo, Yifan Wu, Yiyu Chen, Yenchi Tseng, Sicheng Liu, and Yuyu Luo. They really put forward a benchmark that shifts the focus from just generating pretty UIs to actually understanding the functional logic behind those UIs when you only have a picture of them.
Jane: It seems like the real implication here is that we need better ways to test if an AI has grasped the underlying state and flow of an application, not just its surface appearance.
Lu: I see this opening for really creative applications where we can build systems that require complex, multi-step interactions that are hard to prompt purely through language.
Meng: From a practical standpoint, this suggests that if we want AI agents to reliably navigate and operate software interfaces autonomously, they have to master this kind of inference.
Lalam: For me, the impact is about improving how AI interacts with our digital culture; if models can infer complex state transitions, those AI systems become much more capable of handling nuanced user flows in real-world applications.
Tom: Exactly. So, we're seeing that visual fidelity alone isn't a guarantee of functional understanding when it comes to interaction inference.
Jane: That’s the core message: we need metrics that specifically target how well an AI can reconstruct the application's behavior from just pixels, and UI2App is the first real tool for that job.
Lu: The way they structured those seven interaction categories provides a really useful roadmap for future work in building these specialized evaluation protocols.
Meng: I think we should be watching how this taxonomy helps guide how we design our own testing suites for complex software agents.
Lalam: I'm excited because it shows that the complexity of state management, specifically that cross-route persistence they highlighted, is a real barrier that models need to overcome.
More episodes
- 2610.15391-DC-Flow: Target-Conditioned Cyclic Peptide Design via Delayed-Coupling Flow Matching
- 2610.15379-LiveAnon: Improving Privacy and Utility in Streaming Speaker Anonymization with Codec Language Models
- 2610.15097-Anchors Enhance Controllability and Reasoning of Diffusion Language Models
- 2610.15398-GA-SVD: Generation-aware Singular Value Decomposition for LLM Compression
- 2610.15106-RELAGRAM: Recursive Latent Graph Model for the Capacitated Vehicle Routing Problem
- 2610.15159-Beyond Adjacent Layers: Graph-Guided Layer Fusion for Compressing Large Language Models
- 2610.15185-DeltaNet-PC: Test-Time Memory Without Backpropagation Through Time
- 2610.15246-ObsSpec: Accelerating Agentic Reinforcement Learning with Observation Speculation
- 2610.15388-Approximation in Contrastive Representation Learning
- 2610.15427-Riemannian Graph Tokenizer for Structural Knowledge Transfer