Commit ·
6310b8f
0
Parent(s):
Duplicate from alibabagroup/CMGUI
Browse filesCo-authored-by: Wensheng <wensheng0503@users.noreply.huggingface.co>
- .gitattributes +4 -0
- README.md +175 -0
- README_CN.md +163 -0
- episode_annotation_test.jsonl +0 -0
- episode_annotation_train.jsonl +3 -0
- screenshot_zip/screenshot_test.zip +3 -0
- screenshot_zip/screenshot_train.z01 +3 -0
- screenshot_zip/screenshot_train.z02 +3 -0
- screenshot_zip/screenshot_train.z03 +3 -0
- screenshot_zip/screenshot_train.z04 +3 -0
- screenshot_zip/screenshot_train.z05 +3 -0
- screenshot_zip/screenshot_train.z06 +3 -0
- screenshot_zip/screenshot_train.z07 +3 -0
- screenshot_zip/screenshot_train.z08 +3 -0
- screenshot_zip/screenshot_train.z09 +3 -0
- screenshot_zip/screenshot_train.z10 +3 -0
- screenshot_zip/screenshot_train.z11 +3 -0
- screenshot_zip/screenshot_train.z12 +3 -0
- screenshot_zip/screenshot_train.z13 +3 -0
- screenshot_zip/screenshot_train.z14 +3 -0
- screenshot_zip/screenshot_train.z15 +3 -0
- screenshot_zip/screenshot_train.z16 +3 -0
- screenshot_zip/screenshot_train.z17 +3 -0
- screenshot_zip/screenshot_train.z18 +3 -0
- screenshot_zip/screenshot_train.z19 +3 -0
- screenshot_zip/screenshot_train.z20 +3 -0
- screenshot_zip/screenshot_train.z21 +3 -0
- screenshot_zip/screenshot_train.z22 +3 -0
- screenshot_zip/screenshot_train.z23 +3 -0
- screenshot_zip/screenshot_train.z24 +3 -0
- screenshot_zip/screenshot_train.z25 +3 -0
- screenshot_zip/screenshot_train.z26 +3 -0
- screenshot_zip/screenshot_train.z27 +3 -0
- screenshot_zip/screenshot_train.z28 +3 -0
- screenshot_zip/screenshot_train.z29 +3 -0
- screenshot_zip/screenshot_train.z30 +3 -0
- screenshot_zip/screenshot_train.z31 +3 -0
- screenshot_zip/screenshot_train.z32 +3 -0
- screenshot_zip/screenshot_train.z33 +3 -0
- screenshot_zip/screenshot_train.zip +3 -0
.gitattributes
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*.z* filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
screenshot_zip/*.zip filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
screenshot_zip/screenshot_eval.zip filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
episode_annotation_train.jsonl filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,175 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-4.0
|
| 3 |
+
language:
|
| 4 |
+
- zh
|
| 5 |
+
tags:
|
| 6 |
+
- agent
|
| 7 |
+
pretty_name: CMGUI
|
| 8 |
+
size_categories:
|
| 9 |
+
- 100K<n<1M
|
| 10 |
+
---
|
| 11 |
+
# <p align="center"><b>CMGUI Dataset</b></p>
|
| 12 |
+
<p align="center">
|
| 13 |
+
📄 <a href="https://github.com/alibaba/MobiZen-GUI"> Project </a> |
|
| 14 |
+
🌐 <a href="https://huggingface.co/alibabagroup/MobiZen-GUI-4B">Model in Hugging Face</a> |
|
| 15 |
+
🌐 <a href="https://modelscope.cn/models/GUIAgent/MobiZen-GUI-4B">Model in ModelScope</a>
|
| 16 |
+
|
| 17 |
+
<p align="center">
|
| 18 |
+
<a href="https://huggingface.co/datasets/alibabagroup/CMGUI/blob/main/README.md">English</a> |
|
| 19 |
+
<a href="https://huggingface.co/datasets/alibabagroup/CMGUI/blob/main/README_CN.md">简体中文</a>
|
| 20 |
+
</p>
|
| 21 |
+
|
| 22 |
+
**CMGUI** (Chinese Mobile GUI) is a large-scale, high-quality dataset constructed for developing GUI agents on Chinese mobile applications. The dataset contains **18k episodes** (i.e., trajectories) with **98k steps** collected from more than **50** real-world Chinese mobile apps, covering diverse functional domains such as e-commerce (e.g., Taobao, Pinduoduo), social media (e.g., Rednote, Douyin), and local services (e.g., Meituan, Amap).
|
| 23 |
+
|
| 24 |
+
**CMGUI-Bench**, the corresponding navigation benchmark derived from CMGUI, comprises 386 episodes and 2,547 steps spanning 44 widely used Chinese apps, featuring multi-choice action annotations to accommodate diverse GUI manipulations where multiple valid actions may exist in each step. Both CMGUI and CMGUI-Bench are rigorously human-verified with precise bounding box annotations, addressing the critical scarcity of high-quality open-source Chinese mobile GUI datasets.
|
| 25 |
+
|
| 26 |
+
### Key Features
|
| 27 |
+
|
| 28 |
+
- **Chinese-focused**: Specifically designed for Chinese mobile applications and mobile user interactions
|
| 29 |
+
- **High-quality annotations**: Each episode includes human-verified actions and human-annotated bounding boxes
|
| 30 |
+
- **Multi-resolution support**: Screenshots captured at various device resolutions (e.g., 720x1280, 1080x2400, 1440x3200)
|
| 31 |
+
- **Rich action space**: Supports CLICK, TYPE, SWIPE, and other common mobile interaction patterns
|
| 32 |
+
- **Real-world tasks**: Instructions are designed to reflect practical user scenarios in Chinese mobile app ecosystems
|
| 33 |
+
|
| 34 |
+
## Dataset Structure
|
| 35 |
+
|
| 36 |
+
The CMGUI dataset is organized as follows:
|
| 37 |
+
|
| 38 |
+
```
|
| 39 |
+
CMGUI/
|
| 40 |
+
├── README.md # This file
|
| 41 |
+
├── episode_annotation_train.jsonl # Training episode annotations (JSONL format, one episode per line)
|
| 42 |
+
├── episode_annotation_test.jsonl # Testing/benchmarking episode annotations (JSONL format, one episode per line)
|
| 43 |
+
├── screenshot_zip/ # Directory containing screenshot archives
|
| 44 |
+
│ ├── screenshot_train.zip # Main screenshot archive for training
|
| 45 |
+
│ ├── screenshot_train.z01 # Split archive part 1
|
| 46 |
+
│ ├── screenshot_train.z02 # Split archive part 2
|
| 47 |
+
│ ├── ...
|
| 48 |
+
│ └── screenshot_test.zip # Screenshot archive for testing/benchmarking
|
| 49 |
+
└── screenshot/ # Extracted screenshots (PNG files)
|
| 50 |
+
├── 47b85366-5449-4894-9ece-beb2b1b41ced.png
|
| 51 |
+
├── 4c0cd4d6-4935-42b2-a867-cf4f4142d2f0.png
|
| 52 |
+
└── ...
|
| 53 |
+
```
|
| 54 |
+
|
| 55 |
+
## Episode Annotation Format
|
| 56 |
+
|
| 57 |
+
The dataset is split into training and testing sets, stored in `episode_annotation_train.jsonl` and `episode_annotation_test.jsonl` respectively. Each line in these JSONL files represents one episode. Below is the detailed field description:
|
| 58 |
+
|
| 59 |
+
### Episode Data Fields
|
| 60 |
+
|
| 61 |
+
| Field | Type | Description |
|
| 62 |
+
|-------|------|-------------|
|
| 63 |
+
| `split` | `str` | Dataset split identifier ("train" or "test") |
|
| 64 |
+
| `episode_id` | `int` | Unique identifier for this episode |
|
| 65 |
+
| `instruction` | `str` | Natural language instruction describing the task (in Chinese) |
|
| 66 |
+
| `app` | `str` | Name of the primary mobile application used in this episode |
|
| 67 |
+
| `episode_length` | `int` | Total number of steps in this episode |
|
| 68 |
+
|
| 69 |
+
### Step Data Fields
|
| 70 |
+
|
| 71 |
+
The `step_data` field is a list of step objects, each containing the following fields:
|
| 72 |
+
|
| 73 |
+
| Field | Type | Description |
|
| 74 |
+
|-------|------|-------------|
|
| 75 |
+
| `step_id` | `int` | Zero-indexed step number indicating the position in the episode sequence |
|
| 76 |
+
| `screenshot` | `str` | Filename of the screenshot for this step (located in `screenshot/` directory) |
|
| 77 |
+
| `screenshot_width` | `int` | Width of the screenshot in pixels |
|
| 78 |
+
| `screenshot_height` | `int` | Height of the screenshot in pixels |
|
| 79 |
+
| `action` | `str` | The action type performed at this step. See below for action types |
|
| 80 |
+
| `type_text` | `str` | Text input for TYPE actions; empty string for other action types |
|
| 81 |
+
| `touch_coord` | `list[int]` | Touch coordinates `[x, y]` where the action starts. `[-1, -1]` for non-coordinate actions |
|
| 82 |
+
| `lift_coord` | `list[int]` | Lift coordinates `[x, y]` where the action ends. `[-1, -1]` for non-coordinate actions |
|
| 83 |
+
| `bbox` | `list[list[int]]` | List of bounding box coordinates `[[x1, y1, x2, y2], ...]` of the target UI element(s). Empty list `[]` if not applicable |
|
| 84 |
+
|
| 85 |
+
**Note:** In the train split, the number of bounding boxes in `bbox` is less than or equal to 1; in the test split, the number of bounding boxes in `bbox` can greater than 1, indicating that multiple UI elements are valid to click on in the corresponding step.
|
| 86 |
+
|
| 87 |
+
### Action Types
|
| 88 |
+
|
| 89 |
+
| Action | Description | Parameter |
|
| 90 |
+
|--------|-------------|------------------|
|
| 91 |
+
| **CLICK** | Single tap/click on a UI element | `touch_coord` = `lift_coord` = click position |
|
| 92 |
+
| **LONG_PRESS** | Long press on a UI element | `touch_coord` = `lift_coord` = press position |
|
| 93 |
+
| **SWIPE** | Swipe/scroll gesture | `touch_coord` = start position, `lift_coord` = end position |
|
| 94 |
+
| **TYPE** | Text input action | text in `type_text` |
|
| 95 |
+
| **KEY_BACK** | Press Back button | - |
|
| 96 |
+
| **KEY_HOME** | Press Home button | - |
|
| 97 |
+
| **WAIT** | Wait for page/content to load | - |
|
| 98 |
+
| **STOP** | Task completion signal | - |
|
| 99 |
+
|
| 100 |
+
### Coordinate System
|
| 101 |
+
|
| 102 |
+
- All coordinates are in **absolute pixel values** relative to the screenshot dimensions
|
| 103 |
+
- Origin `(0, 0)` is at the **top-left corner** of the screen
|
| 104 |
+
- Bounding box format: `[[x1, y1, x2, y2], ...]` where each `(x1, y1)` is the top-left corner and `(x2, y2)` is the bottom-right corner of a UI element
|
| 105 |
+
|
| 106 |
+
### Example Episode Structure
|
| 107 |
+
|
| 108 |
+
```json
|
| 109 |
+
{
|
| 110 |
+
"split": "train",
|
| 111 |
+
"episode_id": 0,
|
| 112 |
+
"instruction": "打开腾讯地图,搜索“望京医院”,发起步行导航",
|
| 113 |
+
"app": "腾讯地图",
|
| 114 |
+
"episode_length": 9,
|
| 115 |
+
"step_data": [
|
| 116 |
+
{
|
| 117 |
+
"step_id": 0,
|
| 118 |
+
"screenshot": "47b85366-5449-4894-9ece-beb2b1b41ced.png",
|
| 119 |
+
"screenshot_width": 1080,
|
| 120 |
+
"screenshot_height": 2400,
|
| 121 |
+
"action": "CLICK",
|
| 122 |
+
"type_text": "",
|
| 123 |
+
"touch_coord": [
|
| 124 |
+
538,
|
| 125 |
+
643
|
| 126 |
+
],
|
| 127 |
+
"lift_coord": [
|
| 128 |
+
538,
|
| 129 |
+
643
|
| 130 |
+
],
|
| 131 |
+
"bbox": [
|
| 132 |
+
[
|
| 133 |
+
474,
|
| 134 |
+
581,
|
| 135 |
+
604,
|
| 136 |
+
708
|
| 137 |
+
]
|
| 138 |
+
]
|
| 139 |
+
},
|
| 140 |
+
// ... more steps
|
| 141 |
+
]
|
| 142 |
+
}
|
| 143 |
+
```
|
| 144 |
+
|
| 145 |
+
## Screenshots Extraction Instructions
|
| 146 |
+
|
| 147 |
+
To extract all screenshots to the `screenshot/` directory:
|
| 148 |
+
|
| 149 |
+
**Training screenshots:**
|
| 150 |
+
```bash
|
| 151 |
+
unzip screenshot_zip/screenshot_train.zip -d .
|
| 152 |
+
```
|
| 153 |
+
The `unzip` command will automatically detect and merge the split archives (`.z01`, `.z02`, etc.) during extraction.
|
| 154 |
+
|
| 155 |
+
**Test screenshots:**
|
| 156 |
+
```bash
|
| 157 |
+
unzip screenshot_zip/screenshot_test.zip -d .
|
| 158 |
+
```
|
| 159 |
+
|
| 160 |
+
|
| 161 |
+
|
| 162 |
+
## Citation
|
| 163 |
+
If you find this dataset helpful in your research, please cite the following paper:
|
| 164 |
+
```
|
| 165 |
+
@article{xie2026secagent,
|
| 166 |
+
title={SecAgent: Efficient Mobile GUI Agent with Semantic Context},
|
| 167 |
+
author={Yiping Xie and Song Chen and Jingxuan Xing and Wei Jiang and Zekun Zhu and Yingyao Wang and Pi Bu and Jun Song and Yuning Jiang and Bo Zheng},
|
| 168 |
+
journal={arXiv preprint arXiv:2603.08533},
|
| 169 |
+
year={2026}
|
| 170 |
+
}
|
| 171 |
+
```
|
| 172 |
+
|
| 173 |
+
## License
|
| 174 |
+
|
| 175 |
+
<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>.
|
README_CN.md
ADDED
|
@@ -0,0 +1,163 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# <p align="center"><b>CMGUI 数据集</b></p>
|
| 2 |
+
<p align="center">
|
| 3 |
+
📄 <a href="https://github.com/alibaba/MobiZen-GUI"> 项目主页 </a> |
|
| 4 |
+
🌐 <a href="https://huggingface.co/alibabagroup/MobiZen-GUI-4B">Hugging Face 模型</a> |
|
| 5 |
+
🌐 <a href="https://modelscope.cn/models/GUIAgent/MobiZen-GUI-4B">ModelScope 模型</a>
|
| 6 |
+
|
| 7 |
+
<p align="center">
|
| 8 |
+
<a href="https://huggingface.co/datasets/alibabagroup/CMGUI/blob/main/README.md">English</a> |
|
| 9 |
+
<a href="https://huggingface.co/datasets/alibabagroup/CMGUI/blob/main/README_CN.md">简体中文</a>
|
| 10 |
+
</p>
|
| 11 |
+
|
| 12 |
+
**CMGUI** (Chinese Mobile GUI) 是一个大规模、高质量的数据集,专门为开发中文移动应用的 GUI 智能体而构建。该数据集包含从 **50 多个**真实中文移动应用中收集的 **18k 条轨迹** 和 **98k 个单步**,涵盖电商(如淘宝、拼多多)、社交媒体(如小红书、抖音)和本地服务(如美团、高德地图)等多个功能领域。
|
| 13 |
+
|
| 14 |
+
**CMGUI-Bench** 是从 CMGUI 派生出的对应导航基准,包含 386 条轨迹和2,547 个单步,跨越 44 个广泛使用的中文应用,具有多选动作标注,以适应每个单步可能存在多个有效操作的多样化 GUI 操作场景。CMGUI 和 CMGUI-Bench 都经过严格的人工验证,并带有精确的边界框标注,解决了高质量开源中文移动 GUI 数据集严重稀缺的问题。
|
| 15 |
+
|
| 16 |
+
### 核心特性
|
| 17 |
+
|
| 18 |
+
- **面向中文**:专为中文移动应用和移动用户交互设计
|
| 19 |
+
- **高质量标注**:每条轨迹都包含人工验证的动作和人工标注的边界框
|
| 20 |
+
- **多分辨率支持**:在不同设备分辨率(如 720x1280、1080x2400、1440x3200)下捕获截图
|
| 21 |
+
- **丰富的动作空间**:支持 CLICK、TYPE、SWIPE 等常见移动交互模式
|
| 22 |
+
- **真实任务**:指令设计反映了中文移动应用生态系统中的实际用户场景
|
| 23 |
+
|
| 24 |
+
## 数据集结构
|
| 25 |
+
|
| 26 |
+
CMGUI 数据集的组织结构如下:
|
| 27 |
+
|
| 28 |
+
```
|
| 29 |
+
CMGUI/
|
| 30 |
+
├── README.md # 本文件
|
| 31 |
+
├── episode_annotation_train.jsonl # 训练轨迹标注(JSONL 格式,每行一个轨迹)
|
| 32 |
+
├── episode_annotation_test.jsonl # 测试轨迹标注(JSONL 格式,每行一个轨迹)
|
| 33 |
+
├── screenshot_zip/ # 包含屏幕截图归档的目录
|
| 34 |
+
│ ├── screenshot_train.zip # 训练集主要屏幕截图归档
|
| 35 |
+
│ ├── screenshot_train.z01 # 分割归档第 1 部分
|
| 36 |
+
│ ├── screenshot_train.z02 # 分割归档第 2 部分
|
| 37 |
+
│ ├── ...
|
| 38 |
+
│ └── screenshot_test.zip # 测试/基准截图归档
|
| 39 |
+
└── screenshot/ # 解压后的截图(PNG 文件)
|
| 40 |
+
├── 47b85366-5449-4894-9ece-beb2b1b41ced.png
|
| 41 |
+
├── 4c0cd4d6-4935-42b2-a867-cf4f4142d2f0.png
|
| 42 |
+
└── ...
|
| 43 |
+
```
|
| 44 |
+
|
| 45 |
+
## 轨迹标注格式
|
| 46 |
+
|
| 47 |
+
数据集分为训练集和测试集,分别存储在 `episode_annotation_train.jsonl` 和 `episode_annotation_test.jsonl` 中。这些 JSONL 文件中的每一行代表一条轨迹。以下是详细的字段说明:
|
| 48 |
+
|
| 49 |
+
### 轨迹数据字段
|
| 50 |
+
|
| 51 |
+
| 字段 | 类型 | 描述 |
|
| 52 |
+
|-------|------|-------------|
|
| 53 |
+
| `split` | `str` | 数据集划分标识符("train" 或 "test") |
|
| 54 |
+
| `episode_id` | `int` | 轨迹的唯一标识符 |
|
| 55 |
+
| `instruction` | `str` | 描述任务的自然语言指令(中文) |
|
| 56 |
+
| `app` | `str` | 轨迹中使用的主要移动应用名称 |
|
| 57 |
+
| `episode_length` | `int` | 轨迹中的总单步数 |
|
| 58 |
+
|
| 59 |
+
### 单步数据字段
|
| 60 |
+
|
| 61 |
+
`step_data` 字段是一个单步对象列表,每个对象包含以下字段:
|
| 62 |
+
|
| 63 |
+
| 字段 | 类型 | 描述 |
|
| 64 |
+
|-------|------|-------------|
|
| 65 |
+
| `step_id` | `int` | 从0开始的单步编号,表示在 episode 序列中的位置 |
|
| 66 |
+
| `screenshot` | `str` | 该单步的截图文件名(位于 `screenshot/` 目录中) |
|
| 67 |
+
| `screenshot_width` | `int` | 截图的宽度(像素) |
|
| 68 |
+
| `screenshot_height` | `int` | 截图的高度(像素) |
|
| 69 |
+
| `action` | `str` | 在该单步执行的动作类型。见下方动作类型说明 |
|
| 70 |
+
| `type_text` | `str` | TYPE 动作的文本输入;其他动作类型为空字符串 |
|
| 71 |
+
| `touch_coord` | `list[int]` | 动作开始的触摸坐标 `[x, y]`。非坐标动作为 `[-1, -1]` |
|
| 72 |
+
| `lift_coord` | `list[int]` | 动作结束的抬起坐标 `[x, y]`。非坐标动作为 `[-1, -1]` |
|
| 73 |
+
| `bbox` | `list[list[int]]` | 目标 UI 元素的边界框坐标列表 `[[x1, y1, x2, y2], ...]`。不适用则为空列表 `[]` |
|
| 74 |
+
|
| 75 |
+
**注意:** 在训练集中,`bbox` 中的边界框数量小于或等于 1;在测试集中,`bbox` 中的边界框数量可以大于 1,表示在对应单步中存在多个可点击的有效 UI 元素。
|
| 76 |
+
|
| 77 |
+
### 动作类型
|
| 78 |
+
|
| 79 |
+
| 动作 | 描述 | 参数 |
|
| 80 |
+
|--------|-------------|------------------|
|
| 81 |
+
| **CLICK** | 单击/点击 UI 元素 | `touch_coord` = `lift_coord` = 点击位置 |
|
| 82 |
+
| **LONG_PRESS** | 长按 UI 元素 | `touch_coord` = `lift_coord` = 按压位置 |
|
| 83 |
+
| **SWIPE** | 滑动/滚动手势 | `touch_coord` = 起始位置,`lift_coord` = 结束位置 |
|
| 84 |
+
| **TYPE** | 文本输入动作 | `type_text` 中的文本 |
|
| 85 |
+
| **KEY_BACK** | 按返回键 | - |
|
| 86 |
+
| **KEY_HOME** | 按主页键 | - |
|
| 87 |
+
| **WAIT** | 等待页面/内容加载 | - |
|
| 88 |
+
| **STOP** | 任务完成信号 | - |
|
| 89 |
+
|
| 90 |
+
### 坐标系统
|
| 91 |
+
|
| 92 |
+
- 所有坐标都是相对于截图尺寸的**绝对像素值**
|
| 93 |
+
- 原点 `(0, 0)` 位于屏幕的**左上角**
|
| 94 |
+
- 边界框格式:`[[x1, y1, x2, y2], ...]`,其中每个 `(x1, y1)` 是 UI 元素的左上角,`(x2, y2)` 是右下角
|
| 95 |
+
|
| 96 |
+
### 轨迹数据示例
|
| 97 |
+
|
| 98 |
+
```json
|
| 99 |
+
{
|
| 100 |
+
"split": "train",
|
| 101 |
+
"episode_id": 0,
|
| 102 |
+
"instruction": "打开腾讯地图,搜索“望京医院”,发起步行导航",
|
| 103 |
+
"app": "腾讯地图",
|
| 104 |
+
"episode_length": 9,
|
| 105 |
+
"step_data": [
|
| 106 |
+
{
|
| 107 |
+
"step_id": 0,
|
| 108 |
+
"screenshot": "47b85366-5449-4894-9ece-beb2b1b41ced.png",
|
| 109 |
+
"screenshot_width": 1080,
|
| 110 |
+
"screenshot_height": 2400,
|
| 111 |
+
"action": "CLICK",
|
| 112 |
+
"type_text": "",
|
| 113 |
+
"touch_coord": [
|
| 114 |
+
538,
|
| 115 |
+
643
|
| 116 |
+
],
|
| 117 |
+
"lift_coord": [
|
| 118 |
+
538,
|
| 119 |
+
643
|
| 120 |
+
],
|
| 121 |
+
"bbox": [
|
| 122 |
+
[
|
| 123 |
+
474,
|
| 124 |
+
581,
|
| 125 |
+
604,
|
| 126 |
+
708
|
| 127 |
+
]
|
| 128 |
+
]
|
| 129 |
+
},
|
| 130 |
+
// ... more steps
|
| 131 |
+
]
|
| 132 |
+
}
|
| 133 |
+
```
|
| 134 |
+
|
| 135 |
+
## 截图解压说明
|
| 136 |
+
|
| 137 |
+
将所有截图解压到 `screenshot/` 目录:
|
| 138 |
+
|
| 139 |
+
**训练集截图:**
|
| 140 |
+
```bash
|
| 141 |
+
unzip screenshot_zip/screenshot_train.zip -d .
|
| 142 |
+
```
|
| 143 |
+
`unzip` 命令会在解压过程中自动检测并合并分卷归档(`.z01`、`.z02` 等)。
|
| 144 |
+
|
| 145 |
+
**测试集截图:**
|
| 146 |
+
```bash
|
| 147 |
+
unzip screenshot_zip/screenshot_test.zip -d .
|
| 148 |
+
```
|
| 149 |
+
|
| 150 |
+
## 引用
|
| 151 |
+
如果您发现该数据集对您的研究有帮助,请引用以下论文:
|
| 152 |
+
```
|
| 153 |
+
@article{xie2026secagent,
|
| 154 |
+
title={SecAgent: Efficient Mobile GUI Agent with Semantic Context},
|
| 155 |
+
author={Yiping Xie and Song Chen and Jingxuan Xing and Wei Jiang and Zekun Zhu and Yingyao Wang and Pi Bu and Jun Song and Yuning Jiang and Bo Zheng},
|
| 156 |
+
journal={arXiv preprint arXiv:2603.08533},
|
| 157 |
+
year={2026}
|
| 158 |
+
}
|
| 159 |
+
```
|
| 160 |
+
|
| 161 |
+
## 许可证
|
| 162 |
+
|
| 163 |
+
<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 />本作品采用 <a rel="license" href="http://creativecommons.org/licenses/by/4.0/">知识共享署名 4.0 国际许可协议</a> 进行许可。
|
episode_annotation_test.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
episode_annotation_train.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:20ae9cdab52e8e5bd66f18c076ab9690bd720687162c4ad697cab257b5d1ba0a
|
| 3 |
+
size 27640096
|
screenshot_zip/screenshot_test.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bdaf0a35018599e9b6ac83f89915612735479b9e45fdacd924c46082005afb55
|
| 3 |
+
size 4499514184
|
screenshot_zip/screenshot_train.z01
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:09f355c92e56d9c65db4e329cadde64f0ee47188dddb613a88bfa3c5a9b41dea
|
| 3 |
+
size 5138022400
|
screenshot_zip/screenshot_train.z02
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ca307bd5da0f4e6b7e51e82f1daf278022015964ea0bf51949cdbacdd748cf6c
|
| 3 |
+
size 5138022400
|
screenshot_zip/screenshot_train.z03
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8a912893e11cb97ed7dd174bc723f4173ad69f9ddd60eae7ccd2fd8afa3863d0
|
| 3 |
+
size 5138022400
|
screenshot_zip/screenshot_train.z04
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e77c09ace12c44d22f95e558c1bfa7b3d4d81ac4e39bf122e61639971eb2f987
|
| 3 |
+
size 5138022400
|
screenshot_zip/screenshot_train.z05
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:545b5987bee378e4cd215c029470c17bb87c912af141d4827000f7e712b6c0fb
|
| 3 |
+
size 5138022400
|
screenshot_zip/screenshot_train.z06
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7d20d27aa2fedc44a117bd584883f8fcfdde145952649da36f0acba78ea8c130
|
| 3 |
+
size 5138022400
|
screenshot_zip/screenshot_train.z07
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c793303aee974df98d562b983cb74c52d5cb0c6bad47f21527bd28069a29c69d
|
| 3 |
+
size 5138022400
|
screenshot_zip/screenshot_train.z08
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:713f6db26a5ee7e992343a80ba0b66ec6a7cf775b12284ae48ad1ad06b932a80
|
| 3 |
+
size 5138022400
|
screenshot_zip/screenshot_train.z09
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8e433e445676aeef1eb048390bdb7bcbc9a418646f71777031beb101b89f03ea
|
| 3 |
+
size 5138022400
|
screenshot_zip/screenshot_train.z10
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7ef94c23f884249c9f55ad94a36abaef5215fe3ff6d5ba15215f7938d17e0fb1
|
| 3 |
+
size 5138022400
|
screenshot_zip/screenshot_train.z11
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6638161b54a9e39ca39ffcc753e93fb91c55a0cb137a5295b6aaee26dfa48c53
|
| 3 |
+
size 5138022400
|
screenshot_zip/screenshot_train.z12
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c135f817b66db15a492c39a9c4a7064ceaa2654226c65f1a2aafca8dd67d4d2c
|
| 3 |
+
size 5138022400
|
screenshot_zip/screenshot_train.z13
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fa4781ade14ed99342e7d139b45e5dca215c0fd2d1782dc6a98e01d1225f40e2
|
| 3 |
+
size 5138022400
|
screenshot_zip/screenshot_train.z14
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0b562b34769dc3f10a5f9f81739b2c5367cc10b4610886d285da3ef8be980cd2
|
| 3 |
+
size 5138022400
|
screenshot_zip/screenshot_train.z15
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d0732438f89da7f5e8aa28c651f157ba2ad446752b5ea31d92efb00dd4fbcdfa
|
| 3 |
+
size 5138022400
|
screenshot_zip/screenshot_train.z16
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:219bc98291a26f1758c0523b4d9cac451c4683f931bb0e9a3cf9bc9648b810a4
|
| 3 |
+
size 5138022400
|
screenshot_zip/screenshot_train.z17
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0e282d4f6bc5a98f5e28d7045c4e0517145e28acb0ed1b8e7e7ead855709da5c
|
| 3 |
+
size 5138022400
|
screenshot_zip/screenshot_train.z18
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:db62e1f921c3579b641c4faedff40bf9b1c7286d0d8b293ad7e97f5ea618ac1f
|
| 3 |
+
size 5138022400
|
screenshot_zip/screenshot_train.z19
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bfb8976bcec60f2683f8ccad608d446d680bd86120f2ce608da019d25b966002
|
| 3 |
+
size 5138022400
|
screenshot_zip/screenshot_train.z20
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c1286b1cf3827b3c5ef63a01269d1e9616db02401d6d22fd890ed2940b99c680
|
| 3 |
+
size 5138022400
|
screenshot_zip/screenshot_train.z21
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fb40a7c718a933ce7a963d5e880f97d4266bad5c16888a7cd332ff1d9632d8c9
|
| 3 |
+
size 5138022400
|
screenshot_zip/screenshot_train.z22
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e29a7f227f552a38d0ee5d540d30b3df3cf9b0f60622af11a8f94f0c863c0edf
|
| 3 |
+
size 5138022400
|
screenshot_zip/screenshot_train.z23
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f755037a58a2a6c5fd9342f5872947676aaaeccfd02edfbf138c5c2fb59dfc6e
|
| 3 |
+
size 5138022400
|
screenshot_zip/screenshot_train.z24
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1e6eb2a409c08edc19cc6a7f6260f86ad0dbec81be9d8ff80cc6b1fd2831dfc8
|
| 3 |
+
size 5138022400
|
screenshot_zip/screenshot_train.z25
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:817e75de7ed46b656462a56c31363b5ac6c61524173cdbc99a15f217f55ab744
|
| 3 |
+
size 5138022400
|
screenshot_zip/screenshot_train.z26
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:36598a8e2664b5b1e09ebe5daf31d5ac9d0d8bc340d6d9256ed85c678430a55b
|
| 3 |
+
size 5138022400
|
screenshot_zip/screenshot_train.z27
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8989d81f987c9bf09b0cab184a2829ed3e66315818f1a3799fb18839c80d8064
|
| 3 |
+
size 5138022400
|
screenshot_zip/screenshot_train.z28
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4efae0c0d665031ebfe39333f05126247e738cb00ea5d0606eeee518ef53e934
|
| 3 |
+
size 5138022400
|
screenshot_zip/screenshot_train.z29
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4b32f5fb9634db13574e14f4ecf42777e73eb326eceb84a0acfe1c4c08e4c653
|
| 3 |
+
size 5138022400
|
screenshot_zip/screenshot_train.z30
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c076a95e27f8f36d444cb08324be63707aa315d6f663880f5ce72a7d5e9eb18b
|
| 3 |
+
size 5138022400
|
screenshot_zip/screenshot_train.z31
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:220f3d4c0b912b84b3c265080c33dbeeaecfe7c349fe99a5788a6603a814a67a
|
| 3 |
+
size 5138022400
|
screenshot_zip/screenshot_train.z32
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1d4fb99b96a1e341a627924606c58a3828d08cfb3f29eca040cf4bce163e536f
|
| 3 |
+
size 5138022400
|
screenshot_zip/screenshot_train.z33
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:36920f5c0a3aae033a97f65271c7fad3083c2dd023eaf3510113ad408f599512
|
| 3 |
+
size 5138022400
|
screenshot_zip/screenshot_train.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8a63d81d0238533062c69368ccacc5a76b58f6112bb6b9fbdacf86cf344e7156
|
| 3 |
+
size 1185035928
|