Skip to content

Two 7B Models Beat a 32B Web Agent: Should You Buy the Split?

THE ARGUMENT

Jointly updating a separately parameterized planner and actor from shared terminal rewards beats scaling a monolithic policy on long-horizon web tasks, provided you have GUI trajectories annotated with subtasks.

On this page

A buyer comparing web-agent vendors sees 32B parameters on one spec sheet and two 7B models on the other, but the smaller pair reaches 37.2% average success on WebArena-Lite-v2 against 24.0% for the monolith [1]. The usual advice is to pay for parameters: more capacity should mean better grounding, better state tracking, better planning. This paper argues that how you split the work matters more than how big the model is. It separates planning from execution into two independently parameterized models, teaches both from the same trajectory data, and then updates both from the same terminal reward signal inside a live web environment. For anyone writing a procurement spec, the real question is narrower: does the split still pay off when the only feedback is a 0-or-1 success flag and no step-level scoring?

The default bet: one model handles everything

Most teams shopping for a web agent assume bigger is better. That instinct has evidence behind it: ScaleCUA and UI-TARS showed that large-scale GUI data plus more parameters does improve clicking and form filling. The architecture behind that result is what the paper calls a monolithic policy, meaning one model maps a screenshot straight to the next action, absorbing planning, state tracking, grounding and execution into a single set of weights [1].

Long-horizon tasks are where this strains. Cancelling an order means walking through several pages, spotting the right element, remembering what has already been done, and avoiding repeated clicks. Four jobs compete for the same capacity. Modular systems tried to split them: Agent S uses a manager to generate subtasks for a worker, and Agent S2 replans as new observations arrive. Yet in those systems the planner's parameters never update from what execution actually produced, so a bad plan teaches the planner nothing.

Three stages: annotate plans, fine-tune both, then train jointly

The framework runs in three steps [1].

  • Data generation: existing GUI trajectory datasets carry instructions, screenshots and action traces, but rarely say which subtask a step serves. The authors feed ScaleCUA trajectories, screenshots and action sequences into GPT-5.2-Codex as a teacher, which returns an ordered subtask list and flags redundant actions. This yields roughly 76K decomposer training examples.
  • Supervised fine-tuning: both models start from Qwen2.5-VL-7B. The decomposer learns to map an instruction plus the starting screenshot to a subtask sequence; the actor learns to predict the next action conditioned on those subtasks. Supervised fine-tuning here simply means teaching the model with annotated input-output pairs under a next-token objective.
  • Joint reinforcement learning: both models run inside WebArena and are rewarded only by whether the task ultimately succeeds, a 0-or-1 terminal signal, with no dense process reward.

A word on terms: the decomposer is the model that turns a task into a checklist, and the actor is the model that clicks, types and scrolls through that checklist. Their parameters are separate rather than two heads on one network, which is exactly what keeps the design from collapsing back into a monolith.

Hierarchical rollouts: K plans times M executions, and who gets credit

The hard part of joint training is that both models need a learning signal while the environment hands back only one terminal reward. The authors organise rollouts into two levels: for each task the decomposer samples K candidate decompositions, and for each decomposition the actor runs M complete trajectories, each receiving a binary reward [1].

The actor advantage, meaning how much better one execution did than its group average, is normalised across the M trajectories that share a decomposition. The decomposer advantage first averages rewards over those M executions, then compares the K decompositions against each other. GRPO, group relative policy optimization, is the underlying idea: compare samples within a group instead of leaning on absolute reward values.

Both policies are updated from the same rollout batch rather than alternating or freezing one while training the other. That detail separates this work from Plan-and-Act, Planner Matters!, HiRoC and SWIRL, which either train modules separately, freeze one side, or alternate phases.

The numbers: 37.2% versus 24.0% under one protocol

SystemSizeAvg. success on WebArena-Lite-v2
JHiMA-WebRL-14B (7B actor + 7B decomposer, joint RL)14B37.2%
ScaleCUA-32B (RL fine-tuned by the authors on the same tasks, same protocol)32B24.0%

The comparison deserves a caveat. The 24.0% figure is not lifted from the ScaleCUA paper; the authors fine-tuned ScaleCUA-32B with RL on the same training tasks and evaluated it under the same protocol [1]. That makes the pair internally comparable, but it also means you cannot line the 24.0% up against published leaderboard numbers for ScaleCUA.

What the ablation says, and what the excerpt leaves out

The ablation result is a single claim: jointly updating the decomposer during RL outperforms updating the actor alone [1]. That sentence carries weight, because it locates the gain in feedback rather than in extra capacity. Add a planner but leave it frozen and the hierarchy degrades into inference-time prompting with a second model attached.

The table of contents lists a subgoal quality analysis, but the provided excerpt stops before its numbers, so none are reported here. Latency, memory footprint, and interaction steps per task are likewise absent from the excerpt and should not be assumed.

Where the method fails and does not apply

  • Evaluation is confined to WebArena-Lite-v2, a filtered subset of WebArena built for purely visual agents; it does not cover OS-level desktop control, which OSWorld, Windows Agent Arena and MacArena target.
  • The pipeline fails when you lack GUI trajectories with full action sequences and screenshots, as ScaleCUA provides, or when you have no strong teacher model to annotate subtasks. Without either, stage one never starts.
  • Inference runs two 7B models, so it costs two forward passes; the paper reports success rates and gives no latency or cost figures, so the split is not a drop-in equivalent for budgeting.
  • The reward is terminal and binary. Credit for which step went wrong inside a long episode remains coarse, and group statistics depend on the chosen K and M.

The recipe therefore applies when four things hold at once: you own trajectory data, you can afford a strong teacher annotator, your tasks are visual web interaction, and you can absorb a second model's inference cost. It does not apply when tasks are single-step decisions or plain API calls, where the planning layer adds a forward pass without buying much. It also goes out of scope once your target environment moves beyond browser GUIs, because nothing here was tested there.

References

  1. JHiMA-WebRL: A Joint Hierarchical Multi-Agent Reinforcement Learning Framework for Long-Horizon Web Tasks

Sign in to Padda

A code in your inbox. No password to remember.

Connecting to sign-in…