Computer use agents (CUAs) driven by multi-modal large language models perceive screenshots and operate real desktop applications over long horizons. Despite this capability, these agents frequently take actions that are plausible for the task at hand but not grounded in the current screen. The root cause traced by the authors is imitation learning on human demonstrations: in such demonstrations, nearly every action produces its intended effect, allowing the agent to predict the next action from the instruction and its previous actions without ever reading the current screen. To address this misalignment, the authors introduce Grounded Policy Learning (GPL), a reinforcement learning framework that rewards a CUA for actions that match the present screen rather than for actions that are merely plausible for the given task.

To prevent the agent from earning this reward without reading the screen, GPL first constructs counterfactual state pairs and then trains the agent using the pairs. Each pair preserves the instruction and previous actions unchanged and contrasts a screenshot and the screen description that the agent writes before acting with a realistic variant. This variant replaces either one sentence of the description with a sentence describing the previous or next screen, or one interface element in the screenshot with a similar element from another screenshot. The authors also introduce a new benchmark called CUASense, whose screen sensitivity index measures how much the actions of a CUA change when only the current screenshot is edited. With only 1K AgentNet demonstrations, GPL improves the OSWorld-Verified success rate from 37.6% to 48.0% on Qwen3.5-9B and from 63.6% to 68.3% on UI-Venus-2-9B, while increasing screen sensitivity index from 54.7 to 63.0 on Qwen3.5-9B.

Why CUAs Act Without Looking at the Screen

Computer use agents operate by perceiving screen captures and generating sequence of actions such as clicks, keystrokes, or menu selections. When trained via imitation learning on human trajectory data, the model quickly observes that in almost every demonstrated step, the taken action achieves the intended result. This reliability creates a shortcut: the model learns to associate the task instruction and the history of past actions with the likely next action, regardless of what the current screenshot depicts. Because the demonstration distribution contains very few "wrong" or counterfactual steps, the model never develops the habit of conditioning its decision on the visual content of the present screen. The result is a CUA that can appear competent—successfully completing benchmark tasks—while actually operating on a prediction of what should happen next rather than what the screen currently shows.

This behavior becomes especially problematic when the task requires careful attention to dynamically changing elements, such as filling in forms where field values shift, navigating menus that reorganize after prior clicks, or correcting prior mistakes. In these settings, an agent that does not ground its actions in the current screen is prone to repeating the same class of errors, even when the overall success rate on static benchmarks looks acceptable.

Grounded Policy Learning: Rewarding Screen Matches Not Task Plausibility

The core idea behind Grounded Policy Learning is to shift the learning signal from "is this action plausible given the task?" to "does this action match what the agent sees right now?" GPL operates as a reinforcement learning addition to whatever base policy the CUA already uses. The reward function is redesigned so that an action receives high reward only when it is consistent with the agent's own screen description, not merely when it advances the task according to the original instruction.

The training procedure unfolds in two phases. In the first phase, the agent interacts with environments and, before each action, generates a natural-language description of the current screen. This description is produced by the same model that will later select the action, ensuring consistency. In the second phase, counterfactual state pairs are constructed. For each real transition—instruction, preceding actions, screenshot, agent-generated description—the system creates a realistic variant that preserves the instruction and action history but alters either the description or the visual screen in a targeted way. The agent is then trained to distinguish the true screen-description pair from its counterpart, and to select actions that are appropriate only for the actual screen presented.

Because the counterfactual variants are designed to be realistic, the agent cannot simply fall back on task-level heuristics to earn the reward. If it tries to act on the basis of the instruction alone, it will encounter a screen that does not match its expectation and will receive a lower grounded reward. This forces the model to incorporate the visual evidence from the screen into its decision process.

Counterfactual Pair Construction

The variant generation within each counterfactual pair follows two distinct patterns, ensuring that the agent is tested on both textual and visual forms of grounding.

In the first pattern, one sentence of the agent's own screen description is replaced with a sentence that describes the previous or next screen in the demonstration sequence. The instruction and the preceding action history remain identical. This tests whether the agent is truly attending to the described elements on the current screen or whether it is simply predicting the next action based on the task flow.

In the second pattern, a single interface element in the screenshot—such as a button, text field, or icon—is replaced with a visually similar element from a different screenshot. Again, the instruction and action history are unchanged. The agent must rely on the actual pixel-level appearance of the element rather than on its knowledge of what the task typically requires at that step.

Both patterns produce variants that look and feel like legitimate screen states, so the agent cannot detect the manipulation through low-level heuristics. The training signal thus comes from the model's own need to reconcile its description and visual perception with the action it selects.

The CUASense Benchmark and Its Screen Sensitivity Index

To evaluate whether a grounded CUA actually depends on the current screen, the authors propose the CUASense benchmark. This benchmark introduces a screen sensitivity index that quantifies how much an agent's action distribution changes when only the current screenshot is edited, leaving the instruction and action history untouched. A higher index indicates that the agent's behavior is more responsive to changes in the visual input, which is precisely the grounded behavior the authors aim to encourage.

The editing operations in CUASense mirror the counterfactual pair construction: replacing a description sentence with one about a neighboring screen, or substituting a interface element with a similar one from another screenshot. By measuring the shift in action probabilities across these edits, the benchmark provides a diagnostic of how grounded the agent truly is. A low sensitivity index would suggest that the agent acts largely on task priors, while a high index indicates that the agent's choices are swayed by the specific screen it perceives.

The CUASense benchmark fills a gap in existing CUA evaluation: prior benchmarks focus on task success but do not measure whether the agent is looking at the screen. CUASense adds this dimension, offering researchers a way to separate genuine screen grounding from superficial task competence.

OSWorld-Verified and UI-Venus Improvements with 1K Demonstrations

The authors evaluate GPL on two major computer use benchmarks—OSWorld-Verified and UI-Venus—using two model families: Qwen3.5-9B and UI-Venus-2-9B. Critically, all experiments use only 1K demonstrations from the AgentNet dataset for the RL fine-tuning phase, demonstrating that the improvements come from the grounding framework rather than from large-scale pre-training.

On OSWorld-Verified, GPL raises the success rate from 37.6% to 48.0% for Qwen3.5-9B and from 63.6% to 68.3% for UI-Venus-2-9B. These gains are substantial relative to the small amount of demonstration data used. On UI-Venus-2-9B, the baseline already performs well, but GPL still delivers a near-5-percentage-point improvement, suggesting that even strong agents benefit from being explicitly forced to read the screen.

Perhaps most notably, the screen sensitivity index rises from 54.7 to 63.0 on Qwen3.5-9B. This increase shows that the agents not only achieve more task successes but also become more attuned to the visual details of each screen. The correlation between higher success rates and higher sensitivity indices provides evidence that the grounding signal and the task-success signal are aligned when the agent learns to act on screen content.

Constraints and Trade-offs Acknowledged by the Authors

The paper notes that GPL relies on the agent's ability to produce a reliable screen description before acting. If the model's description quality is low, the counterfactual pairs may not provide a meaningful signal, and the grounding effect could be diminished. The authors also mention that the counterfactual variant generation, while realistic, still operates within the distribution of available screenshots; extremely rare interface elements or unusual screen layouts may not be well covered by the editing operations.

Additionally, the 1K demonstration limit means that the RL fine-tuning starts from a relatively small behavioral base. In settings where the initial imitation policy is very far from grounded behavior, more extensive pre-training or a larger demonstration set might be required before GPL's reward shaping takes full effect. The authors do not claim that GPL is a complete solution for all CUA grounding issues, but rather that it is a simple and effective addition that measurably shifts the learning signal toward screen attention.

What This Means for Working Developers

For developers building or fine-tuning computer use agents, GPL offers a practical pathway to improve screen grounding without requiring a complete redesign of the agent architecture. The core additions are a pre-action description head and a counterfactual pair generation routine during RL training. These can be integrated on top of existing imitation-learning pipelines, and the authors show that even 1K demonstrations suffice to see measurable gains.

The CUASense benchmark provides an immediate way to diagnose whether a given agent is truly screen-grounded. By reporting the screen sensitivity index alongside traditional success rates, researchers can detect the "plausible but ungrounded" failure mode and track improvements over time. The two variant patterns—description sentence swapping and element replacement—are simple to implement and do not require external annotations beyond what the agent already produces.

In practice, a development team could add a description-generation module, construct counterfactual pairs as described, and incorporate the grounded reward into their RL loop. The expected outcome, based on the paper's results, is a noticeable reduction in actions that are plausible for the task but not grounded in the current screen, leading to more reliable performance on tasks that require dynamic visual attention.

Read the paper on arXiv