Grounded Policy Learning for Computer Use Agents

Hyunseo Yang, Byungwoo Jeon, Jinheon Baek, Jinwoo ShinarXiv 2026

TL;DR

Computer Use Agents (CUAs) are great at following instructions, but they have a bad habit: they often click buttons that should be there rather than checking what’s actually on the screen. Grounded Policy Learning (GPL) fixes this by training agents on realistic "spot-the-difference" counterfactuals built from existing trajectories—no live environment interaction required. With just 1,000 demonstrations, GPL boosts task success on OSWorld-Verified by up to 10.4% and makes agents measurably more attentive to the screen.

What Problem Does This Paper Address?

Imagine asking an AI assistant to search for drip coffee makers and filter for items on sale. It types the query, hits search, and—bam—an unexpected CAPTCHA pops up. Instead of solving the CAPTCHA, the agent confidently clicks on the top-left corner where the "Filter" button usually is.

Motivation and overview of GPL and CUASense

This is ungrounded action, and it’s a widespread issue in Multimodal Large Language Model (MLLM) agents. The authors trace it back to how these agents are trained: imitation learning on human demonstrations. In human demos, almost every click works as intended. Over time, the agent learns a clever shortcut (a form of causal confusion): it can predict the next action purely from the user's instruction and its own action history, without bothering to actually read the current screenshot.

Existing fixes either add expensive verification steps at inference time or require running live reinforcement learning (RL) in virtual machines to learn from failures. Both leave the root cause—the agent ignoring the screen—unaddressed.

Methods

To force agents to pay attention to the screen, the authors introduce Grounded Policy Learning (GPL), an offline RL post-training framework. Instead of rewarding an agent just for completing a task, GPL rewards it for taking actions that agree with the current screen.

Figure 2. Overview of GPL. (a) Each step of a demonstration is annotated with a screen description, a list of statements about the current screen. (b) A text counterfactual differs from the screen description in one statement, which is taken from an adjacent step. (c) An image counterfactual replaces one element of the screen with another state of the same element. (d) The policy is trained to prefer the annotated response over both counterfactuals, with an anchor to the reference policy.

First, the policy is prompted to write a screen description (a list of factual statements about visible UI elements) right before choosing an action. Then, GPL constructs counterfactual state pairs from existing demonstrations:

  • Text Counterfactuals: Keep the screenshot the same, but swap one sentence in the screen description with a sentence from an adjacent step (e.g., claiming a menu is still open when it has closed). The agent is trained via Direct Preference Optimization (DPO) to prefer the accurate description.
  • Image Counterfactuals: Keep the description and action the same, but seamlessly paste a different real UI element (from an element bank built with OmniParser, OCR, and SigLIP) into the screenshot—or remove a dialog entirely. Using a conditional preference objective (mDPO), the agent is penalized if it assigns the same likelihood to the action when the screen no longer supports it.

An anchor term is added to the loss to prevent the model from accidentally lowering the probability of the true, grounded steps during optimization.

Datasets

  • GPL-Data (Training): Built from just 1,000 trajectories of AgentNet, annotated with screen descriptions by Claude Sonnet 5.5.
  • OSWorld-Verified (Evaluation): A standard benchmark of 361 real-world desktop tasks in Ubuntu virtual machines, evaluated with screenshot-only observations and a 50-step budget.
  • CUASense (New Benchmark): Because task success doesn't always prove an agent is reading the screen, the authors introduce CUASense. It takes 200 steps from AgentNetBench and edits only the latest screenshot—either undoing the previous action (106 screen-level edits) or swapping a single UI element (94 element-level edits). It measures the Screen Sensitivity Index (SSI), which tracks how often an agent changes its action when the screen changes, while discounting random sampling noise.

Key Insights and Ideas

  • Screen sensitivity predicts task success: Across both proprietary and open-weight models, higher SSI on CUASense strongly correlates with higher success rates on OSWorld-Verified (Spearman $\rho = 0.63$, Pearson $r = 0.72$).
  • Agents act blind surprisingly often: Without the current screenshot, baseline CUAs still output 37–52% of the exact same actions on AgentNetBench, proving how heavily they rely on history shortcuts.
  • No humans or external annotators needed: While GPL-Data uses AgentNet and Claude Sonnet 5.5, the authors show that replacing human demos with the agent's own successful rollouts (on CUA-Gym) and its own reasoning yields nearly identical gains.
  • Counterfactuals beat SFT: Simply fine-tuning (SFT) on the same 1,000 annotated trajectories actually hurts UI-Venus-2-9B (dropping it from 63.6% to 61.2%), whereas GPL boosts it to 68.3%. The counterfactual contrast—not just extra data—is what drives the improvement.

Key Results

Applied to both a general-purpose MLLM (Qwen3.5-9B) and a specialized computer-use model (UI-Venus-2-9B), GPL delivers consistent gains:

  • OSWorld-Verified Success Rate:
  • Qwen3.5-9B: Jumps from 37.6% to 48.0% (+10.4%), improving across all five task categories.
  • UI-Venus-2-9B: Rises from 63.6% to 68.3% (+4.7%), improving in four of five categories (with a slight -4.2% dip in the OS category).
  • CUASense Screen Sensitivity Index (SSI ×100):
  • Qwen3.5-9B: Increases from 54.7 to 63.0 (+8.3).
  • UI-Venus-2-9B: Increases from 72.1 to 75.5 (+3.4).
  • Qualitative Behavior: In failure-recovery scenarios (like clicking a broken Bluetooth toggle or accidentally increasing photo brightness), base models hallucinate success and terminate, whereas GPL-trained models notice the unchanged or wrong screen state and retry or correct the error.

Limitations and Future Work

The paper does not include a formal limitations section, though a few practical boundaries are clear: GPL relies on offline trajectories and synthetic element-swapping rather than live environment exploration, and its gains are not uniform across every sub-category (as seen in UI-Venus-2-9B's OS category dip). Looking ahead, the authors hope to establish action grounding as a standard training objective for computer use agents alongside task success.

Summary updated

BibTeX
@misc{yang2026grounded,
  author = {Hyunseo Yang and Byungwoo Jeon and Jinheon Baek and Jinwoo Shin},
  title = {{Grounded Policy Learning for Computer Use Agents}},
  year = {2026},
  eprint = {2612.04357},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2612.04357},
}
Figure