endlesswinds's picture
Upload test set json files.
0d6c9c8
|
Raw
History Blame
4.16 kB
# AndroidControl Test Set (JSON)
## Overview
This dataset provides the **test split** of [AndroidControl](https://arxiv.org/abs/2405.01958) in a ready-to-use JSON format, extracted from the original Google Cloud data release.
**Motivation:** Most GUI Grounding works use [GUI-Actor-Data](https://huggingface.co/datasets/cckevinn/GUI-Actor-Data) for training, which includes AndroidControl images but **does not include the test set JSON**. Obtaining the test split from the original source requires downloading the full dataset (~47 GB) from Google Cloud, which is cumbersome. This dataset provides the test split JSON files directly so researchers can run evaluations immediately.
**Images:** Screenshots are not included in this repository. Use the images from [cckevinn/GUI-Actor-Data](https://huggingface.co/datasets/cckevinn/GUI-Actor-Data), which covers all splits including the test set.
---
## Files
| File | Episodes | Steps | Description |
|------|----------|-------|-------------|
| `test-AndroidControl.json` | 1,543 | 8,444 | All action types |
| `test-AndroidControl-click.json` | 1,484 | 5,074 | Click actions only |
---
## Data Format
Both files share the same structure: a **list of episodes**, where each episode is a **list of steps**.
```json
[
[ // episode
{ // step
"img_url": "android_control_episode_[27]_0.png",
"img_size": [1080, 2400],
"episode_id": 27,
"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"
}
},
...
],
...
]
```
### Fields
| Field | Type | Description |
|-------|------|-------------|
| `img_url` | string | Filename of the corresponding screenshot, format: `android_control_episode_[{episode_id}]_{step_idx}.png` |
| `img_size` | [int, int] | Screenshot resolution `[width, height]`, typically `[1080, 2400]` |
| `episode_id` | int | Episode ID from the original AndroidControl dataset |
| `goal` | string | High-level task goal in natural language |
| `instruction` | string | Step-level instruction |
| `action` | object | Ground-truth action (see below) |
### Action Types
| `action_type` | Additional Fields | Description |
|---------------|------------------|-------------|
| `click` | `x`, `y` (normalized 0–1) | Tap on screen coordinates |
| `scroll` | `direction` (`up`/`down`/`left`/`right`) | Scroll gesture |
| `type` | `text` | Type text input |
| `navigate_back` | — | Press back button |
| `navigate_home` | — | Press home button |
| `open_app` | `app_name` | Launch an application |
| `wait` | — | Wait for screen to load |
> `test-AndroidControl-click.json` contains only `click` steps and is intended for point-grounding evaluation.
---
## Usage
```python
import json
with open("test-AndroidControl.json") as f:
episodes = json.load(f)
# episodes[i] → i-th episode (list of steps)
# episodes[i][j] → j-th step of i-th episode
# episodes[i][j]["img_url"] → match against GUI-Actor-Data images
```
---
## Source
Derived from the [AndroidControl](https://arxiv.org/abs/2405.01958) dataset released by Google Research. This repository contains only the test split in a reformatted JSON structure; no images are redistributed.
Please cite the original work if you use this dataset:
```bibtex
@article{li2024effects,
title={On the Effects of Data Scale on Computer Control Agents},
author={Li, Wei and Bishop, William and Li, Alice and Rawles, Chris and Campbell-Ajala, Folawiyo and Tyamagundlu, Divya and Riva, Oriana},
journal={arXiv preprint arXiv:2406.03679},
year={2024}
}
```
## License
The original AndroidControl dataset is licensed under the **Apache License 2.0**:
> Copyright 2024 The Google Research Authors.
> Licensed under the Apache License, Version 2.0. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
This repository redistributes a subset of that data in reformatted form and is therefore also released under the **Apache License 2.0**.