I-WebGenBench : Evaluating Interactivity in LLM-Generated Scientific Web Applications

Dasen Dai, Biao Wu, Meng Fang, Shuoqi Li, Wenhao WangarXiv 2026

TL;DR

While large language models (LLMs) have become remarkably adept at generating code that compiles and looks pristine, do the buttons and sliders actually work? This paper introduces I-WebGenBench, a first-of-its-kind benchmark designed to evaluate whether LLM-generated scientific web applications possess true, event-driven interactivity. The authors reveal a stark "compilation–interaction gap," showing that code that runs perfectly often produces completely non-responsive user interfaces.

What Problem Does This Paper Address?

Complex scientific concepts—like optimization dynamics, chemical kinetics, or economic equilibria—are inherently parameter-sensitive and best understood through hands-on, real-time exploration. While frontier LLMs can generate complete web applications from natural language descriptions, existing evaluation frameworks fall short. Code benchmarks like HumanEval or SWE-bench focus purely on algorithmic correctness or bug-fixing, while front-end design-to-code benchmarks only assess static visual reconstruction.

Consequently, there has been no systematic, reliable method to evaluate whether an LLM-generated interface actually responds to user events. This paper addresses this gap by decoupling an application's ability to compile from its ability to interact dynamically with a user.

Methods

The authors design an automated evaluation pipeline that moves beyond static code analysis into dynamic runtime verification:

  1. Controlled Build & Launch: The generated application is built and deployed in an isolated environment to compute the Build Success Rate (BSR).
  2. Rendered Page Analysis: A headless browser (Playwright) traverses the DOM to enumerate all interactive elements (buttons, sliders, text inputs).
  3. Interaction Probe: The probe executes semantically valid user actions on these elements. Simultaneously, a MutationObserver monitors the DOM for any structural or attribute mutations, computing the Interaction Rate (IR).
  4. VLM-as-a-Judge: To evaluate higher-level semantic properties, a Vision-Language Model reviews the interaction specification alongside a chronological sequence of screenshots to score the app on a 100-point scale across dimensions like semantic alignment, visual aesthetics, and interaction fidelity.
Figure 1: Overview of the I-WebGenBench evaluation pipeline. Generated applications are built in a controlled environment, followed by DOM-based analysis and interaction probing. Interactive elements are enumerated and executed via browser actions, and DOM mutations are used to deter- mine responsiveness. BSR measures compilability, while I) measures whether user actions trigger observable UI changes.

Datasets

The paper introduces the I-WebGenBench dataset, which consists of 201 curated tasks spanning five scientific domains: Biology, Chemistry, Computer Science, Economics, and Human-Computer Interaction (HCI).

Unlike repository-patching benchmarks, I-WebGenBench requires models to construct complete, multi-file applications from scratch based on paper-derived specifications. The dataset was seeded by PhD-level annotators and scaled using a calibrated prompting pipeline followed by a rigorous expert-review stage.

Figure 2: Taxonomy of the 201 paper-derived specifications across five domains. Bars indicate the number of specifications per subcategory. The figure shows the distribution of topics within Biology, Chemistry, Computer Science, Economics, and HCI.

Key Insights and Ideas

  • The Illusion of Functionality: Visual quality and functional interactivity are orthogonal. Models frequently generate highly polished, structurally complete dashboards featuring complex charts and sliders that are completely "dead inside" (0% Interaction Rate).
  • The Goldilocks Zone of State Management: Interactivity correlates strongly with state complexity. Applications with 3–8 reactive state variables achieve the highest scores. Too few variables mean the app lacks dynamic bindings; too many variables overwhelm the LLM's reasoning, causing state-tracking failures.
  • Architectural Affordances: The choice of layout heavily influences functional success. Applications utilizing a sidebar layout consistently outperform non-sidebar alternatives, as the sidebar structure naturally guides the LLM to implement clean view-switching and state-management logic.
  • Visual Habits vs. Logic: LLMs exhibit a strong "visual habit," defaulting to light-themed academic aesthetics in up to 97% of cases (e.g., GPT-5.4). However, this stylistic preference is purely cosmetic and does not correlate with the model's ability to implement sound underlying interaction logic.

Key Results

The authors benchmarked a diverse suite of proprietary models, open-source code models, and agent frameworks:

  • The Compilation-Interaction Gap: Across almost all models, there is a massive drop-off from BSR to IR. For instance, while models like Qwen-3.5 achieve a near-perfect 100% Build Success Rate, their Interaction Rate plummets significantly lower, highlighting a failure to translate structural generation into event-driven behavior.
  • GPT-5.4 Dominates: GPT-5.4 achieved the highest overall performance across all domains with an average score of 79.4, demonstrating superior capabilities in generating visually coherent and functionally reactive applications.
  • Agents Bridge the Gap: The API-based agent PaperVoyager (powered by Gemini-3.1) demonstrated a highly balanced profile (65.9 overall score), proving that system-level orchestration and modular code assembly help mitigate interaction failures.
Build Success Rate (BSR) vs Interaction Rate (IR) across evaluated models
Figure 4: Visual quality and functional interactivity are orthogonal. (a) Kimi-K2.5 renders a polished interface with slider, scatter plot, and toggle controls, but none respond to user actions. (b) GPT-5.4 produces a visually sparse layout, yet its perturbation grid and variable selectors are fully functional.

Limitations and Future Work

While I-WebGenBench establishes a robust foundation for interactive code evaluation, the authors note several limitations:

  • Scope of Applications: The benchmark currently excludes highly complex web environments, such as collaborative multi-user systems, long-running backend simulations, and highly specialized scientific workflows.
  • Evaluation Bias: The qualitative scoring relies on a VLM-as-a-judge protocol, which may introduce subtle, subjective biases regarding visual aesthetics and educational value.
  • Model Coverage: Due to budget and API constraints, certain frontier models (such as the Claude 3.5 suite) were not included in the initial evaluation.

Summary updated

BibTeX
@misc{dai2026i,
  author = {Dasen Dai and Biao Wu and Meng Fang and Shuoqi Li and Wenhao Wang},
  title = {{I-WebGenBench : Evaluating Interactivity in LLM-Generated Scientific Web Applications}},
  year = {2026},
  eprint = {2606.00750},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2606.00750},
}
Figure