Datasets:
Download README.md from yanghs1018/GPL-Data: direct link, hf CLI and curl.
- Browser
- Download file 4.39 kB
-
https://huggingface.co/datasets/yanghs1018/GPL-Data/resolve/main/README.md
- Command line
-
hf download hf://datasets/yanghs1018/GPL-Data/README.md
-
curl -L -o README.md https://huggingface.co/datasets/yanghs1018/GPL-Data/resolve/main/README.md
license: mit
pretty_name: GPL-Data
task_categories:
- image-text-to-text
language:
- en
tags:
- gui-agent
- computer-use
size_categories:
- 1K<n<10K
configs:
- config_name: default
data_files:
- split: train
path: pairs.jsonl
GPL-Data
GPL-Data is a set of counterfactual state pairs for training computer-use agents. It is introduced in Grounded Policy Learning for Computer Use Agents.
Each pair contrasts an annotated step of a human trajectory with a counterfactual in which one UI element is in a state other than the one displayed on the current screen. A text counterfactual changes one statement of the screen description and keeps the screenshot. An image counterfactual changes one element in the screenshot and keeps the response.
| Item | Count |
|---|---|
| Trajectories | 868 (Windows 275, macOS 272, Ubuntu 321) |
| Steps with a counterfactual | 3,037 (1,111 with both types, 963 text only, 963 image only) |
| Text counterfactuals | 2,074 (992 stale, 1,045 lingering, 37 premature) |
| Image counterfactuals | 2,074 (1,863 replaced, 211 absent) |
| Images | 10,241 screenshots and 2,074 edited screenshots |
The pairs are built from 1K trajectories sampled from AgentNet. The dataset keeps the 868 trajectories that have a counterfactual. Each trajectory ends at its last step with a counterfactual, and the steps after it are not included. Every step is annotated by Claude Sonnet 5.5 with a screen description, a list of statements about the current screen, and a one-line summary of its action.
Counterfactual types
type |
Kind | Count | Counterfactual |
|---|---|---|---|
stale |
text | 992 | a statement modified at this step is reverted to its version at the previous step |
lingering |
text | 1,045 | a statement removed at this step is put back |
premature |
text | 37 | a statement of the next step is inserted, and the action is replaced with the next action |
replaced |
image | 1,863 | one element of the screenshot is replaced with another state of the same element |
absent |
image | 211 | one element of the screenshot is removed |
Files
trajectories.jsonl 868 rows, one per trajectory
pairs.jsonl 4,148 rows, one per counterfactual
images/<trajectory>/*.png 10,241 screenshots (unmodified AgentNet frames)
images/counterfactual/*.png 2,074 edited screenshots of the image counterfactuals
trajectories.jsonl
| Field | Meaning |
|---|---|
id |
id of the trajectory in AgentNet |
os |
Windows, macOS, or Ubuntu |
instruction |
task instruction |
steps |
list of steps, each with image, description (list of statements), summary and action (pyautogui code, coordinates in [0, 1]) |
pairs.jsonl
| Field | Meaning |
|---|---|
id |
<trajectory>:<step>:<type> |
trajectory, step |
the annotated step, with step the 0-based index into steps of the trajectory |
type |
see the table above |
description |
the counterfactual screen description of a text counterfactual |
summary, action |
the summary and the action of the next step, for a premature counterfactual |
image |
the edited screenshot of an image counterfactual, which replaces the screenshot of the step |
A policy sees the instruction, the earlier steps, and the three most recent screenshots, and responds with the screen description, the summary, and the action.
Usage
hf download yanghs1018/GPL-Data --repo-type dataset --local-dir data/GPL-Data
License
The trajectories and screenshots come from AgentNet, released with OpenCUA under the MIT License (https://github.com/xlang-ai/OpenCUA). The edited screenshots are derived from them.
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}
}
@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}
}