File size: 6,030 Bytes
4cff8ee
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---

license: apache-2.0
task_categories:
  - robotics
  - visual-question-answering
tags:
  - gui-agent
  - mobile
  - grounding
  - android
  - static-evaluation
pretty_name: "AndroidControl*"
size_categories:
  - 1K<n<10K
---


# AndroidControl*

A curated step-level evaluation subset extracted from AndroidControl, used for static mobile GUI understanding evaluation in [UI-MOPD](https://huggingface.co/UI-MOPD) (Multi-platform On-Policy Distillation for Continual GUI Agent Learning).

## Overview

AndroidControl* contains 4,260 step-level records from 781 Android trajectories. Each record includes the trajectory identifier, step index, high-level task goal, per-step instruction, normalized action, screenshot path, screenshot resolution, and optional UI grounding metadata.

AndroidControl* preserves the same normalized mobile action space used in UI-MOPD training, including `click`, `scroll`, `input_text`, `open_app`, `wait`, `navigate_back`, `long_press`, and `navigate_home`. For actions that can be matched to a UI element, grounding metadata (target bounding boxes, widget class, text, resource id, package name, ancestor information, and matching node count) is included. This subset is mainly used to evaluate static mobile GUI understanding, verify action-screen alignment, and illustrate the format of mobile data after normalization.

## Dataset Statistics

| Metric | Value |
|--------|-------|
| Step Records | 4,260 |
| Trajectories | 781 |
| Platform | Android Mobile (1080x2400) |
| Format | JSONL + PNG screenshots |
| Coordinate System | Absolute pixel (actions normalized to [0, 1000] for evaluation) |

## Action Space

| Action | Description |
|--------|-------------|
| `click` | Tap at coordinate |
| `long_press` | Long press at coordinate |
| `scroll` | Scroll in direction (up/down/left/right) |
| `input_text` | Type text into active field |
| `open_app` | Launch application by name |
| `navigate_back` | Return to previous interface |
| `navigate_home` | Return to home screen |
| `wait` | Wait for UI response |

## Grounding Metadata

For actions that can be matched to a UI element, each record includes grounding metadata:

| Field | Description |
|-------|-------------|
| `target_bbox` | Bounding box of the target element [left, top, right, bottom] in pixels |
| `target_class` | Android widget class (e.g., `android.widget.TextView`) |
| `target_text` | Visible text on the element |
| `target_content_desc` | Accessibility content description |
| `target_resource_id` | Android resource ID |
| `target_package` | Application package name |
| `ancestor_bbox` | Bounding box of the nearest ancestor with text |
| `ancestor_text` | Text on the ancestor element |
| `n_matching_nodes` | Number of UI nodes matching the action target |

Steps without a directly groundable target (e.g., waiting or app-level operations) have `grounding: null`.

## Data Format

```

AndroidControl-Star/

  steps.jsonl              # All 4,260 step-level records

  images/

    episode_0/

      step_0.png

      step_1.png

      ...

    episode_100/

      ...

```

### JSONL Record Structure

```json

{

  "episode_id": 0,

  "step_idx": 0,

  "total_steps": 3,

  "goal": "Open the Zoho Meet app, view the scheduled meetings.",

  "instruction": "Open the Zoho Meet app",

  "action": {

    "action_type": "open_app",

    "app_name": "Zoho Meeting"

  },

  "screenshot": "images/episode_0/step_0.png",

  "screenshot_width": 1080,

  "screenshot_height": 2400,

  "grounding": {

    "target_bbox": [494, 365, 586, 416],

    "target_class": "android.widget.TextView",

    "target_text": "",

    "target_content_desc": "",

    "target_resource_id": "",

    "target_package": "com.zoho.meeting",

    "ancestor_bbox": [360, 317, 720, 464],

    "ancestor_text": "Past",

    "n_matching_nodes": 14

  }

}

```

## Evaluation Protocol

Coordinates are normalized to [0, 1000] for both model input and evaluation:

```python

# Normalize pixel coordinate to [0, 1000]

norm_x = round(x / width * 1000)

norm_y = round(y / height * 1000)



# Denormalize model output back to pixels

pixel_x = norm_x / 1000 * width

pixel_y = norm_y / 1000 * height

```

### Evaluation Metrics

| Metric | Description |
|--------|-------------|
| Action Type Accuracy | Predicted action type matches ground truth |
| Grounding (target) | Predicted coordinate falls within `target_bbox` |
| Grounding (ancestor) | Predicted coordinate falls within `ancestor_bbox` (more lenient) |
| Overall Accuracy | Joint accuracy of action type and grounding |

## Prompt Template

The evaluation uses the `mobile_use` tool interface with the following action set:

```

click, long_press, swipe, type, system_button, open_app, wait, terminate

```

Each step is prompted with the episode-level goal and the current step instruction. The model outputs structured reasoning (Thought + Action) followed by a tool call.

## Usage

```python

import json



with open("steps.jsonl", "r") as f:

    steps = [json.loads(line) for line in f]



# Group by episode

from collections import defaultdict

episodes = defaultdict(list)

for step in steps:

    episodes[step["episode_id"]].append(step)



print(f"Total steps: {len(steps)}, Episodes: {len(episodes)}")

```

Or clone directly:

```bash

git clone https://huggingface.co/datasets/UI-MOPD/AndroidControl-Star

```

## Citation

```bibtex

@misc{lian2026uimopdmultiplatformonpolicydistillation,

      title={UI-MOPD: Multi-Platform On-Policy Distillation for Continual GUI Agent Learning}, 

      author={Niu Lian and Alan Chen and Zhehao Yu and Chengzhen Duan and Fazhan Liu and Hui Liu and Pei Fu and Jian Luan and Yaowei Wang and Shu-Tao Xia and Jinpeng Wang},

      year={2026},

      eprint={2607.04425},

      archivePrefix={arXiv},

      primaryClass={cs.CL},

      url={https://arxiv.org/abs/2607.04425}, 

}

```

## License

Apache 2.0