Datasets:
GroundGUI_RL: 12,600 RL grounding prompts derived from GroundCUA (MIT)
Browse files- LICENSE +31 -0
- README.md +134 -0
- SHA256SUMS +10 -0
- data/train-00000-of-00010.parquet +3 -0
- data/train-00001-of-00010.parquet +3 -0
- data/train-00002-of-00010.parquet +3 -0
- data/train-00003-of-00010.parquet +3 -0
- data/train-00004-of-00010.parquet +3 -0
- data/train-00005-of-00010.parquet +3 -0
- data/train-00006-of-00010.parquet +3 -0
- data/train-00007-of-00010.parquet +3 -0
- data/train-00008-of-00010.parquet +3 -0
- data/train-00009-of-00010.parquet +3 -0
LICENSE
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
GroundGUI_RL is derived entirely from GroundCUA
|
| 2 |
+
(https://huggingface.co/datasets/ServiceNow/GroundCUA), which is released under
|
| 3 |
+
the MIT License. The screenshots, instructions and bounding boxes come from
|
| 4 |
+
GroundCUA; this release only selects, re-mixes and re-formats them. It is
|
| 5 |
+
distributed under the same MIT License.
|
| 6 |
+
|
| 7 |
+
MIT License
|
| 8 |
+
|
| 9 |
+
Copyright (c) The GroundCUA Team
|
| 10 |
+
|
| 11 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
| 12 |
+
of this software and associated documentation files (the "Software"), to deal
|
| 13 |
+
in the Software without restriction, including without limitation the rights
|
| 14 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
| 15 |
+
copies of the Software, and to permit persons to whom the Software is
|
| 16 |
+
furnished to do so, subject to the following conditions:
|
| 17 |
+
|
| 18 |
+
The above copyright notice and this permission notice shall be included in all
|
| 19 |
+
copies or substantial portions of the Software.
|
| 20 |
+
|
| 21 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
| 22 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
| 23 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
| 24 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
| 25 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
| 26 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
| 27 |
+
SOFTWARE.
|
| 28 |
+
|
| 29 |
+
Screenshots depict third-party desktop applications whose interfaces remain
|
| 30 |
+
the property of their respective owners. Users are responsible for ensuring
|
| 31 |
+
compliance with all applicable laws and policies.
|
README.md
ADDED
|
@@ -0,0 +1,134 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
task_categories:
|
| 6 |
+
- image-to-text
|
| 7 |
+
tags:
|
| 8 |
+
- computer_use
|
| 9 |
+
- gui-grounding
|
| 10 |
+
- reinforcement-learning
|
| 11 |
+
- GroundCUA
|
| 12 |
+
size_categories:
|
| 13 |
+
- 10K<n<100K
|
| 14 |
+
configs:
|
| 15 |
+
- config_name: default
|
| 16 |
+
data_files:
|
| 17 |
+
- split: train
|
| 18 |
+
path: data/train-*.parquet
|
| 19 |
+
---
|
| 20 |
+
|
| 21 |
+
# GroundGUI_RL
|
| 22 |
+
|
| 23 |
+
A 12,600-prompt reinforcement-learning corpus for desktop GUI grounding. Each
|
| 24 |
+
prompt is a screenshot plus a natural-language instruction, and the reward is
|
| 25 |
+
whether the predicted click falls inside the target element's bounding box.
|
| 26 |
+
|
| 27 |
+
**All content comes from [GroundCUA](https://huggingface.co/datasets/ServiceNow/GroundCUA)**
|
| 28 |
+
(MIT). The screenshots are byte-identical to GroundCUA's, and the instructions
|
| 29 |
+
and boxes are GroundCUA's annotations. This release adds only sample
|
| 30 |
+
selection, slice mixing and formatting into a Qwen3-VL `computer_use`
|
| 31 |
+
tool-call prompt. Please cite GroundCUA (below) if you use it.
|
| 32 |
+
|
| 33 |
+
| | |
|
| 34 |
+
|---|---|
|
| 35 |
+
| Prompts | 12,600 |
|
| 36 |
+
| Screenshots | 11,205 (at most 2 prompts per image) |
|
| 37 |
+
| Applications | 87 desktop apps (from GroundCUA) |
|
| 38 |
+
| Size | ~4.9 GB (10 parquet shards, images embedded) |
|
| 39 |
+
|
| 40 |
+
## Layout
|
| 41 |
+
|
| 42 |
+
```
|
| 43 |
+
GroundGUI_RL/
|
| 44 |
+
├── data/train-0000{0..9}-of-00010.parquet # 12,600 rows, screenshots embedded as image bytes
|
| 45 |
+
├── SHA256SUMS
|
| 46 |
+
├── LICENSE
|
| 47 |
+
└── README.md
|
| 48 |
+
```
|
| 49 |
+
|
| 50 |
+
## Record format
|
| 51 |
+
|
| 52 |
+
```text
|
| 53 |
+
{
|
| 54 |
+
"images": [<PIL.Image 1920x1008>],
|
| 55 |
+
"messages": [
|
| 56 |
+
{"role": "system", "content": "<computer_use tool definition; screen given as 1000x1000>"},
|
| 57 |
+
{"role": "user", "content": "<image>\nSelect a gradient to apply a smooth color transition ..."},
|
| 58 |
+
{"role": "assistant", "content": "<tool_call>\n{\"name\": \"computer_use\", \"arguments\": {\"action\": \"left_click\", \"coordinate\": [96, 399]}}\n</tool_call>"}
|
| 59 |
+
],
|
| 60 |
+
"solution": {"name": "mobile_use", "arguments": {"action": "click", "coordinate": [139, 381, 232, 426]}},
|
| 61 |
+
"additional_paras": "{\"image_size\": [1920, 1008], \"app\": \"Krita\", \"ui_type\": \"icon\", ...}",
|
| 62 |
+
"sample_id": 4026033
|
| 63 |
+
}
|
| 64 |
+
```
|
| 65 |
+
|
| 66 |
+
Coordinate conventions (note that the two fields use different units):
|
| 67 |
+
|
| 68 |
+
- `solution.arguments.coordinate` is the target box `[x1, y1, x2, y2]` in
|
| 69 |
+
**absolute pixels** of the original image. Reward functions should
|
| 70 |
+
normalise it with `image_size`.
|
| 71 |
+
- The assistant turn is a reference answer: the box centre in **0–1000
|
| 72 |
+
normalised** coordinates (Qwen3-VL convention). It is useful for SFT
|
| 73 |
+
warm-up. An RL reward should use `solution`.
|
| 74 |
+
- `additional_paras` is a **JSON string**, not an object.
|
| 75 |
+
|
| 76 |
+
`additional_paras` fields:
|
| 77 |
+
|
| 78 |
+
| field | meaning |
|
| 79 |
+
|---|---|
|
| 80 |
+
| `image_size` | `[width, height]` in pixels (matches the PNG header for every row) |
|
| 81 |
+
| `app` | GroundCUA application name |
|
| 82 |
+
| `ui_type` | `icon` or `text` element |
|
| 83 |
+
| `register` | `functional_instruction`, `spatial_relation` or `bare_label` |
|
| 84 |
+
| `source` | which GroundCUA annotation file the instruction came from |
|
| 85 |
+
| `elem_text` | GroundCUA element text of the target |
|
| 86 |
+
| `area_frac` | target box area / image area |
|
| 87 |
+
| `slice` | mixing slice (below) |
|
| 88 |
+
|
| 89 |
+
## Slices
|
| 90 |
+
|
| 91 |
+
| slice | rows | content |
|
| 92 |
+
|---|---:|---|
|
| 93 |
+
| `base_icon_func` | 4,848 | GroundCUA functional instructions targeting icon elements |
|
| 94 |
+
| `base_text_func` | 1,500 | GroundCUA functional instructions targeting text elements |
|
| 95 |
+
| `icon_func_new` | 1,652 | additional functional instructions on icon elements |
|
| 96 |
+
| `bare_label` | 2,000 | the element's own label as the instruction, e.g. "Wrap Text." (mostly text-labelled buttons) |
|
| 97 |
+
| `spatial` | 2,000 | GroundCUA spatial-relation instructions, e.g. "... immediately right of \"app icon\"" (about 79% horizontal) |
|
| 98 |
+
| `small` | 600 | small targets, 80–250 ppm of the image area |
|
| 99 |
+
|
| 100 |
+
## Usage
|
| 101 |
+
|
| 102 |
+
```python
|
| 103 |
+
import json
|
| 104 |
+
from datasets import load_dataset
|
| 105 |
+
|
| 106 |
+
ds = load_dataset("tjcaspar/GroundGUI_RL", split="train")
|
| 107 |
+
row = ds[0]
|
| 108 |
+
img = row["images"][0] # PIL.Image
|
| 109 |
+
extra = json.loads(row["additional_paras"]) # image_size, slice, ...
|
| 110 |
+
x1, y1, x2, y2 = row["solution"]["arguments"]["coordinate"] # pixels
|
| 111 |
+
```
|
| 112 |
+
|
| 113 |
+
ms-swift (GRPO / RLOO) can take the hub id directly:
|
| 114 |
+
|
| 115 |
+
```bash
|
| 116 |
+
swift rlhf --rlhf_type grpo --dataset tjcaspar/GroundGUI_RL --reward_funcs <your-bbox-hit-reward> ...
|
| 117 |
+
```
|
| 118 |
+
|
| 119 |
+
## License and attribution
|
| 120 |
+
|
| 121 |
+
MIT, inherited from GroundCUA (see `LICENSE`). Screenshots show third-party
|
| 122 |
+
applications whose interfaces remain the property of their owners.
|
| 123 |
+
|
| 124 |
+
```bibtex
|
| 125 |
+
@misc{feizi2025groundingcomputeruseagents,
|
| 126 |
+
title={Grounding Computer Use Agents on Human Demonstrations},
|
| 127 |
+
author={Aarash Feizi and Shravan Nayak and Xiangru Jian and Kevin Qinghong Lin and Kaixin Li and Rabiul Awal and Xing Han Lù and Johan Obando-Ceron and Juan A. Rodriguez and Nicolas Chapados and David Vazquez and Adriana Romero-Soriano and Reihaneh Rabbany and Perouz Taslakian and Christopher Pal and Spandana Gella and Sai Rajeswar},
|
| 128 |
+
year={2025},
|
| 129 |
+
eprint={2511.07332},
|
| 130 |
+
archivePrefix={arXiv},
|
| 131 |
+
primaryClass={cs.LG},
|
| 132 |
+
url={https://arxiv.org/abs/2511.07332},
|
| 133 |
+
}
|
| 134 |
+
```
|
SHA256SUMS
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
e5b1832d6d59afb1f92540b70d71f13a156bddfd94d9930c1fa1c22c8bbc4a5b data/train-00000-of-00010.parquet
|
| 2 |
+
a0154cc7f85f4685a87447d64bfc24fb3925e3b0bbdbbd55e7fcf72c3f72875a data/train-00001-of-00010.parquet
|
| 3 |
+
9a1966921a5cd120f7a9a50570463cd00d896e5f63eaf2b8a360f814d841f199 data/train-00002-of-00010.parquet
|
| 4 |
+
73bef7dd8e4e5d40f71c96807f94a5595d39d57c97427f4e579470dc8b28a175 data/train-00003-of-00010.parquet
|
| 5 |
+
c1f3e2fa816027bda710fc489865d8ff09395c63a352cc6e7376c8858bae0d23 data/train-00004-of-00010.parquet
|
| 6 |
+
7ae4c592b3ddc2c9e49c28e4360738053967af29140bb4fca3e37c8fb2be8936 data/train-00005-of-00010.parquet
|
| 7 |
+
b3b3f71f172df9e423503cb26cbf0f26f19e7ca06301ef4145c0012f68a7e3fa data/train-00006-of-00010.parquet
|
| 8 |
+
1bb756ed2fbe6d074c46b63fa8666a1c67899096a6af2ab12a05bef817727b6f data/train-00007-of-00010.parquet
|
| 9 |
+
583b3f2cdf983b158650ea4d0e12e31779fa7a05506939c3f750bc1be0a902d0 data/train-00008-of-00010.parquet
|
| 10 |
+
04b9ec230912fdf9b5f51e0bd1d8d3b266e71c077b3853dd7fd4d729230b9ad3 data/train-00009-of-00010.parquet
|
data/train-00000-of-00010.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e5b1832d6d59afb1f92540b70d71f13a156bddfd94d9930c1fa1c22c8bbc4a5b
|
| 3 |
+
size 502289364
|
data/train-00001-of-00010.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a0154cc7f85f4685a87447d64bfc24fb3925e3b0bbdbbd55e7fcf72c3f72875a
|
| 3 |
+
size 524121212
|
data/train-00002-of-00010.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9a1966921a5cd120f7a9a50570463cd00d896e5f63eaf2b8a360f814d841f199
|
| 3 |
+
size 505991322
|
data/train-00003-of-00010.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:73bef7dd8e4e5d40f71c96807f94a5595d39d57c97427f4e579470dc8b28a175
|
| 3 |
+
size 531076977
|
data/train-00004-of-00010.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c1f3e2fa816027bda710fc489865d8ff09395c63a352cc6e7376c8858bae0d23
|
| 3 |
+
size 518169442
|
data/train-00005-of-00010.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7ae4c592b3ddc2c9e49c28e4360738053967af29140bb4fca3e37c8fb2be8936
|
| 3 |
+
size 531973653
|
data/train-00006-of-00010.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b3b3f71f172df9e423503cb26cbf0f26f19e7ca06301ef4145c0012f68a7e3fa
|
| 3 |
+
size 519333962
|
data/train-00007-of-00010.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1bb756ed2fbe6d074c46b63fa8666a1c67899096a6af2ab12a05bef817727b6f
|
| 3 |
+
size 527248806
|
data/train-00008-of-00010.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:583b3f2cdf983b158650ea4d0e12e31779fa7a05506939c3f750bc1be0a902d0
|
| 3 |
+
size 483386531
|
data/train-00009-of-00010.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:04b9ec230912fdf9b5f51e0bd1d8d3b266e71c077b3853dd7fd4d729230b9ad3
|
| 3 |
+
size 532226217
|