potentialpaper

Code2World: A GUI World Model via Renderable Code Generation

Yuhao Zheng, Li'an Zhong, Yi Wang, Rui Dai, Kaikui Liu, Xiangxiang Chu, Linyuan Lü, Philip Torr, Kevin Qinghong Lin

RLxF @ ICML 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

Abstract. GUI agents interact with environments by perceiving interfaces and executing actions. As a virtual sandbox, the GUI World model empowers agents with human-like foresight by enabling action-conditioned prediction. However, existing text/pixel-based approaches struggle to achieve both high visual fidelity and fine-grained structural controllability. To this end, we propose \textbf{Code2World}, a vision-language coder that simulates the next visual state via \textbf{renderable code generation}. Specifically, to address the data scarcity problem, we construct \textbf{AndroidCode} by translating GUI trajectories into high-fidelity HTML and refining synthesized code through a visual-feedback revision mechanism, yielding a corpus of \textbf{over 80K} high-quality screen-action pairs. To adapt existing VLMs into code prediction, we first perform SFT as a cold start for format layout following, then further apply \textbf{Render-Aware Reinforcement Learning} which uses rendered outcome as the reward signal by enforcing visual semantic fidelity and action consistency. Extensive experiments demonstrate that Code2World-8B achieves the top-performing next UI prediction, rivaling the competitive GPT-5 and Gemini-3-Pro-Image. Notably, \textit{Code2World significantly enhances downstream navigation success rates in a flexible manner}, boosting Gemini-2.5-Flash by {+9.5%} on AndroidWorld navigation.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

FromAToBDateVersionSubmitted toPDFEvidence
1 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]PDF[1]
13 May 2026RLxF @ ICML 2026submittedRLxF @ ICML 2026Accepted—[1]
Their titles, abstracts and, where both have a PDF, the text.Missing a version?

NeurIPS 2026

Accept (poster) · 4 reviews · OpenReview

Updated 25 Nov 2026, 03:46 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

This paper proposes Code2World, which predicts a GUI's next state as renderable HTML rather than text or pixels. The authors construct AndroidCode with over 80K screen-action-code examples using GPT-based synthesis and visual-feedback revision, then train an 8B VLM using an SFT cold start and render-aware RL with visual-semantic and action-consistency rewards. In a Propose-Simulate-Select loop, the method reports competitive in-domain and cross-app prediction and a 9.5-point AndroidWorld gain for Gemini-2.5-Flash.

The reviewers find renderable code a useful bridge between text and pixels: it preserves layout and element structure while producing deterministic visual outputs. They view the dataset, revision pipeline, broad prediction/navigation evaluation across several agent backbones, and complementary reward ablations as strengths.

Several issues make the paper genuinely borderline. gWorld and related work may already cover code-native GUI world modeling, narrowing novelty to data curation, rewards, and integration. VLM-judge metrics overlap with training rewards and explicitly tolerate semantic placeholders, potentially favoring code outputs over pixel baselines; human validation lacks sample and correlation details and reportedly conflicts between five and ten annotators. Each HTML generation takes about 65 seconds and roughly doubles some task times, without a matched latency-success analysis. AndroidCode derives from AndroidControl using GPT-5, but app-, trajectory-, and screenshot-level separation and teacher effects are unclear. SigLIP-based filtering may also miss fine text or button states. Finally, this is a single-step HTML observation predictor, not a simulator with persistent backend state, dynamic server responses, or demonstrated rollout consistency.

I would like the author response to prioritize the following questions: 1) Distinguish Code2World from gWorld and related code-native models across data, objectives, rewards, evaluation, and integration. If HTML prediction is not new, identify the actual contribution and calibrate the claims. 2) Report the human protocol, sample size, allocation, agreement, metric correlation, and resolve the five-versus-ten-annotator inconsistency. Test or discuss ranking stability under independent, non-placeholder-tolerant evaluation. 3) For the headline Gemini setting, show how success and wall-clock cost vary with invocation threshold, candidate count, or simulation budget. Compare with cheaper simulator using the same compute. Is Code2World on a useful latency-success frontier? 4) Discuss errors and accumulated effects from dynamic content, permissions, server state, and unseen transitions. Clarify when an incorrect simulation makes the scorer choose a worse action. If persistent state is not modeled, describe the method as a single-step observation predictor; a new simulator is unnecessary.

Final justification

I have read the authors’ response and considered the reviewer discussion. The response substantially, though not completely, addressed the concerns raised: it clarified the method’s single-step scope, calibrated its claims, detailed data provenance and human evaluation, controlled for judge bias, and added compute-matched latency–success comparisons. The reviewers remained split (two ratings of 3 and two of 4): Lv19 and KGmu acknowledged that most empirical concerns were addressed but retained concerns about novelty, particularly relative to gWorld, while 75KJ and PHUf provided no further post-rebuttal assessment.

I recommend acceptance as a poster. Although gWorld narrows the novelty of renderable-code GUI modeling, Code2World still offers a valuable combination of a visually verified data pipeline, render-aware training, confidence-gated deployment, and live evaluations showing improved navigation across four GUI agents, including a 9.5-point gain for Gemini-2.5-Flash. The final paper should clearly distinguish itself from gWorld and provide further experiments and discussion connecting prediction accuracy, confidence, latency, and simulation failures to downstream agent performance. These limitations preclude a stronger presentation category but do not outweigh the paper’s technical and empirical contributions.

Area Chair eYAW · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

This paper proposes Code2World, which predicts a GUI's next state as renderable HTML rather than text or pixels. The authors construct AndroidCode with over 80K screen-action-code examples using GPT-based synthesis and visual-feedback revision, then train an 8B VLM using an SFT cold start and render-aware RL with visual-semantic and action-consistency rewards. In a Propose-Simulate-Select loop, the method reports competitive in-domain and cross-app prediction and a 9.5-point AndroidWorld gain for Gemini-2.5-Flash.

The reviewers find renderable code a useful bridge between text and pixels: it preserves layout and element structure while producing deterministic visual outputs. They view the dataset, revision pipeline, broad prediction/navigation evaluation across several agent backbones, and complementary reward ablations as strengths.

Several issues make the paper genuinely borderline. gWorld and related work may already cover code-native GUI world modeling, narrowing novelty to data curation, rewards, and integration. VLM-judge metrics overlap with training rewards and explicitly tolerate semantic placeholders, potentially favoring code outputs over pixel baselines; human validation lacks sample and correlation details and reportedly conflicts between five and ten annotators. Each HTML generation takes about 65 seconds and roughly doubles some task times, without a matched latency-success analysis. AndroidCode derives from AndroidControl using GPT-5, but app-, trajectory-, and screenshot-level separation and teacher effects are unclear. SigLIP-based filtering may also miss fine text or button states. Finally, this is a single-step HTML observation predictor, not a simulator with persistent backend state, dynamic server responses, or demonstrated rollout consistency.

I would like the author response to prioritize the following questions: 1) Distinguish Code2World from gWorld and related code-native models across data, objectives, rewards, evaluation, and integration. If HTML prediction is not new, identify the actual contribution and calibrate the claims. 2) Report the human protocol, sample size, allocation, agreement, metric correlation, and resolve the five-versus-ten-annotator inconsistency. Test or discuss ranking stability under independent, non-placeholder-tolerant evaluation. 3) For the headline Gemini setting, show how success and wall-clock cost vary with invocation threshold, candidate count, or simulation budget. Compare with cheaper simulator using the same compute. Is Code2World on a useful latency-success frontier? 4) Discuss errors and accumulated effects from dynamic content, permissions, server state, and unseen transitions. Clarify when an incorrect simulation makes the scorer choose a worse action. If persistent state is not modeled, describe the method as a single-step observation predictor; a new simulator is unnecessary.

Final justification

I have read the authors’ response and considered the reviewer discussion. The response substantially, though not completely, addressed the concerns raised: it clarified the method’s single-step scope, calibrated its claims, detailed data provenance and human evaluation, controlled for judge bias, and added compute-matched latency–success comparisons. The reviewers remained split (two ratings of 3 and two of 4): Lv19 and KGmu acknowledged that most empirical concerns were addressed but retained concerns about novelty, particularly relative to gWorld, while 75KJ and PHUf provided no further post-rebuttal assessment.

I recommend acceptance as a poster. Although gWorld narrows the novelty of renderable-code GUI modeling, Code2World still offers a valuable combination of a visually verified data pipeline, render-aware training, confidence-gated deployment, and live evaluations showing improved navigation across four GUI agents, including a 9.5-point gain for Gemini-2.5-Flash. The final paper should clearly distinguish itself from gWorld and provide further experiments and discussion connecting prediction accuracy, confidence, latency, and simulation failures to downstream agent performance. These limitations preclude a stronger presentation category but do not outweigh the paper’s technical and empirical contributions.

1 comment
Authors · CommentOpenReview ↗

Rebuttal Summary

We extend our sincere gratitude to all Reviewers and the Area Chair for their constructive feedback, thoughtful questions, and valuable suggestions, which have helped refine and strengthen this work. This work introduces Code2World, a GUI world model that predicts the next interface state as renderable HTML code, combining pixel-based visual grounding with text-based structural controllability. We build AndroidCode (80K+ screen–action–code pairs) via a visual-feedback revision pipeline, adapt an 8B VLM with an SFT cold start plus Render-Aware RL, and deploy it as a plug-and-play look-ahead simulator that improves downstream GUI agents online.

We appreciate the reviewers' recognition of our contributions:

  • Reformulating GUI world modeling as renderable-code generation — a clean, well-motivated representation that retains layout and element structure while producing deterministic visual observations. (75KJ, PHUf, Lv19, KGmu)
  • A practical, visually-verified AndroidCode pipeline (SigLIP-gated visual-feedback revision, human-validated at Fleiss κ = 0.963), with strict guard
  • Reformulating GUI world modeling as renderable-code generation — a clean, well-motivated representation that retains layout and element structure while producing deterministic visual observations. (75KJ, PHUf, Lv19, KGmu)
  • A practical, visually-verified AndroidCode pipeline (SigLIP-gated visual-feedback revision, human-validated at Fleiss κ = 0.963), with strict guard rails that eliminate common DOM/CSS errors. (PHUf, Lv19, KGmu)
  • A thoughtful training recipe — SFT cold start plus Render-Aware RL with complementary visual-semantic and action-consistency rewards — supported by a broad evaluation spanning in-domain/OOD prediction and online/offline downstream navigation across multiple agent backbones. (75KJ, PHUf, Lv19)
  • A clear narrative and thorough appendix that make the formulation, method, and experiments easy to follow. (Lv19, PHUf)

We have made every effort to address the concerns raised:

  • Novelty & relation to gWorld; calibrated claims (Lv19, 75KJ): We will cite gWorld (a contemporaneous, independently developed preprint) and provide a component-level distinction — our SigLIP-gated visual-feedback flywheel, Render-Aware RL with render-grounded rewards, confidence-gated selective invocation, finer-grained metric suite, and, crucially, an online live-environment evaluation of the world model's benefit to a GUI agent (which gWorld does not report). We also calibrate the wording: HTML as a renderable structural surrogate, structural-semantic fidelity under asset abstraction, and a single-step, action-conditioned GUI world model.
  • Latency–success-rate frontier & compute-matching (Lv19, 75KJ, PHUf, KGmu): On the headline Gemini-2.5-Flash setting we added a same-compute comparison (Code2World reaches +9.5 SR at ~1.8× base task time, versus ~2.0× cost for a much smaller gain from thinking-style scaling) and an invocation-threshold sweep, showing Code2World lies on the latency–success frontier; selective invocation (fired on only ~20–29% of steps) keeps the overhead bounded.
  • VLM-judge bias, placeholder tolerance & human validation (75KJ, Lv19, PHUf, KGmu): We corrected the "five/ten annotator" typo (10 throughout) and report the full protocol across three human studies — data quality (Fleiss κ = 0.963), a blinded 1-vs-1 arena, and human–metric correlation (Spearman ρ = 92–98%). A judge ablation that removes placeholder tolerance leaves the ranking unchanged, and the judge-free, placeholder-free downstream success rate confirms the abstraction does not artificially favor code.
  • "World model" scope, single-step prediction & error accumulation (75KJ, PHUf, Lv19): We clarify that Code2World is a single-step, action-conditioned predictor re-grounded on the real observation at every step — so errors cannot accumulate — and that the anomaly-aware scorer down-weights implausible simulations. We defend "world model" as the standard usage in this literature while adopting the more precise single-step wording; the online gains show the simulator delivers a real, deployable benefit.
  • Data provenance, deduplication & distillation (75KJ): AndroidCode uses only the official AndroidControl train split (no app/trajectory/screenshot overlap with evaluation), and GPT-5 serves solely as a UI-to-code transcriber, never a next-state predictor — so the gains are not distillation, as evidenced by our 8B model surpassing the far larger GPT-5-code (42.24 > 41.81).
  • Data-pipeline reliability, motivation & failure modes (KGmu, PHUf): SigLIP acts as a coarse gate backed by GPT-5 revision and human validation (κ = 0.963); we strengthen the motivation for code over real sandboxes and structured-state prediction; and we discuss dynamic content, permissions, and other edge cases as an acknowledged early-stage limitation and a concrete future direction.
Reviewer KGmuOpenReview ↗
Rating
4/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
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:

  1. 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.
  2. 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.
  3. 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:

  1. 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.
  2. 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.
  3. 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
  1. 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.
  2. 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?
  3. 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

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.

Formatting concerns

N/A

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for the positive assessment and we address each point below.

W1: Strengthen the motivation — why not a real-app sandbox, why code over structured-state prediction, and the benefits for long-horizon-rollout training?.

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.

W2: HTML is not Android's native representation (which uses XML-like layouts, Jetpack Compose, and native components).

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).

W3: The dataset built from GPT may not capture the real structure and may introduce LLM bias.

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.

Q1: Addression about dynamic contents, failure modes and edge cases.

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.

Q2: Are the VLM judges biased, and have you validated them against real humans?

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:

Comparison Win Tie Loss Win Rate
Code2World vs. Qwen3-VL-8B 191 9 0 100%
Code2World vs. Qwen2.5-VL-72B 186 14 0 100%
Code2World vs. GLM-4.6V-106B 185 15 0 100%
Code2World vs. Gemini-3-Pro-Image 117 18 65 64.29%
Code2World vs. GPT-5 83 21 96 46.37%

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):

Metric VLM-as-a-Judge Score Human Score Spearman ρ (%)
SadS_{ad} 94.28 93.75 97.85
SidS_{id} 88.64 87.31 93.00
SeleS_{ele} 71.35 72.11 92.15
SlayS_{lay} 70.32 68.95 94.60

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.

Q3: More information regarding efficiency.

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.

Authors · CommentOpenReview ↗

Dear Reviewer,

I hope this message finds you well. As the discussion period is nearing its end with less than three days remaining, I wanted to ensure we have addressed all your concerns satisfactorily. If there are any additional points or feedback you'd like us to consider, please let us know. Your insights are invaluable to us, and we're eager to address any remaining issues to improve our work.

Thank you for your time and effort in reviewing our paper.

Reviewer Lv19OpenReview ↗
Rating
3/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
2/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper targets Next UI Prediction, predicting the next GUI state from the current screenshot, a user action, and a task goal, and casts it as renderable code generation: a Qwen3-VL-8B-Instruct model predicts the next state as HTML that a browser engine deterministically renders to an image, rather than describing the transition in text or synthesizing pixels. To enable this, the authors build AndroidCode, a corpus of over 80K screen–action pairs synthesized by GPT-5 with semantic placeholders and a SigLIP-gated visual-feedback loop, and train in two stages, a supervised cold start followed by Render-Aware Reinforcement Learning with a visual-semantic reward and an action-consistency reward. Code2World is then deployed as a plug-and-play look-ahead simulator in a Propose, Simulate, Select loop, with leading next-UI-prediction metrics in Table 1 and an AndroidWorld navigation gain of 9.5 percentage points for Gemini-2.5-Flash.

Strengths and weaknesses

Strengths

The reformulation of GUI state transitions as renderable code is a clean and well-motivated idea: HTML is structurally controllable and renders deterministically, addressing both the lack of visual grounding in text-based world models and the weak structural control of pixel-based ones. The approach is implemented using a carefully engineered data pipeline, whose synthesized corpus is validated in a user study that reports a Fleiss kappa of 0.963. The evaluation is broad, spanning in-domain and out-of-distribution prediction as well as downstream agent navigation across several base agents. The writing is clear, and the appendix is thorough.

W1 The main novelty claim is overstated. The paper frames renderable code as a new third representation for GUI world modeling, but closely related prior work, such as gWorld, already proposes visual mobile GUI world modeling via renderable/executable web code, where a VLM predicts the next GUI state as code that renders to pixels. Since gWorld appeared online before the NeurIPS 2026 contemporaneous-work cutoff, the paper should cite it and provide either a direct comparison or a careful conceptual distinction. I do not think this invalidates the paper, but it narrows the real contribution: the strongest parts of Code2World are the visually verified AndroidCode curation pipeline, render-aware RL, especially the action-consistency reward, and the online Propose–Simulate–Select integration, rather than the use of HTML representation itself.

W2 Several claims should be calibrated. HTML is not the native representation of Android GUIs; it is a useful renderable surrogate. The claimed visual fidelity is better described as structural-semantic fidelity under asset abstraction, since real images and dynamic text are replaced by placeholders. The method is also a single-step, action-conditioned mobile-GUI observation predictor rather than a general-purpose environment simulator with persistent backend state. Finally, Table 1 does not uniformly support “top-performing”: Code2World is strong on Action Adherence and Layout Integrity, but not on all visual or OOD metrics. A more accurate claim is that Code2World is a leading 8B open model with a strong functional-logic/structural-fidelity trade-off, competitive with frontier proprietary models.

W3 The runtime cost is reported but is not justified against the alternative uses of the same compute, which undermines the plug-and-play framing for an interactive agent. Appendix D reports an average HTML generation time of about 65 seconds per call in Table 3, and Table 4 shows end-to-end AndroidWorld task time that roughly doubles for several base agents, for example, from 224 to 476 seconds for Qwen3-VL and from 284 to 516 seconds for Gemini-2.5-Flash. The selective invocation at a confidence threshold of 0.9 reduces this overhead but does not eliminate it, since each simulated candidate incurs a separate generation. The paper never plots a latency–performance comparison: the headline gain of 9.5 percentage points in Figure 5a is not compute-matched, and the one compute-aware comparison in Table 7 is run on Qwen3-VL rather than on the Gemini-2.5-Flash agent used for the headline. The load-bearing question is whether Code2World is on the latency–success-rate Pareto frontier, that is, whether the same additional compute spent on a stronger or larger base agent, on more candidate sampling without the world model, or on a cheaper text world model would obtain the same gain. The authors should provide a latency–success-rate Pareto curve using the same base agent as the headline AndroidWorld result. The curve should vary the invocation threshold, number of simulated candidates, and/or wall-clock budget, and compare against simple candidate sampling, stronger rerankers, thinking-style test-time scaling, and cheaper text/image world-model alternatives.

W4. The Render-Aware RL rewards optimize visual-semantic fidelity and action consistency, while the main VLM-judge evaluation metrics also emphasize action adherence, element alignment, and layout integrity. Using Qwen3-VL-8B-Instruct for reward computation and gpt-5-mini for final evaluation reduces direct overfitting to a single judge, but it does not remove the construct overlap between what is optimized and what is measured. The evaluation protocol also favors the code paradigm in another way: the metric instructions explicitly allow semantic placeholders, whereas pixel-generation baselines must synthesize visual assets directly and are penalized by standard pixel- or embedding-similarity metrics. This may help explain why image-generation baselines lead on SigLIP/DINO, while code-based models look stronger on placeholder-tolerant VLM-judge metrics.

Questions

Q1. How exactly does Code2World differ from gWorld and other code-native mobile GUI world models? Could the authors provide a direct comparison, or at a minimum, a detailed conceptual comparison in terms of data construction, training objective, reward design, benchmark coverage, and downstream agent integration?

Q2. Can the authors provide a latency–success-rate Pareto curve using the same Gemini-2.5-Flash setting as the headline AndroidWorld result? In particular, how do success rate and wall-clock time change as the invocation threshold, candidate count, and simulation budget vary?

Q3. Is the Table 1 ranking stable once the construct overlap between the reward and the metrics is controlled, for example, by removing the placeholder tolerance from the judge, using a judge independent of both the reward judge and GPT-5-mini, or relying on SigLIP, DINO, and downstream success rate alone?

Limitations

Not adequately addressed in the main text. Section 5 provides only a single future-work sentence while the checklist points to the appendices.

Final justification

I appreciate the authors' substantive rebuttal, which satisfactorily resolved my initial concerns regarding claim calibration and empirical evaluations. The remaining empirical gaps—such as single-run results without variance and the unspecified annotator allocation in the arena study—are minor and do not alter my overall assessment.

Nevertheless, the fundamental issue of originality remains. gWorld (arXiv:2602.01576, posted Feb 2, 2026, and since accepted at ICML 2026) predates the March 1 contemporaneous-work cutoff and is therefore prior work under the NeurIPS policy, contrary to the rebuttal's framing of it as contemporaneous. As the authors' own comparison table concedes, it already establishes the core paradigm: renderable-code GUI world modeling, code-based data construction, and simulate-then-select downstream use.

The novelty of this manuscript is consequently situated in execution-level elements—the data curation loop, the SFT+GRPO recipe with render-grounded rewards, and selective invocation. The live online evaluation is genuinely valuable, but it is an evaluation contribution demonstrating a shared paradigm's utility, not a new method.

Given this limited scope of originality, while the work is technically sound and empirically rigorous, I maintain my original rating .

Formatting concerns

None

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for the careful and rigorous review. We address each concern below.

W1 & Q1: Novelty claim vs gWorld

Despite two independent works converging on renderable-code GUI world modeling corroborates the value of the paradigm rather than negating our contribution. However, as the reviewer offers the alternative, we provide a careful conceptual distinction below.

At a high level the two works share the paradigm — both represent the next GUI state as renderable code and both build code-based training data automatically. They differ, however, on exactly the axes the reviewer highlights as our strongest parts (✓/✗ summarized in the table below):

  • Visual-feedback revision flywheel — our AndroidCode is a closed-loop, SigLIP-gated render→compare→correct→discard pipeline (Alg. 1), whereas gWorld's data framework has no revision loop.
  • Reinforcement learning — we add Render-Aware RL (GRPO); gWorld is trained by SFT only without the use of RL.
  • Render-grounded rewards — our RsemR_{sem} and RactR_{act} (including the action-consistency reward) are computed on the rendered image; gWorld has no such reward.
  • Fine-grained evaluation — we assess predictions along four VLM-judge metrics (SadS_{ad}, SidS_{id}, SeleS_{ele}, SlayS_{lay}) plus SigLIP/DINO, whereas gWorld reports a single binary action-consistency judge (IAcc) and a coarse embedding-similarity score.
  • Confidence-gated selective invocation — our Propose–Simulate–Select loop invokes the world model on only ~20–29% of steps (Table 4), whereas gWorld rolls out every candidate at each step.
  • Most importantly, gWorld never evaluates a world model's core purpose — improving a GUI agent's decisions in a live, online environment. Its only downstream test is offline and oracle-style (an M3A variant that selects among candidates already containing the ground-truth action; Appendix C.2), with online rollouts left "beyond the scope" and its AndroidWorld set used only for offline next-state prediction. Code2World supplies exactly this missing experiment: as a live plug-in it raises all four agents' task success rate (+9.5 points for Gemini-2.5-Flash, Fig. 5a) without injecting the ground-truth action, while confidence-gated selective invocation keeps latency bounded (Table 4) — a real, deployable decision-making benefit, not merely offline prediction accuracy.
Component gWorld Code2World (ours)
Renderable-code state representation ✓ ✓
Automatic code-based training-data construction ✓ ✓
Visual-feedback revision flywheel x ✓
Reinforcement learning x ✓
Render-grounded rewards x ✓
Fine-grained metric suite (SadS_{ad}/SidS_{id}/SeleS_{ele}/SlayS_{lay} + SigLIP/DINO) x (IAcc + DINO) ✓
Confidence-gated selective invocation x ✓
Online agent success-rate evaluation x ✓

W2: Calibration of claims.

We agree with these calibrations and will adopt the reviewer's more precise wording. In the revised version we will (i) describe HTML as a renderable structural surrogate for Android GUIs rather than their native representation; (ii) replace "visual fidelity" with "structural-semantic fidelity under asset abstraction" wherever the semantic-placeholder design applies, with local-link asset resolution noted as a future extension; and (iii) characterize Code2World as a single-step, action-conditioned GUI world model — explicitly not a general-purpose environment simulator with persistent backend state.

We likewise adopt the reviewer's more accurate performance claim. We will restate the headline as "a leading 8B open model with a strong functional-logic / structural-fidelity trade-off, competitive with frontier proprietary models," which the data support precisely: Code2World is best/near-best on Action Adherence (SadS_{ad} 94.28) and Layout Integrity (SlayS_{lay} 70.32), while pixel models such as Gemini-3-Pro-Image lead on in-domain SigLIP/DINO (84.89 / 64.11). We are grateful for the sharper framing.

W3 & Q2: Latency–success-rate Pareto frontier on the headline agent

We agree this is the load-bearing question and add the requested latency–success-rate Pareto curve on the exact Gemini-2.5-Flash agent used for the headline result. We first clarify why the existing compute-aware study (Table 7) was run on Qwen3-VL: it entails many repeated online AndroidWorld rollouts across strategy variants, which is costly on a metered proprietary API and unnecessary for a controlled study whose purpose is to isolate the test-time strategy — a fully reproducible local agent is the cleaner testbed, and the resulting conclusion is agent-agnostic. Nonetheless, to fully address the concern, we have supplemented the comparison on the exact Gemini-2.5-Flash headline agent (EXP 1) and additionally conducted an invocation-threshold sweep (EXP 2) both reported below.

EXP 1: Code2World vs. alternative test-time strategies (Gemini-2.5-Flash agent, AndroidWorld).

Setting Avg task time (s) SR (%)
Base (no world model) 283.87 41.38
+ stronger reranker 349.51 42.24
+ thinking-style test-time scaling 561.42 43.10
+ Code2World (ours) 515.63 50.86

Concretely, Code2World lifts SR by +9.5 points (41.38 → 50.86) at only ~1.8× the base task time, whereas thinking-style test-time scaling incurs a larger ~2.0× cost yet reaches only 43.10 SR — strictly more compute for a strictly smaller gain.

EXP 2: Invocation-threshold sweep for Code2World (Gemini-2.5-Flash agent, AndroidWorld)

Threshold Avg task time (s) SR (%)
0.0 1125.53 50.00
0.2 992.70 50.00
0.5 674.53 51.72
0.7 607.44 50.86
0.9 (ours) 515.63 50.86

Together with Table 6 — where, under a fixed backbone, code beats text and our 8B model beats the far larger GPT-5-code as a world model — these results confirm that Code2World lies on the latency–success-rate Pareto frontier rather than merely spending more compute. We will include both curves in the revised Appendix D.

W4 & Q3: Reward–metric construct overlap, placeholder tolerance, and ranking stability

We acknowledge that the reward and the evaluation share the same two angles — logical consistency and visual quality — but the evaluation is not a mirror of the reward. It decomposes each angle into finer-grained dimensions (Sad/Sid for logic, Sele/Slay for visual) and, crucially, adds Sid, a new inverse-dynamics metric that infers the action from the visual difference — an axis no reward optimizes and one that targets the overall GUI state-transition logic rather than visual matching; Sad likewise scores transition correctness, not appearance. The reward judge (Qwen3-VL-8B) and the eval judge (gpt-5-mini) are moreover different models, and Table 1 already reports two judge-free metrics (SigLIP, DINO) on which a pixel model leads (Gemini-3-Pro-Image, 84.89 / 64.11) — so the protocol is not constructed to favor code everywhere.

To answer Q3 directly, we control the overlap in two ways and find the ranking stable. (i) We re-run the evaluation with the placeholder-tolerance instruction removed from the judge; Code2World shows no significant drop and its ranking is unchanged. (ii) We rank by SigLIP/DINO alone on Code2World outputs restricted to placeholder-free cases, so that neither the judge nor the tolerance is in play; the ranking is preserved. Both controls indicate that Code2World's standing does not depend on the reward–metric overlap or on placeholder tolerance.

Ultimately the decisive arbiter is downstream success rate, which uses no VLM judge and no placeholder rule at all. Code2World reaches 42.24 SR (Table 6) above every text and pixel baseline and improves all four agents online (Fig. 5a); although it may seem counterintuitive, the placeholder-based prediction carries enough information to improve navigation. Tellingly, the pixel model that tops the judge-free SigLIP/DINO metrics (Gemini-3-Pro-Image) still loses downstream (41.37 < 42.24) — the opposite of a code-favoring bias. Because this judge-free, placeholder-free downstream gain is what our central claim rests on, the construct-overlap concern does not undermine it.

Limitations

We take this point and will add a dedicated Limitations section to the main text; we note, however, that the limitations are already analyzed in the appendices — several with supporting experiments — rather than absent, and our revision will consolidate and surface them. Concretely, Appendix B.1 analyzes the semantic-placeholder design as an explicit trade-off (it enables human-like, decision-oriented foresight but cannot reproduce exact external assets or dynamic server-side content), and Appendix D analyzes the inference overhead of the Propose–Simulate–Select pipeline quantitatively — the per-call generation cost (Table 3: 65.24s over 2,000 runs) and the invocation rate / end-to-end task time (Table 4: ~19.7–29.0% of steps, ~2× task time). What is missing is not the analysis but its consolidation in the main text, which we will fix. The new Limitations section will bring these together and expand them in the final version.

Authors · CommentOpenReview ↗

Dear Reviewer,

I hope this message finds you well. As the discussion period is nearing its end with less than three days remaining, I wanted to ensure we have addressed all your concerns satisfactorily. If there are any additional points or feedback you'd like us to consider, please let us know. Your insights are invaluable to us, and we're eager to address any remaining issues to improve our work.

Thank you for your time and effort in reviewing our paper.

Reviewer PHUfOpenReview ↗
Rating
4/6
Confidence
4/5
Quality
4/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This work addresses the central challenge of learning a GUI world model that can predict future interface states with both visual fidelity and structural precision. The paper introduces Code2World, which models GUI transitions by generating renderable HTML code instead of plain text descriptions or pixels. To train the model, the authors build AndroidCode, a dataset of over 80K screen-action pairs, using GPT-based screenshot-to-HTML synthesis followed by visual-feedback revision. They further fine-tune a VLM with supervised training and Render-Aware Reinforcement Learning, where rewards are computed from the rendered outcome to encourage semantic visual fidelity and action consistency. The claims of the paper are backed by extensive experiments on next-UI prediction and downstream GUI-agent navigation, showing that Code2World performs competitively with strong proprietary models and improves several agents in a plug-and-play manner.

Strengths and weaknesses

Strengths

  1. The idea of using renderable code as the prediction space is clean and well motivated. It offers a natural way to retain GUI structure while still producing visual outputs that agents can reason over.
  2. The proposed data pipeline is practical and convincing. The visual-feedback revision step helps improve screenshot-code alignment and makes the resulting AndroidCode dataset a useful resource for this problem.
  3. The training recipe is thoughtfully designed. SFT provides a necessary cold start for HTML generation, while render-aware RL directly optimizes what matters for a world model: the quality and correctness of the rendered future state.
  4. The experimental section is broad and informative, covering in-domain and out-of-distribution next-state prediction, downstream AndroidWorld navigation, ablations, and qualitative comparisons.

Weakness

  1. There may be a gap between HTML prediction and real OOD app transitions. The paper mainly simulates future states through HTML and focuses on semantic layout, page function, and structural consequence. However, for OOD apps, the real interaction result may depend on server-side retrieval or processing, and layouts may vary significantly across apps. Therefore, the generated HTML may differ from the real next state. When the scorer makes decisions based on such approximate semantic simulations, ambiguity or hallucination may occur.
  2. The enhancement pipeline introduces extra inference latency. Compared with a standard GUI agent, the Propose-Simulate-Select pipeline requires additional future-state generation, rendering, and scoring. This introduces extra inference overhead. Although the paper discusses this to some extent, it remains a limitation for practical deployment.
  3. Using SigLIP for data filtering may have the same fine-grained detail issue. The paper points out that SigLIP-like metrics may miss fine-grained details. However, in the data pipeline, GPT-generated HTML is filtered or revised based on the SigLIP similarity score. This may suffer from the same issue: a high SigLIP score does not necessarily mean the HTML is accurate in fine-grained details.
  4. There is limited analysis when world-model simulation is wrong. If the simulated future state is inaccurate, the scorer may select an incorrect action based on the wrong simulation, which may affect subsequent interactions. The paper lacks experimental analysis of such errors or their accumulated effects.
Questions
  1. How is the quality of RsemR_{sem}​ evaluated? Can the VLM judge accurately assess fine-grained GUI details such as small text, button states, and element alignment? Is RL training stable under this reward?
  2. Since SigLIP may miss fine-grained details, why is it reliable enough for filtering GPT-generated HTML during data construction?
  3. When the world-model simulation is wrong, it may cause the scorer to select incorrect actions. Is it possible to see some analysis of failure cases or analysis of accumulated errors?
Limitations

yes

Formatting concerns

none

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We are grateful to Reviewer PHUf for the detailed review and helpful suggestions. Our responses follow below.

W1 & W4 & Q3: The HTML simulation may diverge from real (especially OOD / server-side) transitions, and an inaccurate simulation could mislead the scorer or accumulate errors — with little failure-case analysis

This approximation gap is inherent to every world model, yet our experiments show Code2World's simulation remains accurate enough to improve action selection in the exact OOD regime the reviewer highlights. No world model (text, pixel, or code) can reproduce server-side retrieval or unseen per-app content exactly; what matters is whether the predicted semantic layout, page function, and structural consequence are accurate enough to guide action selection. On OOD GUI Odyssey (Table 1), Code2World-8B keeps functional logic nearly intact (SadS_{ad} 92.73, SidS_{id} 78.22) while comparable open baselines collapse (Qwen3-VL-8B: SadS_{ad} 34.60), and in the live AndroidWorld environment — where real server-side transitions actually occur — it improves all four agents (Fig. 5a).

Code2World's design on scorer prevents an inaccurate simulation from either propagating or accumulating across steps. It is a one-step look-ahead re-grounded on the real observation at every step, never an autoregressive rollout: it simulates from the true current screenshot ItI_t, and the selected action is executed in the real environment, so a wrong prediction at step tt cannot corrupt step t+1t{+}1 — the next decision restarts from the actual state. The scorer further handles imperfect simulations, which separates it from a naive reranker: its prompt (to be added to Appendix G) instructs it to treat each rendered state as an approximate one-step prediction and to down-weight clearly anomalous outputs, so an unreliable simulation is discarded rather than driving a wrong action.

Empirically, occasional imperfect predictions do not undermine the net benefit. Across all agents, Code2World consistently improves downstream performance both online (Fig. 5a) and offline (Appendix E.1). We will add more failure-case studies in the final version.

W2: Pipeline introduces extra inference latency.

Any foresight-based improvement costs extra computation; the relevant test is whether the budget is well spent. Our controlled study (Table 7, Appendix E.3; same base agent and scorer, only the strategy varies) shows a pure-reasoning agent costs more wall-clock (500s) for only +1.73 SR and reranking-only gains +2.59, whereas Code2World gains +6.90 — the best value per added second among the alternatives. Moreover, the cost remains bounded through selective invocation: Code2World is activated on only about 19.7%–29.0% of steps (Table 4), while still yielding a substantial 9.5-point improvement (Fig. 5a). We will make this efficiency–performance trade-off explicit in the Limitations section.

W3 & Q2: SigLIP brings fine-grained detail issue.

SigLIP serves only as a coarse filtering gate in our pipeline, used to catch clearly flawed generations (such as incorrect screen structures or collapsed layouts) and to trigger the GPT-5 revision loop (Alg. 1), rather than to guarantee fine-grained fidelity. We do not pursue pixel-level exactness: Code2World is designed to support GUI-agent decision-making, where minor visual discrepancies do not affect the consistency of the overall semantic and logical state transition. Moreover, final data quality is independently validated by humans rather than relying solely on SigLIP: our study reports a Fleiss κ of 0.963, with 97.4% of samples judged similar (Appendix F)—strong evidence that the corpus remains high-fidelity despite the use of a coarse filtering mechanism.

Q1: Concern about quality of RsemR_{sem} evaluated.

RsemR_{sem}'s efficacy is validated by ablation, its judge is prompted for granular criteria, and RL is stabilized by design. Adding RsemR_{sem} measurably improves the visual dimension (Table 2: Sele 58.65→65.40, SigLIP 71.50→76.10) and the downstream success rate (Fig. 5b: 47.5→49.2), confirming the reward carries a useful signal. The judge is not a black box: it is prompted to behave like a "high-precision metric" attending to element positions, sizes, and hierarchy (Appendix G.3.1) and to check element presence/alignment/sizing (G.4.3); the reward judge (Qwen3-VL-8B) is also decoupled from the final eval judge (gpt-5-mini), and the human study (κ=0.963; Study 2 ranking matches Table 1) confirms these scores track human perception. We acknowledge very small text remains hard for any VLM judge, but the decision-relevant details (button presence/state, element identity, alignment) are explicitly targeted. On stability: GRPO uses a KL penalty (β=0.01) anchoring the policy to the SFT reference, and pairing RsemR_{sem} with RactR_{act} is precisely what prevents the reward-hacking that RsemR_{sem} alone exhibits (Table 2: visual improves but logic flat); training improved monotonically without reward collapse.

Authors · CommentOpenReview ↗

Dear Reviewer,

I hope this message finds you well. As the discussion period is nearing its end with less than three days remaining, I wanted to ensure we have addressed all your concerns satisfactorily. If there are any additional points or feedback you'd like us to consider, please let us know. Your insights are invaluable to us, and we're eager to address any remaining issues to improve our work.

Thank you for your time and effort in reviewing our paper.

Reviewer 75KJOpenReview ↗
Rating
3/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
2/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper presents Code2World, a GUI world model that predicts the next mobile interface by generating renderable HTML rather than text descriptions or pixels. The authors also construct AndroidCode, a synthetic dataset of more than 80K screen–action–code examples, and train an 8B VLM using SFT followed by GRPO with visual-semantic and action-consistency rewards. The main empirical claim is that Code2World provides competitive next-state prediction and improves several GUI agents on AndroidWorld. The renderable-code formulation is promising, and the dataset may be a useful contribution. However, the current evidence does not fully support the claimed novelty, breadth of the world-model and efficiency claims.

Strengths and weaknesses

Pros:

  1. Using renderable code as the intermediate state representation is well motivated. HTML retains layout and element structure while still producing a visual observation. This is the clearest and most interesting contribution.
  2. The paper evaluates both in-domain and cross-app settings, includes code- and image-generation baselines, and tests downstream improvements across several agent backbones. Code2World is particularly strong relative to similarly sized open models.
  3. The ablations are useful, showed that SFT provides most of the initial gain, while the visual and action rewards improve complementary aspects of the model. The downstream agent results broadly follow the same trend.
  4. The dataset construction pipeline, training configuration, prompts, and deployment measurements are described in reasonable detail.

Cons:

  1. The technical novelty is narrower than the paper suggests. The main contribution is the choice of HTML representation and the associated synthetic dataset. SFT, GRPO, VLM-based rewards, visual-feedback data revision, and propose–simulate–select are mostly established components. Moreover, the model predicts a single future screenshot without explicitly modeling persistent environment state, backend state, or multi-step transition consistency. Calling it a general GUI “world model” is therefore somewhat stronger than what is demonstrated.
  2. The efficiency cost is substantial. One Code2World generation takes 65 seconds on average, and end-to-end task time increases from 224 to 476 seconds for Qwen3-VL and from 284 to 516 seconds for Gemini-2.5-Flash. The confidence-based invocation rule reduces the number of calls, but the threshold is heuristic and no latency–accuracy curve or threshold ablation is reported. The test-time scaling comparison is helpful, but it is not fully compute-, token-, hardware-, or monetary-cost-matched.
  3. Much of the main evaluation relies on newly proposed VLM-as-a-judge metrics. These metrics explicitly tolerate semantic placeholders and may therefore favor the proposed representation over pixel-generation baselines. The human validation is too lightly reported: the model-ranking study gives no sample count, agreement statistic, or numerical correlation. There is also an inconsistency between the stated 10 annotators and the reference to unanimous agreement among five annotators.
  4. AndroidCode is generated from AndroidControl using GPT-5, while Android Control is also used for in-domain evaluation. The paper states that evaluation apps are unseen, but it does not provide enough detail about app-, trajectory-, and screenshot-level deduplication. The results may also partly reflect distillation from a strong proprietary teacher rather than the proposed learning method alone.
Questions
  1. Please provide the full human-evaluation protocol, number of evaluated examples, annotator allocation, agreement statistics, and quantitative correlation with the automatic metrics. 2.Can the model maintain consistent hidden state over multi-step rollouts, or is each prediction independent? An evaluation of rollout consistency would better justify the “world model” terminology.
Limitations

N/A

Formatting concerns

No big concern.

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Thank you for the detailed feedback. We address each point below.

W1: Scope of the novelty and the "world model" claim

We would like to further clarify the key technical innovations and contributions of this work: (i) a purpose-built GRPO reward — RsemR_{sem} and RactR_{act} are computed on the rendered image I^t+1=R(C^t+1)\hat{I}_{t+1}=R(\hat{C}_{t+1}) rather than on HTML text, and RactR_{act} checks (It,at,I^t+1)(I_t, a_t, \hat{I}_{t+1}) for action-consistency, so plausible-but-wrong code is penalized against visual reality; (ii) a SigLIP-gated visual-feedback data flywheel (Alg. 1, τ=0.9) that guarantees data quality, converting AndroidControl — which has no HTML ground truth — into 80K+ deterministically renderable pairs; and (iii) a downstream Propose–Simulate–Select design with confidence-gated selective invocation that keeps latency bounded by firing on only ~20–29% of steps (Table 4). These adaptations are substantive, not cosmetic: a naive untrained simulator adds only +1.2 SR vs. +9.5 for the full recipe (Fig. 5b); RsemR_{sem} and RactR_{act} are complementary (Table 2: RsemR_{sem} alone reward-hacks — visual↑, logic flat); and under a fixed backbone, code beats text (41.81 vs 36.21) and our 8B beats the larger GPT-5-code (42.24, Table 6) — recipe, not scale, drives the gains.

On terminology, we respectfully disagree that "GUI world model" overstates the contribution. By the standard definition, a world model learns environment dynamics and predicts the next state conditioned on the current state and action, p(st+1∣st,at)p(s_{t+1}\mid s_t, a_t) — which is exactly what Code2World does via I^t+1=R(Mθ(It,at,G))\hat{I}_{t+1}=R(M_\theta(I_t, a_t, \mathcal{G})). This single-step, action-conditioned sense is the established usage of "world model" throughout the GUI/web literature. Prior GUI world models explore pixel-based (ViMo) and text-based (WMA, WebDreamer) representations; we introduce code as a third representation. Notably, none of these prior models can reconstruct the app's backend state, because no world model can without backend access; this is precisely the distinction the reviewer raises. A sandbox reproduces the full persistent backend state, whereas a world model is a deliberately efficient alternative that predicts only the next observation — our contribution is the latter, and reconstructing complete, app-level backend state through code is a valuable but distinct goal that we leave to future work.

W2: Inference latency, the invocation threshold

The extra compute is spent on decision-informative future states, and it is the best value-per-added-second we measured. In Table 7 (same base agent and scorer, only the strategy varies), a pure-reasoning agent (Qwen3-VL-Thinking) costs more wall-clock (500s) for only +1.73 SR, reranking-only costs 289s for +2.59, whereas Code2World gains +6.90 at 476s. The additional overhead remains controlled by selective invocation: Code2World is triggered on only about 19.7%–29.0% of steps (Table 4), and each generation takes 65.24s on average (Table 3). As a result, a full task thus needs only a few calls, while still yielding +9.5 SR (Fig. 5a).

The 0.9 threshold is an operating point on the latency–SR frontier, not an arbitrary heuristic. In a sweep over {0,0.2,0.5,0.7,0.9} (Gemini-2.5-Flash, AndroidWorld), lowering the threshold invokes Code2World more often and raises latency without improving SR; below 0.2 it even admits low-confidence actions that add noise and reduce SR. Thus 0.9 bypasses easy steps and spends compute only on ambiguous ones.

Threshold Avg task time(s) SR(%)
0.0 1125.53 50.00
0.2 992.70 50.00
0.5 674.53 51.72
0.7 607.44 50.86
0.9(ours) 515.63 50.86

W3 & Q1: VLM-judge metrics, placeholder tolerance, and the human study.

We re-run the evaluation with the placeholder-tolerance instruction removed from the judge. Under this stricter, placeholder-intolerant judge, Code2World shows no significant drop and still exceeds the strongest pixel baseline (Gemini-3-Pro-Image, whose placeholder-free outputs are unaffected by the judge change), so the tolerance is not the source of its advantage.

Judge Model SadS_{ad} SidS_{id} SeleS_{ele} SlayS_{lay}
Placeholder-tolerant(original) Code2World-8B 94.28 88.64 71.35 70.32
Placeholder-intolerant(ablated) Code2World-8B 94.04 88.89 70.61 68.12
Gemini-3-Pro-Image 92.63 83.67 68.47 63.67

Notably, the placeholder abstraction does not reduce downstream task benefit — a judge-free, placeholder-free test: the placeholder-based prediction improves navigation for all four agents (Fig. 5a) and beats every text and pixel baseline (Table 6, 42.24), so structural fidelity, not photorealism, drives the gains.

We now report the full human evaluation ("five annotators" was a typo — 10 throughout): Studies 1–2 are from the paper (Appendix F), now detailed; Study 3 is new.

Annotator panel: 10 CS-major university students (senior undergraduate/graduate), all daily Android users, mean age ≈24 (22–29); each received written guidelines and a short calibration round before annotating. Participation was voluntary and compensated.

Study 1 — data quality. 1,000 randomly sampled AndroidCode pairs, each labeled similar / not-similar by all 10 annotators; Fleiss κ = 0.963 (near-perfect), 97.4% similar by majority vote, 93.7% unanimous.

Study 2 — blinded 1-vs-1 human preference (arena). 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:

Comparison Win Tie Loss Win Rate(%)
Code2World vs. Qwen3-VL-8B 191 9 0 100
Code2World vs. Qwen2.5-VL-72B 186 14 0 100
Code2World vs. GLM-4.6V-106B 185 15 0 100
Code2World vs. Gemini-3-Pro-Image 117 18 65 64.29
Code2World vs. GPT-5 83 21 96 46.37

Study 3 — 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):

Metric VLM-as-a-Judge Score Human Score Spearman ρ(%)
SadS_{ad} 94.28 93.75 97.85
SidS_{id} 88.64 87.31 93.00
SeleS_{ele} 71.35 72.11 92.15
SlayS_{lay} 70.32 68.95 94.60

Together, Study 2 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 3 shows the VLM-judge metrics track human judgment; both are consistent with the ordering in Table 1.

W4: The deduplication detail is insufficient, and results may partly reflect distillation from the GPT-5 teacher

We follow AndroidControl's official train/test split, so training and evaluation do not overlap—and our generalization claims do not hinge on the in-domain split at all. AndroidCode is synthesized only from the AndroidControl train split, while the in-domain evaluation uses AndroidControl's official held-out apps; by construction, no app, trajectory, or screenshot is shared between the two. Our evaluation then spans three settings, all disjoint from training:

  • App-level (in-domain) — held-out AndroidControl apps unseen during training.
  • Cross-dataset (OOD) — GUI Odyssey, a separate benchmark with different apps, UI styles, and domains, where Code2World-8B holds functional logic nearly flat (SadS_{ad} 92.73, SidS_{id} 78.22) while open baselines collapse (Qwen3-VL-8B: SadS_{ad} 34.60).
  • Offline→online — AndroidWorld, a live executable environment (the source of the +9.5-point headline, Fig. 5a) that cannot leak training frames.

The distillation reading rests on a misunderstanding of our pipeline: GPT-5 performs only UI-to-Code transcription, never next-state prediction. GPT-5 is used to transcribe each observed screenshot into HTML — including the ground-truth next screenshot It+1I_{t+1}, whose code becomes the SFT target; it is never asked to predict It+1I_{t+1} from (It,at)(I_t, a_t). The world-modeling task itself — mapping (It,at,G)(I_t, a_t, \mathcal{G}) to the next-state code — is defined by our construction, which pairs consecutive transcribed frames into (state, action, next-state) triplets through a carefully designed pipeline with visual-feedback revision (Alg. 1). There is therefore no teacher "next-state prediction" to distill. Decisively, when GPT-5 itself is cast as the world model it underperforms our 8B model — 42.24 > 41.81 (Table 6), which pure distillation cannot produce.

Q2: Is each prediction independent, and does that still justify the "world model" term?

Each prediction is independent: Code2World performs single-step, action-conditioned next-state prediction, and this is a deliberate design choice rather than a limitation. In the Propose–Simulate–Select loop it is used as a one-step look-ahead that is re-grounded on the real observation at every step: the agent executes the selected action in the environment, obtains the true next state, and predicts again from it. The environment — not a carried-over hidden state — keeps the state, which is precisely why prediction errors cannot accumulate across steps, avoiding the compounding drift that afflicts autoregressive multi-step rollouts. This single-step, Markovian form is also the canonical definition of a world model, p(st+1∣st,at)p(s_{t+1}\mid s_t, a_t), and matches its standard usage in the GUI/web literature (WMA, WebDreamer, ViMo).

Authors · CommentOpenReview ↗

Dear Reviewer,

I hope this message finds you well. As the discussion period is nearing its end with less than three days remaining, I wanted to ensure we have addressed all your concerns satisfactorily. If there are any additional points or feedback you'd like us to consider, please let us know. Your insights are invaluable to us, and we're eager to address any remaining issues to improve our work.

Thank you for your time and effort in reviewing our paper.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…