Grounded Policy Learningfor Computer Use Agents

Hyunseo Yang1,2,* Byungwoo Jeon1,* Jinheon Baek1,† Jinwoo Shin1,†

1KAIST2Seoul National University

*Equal contribution†Equal advising

Computer use agents often take actions that are plausible for the task but not grounded in the screen in front of them. GPL rewards a step for matching the current screen, using counterfactual state pairs built from demonstrations that already exist. CUASense measures how much the actions of an agent depend on the current screen.

CUASense Bench

Only the latest screenshot is swapped. Does the action change?

Previous screenshots, shared by both inputs
A spreadsheet with a Data Series dialog on its Borders tab
Original input
The same screen with the dialog on its Area tab
Swapped input

Correlation with OSWorld

Spearman ρ = 0.63, Pearson r = 0.72

Grounded Policy Learning

Motivation

TaskSearch for drip coffee makers and filter to items on sale.

A Google page asking to confirm I am not a robotunexpected CAPTCHA screen
Plan
  1. Click on the search bar to activate it.
  2. Type "drip coffee makers".
  3. Execute the search.
  4. Apply filters for items on sale.
Action

Click on the "Filter" buttonnon-existent target ✗ located in the top-left area.

Methods

Text counterfactual

A Settings window on the Users page with an avatar picker open
  • A Settings window is open on the "Users" page.
  • A crop dialog shows the cartoon picture in a frame.
  • The Settings window shows user name "aoxi".

Image counterfactual

The same Settings window with a crop dialog in place of the avatar picker
  • A Settings window is open on the "Users" page.
  • An avatar picker popover shows sample pictures.
  • The Settings window shows user name "aoxi".

Benchmark Results

OSWorld-Verified

Qwen3.5-9B 37.6 48.0

UI-Venus-2-9B 63.6 68.3

CUASense

Grounded Policy Learning

GPL places each annotated step beside a counterfactual in which one interface element is in a state that the screen does not show. The instruction and the previous actions stay the same, so the screen is the only cue that tells the two apart, and the policy is trained to prefer the annotated step.

Annotation

Counterfactual state pairs

Objective

Trajectory

  • Instruction
  • Actions
  • Screenshots

Screen descriptions

  1. Wi-Fi is on
  2. Action

Each step gets a list of statements about its screen.

Image counterfactual

Element bank
other frames
Current screen
Counterfactual

One element is replaced with real pixels of the same element in another state. The response stays the same.

Text counterfactual

Previous step
  1. Wi-Fi is off
  2. Action
Current step
  1. Wi-Fi is on
  2. Action
Counterfactual
  1. Wi-Fi is off
  2. Action

One statement is replaced with the statement of an adjacent step. The screen stays the same.

Image term >
+
Text term >
+
Anchor ≥

Image counterfactuals

Text counterfactuals

    Counterfactuals from the training data. Each screenshot is wiped between the real screen and its edit, and each statement switches between the one that holds on the screen and the one that does not. The 1,000 AgentNet trajectories used here hold 14,678 steps and yield 2,074 image and 2,074 text counterfactuals.

    CUASense

    A benchmark for screen sensitivity. It changes only the latest screenshot of an input, in a way that changes what the next action should be, and tests whether the action of the agent changes with it. The 200 swapped inputs come from all 100 trajectories of AgentNetBench, edited with real pixels and reviewed by hand.

    Screen sensitivity index

    How often two sampled actions coincide across the two screens (), against how often they coincide within each screen (, ). An agent whose actions do not depend on the screen scores zero, however much its actions vary.

    Why the index discounts randomness

    Actions sampled on the swapped screen On the original screen

    0.00SSI

    agreement across screens 1.00
    within a screen 1.00

    Three simulated policies with eight sampled actions per screen, where each letter is a distinct action. A cell is filled when the action of its row coincides with the action of its column. The index is estimated from 200 inputs like the one shown, as many as CUASense holds. A policy that samples diverse actions but ignores the screen changes its action often and still scores close to zero.

    Results

    GPL is applied to Qwen3.5-9B, a general-purpose model, and UI-Venus-2-9B, a model specialized for computer use. Each is trained with LoRA for one epoch on counterfactual state pairs from 1K AgentNet trajectories.

    OSWorld-Verified

    Qwen3.5-9B 37.6 to 48.0

    UI-Venus-2-9B 63.6 to 68.3

    Success rate (%) over 361 tasks and by task category, with screenshot-only observations, greedy decoding and a budget of 50 steps.

    CUASense

    SSI (×100, higher is better) with eight sampled responses per input. For a model with GPL, the dark part of the bar is the gain over its base model.

    Sensitivity and task success

    Agents whose actions are more sensitive to the current screen tend to succeed on more tasks (Pearson r = 0.72, Spearman ρ = 0.63).

    Examples

    Three steps from OSWorld-Verified where the previous action did not go as intended. Both agents are Qwen3.5-9B, before and after training with GPL.

    Task

    at−1
    ot
    Base
    With GPL

    Screenshots are from AgentNet of OpenCUA and from OSWorld.

    Citation

    @article{yang2026gpl,
      title={Grounded Policy Learning for Computer Use Agents},
      author={Yang, Hyunseo and Jeon, Byungwoo and Baek, Jinheon and Shin, Jinwoo},
      journal={arXiv preprint arXiv:XXXX.XXXXX},
      year={2026}
    }