Conceptio › Archive › arXiv CS
arXiv CS open access

Discriminative World Models for Web Agents

2026 · arxiv_cs
arXiv CS · Papers · 2026
Open Source ↗Direct PDF ↓
Conceptio Open Archive

Analyze & explore related research in Conceptio

Connect this record directly into your research workflow or AI agent. Explore citations across open repositories, query full text, and export structured proof bundles.

Discriminative World Models for Web Agents Kelvin Li1 * Dhruv Pendharkar1 * Anish Pahilajani2 Chuyi Shang1 Leon Oks3 Leonid Karlinsky4 Rogerio Feris2 Trevor Darrell1 Roei Herzig1 1

University of California, Berkeley 2 MIT-IBM Watson AI Lab 3 Cal Poly San Luis Obispo 4 Xero

Abstract

arXiv:2609.02885v1 [cs.AI] 2 Sep 2026

Recent web agents use world models for testtime action selection by sampling candidate actions, predicting the resulting web states, and ranking them with a ranker model or a Process Reward Model (PRM). These world models are typically trained via supervised nextstate prediction to generate fixed representations like HTML or AXTree snapshots. However, this objective is misaligned with the downstream ranker, which relies on predicted states being discriminative across candidates to accurately score them. To address this, we introduce predicted-state matching, a training objective where the predicted representation must distinguish the true resulting state from those reached by alternative actions. We train these models using a branching web-agent dataset derived from WebArena Go-Browse trajectories, where every decision point contains multiple alternative actions and their resulting states. Experiments on our held-out predicted-state matching benchmark show that our approach outperforms world models trained with supervised next-state prediction. We further show that our approach improves PRM-style action ranking on WebPRMBench compared with action-only PRMs and PRMs augmented with supervised-next-state world models. Finally, on WebArena-Lite, using our world model for test-time action selection improves end-to-end task success. Our project page is available at: https://dhruvpendharkar.github.io/dwm/.

1

Introduction

Recent advances in large language models have made it possible to build agents that interact with the web through natural-language instructions and browser actions (Zheng et al., 2024; He et al., 2024; Qin et al., 2025; Gupta et al., 2026). However, web navigation remains challenging because it is a partially observed, multi-step decision-making problem: an agent must choose actions based on the * Equal contribution.

current page and interaction history, while reasoning about how each action will affect future steps. Most prior work relies on a reactive next-action prediction paradigm, where agents directly select an action based on the current observation and history (Zheng et al., 2024; He et al., 2024; Qin et al., 2025; Gupta et al., 2026). Although straightforward, this approach does not explicitly compare alternative actions at a given state. To address this limitation, recent methods explore test-time action selection: the agent proposes multiple possible next actions, then uses a process reward model (PRM) or ranker to choose among them (Chae et al., 2025b; Zhang et al., 2026). Model-based planning extends this paradigm by augmenting candidate actions with their predicted next states (Gu et al., 2025; Chae et al., 2025a; Fang et al., 2025; Xiao et al., 2026). This allows the agent to explicitly evaluate and compare alternative paths through their expected consequences prior to execution. This planning paradigm raises a basic question: what should the predicted next state represent? Current web world models typically rely on supervised next-state prediction, training the model to generate predefined formats like textual summaries, HTML, or AXTree snapshots (Gu et al., 2025; Chae et al., 2025a; Fang et al., 2025; Xiao et al., 2026). This approach ties the training objective to arbitrary choices of state format. However, as illustrated in Figure 1, a representation optimized to match a fixed next-state target may still miss the action-relevant differences that distinguish one action’s consequence from another. For example, textual-summary methods such as WebDreamer are supervised to reproduce a particular compressed description of the next state, which may omit the specific change needed to distinguish the queried action from alternatives. In contrast, full structuredstate methods such as WebWorld generate AXTreestyle representations in which the relevant change can be buried among large amounts of unchanged

Figure 1: Qualitative example of predicted next-state representations at a single decision point in the WebArena Reddit environment. Given the current state and queried action, our predicted-state-matching world model identifies the specific state change produced by the action. A textual-summary method, WebDreamer (Gu et al., 2025), instead describes the outcome of a different action, while a full structured-state method, WebWorld (Xiao et al., 2026), emits a long AXTree-style representation that largely repeats page structure unchanged by the queried action. The browser pane is rendered from the recorded accessibility tree.

page structure. When the world model is used for action selection, the predicted next state should help distinguish the outcomes of competing actions from the same state. We therefore argue that the relevant objective is not to recreate a specific target representation, but to produce predicted next-state representations that are discriminative among the alternative outcomes induced by candidate actions. We address this with predicted-state matching (Figure 2). Given a current state and a candidate action, the model generates a next-state representation. Rather than forcing the model to generate a fixed target string, we train and evaluate this representation through a matching task, where a fixed judge uses the generated representation to distinguish the true resulting state of the queried action from alternative resulting states reached at the same decision point. This establishes a representationagnostic objective for world modeling: a predicted representation is valuable specifically because it preserves the features that distinguish one action’s consequence from another. Because the output is not tied to a rigid target format, the model can dynamically adapt its level of detail and abstraction across different tasks, pages, and actions. To support this framework, we construct a branching web-agent dataset derived from Go-Browse trajectories in WebArena environments (Gandhi and Neubig, 2026; Zhou et al., 2024). Unlike existing web-agent datasets that are organized as linear trajectories, our data contains

local decision points with multiple possible actions from the same state and their resulting next states. This structure provides the supervision needed to train world models to distinguish the effects of different actions, rather than imitate a single gold path or generate a fixed state format. It also enables a held-out predicted-state matching benchmark for web world models: models are evaluated by whether their predicted next-state representation matches the correct resulting state among alternatives from the same decision point. We evaluate our approach at three levels. First, on our held-out predicted-state-matching benchmark, our model achieves higher matching accuracy than existing web world models and a datamatched baseline trained with supervised nextstate prediction. Second, we examine the downstream utility of these predictions for action ranking on WebPRMBench (Zhang et al., 2026). In model-based test-time action selection, predicted outcomes are useful only if they help a PRM or ranker choose among candidate actions before execution. WebPRMBench directly evaluates this ranking objective: holding the task context and candidate actions fixed, we compare action-only rankers with rankers augmented either with fixedformat next-state predictions or with representations produced by our predicted-state-matching world model. We evaluate both trained reward models and frozen rankers. Third, we evaluate endto-end agent performance on WebArena-Lite (Liu

Figure 2: Supervised next-state prediction trains a world model to generate a fixed target representation. Predictedstate matching instead trains the generated representation to distinguish the true resulting state of a queried action from alternative next states reached by other actions.

et al., 2025; Zhou et al., 2024), showing that incorporating our world model into test-time action selection improves task success. We summarize our contributions as follows: (i) We formulate web world modeling as learning discriminative next-state representations that distinguish the outcomes of competing actions rather than generating fixed-format targets, introducing a representation-agnostic training objective called predicted-state matching. (ii) We introduce a branching web-agent dataset derived from Go-Browse trajectories, with local decision points containing alternative executable actions and their resulting states. This dataset supports training predicted-state-matching world models and provides a new representation-agnostic benchmark for evaluating whether a predicted next-state representation is distinguishable from the states reached by alternative actions from the same decision point. (iii) We show that our approach improves predictedstate matching over world models trained with supervised next-state prediction, that our predicted next-state representations improve PRM-style action ranking on WebPRMBench compared with action-only PRMs and supervised-next-state world model baselines, and that using our world model for test-time action selection improves end-to-end task success on WebArena-Lite.

2

Related Work

Web agents. Web agents aim to complete naturallanguage tasks by interacting with websites through browser actions. Existing benchmarks study this problem across static offline examples (Deng et al., 2023), self-hosted web environments (Zhou et al., 2024; Koh et al., 2024; Shi et al., 2017; Liu et al.,

2018), and live online websites (He et al., 2024; Wei et al., 2025; Xue et al., 2025; Pan et al., 2024). These settings highlight the difficulty of web navigation as a partially observed, multi-step decisionmaking problem. Much work addresses this problem with direct next-action prediction, where the agent repeatedly selects one action given the task instruction, interaction history, and current observation until task completion (Zheng et al., 2024; He et al., 2024; Qin et al., 2025; Gupta et al., 2026). While widely used, this reactive formulation does not explicitly compare plausible alternatives available at the same state. Recent work therefore explores test-time action selection, where an agent proposes multiple possible next actions and uses a ranker or PRM to select the best one (Chae et al., 2025b; Zhang et al., 2026). Model-based planning extends this setup by using a world model to predict the next state that would result from each proposed action, allowing the ranker to compare predicted outcomes before selecting which action to execute (Gu et al., 2025; Chae et al., 2025a; Fang et al., 2025; Xiao et al., 2026). World models for web agents. Recent work in model-based planning uses world models for test-time action selection by predicting the next state resulting from proposed actions and using these predictions to rank and select an action (Gu et al., 2025; Chae et al., 2025a; Fang et al., 2025; Xiao et al., 2026). These methods define the predicted state in fixed formats: natural-language state changes or transition abstractions (Gu et al., 2025; Chae et al., 2025a), and structured web observations such as page states, HTML, or accessibility trees (Fang et al., 2025; Xiao et al., 2026). These approaches show that predicted next states can im-

prove action selection, but they train world models with supervised next-state prediction to generate a chosen state format. We argue that, for action selection, a predicted next state should help distinguish the outcomes of competing actions from the same current state, rather than only reproduce a chosen state format. Existing supervised next-state prediction objectives do not train or evaluate this property. We instead train and evaluate predicted next-state representations by whether they make the correct resulting state distinguishable from alternatives at the same decision point, and test whether these representations improve downstream action ranking.

is crucial, because comparing actions requires understanding how different actions will change the state differently. We build on Go-Browse (Gandhi and Neubig, 2026) by organizing web-agent data around local decision points: for each state, we include multiple possible actions and the corresponding next states reached by those actions. This branching structure supports training and held-out evaluation through predicted-state matching, while downstream action-ranking performance is evaluated on WebPRMBench (Zhang et al., 2026).

Process reward models for web agents. PRMs provide step-level signals for test-time action selection in web navigation. Web-Shepherd trains a web PRM from step-level preference pairs and checklist annotations, while WebArbiter formulates WebPRM as structured reasoning with a preference verdict (Chae et al., 2025b; Zhang et al., 2026). These methods improve action ranking, but they score candidate actions from the task context, interaction history, current observation, and action itself, without explicitly predicting the next state that each action would induce. Our work is complementary: we study whether PRMs can be improved by augmenting candidate actions with predicted next-state representations, and whether world models trained with predicted-state matching provide more useful representations than world models trained with supervised next-state prediction.

We train web world models to produce predicted next-state representations that distinguish the outcomes of competing actions. As illustrated in Figure 2, instead of supervising the model to generate a fixed target such as a textual transition summary or DOM/HTML/AXTree snapshot, we use predictedstate matching: given a current state and a queried action, the predicted next-state representation is trained to be discriminative against the next states reached by alternative actions from the same decision point. We then evaluate these representations through predicted-state matching, PRM-style action ranking, and end-to-end agent execution.

Web-agent data and evaluation. Most webagent datasets are organized as linear trajectories, where a task is paired with a sequence of observations and actions (Deng et al., 2023; Lù et al., 2024; Pahuja et al., 2025; Gupta et al., 2026). This format supports both supervised fine-tuning of reactive web agents and supervised next-state prediction, but it records only the action taken along a single path. It therefore provides limited supervision for local decision making: at a given state, an agent must choose among several plausible actions, yet a linear trajectory does not show what would have happened under the alternatives. WebPRM datasets address part of this issue by providing scores or preference labels over candidate actions from the same state (Chae et al., 2025b; Zhang et al., 2026). However, this supervision indicates which actions are preferred, but not the state changes that make one action preferable to another. For world models and world-aware ranking, this missing information

3

3.1

Method

Problem setup and branching data

We consider web navigation as a partially observed decision-making problem. At each step t, the agent receives a task instruction I, has an interaction history ht , observes the current web state st , executes an action at , and transitions to a next state st+1 . Our method requires local decision points with multiple candidate actions from the same current state. We represent a decision point as Dt = {(ait , sit+1 )}K i=1 , where ait denotes the i-th candidate action and sit+1 is the next state reached after executing that action from st . This branching structure exposes how different candidate actions from the same state lead to different next states. We construct such decision points from GoBrowse trajectories collected in WebArena environments (Gandhi and Neubig, 2026; Zhou et al., 2024). As shown in Figure 3(a), Go-Browse is organized as linear trajectories, but different trajectories can revisit the same browser states. We merge these repeated states into a state-action graph, where each node is a browser state represented by its accessibility tree and each directed edge is an executed action

Figure 3: Construction of branching decision points from Go-Browse trajectories. (a) The original data is organized as linear trajectories, but some web states are repeated across trajectories. (b) We merge repeated states into a state-action graph, where outgoing edges from the same state correspond to different executed actions and their observed next states. (c) For predictedstate matching, each branching state yields pairwise examples: given a queried action, the world model must produce a representation that distinguishes its true resulting state from an alternative next state reached by another action from the same current state.

with its observed next state. This aggregation turns shared states with multiple outgoing actions into branching decision points, as shown in Figure 3(b). For predicted-state matching, we convert each branching decision point into pairwise examples, as shown in Figure 3(c). Each example contains an instruction I, history ht , current state st , a queried qry action aqry t , its true resulting next state st+1 , and an alternative next state salt t+1 reached by another action from the same decision point. The queried and alternative actions are not treated as good or bad actions; the objective is only to determine whether the predicted representation distinguishes the state caused by the queried action from the state caused by an alternative action. The final world-modeling data contains 7,730 branching decision points from 2,839 trajectories, yielding 30,920 pairwise next-state matching examples. We split the data into training and evaluation sets with domain stratification to keep the WebArena domain distribution similar across splits. 3.2

Predicted-state matching

Given an input (I, ht , st , aqry t ), the world model generates a textual predicted next-state representation: qry ẑt+1 ∼ πθ (· | I, ht , st , aqry t ). We use ẑ rather than ŝ to emphasize that the model output is a representation of the predicted next state,

not the environment state. The representation is textual for interpretability and downstream compatibility with language-model-based ranking, but it is not supervised to match a predefined state string. qry To determine whether ẑt+1 makes the correct next state distinguishable from alternatives, we use a matching judge J. During training, we instantiate J with Qwen3-32B (Yang et al., 2025). The judge receives the predicted representation and two candidate next states:   qry qry ẑt+1 , st+1 , salt t+1 , with candidate order randomized. The judge must select which candidate state matches the predicted representation. Importantly, the judge does not receive the instruction, history, current state, or queried action. Therefore, the prediction is successful only if the generated representation itself contains enough information to identify the correct resulting state. The matching reward is h i qry qry qry ) = s Rmatch = 1 J(ẑt+1 , st+1 , salt t+1 t+1 . We also use a format reward Rfmt to encourage well-formed textual outputs and discourage degenerate representations. We define Rfmt = 1 if the model generates a non-empty state within valid <predicted_state> XML tags, and Rfmt = 0 otherwise. The total sequence-level reward is R = Rmatch + λfmt Rfmt . We set λfmt = 0.4 in our main experiments. Additional implementation details and an ablation on λfmt are provided in Appendix C. This objective is representation-agnostic: the model is not trained to reproduce any fixed target representation of the next state. Ground-truth next states are used only as candidates for matching. The model is rewarded when its predicted representation distinguishes the true resulting state from alternatives induced by other actions at the same decision point. 3.3 Using predicted next-state representations for action ranking After training the world model with predicted-state matching, we use its generated representations as inputs to downstream PRMs. Given a candidate action ait , the world model generates i ẑt+1 ∼ πθ (· | I, ht , st , ait ).

A downstream PRM or ranker then predicts a preference verdict from the current context and a pair of candidate actions, optionally augmented with predicted next-state representations:  1 2 ŷ ∼ rϕ · | I, ht , st , (a1t , ẑt+1 ), (a2t , ẑt+1 ) , where ŷ ∈ {1, 2} denotes the preferred candidate. i In the no-state setting, the ẑt+1 terms are omitted. This interface lets us compare action-only ranking, ranking with fixed-format next-state predictions from supervised world models, and ranking with representations from our predicted-statematching world model. In later experiments, we keep the preference-training and ranking setup fixed and vary the source of next-state information: i , supervised next-stateaction-only PRMs omit ẑt+1 prediction baselines use representations from world models trained to generate fixed target formats, and our method uses representations from the world model trained with predicted-state matching.

4

Evaluation

We evaluate our approach at three levels. First, we evaluate world-model quality on a held-out predicted-state matching benchmark, where each model generates a next-state representation for a queried action and a judge determines if it identifies the true resulting state among alternatives from the same decision point. We evaluate with judges from multiple model families to test whether the learned representations generalize beyond the judge used during training. Second, we evaluate whether these predicted representations improve downstream action ranking on WebPRMBench. WebPRMBench evaluates whether a PRM or ranker can identify the preferred action among alternatives from the same state; in our experiments, we augment candidate actions with predicted next-state representations and test whether this additional information improves ranking. We consider both trained and frozen reward-model settings. Third, we evaluate full agent trajectories on WebArena-Lite, testing whether using our world model for test-time action selection improves end-to-end task success. 4.1

Predicted-state matching

We first evaluate world models in isolation using the predicted-state matching setup from Section 3.2. The evaluation uses the held-out split of our branching world-modeling data and covers five WebArena domains: Shopping, CMS, Reddit, GitLab, and

Map. For each example, the evaluated model receives the task instruction, interaction history, current state, and a queried action, and generates a textual predicted next-state representation. For our primary evaluation, a fixed Qwen3-32B (Yang et al., 2025) matching judge receives only this representation and two candidate next states: the true resulting state of the queried action and an alternative state reached by another action from the same decision point. The candidate order is randomized, and the judge must identify which candidate state matches the generated representation. This benchmark is representation-agnostic: models are not evaluated by exact match to a predefined next-state string. Instead, a predicted nextstate representation is correct if it distinguishes the state induced by the queried action from an alternative state induced by another action from the same current state. For the primary evaluation, every method receives the same task context and queried action and is evaluated with the same fixed Qwen3-32B matching judge; only the model used to generate the predicted next-state representation changes. We report two-way matching accuracy. Baselines. We compare four groups of methods. First, we evaluate proprietary and open-source language models prompted to generate the predicted next-state representation. Second, we evaluate representative existing web world models trained with supervised next-state prediction, including WebDreamer-7B (Gu et al., 2025) and WebWorld8B (Xiao et al., 2026). WebDreamer-7B represents world models that predict natural-language transition summaries, while WebWorld-8B represents recent structured-state world models. Third, we include a data-matched supervised next-stateprediction baseline trained on the same branching data, but supervised to generate fixed AXTree targets. This baseline controls for exposure to the same data while preserving the standard supervised next-state prediction objective. Fourth, we evaluate our Qwen3-8B world model trained with predictedstate matching. To test robustness to the choice of matching judge, we additionally re-evaluate our model, WebDreamer-7B, and WebWorld-8B using GPT-4o and Llama-3.1-70B-Instruct , neither of which is used during training. Predicted-state matching results. Table 1 reports held-out predicted-state matching accuracy. Our model achieves the best overall accuracy, outperforming proprietary and open-source models,

Table 1: Predicted-state matching accuracy on the held-out benchmark using Qwen3-32B as the matching judge. Overall is micro-averaged. Model

Shopping

CMS

Reddit

GitLab

Map

Overall

Proprietary LMs GPT-4o GPT-4o-mini

44.44 48.15

47.80 46.70

48.22 47.72

47.00 47.00

55.81 53.49

49.40 48.80

Open-source LMs Qwen3-4B Qwen3-8B

59.26 67.90

54.95 55.50

52.79 68.00

52.00 56.50

53.95 68.30

53.94 62.86

Existing world models WebDreamer-7B WebWorld-8B

72.80 79.01

70.80 67.58

75.63 77.66

75.00 54.00

76.70 77.21

74.51 70.17

Data-matched SFT baseline Full AXTree target

45.68

46.15

47.72

46.00

51.63

47.77

Ours Predicted-state matching

77.78

77.47

79.70

82.50

84.19

80.80

Table 2: Predicted-state matching accuracy under different matching judges. Model

Qwen3-32B

GPT-4o

Llama-3.1-70B

WebDreamer-7B WebWorld-8B

74.51 70.17

76.91 74.06

76.10 76.00

Ours

80.80

81.26

79.31

existing web world models, and the data-matched supervised next-state-prediction baseline. The datamatched supervised next-state-prediction baseline isolates the effect of the training objective: both models are fine-tuned from Qwen3-8B on the same data, but they use different training objectives. The baseline is supervised to generate a fixed AXTree target, whereas our model is trained through predicted-state matching. The improvement over this baseline indicates that matching-based supervision trains next-state representations that are better suited for distinguishing action-induced outcomes than supervised generation of a fixed state format. Additional analyses of predicted-state output length and training and data efficiency are provided in Appendices B and C.2, respectively. Robustness to the matching judge. Because Qwen3-32B is used to compute the matching reward during training, we test whether the learned representations remain discriminative under different judge models. As shown in Table 2, our model outperforms both WebDreamer-7B and WebWorld8B under Qwen3-32B, GPT-4o (OpenAI et al., 2024), and Llama-3.1-70B-Instruct (Grattafiori et al., 2024). This indicates that the learned representations remain discriminative across judge model families rather than being specific to the judge used during training.

4.2

WebPRMBench with trained reward models

We next evaluate whether next-state representations from our predicted-state-matching world model improve PRM-style action ranking in a trained-ranker setting. To test this, we train reward models on the WebPRM Collection (Chae et al., 2025b) and evaluate them on WebPRMBench (Zhang et al., 2026). The WebPRM Collection provides preference-style training examples for web actions, while each WebPRMBench instance contains a task context, current web state, one preferred action, and four rejected alternatives. Following WebArbiter, we report Pairwise Accuracy, which measures whether the preferred action is ranked above a single rejected action, and Best-of-N (BoN) Accuracy, which requires the preferred action to be ranked above all rejected alternatives. Baselines. Our core controlled comparison consists of the final three rows of Table 3. All three use Qwen2.5-7B (Qwen et al., 2025) and the same answer-only preference-training setup as WebArbiter’s full-data Instruct + SFT baseline. Across these controlled settings, the reward-model backbone, training data, preference labels, and answeronly supervision objective are fixed; only the predicted next-state information provided to the ranker changes. Given the task context, interaction history, current state, and a pair of candidate actions, the reward model is trained to directly predict the preferred action, without intermediate reasoning supervision or reinforcement learning. For Direct (no state), we report WebArbiter’s published Instruct + SFT result. For + WebWorld-8B states and + state-matching states (ours), we append

only a predicted next-state representation to the context for each candidate action, as described in Section 3.3, while keeping the reward-model training setup unchanged. + WebWorld-8B states uses predictions from frozen WebWorld-8B (Xiao et al., 2026), while + state-matching states uses predictions from our frozen predicted-state-matching world model. The world models are frozen during reward-model training. For broader context, Table 3 also includes LLM-as-judge and existing WebPRM results reported by WebArbiter; these rows are not part of the controlled comparison. Action-ranking results. Table 3 reports WebPRMBench action-ranking accuracy with trained reward models. In the controlled comparison (final three rows), augmenting the reward model with our predicted next-state representations improves over the Direct (no state) baseline, showing that predicted action outcomes provide useful information beyond the candidate actions themselves. Our predicted states also outperform WebWorld-8B states under the same reward-model backbone and SFT training setup, indicating that representations learned through predicted-state matching are more useful for downstream action ranking than supervised next-state predictions. More broadly, our state-augmented reward model achieves competitive performance among the methods in Table 3, outperforming the reported proprietary LLM-as-judge baselines as well as WebShepherd while being competitive with WebArbiter. We note that our training setup uses answer-only supervision, without additional structured reasoning supervision or reinforcement learning. In comparison, WebShepherd uses checklist-guided reward modeling, while WebArbiter uses principle-guided reasoning trained through reasoning distillation and reinforcement learning. These results suggest that explicitly providing predicted action outcomes can be a meaningful source of information for action ranking, even without adding a more elaborate reasoning or reinforcement-learning procedure. 4.3

WebPRMBench with frozen reward models

To separate the usefulness of predicted next-state representations from reward-model training, we repeat the same controlled comparisons as Section 4.2 with frozen rankers. In this training-free setting, a frozen Qwen2.5 model receives the task

context, current state, candidate actions, and optionally predicted next-state representations, and outputs which action is preferred. Baselines. We evaluate Qwen2.5-3B and Qwen2.5-7B. For each model size, we compare three input settings: no predicted state, predicted states from WebWorld-8B, and predicted states from our predicted-state-matching world model. The no-state rows are reported by WebArbiter. For the state-augmented settings, the Qwen2.5 ranker remains frozen, and predicted next states are added to the input context; the two settings differ only in which frozen world model provides these states. Action-ranking results. Table 4 reports WebPRMBench action-ranking accuracy with frozen rankers. Across both Qwen2.5-3B and Qwen2.5-7B, augmenting the frozen ranker with predicted next states improves over the no-state setting, showing that predicted action outcomes provide useful information even without reward-model training. Our predicted states also consistently outperform WebWorld-8B states, indicating that representations learned through predicted-state matching are more useful for downstream action ranking than supervised next-state predictions. 4.4

End-to-end agent evaluation

Finally, we evaluate whether our predicted nextstate representations improve end-to-end agent performance on WebArena-Lite (Liu et al., 2025; Zhou et al., 2024). Baselines. We use GPT-4o (OpenAI et al., 2024) as the policy model and compare three inferencetime settings. ReAct-style (Yao et al., 2023) follows the standard web-agent loop: at each step, GPT-4o reasons over the current task context and interaction history, selects a single action, and executes it. Best-of-5 (Bo5) instead has GPT-4o propose five candidate actions and then rank them to select one for execution, with GPT-4o serving as both the proposer and ranker. Bo5 + state matching follows a similar setup: GPT-4o proposes five candidate actions, our frozen world model predicts a next-state representation for each candidate, and GPT-4o then selects which action to execute using both the candidate actions and their predicted next states. Because end-to-end web-agent results can vary with the implementation harness, we implement and evaluate all three settings within the same

Table 3: WebPRMBench Pairwise and Best-of-N accuracy following WebArbiter. The final three rows form our core controlled comparison: Direct (no state), + WebWorld-8B states, and + state-matching states (ours). All three rows use Qwen2.5-7B with the same answer-only preference-training setup and differ only in next-state information provided to the ranker. Direct (no state), LLM-as-judge, and existing WebPRM results are reported by WebArbiter. Model

Mind2Web

WebArena

AssistantBench

WorkArena

Avg.

Pairwise

BoN

Pairwise

BoN

Pairwise

BoN

Pairwise

BoN

Pairwise

BoN

LLM-as-judge, proprietary language models GPT-4o mini 81.74 GPT-4o 79.99 GPT-5 80.86 Claude-3.7-Sonnet 80.20

50.92 52.62 62.39 57.90

78.23 84.58 84.83 82.80

56.72 66.67 71.64 64.10

89.17 85.83 81.67 81.50

73.33 66.67 63.33 61.30

81.43 84.33 81.14 82.10

46.70 55.19 64.62 60.60

82.64 83.68 82.13 81.65

56.92 60.29 65.50 60.98

LLM-as-judge, open-source language models Qwen2.5-3B 76.40 36.93 Qwen2.5-7B 77.79 39.18

60.32 74.88

15.42 42.79

75.83 84.17

33.33 53.33

64.45 77.58

19.34 35.85

69.27 77.61

26.76 42.78

Existing WebPRMs, 3B WebShepherd-3B WebArbiter-3B

87.50 93.32

65.21 78.42

68.16 81.97

41.29 56.22

66.67 78.33

46.67 46.67

50.00 81.01

21.23 54.81

68.08 83.65

43.60 59.06

Existing WebPRMs, 7B+ WebShepherd-8B WebArbiter-7B

86.66 97.07

73.69 89.53

68.33 88.43

43.88 68.66

55.92 89.17

30.00 70.00

54.56 82.09

25.53 70.19

64.34 89.19

43.28 74.60

Controlled Qwen2.5-7B reward models Direct (no state) 85.14 + WebWorld-8B states 89.74 + state-matching states (ours) 96.71

60.91 73.20 89.39

80.85 84.32 88.56

52.73 65.60 69.15

82.50 86.66 88.33

56.67 67.41 70.00

79.57 81.21 83.84

52.88 64.32 62.26

82.02 85.48 89.36

55.80 67.63 72.70

Table 4: Frozen-ranker evaluation on WebPRMBench. A frozen Qwen2.5 model predicts the preferred action either directly with no predicted next-state information, or after augmentation with predicted states from a frozen world model. The no-state results are reported by WebArbiter; the state-augmented rows are our evaluations using WebWorld-8B or our predicted-state-matching world model. Model

Mind2Web

WebArena

WorkArena

Avg.

Pairwise

BoN

Pairwise

BoN

Pairwise

BoN

Pairwise

BoN

Pairwise

BoN

Frozen Qwen2.5-3B ranker No predicted state + WebWorld-8B states + state-matching states (ours)

76.40 65.84 76.77

36.93 32.81 42.01

60.32 69.90 71.02

15.42 36.82 36.82

75.83 82.50 76.67

33.33 56.67 56.67

64.45 55.31 71.82

19.34 20.75 36.32

69.27 68.39 74.07

26.76 36.76 42.96

Frozen Qwen2.5-7B ranker No predicted state + WebWorld-8B states + state-matching states (ours)

77.79 73.09 80.06

39.18 44.69 48.80

74.88 77.74 77.00

42.79 55.22 51.24

84.17 82.50 84.17

53.33 60.00 66.67

77.58 69.10 79.01

35.85 46.23 51.89

77.61 75.61 80.06

42.78 51.53 54.65

framework to enable a controlled comparison. End-to-end results. ReAct-style achieves 13.94% task success, closely matching the 13.9% GPT-4o result reported by WebRL (Qi et al., 2025). Bo5 improves task success to 21.82%, showing that sampling and ranking multiple candidate actions improves over single-action selection. Bo5 + state matching further improves task success to 28.48%, showing that predicted next-state information helps GPT-4o rank candidate actions more effectively.

5

AssistantBench

Conclusion

We introduced predicted-state matching, a representation-agnostic objective for training web world models to produce next-state representations

that distinguish competing action outcomes, together with a branching web-agent dataset for training and evaluation. Instead of supervising a fixed state format, predicted-state matching trains representations to distinguish the true resulting next state from alternatives reached by other actions at the decision point. Our model improves held-out matching accuracy over supervised nextstate-prediction baselines, and its representations improve WebPRMBench action ranking with trained and frozen rankers. They also improve end-to-end task success on WebArena-Lite with model-based Best-of-5 action selection. Together, these results suggest that web world models should preserve action-relevant differences for downstream decision making rather than only reproduce a predefined next-state representation.

6

Limitations

Our predicted-state matching benchmark is constructed from Go-Browse trajectories in WebArena environments, and our end-to-end evaluation is conducted on WebArena-Lite using GPT-4o as the policy model. As a result, the generality of our findings across other web environments and policy models remains to be established. Evaluating the approach on more diverse benchmarks and models is an important direction for future work. Predicted-state matching relies on languagemodel judges to determine whether a generated representation corresponds to the correct resulting state. We evaluate with Qwen3-32B, GPT-4o, and Llama-3.1-70B-Instruct and observe consistent improvements across judges, but matching accuracy remains a model-based proxy and may reflect limitations or biases shared by these judge models. Our branching data is constructed from alternative actions and outcomes observed in Go-Browse trajectories. This provides executable actionoutcome branches from shared web states, but does not enumerate every possible action that could have been taken at each decision point. Extending the framework to more densely explored branching data and a broader range of web environments could provide additional supervision for predictedstate matching.

7

Ethical Considerations

We use and cite existing research artifacts, including Go-Browse, WebArena, WebPRM Collection, WebPRMBench, WebDreamer, WebWorld, and Qwen model families. Our use of these artifacts is for research evaluation and model development. Any released derived data, code, or model checkpoints should follow the licenses and terms of the original artifacts; when redistribution is not permitted, we will release scripts or processing instructions rather than the restricted artifacts themselves. The data used in this work comes from webagent benchmark environments and previously released trajectories. We do not collect new humansubject data or recruit human annotators. The benchmark states and trajectories are intended for research use, and our derived branching data is intended for research on web-agent world modeling and action ranking, not for deployment in unrestricted autonomous web agents. We do not intentionally include personally identifying information. Since web states can contain

natural-language content, we recommend that any released derived dataset be checked for personally identifying or sensitive content before distribution. Our experiments are limited to benchmark environments and do not execute actions on real user accounts or live personal data. Our method is intended to improve world modeling and action selection for web agents, which could also increase the capabilities of autonomous web agents if deployed outside benchmark environments. Such systems may take unintended or harmful actions, particularly when interacting with real websites, user accounts, or sensitive information. Our experiments are restricted to benchmark environments and do not evaluate or advocate unrestricted autonomous deployment. Throughout this project we utilized AI models for the purpose of writing code, specifically Claude Code and ChatGPT. All model outputs were verified and proofread by the authors to ensure they followed intended behavior.

References Hyungjoo Chae, Namyoung Kim, Kai Tzu iunn Ong, Minju Gwak, Gwanwoo Song, Jihoon Kim, Sunghwan Kim, Dongha Lee, and Jinyoung Yeo. 2025a. Web agents with world models: Learning and leveraging environment dynamics in web navigation. Preprint, arXiv:2410.13232. Hyungjoo Chae, Sunghwan Kim, Junhee Cho, Seungone Kim, Seungjun Moon, Gyeom Hwangbo, Dongha Lim, Minjin Kim, Yeonjun Hwang, Minju Gwak, Dongwook Choi, Minseok Kang, Gwanhoon Im, ByeongUng Cho, Hyojun Kim, Jun Hee Han, Taeyoon Kwon, Minju Kim, Beong woo Kwak, and 2 others. 2025b. Web-shepherd: Advancing prms for reinforcing web agents. Preprint, arXiv:2505.15277. Xiang Deng, Yu Gu, Boyuan Zheng, Shijie Chen, Sam Stevens, Boshi Wang, Huan Sun, and Yu Su. 2023. Mind2web: Towards a generalist agent for the web. In Advances in Neural Information Processing Systems, volume 36, pages 28091–28114. Curran Associates, Inc. Tianqing Fang, Hongming Zhang, Zhisong Zhang, Kaixin Ma, Wenhao Yu, Haitao Mi, and Dong Yu. 2025. WebEvolver: Enhancing web agent selfimprovement with co-evolving world model. In Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing, pages 8959– 8975, Suzhou, China. Association for Computational Linguistics. Apurva Gandhi and Graham Neubig. 2026. Go-browse: Training web agents with structured exploration. Preprint, arXiv:2506.03533.

Aaron Grattafiori, Abhimanyu Dubey, Abhinav Jauhri, Abhinav Pandey, Abhishek Kadian, Ahmad AlDahle, Aiesha Letman, Akhil Mathur, Alan Schelten, Alex Vaughan, Amy Yang, Angela Fan, Anirudh Goyal, Anthony Hartshorn, Aobo Yang, Archi Mitra, Archie Sravankumar, Artem Korenev, Arthur Hinsvark, and 542 others. 2024. The llama 3 herd of models. Preprint, arXiv:2407.21783.

Vardaan Pahuja, Yadong Lu, Corby Rosset, Boyu Gou, Arindam Mitra, Spencer Whitehead, Yu Su, and Ahmed Hassan Awadallah. 2025. Explorer: Scaling exploration-driven web trajectory synthesis for multimodal web agents. In Findings of the Association for Computational Linguistics: ACL 2025, pages 6300–6323, Vienna, Austria. Association for Computational Linguistics.

Yu Gu, Kai Zhang, Yuting Ning, Boyuan Zheng, Boyu Gou, Tianci Xue, Cheng Chang, Sanjari Srivastava, Yanan Xie, Peng Qi, Huan Sun, and Yu Su. 2025. Is your llm secretly a world model of the internet? model-based planning for web agents. Preprint, arXiv:2411.06559.

Yichen Pan, Dehan Kong, Sida Zhou, Cheng Cui, Yifei Leng, Bing Jiang, Hangyu Liu, Yanyi Shang, Shuyan Zhou, Tongshuang Wu, and Zhengyang Wu. 2024. Webcanvas: Benchmarking web agents in online environments. Preprint, arXiv:2406.12373.

Tanmay Gupta, Piper Wolters, Zixian Ma, Peter Sushko, Rock Yuren Pang, Diego Llanes, Yue Yang, Taira Anderson, Boyuan Zheng, Zhongzheng Ren, Harsh Trivedi, Taylor Blanton, Caleb Ouellette, Winson Han, Ali Farhadi, and Ranjay Krishna. 2026. Molmoweb: Open visual web agent and open data for the open web. Preprint, arXiv:2604.08516. Hongliang He, Wenlin Yao, Kaixin Ma, Wenhao Yu, Yong Dai, Hongming Zhang, Zhenzhong Lan, and Dong Yu. 2024. Webvoyager: Building an endto-end web agent with large multimodal models. Preprint, arXiv:2401.13919. Jing Yu Koh, Robert Lo, Lawrence Jang, Vikram Duvvur, Ming Lim, Po-Yu Huang, Graham Neubig, Shuyan Zhou, Russ Salakhutdinov, and Daniel Fried. 2024. VisualWebArena: Evaluating multimodal agents on realistic visual web tasks. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 881–905, Bangkok, Thailand. Association for Computational Linguistics. Evan Zheran Liu, Kelvin Guu, Panupong Pasupat, Tianlin Shi, and Percy Liang. 2018. Reinforcement learning on web interfaces using workflow-guided exploration. Preprint, arXiv:1802.08802. Xiao Liu, Tianjie Zhang, Yu Gu, Iat Long Iong, Song XiXuan, Yifan Xu, Shudan Zhang, Hanyu Lai, Jiadai Sun, Xinyue Yang, Yu Yang, Zehan Qi, Shuntian Yao, Xueqiao Sun, Siyi Cheng, Qinkai Zheng, Hao Yu, Hanchen Zhang, Wenyi Hong, and 9 others. 2025. Visualagentbench: Towards large multimodal models as visual foundation agents. In International Conference on Learning Representations, volume 2025, pages 95650–95707. Xing Han Lù, Zdeněk Kasner, and Siva Reddy. 2024. Weblinx: Real-world website navigation with multiturn dialogue. Preprint, arXiv:2402.05930. OpenAI, :, Aaron Hurst, Adam Lerer, Adam P. Goucher, Adam Perelman, Aditya Ramesh, Aidan Clark, AJ Ostrow, Akila Welihinda, Alan Hayes, Alec Radford, Aleksander Madry, ˛ Alex Baker-Whitcomb, Alex Beutel, Alex Borzunov, Alex Carney, Alex Chow, Alex Kirillov, and 401 others. 2024. Gpt-4o system card. Preprint, arXiv:2410.21276.

Zehan Qi, Xiao Liu, Iat Long Iong, Hanyu Lai, Xueqiao Sun, Jiadai Sun, Xinyue Yang, Yu Yang, Shuntian Yao, Wei Xu, Jie Tang, and Yuxiao Dong. 2025. Webrl: Training llm web agents via self-evolving online curriculum reinforcement learning. In International Conference on Learning Representations, volume 2025, pages 79791–79821. Yujia Qin, Yining Ye, Junjie Fang, Haoming Wang, Shihao Liang, Shizuo Tian, Junda Zhang, Jiahao Li, Yunxin Li, Shijue Huang, Wanjun Zhong, Kuanye Li, Jiale Yang, Yu Miao, Woyu Lin, Longxiang Liu, Xu Jiang, Qianli Ma, Jingyu Li, and 16 others. 2025. Ui-tars: Pioneering automated gui interaction with native agents. Preprint, arXiv:2501.12326. Qwen, :, An Yang, Baosong Yang, Beichen Zhang, Binyuan Hui, Bo Zheng, Bowen Yu, Chengyuan Li, Dayiheng Liu, Fei Huang, Haoran Wei, Huan Lin, Jian Yang, Jianhong Tu, Jianwei Zhang, Jianxin Yang, Jiaxi Yang, Jingren Zhou, and 25 others. 2025. Qwen2.5 technical report. Preprint, arXiv:2412.15115. Zhihong Shao, Peiyi Wang, Qihao Zhu, Runxin Xu, Junxiao Song, Xiao Bi, Haowei Zhang, Mingchuan Zhang, Y. K. Li, Y. Wu, and Daya Guo. 2024. Deepseekmath: Pushing the limits of mathematical reasoning in open language models. Preprint, arXiv:2402.03300. Tianlin Shi, Andrej Karpathy, Linxi Fan, Jonathan Hernandez, and Percy Liang. 2017. World of bits: An open-domain platform for web-based agents. In Proceedings of the 34th International Conference on Machine Learning, volume 70 of Proceedings of Machine Learning Research, pages 3135–3144. PMLR. Jason Wei, Zhiqing Sun, Spencer Papay, Scott McKinney, Jeffrey Han, Isa Fulford, Hyung Won Chung, Alex Tachard Passos, William Fedus, and Amelia Glaese. 2025. Browsecomp: A simple yet challenging benchmark for browsing agents. Preprint, arXiv:2504.12516. Zikai Xiao, Jianhong Tu, Chuhang Zou, Yuxin Zuo, Zhi Li, Peng Wang, Bowen Yu, Fei Huang, Junyang Lin, and Zuozhu Liu. 2026. Webworld: A largescale world model for web agent training. Preprint, arXiv:2602.14721.

Tianci Xue, Weijian Qi, Tianneng Shi, Chan Hee Song, Boyu Gou, Dawn Song, Huan Sun, and Yu Su. 2025. An illusion of progress? assessing the current state of web agents. Preprint, arXiv:2504.01382. An Yang, Anfeng Li, Baosong Yang, Beichen Zhang, Binyuan Hui, Bo Zheng, Bowen Yu, Chang Gao, Chengen Huang, Chenxu Lv, Chujie Zheng, Dayiheng Liu, Fan Zhou, Fei Huang, Feng Hu, Hao Ge, Haoran Wei, Huan Lin, Jialong Tang, and 41 others. 2025. Qwen3 technical report. Preprint, arXiv:2505.09388. Shunyu Yao, Jeffrey Zhao, Dian Yu, Nan Du, Izhak Shafran, Karthik Narasimhan, and Yuan Cao. 2023. ReAct: Synergizing reasoning and acting in language models. In International Conference on Learning Representations (ICLR). Yao Zhang, Shijie Tang, Zeyu Li, Zhen Han, and Volker Tresp. 2026. Webarbiter: A principle-guided reasoning process reward model for web agents. Preprint, arXiv:2601.21872. Boyuan Zheng, Boyu Gou, Jihyung Kil, Huan Sun, and Yu Su. 2024. Gpt-4v(ision) is a generalist web agent, if grounded. Preprint, arXiv:2401.01614. Shuyan Zhou, Frank F. Xu, Hao Zhu, Xuhui Zhou, Robert Lo, Abishek Sridhar, Xianyi Cheng, Tianyue Ou, Yonatan Bisk, Daniel Fried, Uri Alon, and Graham Neubig. 2024. Webarena: A realistic web environment for building autonomous agents. Preprint, arXiv:2307.13854.

Discriminative World Models for Web Agents Supplementary Material Here, we provide additional qualitative examples of predicted next-state representations (Appendix A), an analysis of the length of the generated representations (Appendix B), training and implementation details for the world model and downstream reward models (Appendix C), and the full prompts used throughout our experiments (Appendix D).

A

Qualitative Examples of Predicted States

This section provides qualitative examples of our predicted states as compared to WebDreamer and WebWorld. A.1

Example 1

Context In this example, the current page is a GitLab To-Do List and the candidate action clicks the Files link for the A11Y Project repository. Ours "The page state will show the content of the 'Files' section of the A11Y Project repository, with the focus on the file listing or directory structure, as the ' Files' link was clicked. The URL will likely update to include a path to a specific file or directory, and the accessibility tree will reflect the new content, such as file names, folders, and navigation elements related to the selected file or directory."

amazonaws.com:8023/' \n\t\t\t[61] image '' \n\t\t[64] list '' \n\t\t\t[65] listitem '' \n\t\t\t\t[66] button '', hasPopup='menu', expanded=False \n\t\t[107] list '' \n\t\t\t[108] listitem '' \n\t\t\t\t[112] image '' \n\t\t\t\t[113] textbox 'Search GitLab' \n\t\t\t\tStaticText '/' \n\t\t[122] list '' \n\t\t\t[123] listitem ''"

A.2

Example 2

Context In this example the models are given an action of selecting which forum to make a post within the Reddit domain. Ours "The combobox 'Choose one...' is now expanded , displaying a list of available forums for selection." WebDreamer "The "Create submission" button will be clicked, and the form will be submitted. The webpage will likely navigate to a new page or display a confirmation message indicating that the submission has been successfully created." WebWorld (truncated)

WebDreamer "The webpage will display a filter option that allows you to filter the to-do list to only show merge request related items ." WebWorld (truncated) "\n\nRootWebArea 'To-Do List \u00b7 Dashboard \u00b7 GitLab', focused, url='http://ec2 -3-148-123-246.us-east-2.compute. amazonaws.com:8023/dashboard/todos' \n\t[53] banner '' \n\t\t[54] link 'Skip to content', url='http ://ec2-3-148-123-246.us-east-2.compute. amazonaws.com:8023/dashboard/todos# content-body'\n\t\tStaticText 'GitLab' \n\t\t[60] link 'Dashboard', url='http://ec2 -3-148-123-246.us-east-2.compute.

"RootWebArea 'Create submission', focused, url='http://ec2-3-148-123-246.us-east-2. compute.amazonaws.com:9999/submit' [22] navigation '' [23] link 'Jump to main content', url='http://ec2-3-148-123-246. us-east-2.compute.amazonaws.com:9999/ submit#main' [24] link 'Jump to sidebar', url='http://ec2-3-148-123-246.us-east-2. compute.amazonaws.com:9999/submit#sidebar ' [25] navigation '' [27] sectionheader '' [28] link 'Home', url ='http://ec2-3-148-123-246.us-east-2. compute.amazonaws.com:9999/' StaticText ' Postmill' [38] list '' [39] listitem ''

[40] link ' Forums', url='http://ec2-3-148-123-246.us -east-2.compute.amazonaws.com:9999/forums ' [41] listitem '' [42] link ' Wiki', url='http://ec2-3-148-123-246.useast-2.compute.amazonaws.com:9999/wiki' [52] searchbox 'Search query' [53] list '' [54] listitem '' [55] link ' Notifications (0)', url='http://ec2 -3-148-123-246.us-east-2.compute. amazonaws.com:9999/notifications' [58] image '' [59] listitem '' [60] link ' Submit', url='http://ec2-3-148-123-246.us -east-2.compute.amazonaws.com:9999/submi"

A.3

Example 3

Context In this example the world models are given a current page state in the ecommerce environment with the starting point of a home page and the action performed being clicking the catalog button. Ours "The page state will change to display the CATALOG section, with the focus on the CATALOG menu item. The content area will likely show product-related information or settings specific to the CATALOG section, such as product listings, categories, or inventory management options." WebDreamer "The product list will be displayed with more columns, providing a more detailed view of the products." WebWorld (truncated) "RootWebArea 'Catalog / Magento Admin', focused, url='http://ec2-3-148-123-246.us -east-2.compute.amazonaws.com:7780/admin/ admin/catalog/' [148] link 'Magento Admin Panel', url ='http://ec2-3-148-123-246.us-east-2. compute.amazonaws.com:7780/admin/admin/' [149] image 'Magento Admin Panel', url='http://ec2-3-148-123-246.useast-2.compute.amazonaws.com:7780/static/ version1742719628/adminhtml/Magento/ backend/en_US/images/magento-icon.svg' [150] navigation '' [151] menubar '', orientation ='horizontal'

[153] link '\ue604 DASHBOARD', url='http://ec2 -3-148-123-246.us-east-2.compute. amazonaws.com:7780/admin/admin/dashboard /' StaticText '\ ue604' StaticText ' DASHBOARD' [156] link '\ue60b SALES', url='http://ec2-3-148-123-246.useast-2.compute.amazonaws.com:7780/admin/ admin/dashboard/#' StaticText '\ ue60b' StaticText ' SALES' [189] link '\ue608 CATALOG', url='http://ec2-3-148-123-246. us-east-2.compute.amazonaws.com:7780/ admin/admin/catalog/' StaticText '\ ue608' StaticText ' CATALOG' [207] link '\ue603 CUSTOMERS', url='http://ec2 -3-148-123-246.us-east-2.compute. amazonaws.com:7780/admin/admin/dashboard /#' StaticText '\ ue603' StaticText ' CUSTOMERS' [226] link '\ue609 MARKETING', url='http://ec2 -3-148-123-246.us-east-2.compute. amazonaws.com:7780/admin/admin/dashboard /#' StaticText '\ ue609' StaticText ' MARKETING' [293] link '\ue602 CONTENT', url='http://ec2-3-148-123-246. us-east-2.compute.amazonaws.com:7780/ admin/admin/dashboard/#'"

B

Output Length Analysis

Our model produces substantially shorter predictedstate representations than WebWorld-8B while achieving stronger performance on both predictedstate matching and downstream action ranking. Our predictions average 91.6 tokens per state, compared with 412.7 tokens for WebWorld-8B, excluding its additional reasoning tokens. As shown in Table 1, our model achieves 80.80% predictedstate matching accuracy compared with 70.17% for WebWorld-8B. When used to augment the controlled Qwen2.5-7B reward model on WebPRMBench, our predicted states achieve 72.70% average Best-of-N accuracy compared with 67.63% for WebWorld-8B (Table 3). Our model therefore produces substantially shorter representations than WebWorld-8B, which predicts full AXTrees, while achieving stronger performance on both benchmarks. This suggests that the gains arise from more effective state representations rather than greater output length.

C

Format Reward Ablation

We provide ablations on the value of λfmt which is used to scale the format reward given in our RL training. All experiments were run with identical training steps and all other training details are identical to those described in Appendix C.1. The results are shown in Table 5. We find that the predicted-state matching accuracy is relatively robust to the choice of λfmt . Table 5: Effect of the format-reward weight λfmt on predicted-state matching accuracy. Value of λfmt

Training and Data Efficiency

Our world model is trained for 4,830 optimization steps with an effective batch size of 32, requiring 48.75 hours on eight A100 GPUs—six for optimization and two for gen- eration during GRPO training—for a total of 390 GPU-hours. In comparison, WebWorld-8B reports 1,568 A100 GPUhours, while WebDreamer-7B uses 64 H100 GPUs but does not report total GPU- hours. Our model

Predicted-state matching accuracy

0.2 0.4 0.6 1.0

Implementation Details

We optimize the world model using Group Relative Policy Optimization (GRPO) (Shao et al., 2024), implemented with TRL. For each input, we sample 8 completions and compute group-relative advantages from their total sequence-level rewards. The resulting completion-level advantage is applied across its generated tokens through the standard GRPO policy objective. We use KL regularization with coefficient 0.04. During GRPO training, completions are sampled with a temperature of 1.0, while at inference time the world model uses greedy decoding; both use a maximum generation length of 2,048 tokens. C.2

C.3

Training Details

This section provides additional implementation and training details for the predicted-statematching world model described in Section 3.2. C.1

is also trained on only 30,920 pairwise examples constructed from 7,730 branch- ing decision points, compared with over 3.1M synthesized web interactions for WebDreamer-7B and 1.06M trajectories for WebWorld-8B. Despite this difference in scale, predicted-state matching achieves stronger heldout matching accuracy, sug- gesting that aligning the training objective with action-outcome discrimination can be more impor- tant than simply scaling supervised next-state pre- diction.

79.0% 80.8% 78.9% 79.2%

D

Prompts

D.1

World Model Prompt

Prompt "You are a web browser world model. " "Given the current page state (as an accessibility tree), prior action history " "(when provided), and an action that was performed, predict what the next page " "state would look like. Use the history to understand the broader context of " "the task, but focus on the effect of the most recent action. " "Do not hedge - commit to a specific prediction.\n\n" "Respond in this exact format:\n" "<predicted_state>Your prediction of the next page state</predicted_state>"

D.2

Matching Judge Prompt

Prompt "You are evaluating web browser state predictions. " "You will be shown a predicted next page state and two candidate actual next " "states (as accessibility trees). Determine which candidate better matches " "the predicted state.\n\n" "Respond in this exact format:\n" "<answer>A or B</answer>"

Related documents

Record · ID 632822 · SHA-256 8984769b01169835
Retrieved via Conceptio: every document is proof-bundled with source, license, and retrieval metadata.
Bring this data into your agent: Connect via MCP or API · 20 free credits to start · no card required
Read the Docs → · View CLI source on GitHub · Conceptio Open Knowledge Archive