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 pairs each annotated step with a counterfactual that differs in one interface element. The task and the history are the same, so only the screen tells the two apart.

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.

    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.

    Screen sensitivity index

    How often two sampled actions coincide across the two screens (), against how often they coincide within each screen (, ).

    Inner ring, level of the edit. Outer ring, share of the pixels it changes (%).

    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. An agent whose actions do not depend on the screen scores zero, however much its actions vary.

    Results

    GPL consistently improves a general-purpose model and a model specialized for computer use, in both task success and screen sensitivity. Each is trained on counterfactual state pairs from only 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.

    CUASense

    SSI (×100, higher is better).

    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:2612.04357},
      year={2026}
    }