TL;DR
Researchers have introduced IWR-Bench, the first benchmark designed to test if Large Vision-Language Models (LVLMs) can reconstruct a fully functional, interactive webpage just by watching a video of someone using it. The results are a wake-up call: even the most advanced models like GPT-5 struggle, scoring only 36.35% overall because they can mimic how a site looks but fail miserably at coding how it behaves.
The Interactivity Gap in Web Generation
In recent years, AI has become remarkably good at "screenshot-to-code" tasks—give a model a picture of a website, and it can generate the HTML and CSS to match the layout. However, the modern web isn't static; it’s a collection of stateful, dynamic applications.
Existing benchmarks fail to capture this reality. They either focus on single images or treat interactions as isolated, stateless events (like clicking a single button). They also often omit the actual assets (images, icons) needed for a real build. This paper addresses the "interactivity gap": the challenge of inferring complex, event-driven logic (like a Pomodoro timer or a game of 2048) from temporal visual evidence and then translating that logic into working JavaScript.
Methods: The IWR-Bench Framework
The authors formalize the task of Interactive Webpage Reconstruction (IWR). A model is provided with two inputs:
- A User Interaction Video: A screen recording showing a complete workflow on a website.
- Static Web Assets: A collection of all images, icons, and videos used on that page (with filenames anonymized to prevent the model from "cheating" via semantic hints).
The model must output a single, self-contained HTML file (including CSS and JS) that replicates the site.
To evaluate the results, the researchers developed an "agent-as-a-judge" framework. Instead of just comparing pixels, an automated agent actually "plays" with the generated website, executing a sequence of ground-truth actions (clicks, typing, scrolling) and checking if the page reacts correctly using logical assertions and visual checkpoints.
Dataset Characteristics
The IWR-Bench dataset consists of:
- 113 tasks sourced from 100 real-world websites.
- 1,001 total actions across various domains (E-commerce, Gaming, Tools).
- A Multi-Dimensional Taxonomy: Tasks are categorized by Interaction Complexity (from static display to algorithmic games), Visual Complexity, and Application Domain.
Unlike previous datasets like Design2Code or WebSight, IWR-Bench provides the full resource context (actual assets) and requires the model to handle continuous, stateful workflows.
Key Insights
- The "Look vs. Feel" Disconnect: There is a massive gap between visual fidelity and functional correctness. Models are decent at placing a button in the right spot, but they struggle to write the code that makes that button do something specific based on the site's state.
- Temporal Reasoning is the Bottleneck: The primary failure point isn't visual understanding; it's the inability to reason across time. Models struggle to connect an action seen at second 5 of a video with a state change that occurs at second 10.
- Generalists Beat Specialists: Interestingly, general-purpose proprietary models (like GPT-5 and Claude 3.5 Sonnet) significantly outperformed models specifically fine-tuned for video understanding. This suggests that high-level reasoning and code generation capabilities are more important for this task than specialized video architectures.
- "Thinking" Helps, But Isn't a Silver Bullet: Models with extended reasoning capabilities (like the "thinking" versions of Claude or Qwen) showed moderate gains, but the core logic of complex interactions remains an unsolved frontier.
Key Results
The researchers evaluated 28 leading LVLMs, and the results highlight how difficult this task is.
- Top Performer: GPT-5 achieved the highest score, but only reached 36.35% overall.
- Functional vs. Visual: For GPT-5, the Visual Fidelity Score (VFS) was a respectable 64.25%, but its Interactive Functionality Score (IFS) was a lowly 24.39%.
- Open-Source Gap: The best open-source model, Qwen3-VL (thinking), scored 31.15%, trailing behind the top proprietary models.
- Complexity Scaling: Performance dropped sharply as interaction complexity increased. While models did okay on "Static Content", they struggled immensely with "Algorithmic/Game Logic".
Limitations and Future Work
The authors acknowledge several hurdles that remain:
- Dynamic Asset Binding: Models often fail to correctly link the provided static assets to the dynamic elements they create in code.
- Complex Event Logic: Reverse-engineering the "rules" of a web application (like the merging logic in a game) from video is still beyond current AI.
- Long-Context Reasoning: Reconstructing a long, multi-step workflow requires maintaining a "mental model" of the site's state that exceeds current window limits or reasoning depths.
Future work will likely focus on improving temporal grounding—helping models better map specific video frames to specific blocks of event-driven code.
Summary updated