File size: 8,394 Bytes
ba55442
74397a8
ba55442
 
 
9385a8c
ba55442
 
 
 
 
 
 
 
 
 
 
c73fd75
ba55442
 
c73fd75
 
ba55442
 
c73fd75
ba55442
 
 
 
 
 
 
 
c73fd75
ba55442
 
c73fd75
 
ba55442
 
c73fd75
9385a8c
 
 
 
ba55442
 
74397a8
ba55442
 
 
9385a8c
 
 
ba55442
d512d65
ba55442
 
 
 
 
c73fd75
 
ba55442
 
c73fd75
 
ba55442
 
 
 
 
 
 
 
 
 
9385a8c
 
 
fba120a
 
 
ba55442
f654cf6
 
 
 
 
 
 
9385a8c
ba55442
 
 
 
 
74397a8
ba55442
c73fd75
ba55442
 
 
 
 
 
 
 
fba120a
 
ba55442
fba120a
ba55442
 
 
 
 
9385a8c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
74397a8
9385a8c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
c73fd75
 
 
 
d512d65
c73fd75
ba55442
 
 
 
 
 
74397a8
ba55442
 
9385a8c
ba55442
 
 
c73fd75
d512d65
ba55442
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9385a8c
 
 
 
 
 
ba55442
 
 
 
 
 
 
 
9385a8c
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
---
pretty_name: LatentGUIWorld
language:
- en
size_categories:
- 100K<n<1M
tags:
- gui-agents
- interactive-environments
- benchmark
- latentguiworld
configs:
- config_name: all
  default: true
  data_files:
  - split: test
    path: data/*.jsonl
- config_name: drag_egocentric
  data_files:
  - split: test
    path: data/drag_egocentric.jsonl
- config_name: drag_exocentric
  data_files:
  - split: test
    path: data/drag_exocentric.jsonl
- config_name: rotation_inner
  data_files:
  - split: test
    path: data/rotation_inner.jsonl
- config_name: rotation_outer
  data_files:
  - split: test
    path: data/rotation_outer.jsonl
- config_name: ten_choice_egocentric
  data_files:
  - split: test
    path: data/ten_choice_egocentric.jsonl
- config_name: ten_choice_exocentric
  data_files:
  - split: test
    path: data/ten_choice_exocentric.jsonl
- config_name: sft
  data_files:
  - split: train
    path: training/data/*.jsonl.gz
---

# LatentGUIWorld

LatentGUIWorld is the interactive GUI benchmark introduced in
**Learn from Move: the Next Step for GUI Agents**. It contains **900 test episodes**
across six environments, with **150 episodes per environment**, and
**24,000 training trajectories** yielding **154,713 SFT examples**.
Observations use a **1280 × 720** viewport.

[Code and environment runtime](https://github.com/ti-mm/LearnFromMove)

## Environments

| Configuration | Task | Episodes |
|---|---|---:|
| `drag_egocentric` | Egocentric Drag | 150 |
| `drag_exocentric` | Exocentric Drag | 150 |
| `rotation_inner` | Inner Rotation | 150 |
| `rotation_outer` | Outer Rotation | 150 |
| `ten_choice_egocentric` | Egocentric Ten-Choice | 150 |
| `ten_choice_exocentric` | Exocentric Ten-Choice | 150 |

Drag places a colored shape into a matching outline. Ten-Choice identifies a
target among ten candidates through hover-revealed text. Rotation uses a
horizontal slider to align the inner or outer image region. Agents use
interaction feedback to adapt their actions to each environment's dynamics.

The two environments in each task family share 150 paired scene identities,
giving 450 scene pairs and 900 episodes. The `pair_id` identifies the shared
scene; the `episode_id` identifies a particular environment episode.

The six environment configurations expose a `test` split. The default `all`
configuration combines these subsets into 900 test rows. The `sft` configuration
exposes the supervised examples through a `train` split. The `distribution`
field identifies the 75 IID and 75 OOD episodes in each Drag environment.
Rotation and Ten-Choice each use fixed test sets without an IID/OOD subdivision,
so their `distribution` values are `null`.

The held-out factors follow the paper's test-set construction. Drag's IID
episodes use training shape categories, while its OOD episodes use held-out
shape categories. All Ten-Choice test scenes draw from 240 messages disjoint
from the 80 training messages. Rotation uses 150 test background images
disjoint from the 1,000 training backgrounds. Ten-Choice and Rotation therefore
evaluate held-out content across their full test sets.

## Load test episode records

```python
import json
from datasets import load_dataset

repo_id = "OpenMOSS-Team/LatentGUIWorld"
episodes = load_dataset(repo_id, "all", split="test")
drag = load_dataset(repo_id, "drag_egocentric", split="test")
episode = json.loads(drag[0]["episode_json"])
```

| Field | Meaning |
|---|---|
| `episode_id`, `pair_id` | Episode and paired-scene identifiers |
| `suite_id`, `variant`, `family` | Benchmark suite, environment, and task family |
| `instruction` | Task instruction |
| `exploration_level` | Exploration category |
| `distribution` | `iid` or `ood` for Drag; `null` for Rotation and Ten-Choice |
| `canonical_case_path` | Scene metadata path relative to the dataset root |
| `episode_json` | Complete runtime episode configuration serialized as JSON |

The runtime consumes the full configuration, including hidden dynamics and
success criteria. Agent observations consist of task instructions, screenshots,
and the structured metadata selected by the runtime's observation contract.

## Training data

The training set contains 4,000 trajectories per environment. Each SFT example
uses up to three recent screenshots and preceding assistant responses to predict
one Think/action response.

| Environment | Trajectories | SFT examples |
|---|---:|---:|
| Egocentric Drag | 4,000 | 24,452 |
| Exocentric Drag | 4,000 | 16,000 |
| Inner Rotation | 4,000 | 28,479 |
| Outer Rotation | 4,000 | 28,349 |
| Egocentric Ten-Choice | 4,000 | 31,169 |
| Exocentric Ten-Choice | 4,000 | 26,264 |
| **Total** | **24,000** | **154,713** |

```python
from datasets import load_dataset

train = load_dataset("OpenMOSS-Team/LatentGUIWorld", "sft", split="train")
```

Training rows contain `messages`, `images`, `tools`, and `metadata`.
`messages` contains the input conversation and target assistant response.
`images` contains dataset-relative paths and the image pixel limit.
`metadata` identifies the trajectory, environment, action index, and row index.
The target consists of a Think rationale followed by a JSON action.

Images are rendered by the accompanying environment runtime and stored as
lossless WebP files in tar archives (47.0 GiB). Install the GitHub package and prepare the
training files with:

```bash
pip install -e '.[data]'
latentguiworld-prepare-training --download --dataset-root data/LatentGUIWorld \
  --output data/training/benchmark/train.parquet
```

Run these commands from the code repository. The preparation command downloads
and extracts the image archives and resolves local image paths in the output
Parquet. Pass that file to the `benchmark_sft` training recipe.

`training/trajectories.jsonl.gz` provides complete trajectories with task
instructions, ordered observations, and assistant responses. The final
observation follows the final action. `training/dataset.json` indexes the SFT
shards and image archives.

## Environment interaction

This dataset contains scene configurations, rendering assets, and the Ten-Choice
HTML/JavaScript scenes. The complete environment runtime, mouse-action interface,
and evaluation code are available in the [GitHub repository](https://github.com/ti-mm/LearnFromMove).

## Download and run the benchmark

```python
from huggingface_hub import snapshot_download

snapshot_download(
    repo_id="OpenMOSS-Team/LatentGUIWorld",
    repo_type="dataset",
    local_dir="benchmark",
    ignore_patterns=["training/**"],
)
```

Install the latest environment runtime from the
[code repository](https://github.com/ti-mm/LearnFromMove), then pass the
downloaded manifest to the environment or evaluation entry point:

```bash
python -m six_environments list --manifest benchmark/manifest.json
python -m six_environments serve --manifest benchmark/manifest.json --port 8765
latentguiworld-eval --manifest benchmark/manifest.json \
  --model models/latentlearner --output results/latentlearner
```

Paths are relative to the directory where the commands are run. The evaluator
scores the first release attempt and reports success rates per environment.

## Files

```text
README.md
LICENSE
NOTICE.md
manifest.json                 # Benchmark runtime manifest: 900 episodes
data/*.jsonl                  # Six Hugging Face subsets: 150 rows each
cases/drag/*/meta.json
cases/rotation/*/meta.json
cases/ten_choice/*/meta.json
cases/ten_choice/*/index.html
cases/ten_choice/*/assets/icon.svg
assets/rotation/*.jpg
training/data/*.jsonl.gz      # Hugging Face SFT rows
training/data/*.parquet       # Training Parquet shards
training/archives/*.tar       # Lossless observation images
training/trajectories.jsonl.gz # Complete demonstration trajectories
training/dataset.json         # Training data index
training/attribution.jsonl    # Training background source references
```

The JSONL files provide a browsable view of the episodes in `manifest.json`.
Scene paths in both representations resolve against the dataset root.

## Attribution

The original release license is included in [LICENSE](LICENSE).
Rotation backgrounds originate from Open Images and, for 42 training
backgrounds, The Metropolitan Museum of Art. Source references are included in
scene metadata and `training/attribution.jsonl`. Image rights remain with their
respective owners. See [NOTICE.md](NOTICE.md).