Datasets:

Formats:
json
Languages:
English
ArXiv:
Tags:
GUI
Libraries:
Datasets
pandas
License:
File size: 6,740 Bytes
4f50840
 
 
 
 
2afabf4
4f50840
9965ad6
4f75453
 
646f8b7
 
 
0d4c280
 
9c629ee
8309b7b
 
 
 
 
 
 
 
 
 
 
4f50840
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
153ec31
 
 
 
 
 
 
 
 
 
 
 
8309b7b
 
 
 
 
4f50840
9965ad6
4f50840
 
 
 
 
 
 
 
 
 
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
---
license: cc-by-4.0
language:
- en
tags:
- GUI
size_categories:
- 1K<n<10K
configs:
- config_name: default
  data_files:
  - split: all
    path: "all_anno.json"
---


# Dataset Card for GUI Odyssey

<!-- - **Homepage:**  -->
- **Repository:** https://github.com/OpenGVLab/GUI-Odyssey
- **Paper:** https://arxiv.org/abs/2406.08451
- **Point of Contact:** [Wenqi Shao](mailto:shaowenqi@pjlab.org.cn)

## Introduction
GUI Odyssey is a comprehensive dataset for training and evaluating **cross-app** navigation agents. GUI Odyssey consists of 7,735 episodes from 6 mobile devices, spanning 6 types of cross-app tasks, 201 apps, and 1.4K app combos.

## Data Structure
### Data Fields

Each field of annotation is as follows: 

* `episode_id`(str): the unique identifier of this episode.
* `device_info`(dict): the detailed information of the virtual device from which the episode was collected.
    * `product`(str): the product name of the emulator.
    * `release_version`(str): the Android API level of the emulator.
    * `sdk_version`(str): the version of the software development kit used for the emulator.
    * `h`(int): the height of the device screen.
    * `w`(int): the width of the device screen.
    * `device_name`(str): the name of the virtual device, one of **Pixel Fold**, **Pixel Tablet**, **Pixel 8 Pro**, **Pixel 7 Pro**, **Medium Phone**, **Small Phone**
* `task_info`(dict): the detailed information of the task from which the episode was collected.
    * `category`(str): the category of this task, one of  **Multi_Apps**, **Web_Shopping**, **General_Tool**, **Information_Management**, **Media_Entertainment**, **Social_Sharing**
    * `app`(list[str]): the Apps used for this task. 
    * `meta_task`(str): the template for this task, e.g., "Search for the next {} and set a reminder."
    * `task`(str): the specific task created by filling in the meta-task, e.g., "Search for the next New York Fashion Week and set a reminder."
    * `instruction`(str): the detailed and rephrased version of the task, including specific tools or applications, e.g., "Utilize DuckDuckgo to find the dates for the next New York Fashion Week and then use TickTick to set a reminder for the event."
* `step_length`(int): the total number of steps in this episode.
* `steps`(list[dict]): each individual step of this episode. Including the following fields:
    * `step`(int): each step within the episode is identified by a zero-indexed step number, indicating its position in sequence within the episode. For example, if the *step* is 1, it corresponds to the second step of the episode. 
    * `screenshot`(str): the current screenshot of this step
    * `action`(str): the corresponding action of this step, one of **CLICK**, **SCROLL**, **LONG_PRESS**, **TYPE**, **COMPLETE**, **IMPOSSIBLE**, **HOME**, **BACK**
    * `info`(Union[str, list[list]]): provides specific details required to perform the action specified in the *action* field. Note that all the coordinates are normalized to the range of [0, 1000].
        * if action is *CLICK*, info contains the coordinates(x, y) to click on or one of the special keys  *KEY_HOME*, *KEY_BACK*, *KEY_RECENT*.
        * if action is *LONG_PRESS*, info contains the coordinates(x, y) for the long press.
        * if action is *SCROLL*, info contains the starting(x1, y1) and ending(x2, y2) coordinates of the scroll action.
        * if action is any other value, info is empty ("").
    * `ps`(str): provides additional details or context depending on the value of the action field.
        * if action is *COMPLETE* or *IMPOSSIBLE*: may contain any additional information from the annotator about why the task is complete or why it was impossible to complete.
        * if action is *SCROLL*: contains the complete trajectory of the scroll action.



### Data Splits
we can evaluate the in- and out-of-domain performance of Agent by splitting GUI Odyssey in two ways:

* **random_split**: randomly splitting the dataset into the training and test set with the ratio of $3:1$, 

and organizing with the training set covering a portion of apps/tasks/devices and the test set covering the remaining apps/tasks/devices:


* **task_split**: proportionally samples meta-tasks from six categories. The tasks in the test set differ significantly from those in the training set. This partitioning method allows for a robust assessment of an agent's generalization capabilities across diverse tasks. 

* **device_split**: selects episodes annotated on the *Fold Phone*, which differs significantly from other devices such as smartphones and tablets, as the test set.

* **app_split**: splits based on the apps. The apps in the test set differ significantly from those in the training set.

Each of the four classifications mentioned above has a corresponding JSON file, and the fields in each JSON file are as follows:
* `train`(list[str]): the list of annotation filenames for the training set, which are equivalent to the *episode_id*.
* `test`(list[str]): the list of annotation filenames for the test set, which are equivalent to the *episode_id*.

## Easier Usage

In addition to cloning the entire repository, you can also download the files from the `/zips` directory directly for convenience. We are currently uploading compressed versions of the annotations and screenshots to the `/zips` directory to make the usage process more convenient.

* Annotations: Simply download the annotations.zip file and unzip it to access the contents directly.
* Screenshots: The screenshots are split into two parts. After downloading both parts, you can merge them and unzip the file using the following commands:
```bash
cat screenshots_0* > screenshots.zip
unzip screenshots.zip
```
The files extracted from the .zip archives will be identical to the original versions.

## Licensing Information
<a rel="license" href="http://creativecommons.org/licenses/by/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by/4.0/88x31.png" /></a><br />This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>.

## Disclaimer
This dataset is intended primarily for research purposes. We strongly oppose any harmful use of the data or technology.

## Citation
```bib
@misc{lu2024gui,
      title={GUI Odyssey: A Comprehensive Dataset for Cross-App GUI Navigation on Mobile Devices}, 
      author={Quanfeng Lu and Wenqi Shao and Zitao Liu and Fanqing Meng and Boxuan Li and Botong Chen and Siyuan Huang and Kaipeng Zhang and Yu Qiao and Ping Luo},
      year={2024},
      eprint={2406.08451},
      archivePrefix={arXiv},
      primaryClass={cs.CV}
}
```