--- license: mit pretty_name: CUASense task_categories: - image-text-to-text language: - en tags: - gui-agent - computer-use - benchmark size_categories: - n<1K configs: - config_name: default data_files: - split: test path: inputs.jsonl --- # CUASense CUASense measures the screen sensitivity of computer-use agents, that is, whether the action of an agent changes when only the current screenshot changes. It is introduced in [*Grounded Policy Learning for Computer Use Agents*](https://arxiv.org/abs/2612.04357). The code to run and score the benchmark is at https://github.com/yanghyeonseo/GPL. Each input is a step of a human trajectory from AgentNetBench. The agent receives the task instruction, the ground-truth history, and the recent screenshots, and predicts the next action twice, once with the original current screenshot and once with a swapped one. Every swapped screenshot is built from real pixels of the same trajectory and was manually reviewed so that the next action should change under it. | Item | Count | |---|---| | Swapped inputs | 200 (106 screen level, 94 element level) | | Steps | 191 | | Trajectories | 100 (all trajectories of AgentNetBench) | ## Edit levels | `level` | Count | Swapped screenshot | |---|---|---| | `screen` | 106 | the previous screenshot, as if the previous action had no effect, with regions unrelated to the action, such as the pointer and the clock, kept from the current screenshot | | `element` | 94 | one element replaced with another state of the same element from another frame, or with its absence | Number of inputs per bin of edited area (pixels whose largest channel difference from the original exceeds 24). | `level` | <0.1% | 0.1-0.5% | 0.5-2% | 2-10% | 10-30% | >=30% | |---|---|---|---|---|---|---| | `screen` | 12 | 25 | 26 | 17 | 14 | 12 | | `element` | 11 | 18 | 20 | 18 | 13 | 14 | ## Files ``` inputs.jsonl 200 rows, one per swapped input images/original/*.png 1,208 frames of the 100 trajectories (unmodified AgentNetBench screenshots) images/swapped/*.png 200 swapped screenshots trajectories/.json the 100 AgentNetBench trajectories, unmodified ``` `inputs.jsonl` | Field | Meaning | |---|---| | `id` | `::` | | `trajectory`, `step` | the step to predict, with `step` the 0-based index into `steps` of `trajectories/.json` | | `width`, `height` | screenshot size in pixels | | `instruction` | task instruction | | `level` | `screen` or `element`, see the table above | | `image_original`, `image_swapped` | current screenshot and its swapped version | | `edit_region` | `[x0, y0, x1, y1]` region targeted by the edit, in pixels | | `edited_pixel_frac`, `edited_pixel_bbox`, `edited_area_bin` | measured difference between the swapped and the original screenshot | | `history` | earlier steps, each with `image`, `action` (pyautogui code, coordinates in [0, 1]), `low_level_instruction`, `thought` and `observation` | | `gt_action`, `gt_low_level_instruction` | the human action at this step under the original screen | | `gt_actions` | AgentNetBench ground truth for the original screen, whose target box the matching rule uses | There is no ground-truth action for the swapped screen, since the benchmark measures whether the action distribution changes, not whether a specific action is produced. ## Protocol 1. For each row, build two contexts in the input format of the agent. Each holds the instruction, the history with as many past screenshots as the agent keeps, and the current screenshot, either `image_original` or `image_swapped`. 2. Sample `n = 8` actions under each context with temperature 1.0 and top-p 0.9. 3. Two actions coincide when they have the same type and their arguments match under the AgentNetBench rule. Two points match when both lie in the ground-truth target box or are within `0.01 * sqrt(2)` in normalized coordinates, two texts match when their normalized edit similarity is at least 0.8, and other arguments must be equal. 4. For each input, `K_oo` and `K_ss` are the fractions of coinciding pairs within the original and within the swapped screen, and `K_os` is the fraction across them. The Screen Sensitivity Index pools them over inputs. `SSI = 1 - 2 * sum_i K_os(i) / sum_i (K_oo(i) + K_ss(i))` SSI is 0 when the two screens give the same action distribution, however random the agent is, and 1 when they never give the same action. ## Usage ```bash hf download yanghs1018/CUASense --repo-type dataset --local-dir data/CUASense ``` ## License The trajectories and original screenshots come from AgentNetBench, released with OpenCUA under the MIT License (https://github.com/xlang-ai/OpenCUA). The swapped screenshots are derived from them. ## Citation ```bibtex @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} } @inproceedings{wang2025opencua, title={{OpenCUA}: Open Foundations for Computer-Use Agents}, author={Wang, Xinyuan and Wang, Bowen and Lu, Dunjie and Yang, Junlin and Xie, Tianbao and Wang, Junli and Deng, Jiaqi and Guo, Xiaole and Xu, Yiheng and Wu, Chen and others}, booktitle={Advances in Neural Information Processing Systems}, volume={38}, pages={139756--139806}, year={2025} } ```