- Rating
- 4
- Clarity
- 3
- Confidence
- 4
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
The authors of this paper proposed a next-GUI prediction framework using HTML code, addressing the challenges that real apps are risky and uncontrollable for agentic training. This is a very interesting topic and from my perspective there is indeed a research gap that needs to be addressed. The novelty in the topic and the choice of using code rather than VLMs and diffusion models are apparent and although this is a engineering heavy paper with some concerns for reliability, HTML-based representations and evaluations, I nevertheless believe in the importance of this work.
Strengths and weaknesses
Strength:
- The novelty of choosing this field and using code to ground gui predictions into text-based forms, aligning closer to the construction of apps and the nature of text-based large models. I agree that existing diffusion models and VLMs are not very good in grounding predictions does not yield strong guidance signals.
- In terms of experiments, the authors provide ample qualitative and quantitative evaluations with human feedback, this is always encouraged and demonstrates the effectiveness of the proposed method.
- The authors add strict guide rails for html generation to eliminate common errors in html code generation such as dom and css errors. This approach might be beneficial to other code generation fields as well.
Weakness:
- The core motivation should be more thorough. For researchers outside of the specific domain, the authors are encouraged to provide stronger justifications for questions like "why not use real apps in sand box?" or "why is html-based code generations better than existing structured state prediction models". The authors are also welcome to discuss more benefits on long-horizon rollouts for training.
- HTML representations are not necessarily native for android, which uses XML-like layout, jetpack composes, native components, etc. Therefore, we need to view it as abstractions, which might be different to real UI semantics and interaction logic.
- The proposed dataset is a welcome addition, however it seems it is constructed using GPT reading screenshots, feedback loop and siglip filtering. This might not capture the real structure, and introduce LLM's bias to the dataset. The authors are encourgaed to discuss some migitation strategies.
Questions
- How do you plan to address dynamic contents, failure modes and edge cases? For example, what if an app requires a permission that can only be given by the user when operated? Currently the proposed semantic placeholders do not seem to be aware of such cases.
- Current evaluation relies heavily on VLM judges, which might be biased. Have you conducted comparisons with real human to demonstrate the effectiveness of VLM based judges?
- It seems that the current generation pipeline is expensive and not scalable, as each candidate requires full HTML generation, which is empirically long. Can you provide some information regarding efficiency, such as token count, time, and more?
Limitations
yes
Paper formatting concerns
N/A
Final justification
The authors have addressed most of my concerns, however my ratings to this paper remains unchanged as the core novelty of this paper does not meet my standard to recommending an accept.
We thank the reviewer for the positive assessment and we address each point below.
Why a learned world model rather than a real sandbox. A real sandbox must instrument and maintain each app 1:1, which is expensive and brittle to reproduce and to keep compatible across diverse, frequently-updating environments; it only covers the apps that were engineered; and it executes real, sometimes irreversible actions (payments, deletions), which makes it unsafe for the free look-ahead exploration a planner needs. A learnable world model instead acts as a portable, safe, and generalizable virtual sandbox: it plugs into the agent's inference loop cheaply, requires no per-app engineering, and generalizes to unseen apps — as our OOD (GUI Odyssey) and cross-agent online (AndroidWorld) results show.
Why code over text/pixel/structured-state prediction. Text or structured-state predictors (DOM diffs, layout sketches) capture semantics but discard the rendered visual signal agents actually reason over; pixel generation gives visuals but lacks structural controllability, especially in text-rich UIs. Renderable code is the only representation that provides both — deterministic rendering (visual grounding) and explicit structure (controllability) — while matching how GUIs are natively built (markup → render) and remaining interpretable, editable, and verifiable. This is not just conceptual: under a fixed backbone and pipeline, code beats text (41.81 vs 36.21) and pixel baselines on downstream SR (Table 6).
Long-horizon rollouts for training. Because code renders deterministically and cheaply, Code2World can generate large-scale, action-conditioned synthetic trajectories for agent training/augmentation and safe counterfactual exploration without touching real apps — our AndroidCode flywheel already exemplifies code-based synthetic supervision. We will add this motivation and future direction to the introduction.
Thanks for pointing this out. We will frame HTML explicitly as a renderable structural surrogate in Appendix B.1. The essential idea is code as the state representation, not HTML specifically — an XML-like or Compose-style markup could play the same role; we chose HTML because it is the most widely-supported, expressive, and deterministically-renderable markup, with abundant coverage in VLM pre-training. Crucially, the downstream agent consumes the rendered image, not the raw markup, so any divergence between HTML and Android's native internals does not matter as long as the rendered visual and structure are faithful for decision-making. We will state this abstraction and its scope clearly (consistent with the "structural-semantic fidelity" calibration we adopt elsewhere).
The code our pipeline produces is a high-fidelity reconstruction of the real screenshot, so LLM bias is minimal by construction. GPT-5 is used only for UI-to-code transcription — a task at which it is strong — so it reproduces the observed screen rather than inventing structure from its priors; the visual-feedback revision loop then enforces this faithfulness, re-rendering each candidate and correcting it against the actual screenshot (Alg. 1), so low-fidelity samples never enter the corpus. As an independent safeguard, we validate the result with a human study (Appendix F, Study 1): across 1,000 cases, Fleiss κ = 0.963 with 97.4% judged similar to the ground truth, confirming that the renderings closely match the real screens with no significant bias.
We agree these are important cases, and our current model is an early-stage GUI world model that does not yet explicitly anticipate them. Dynamic content, failure modes, and rare edge cases — a permission dialog that only the user can grant at runtime, a sudden pop-up, or a CAPTCHA — are intrinsically hard for a world model to predict: such transitions are infrequent and non-deterministic (they do not follow the layout/interaction logic the model learns from trajectories), so paired training data is scarce and hard to collect, and difficult to train the model to anticipate reliably.
Crucially, this limitation does not break the pipeline, because Code2World is a look-ahead advisor, not the executor. The chosen action is executed in the real environment, which natively surfaces the permission dialog or dynamic content; and because each prediction is re-grounded on the real observation at every step (one-step look-ahead, no accumulation), an un-anticipated event is captured in the true next observation rather than propagated, and when a simulation is implausible the scorer declines to rely on it — so a mis-predicted edge case degrades gracefully instead of derailing the task.
We see this as a valuable, concrete direction for future work: explicitly modeling permission/consent branches, dynamic pop-ups, and verification challenges (e.g., CAPTCHAs) through targeted data collection and training, toward a more complete GUI world model. We will add this to the limitations and future work.
We validate the VLM judges against humans. Our paper already reported a human model-output study (Appendix F), which we present here in full detail (Study 1), together with a new alignment analysis (Study 2).
Annotator panel: the 10 annotators are university students (senior undergraduate and graduate) in computer science and related majors, all daily smartphone users well-acquainted with Android apps, with a mean age of ≈24 (range 22–29). Before annotating, each was given written guidelines defining the task and the rating/comparison criteria and completed a short calibration round on held-out examples. Participation was voluntary and compensated.
Study 1 — blinded 1-vs-1 human preference (arena), reported in our paper (Appendix F), now with its full protocol. On 200 cases (evenly split in-domain / cross-app), we compare Code2World against five representative baselines across 1000 pairs. Ten annotators see only the prompt (current GUI, action, and goal), the ground-truth next screen, and two anonymized rendered predictions in randomized left/right order, and select win / tie / loss by fidelity to the true next state. Win rate = Win/(Win+Loss), excluding ties:
Study 2 — alignment of the VLM-judge metrics with human ratings. We sample 300 next-UI cases generated by Code2World, evenly split between in-domain (Android Control) and cross-app (GUI Odyssey). Ten annotators rate randomly assigned, anonymized outputs on a 0–100 scale along the four dimensions our metrics target — action adherence, action identifiability, element alignment, and layout integrity. We then report the rank correlation between the human ratings and the corresponding VLM-judge scores (computed by gpt-5-mini):
Together, Study 1 shows human raters prefer Code2World over all open-source and pixel baselines and rate it on par with the far larger GPT-5, and Study 2 shows the VLM-judge metrics track human judgment; both are consistent with the ordering in Table 1.
We have reported these numbers in Appendix D, and selective invocation is precisely what keeps the pipeline scalable. Per Table 3 (2,000 runs), each HTML generation averages 3,184.5 tokens and 65.24s. Rather than invoking the world model at every step, Code2World fires only when the agent is uncertain: per Table 4 it is called on just ~19.7–29.0% of steps, so the end-to-end overhead is bounded (e.g., Qwen3-VL 224→476s) and buys the downstream SR gains (Fig. 5a). As detailed in our efficiency analysis, this "invoke-only-when-needed" design, together with a controlled comparison against heavier test-time-scaling strategies (Table 7, where a thinking agent costs more time for a smaller gain), shows the added compute is spent efficiently. We will also add a latency–SR curve to make the trade-off explicit.