--- license: apache-2.0 task_categories: - image-text-to-text - visual-question-answering language: - en tags: - mobile-agent - gui-agent - privacy - visual-privacy - android-world pretty_name: CAPED Seeded Visual Privacy Benchmark & Trajectories size_categories: - n<1K configs: - config_name: default data_files: - split: test path: metadata.jsonl --- # CAPED: Seeded Visual Privacy Benchmark & Evaluation Trajectories This dataset contains the **28-task Seeded Visual Privacy Benchmark**, synthetic seed assets, mock Android application APKs, and all **140 complete execution trajectories** (28 tasks × 5 methods, 1,220 observation screenshots plus 3 interactive-disclosure audit images (1,223 PNGs total)) for the paper: > **CAPED: Context-Aware Privacy Exposure Defense for Mobile GUI Agents** > **Code & Evaluation Repository**: [https://github.com/itstartstosnow/CAPED-Context-Aware-Privacy-Exposure-Defense](https://github.com/itstartstosnow/CAPED-Context-Aware-Privacy-Exposure-Defense) --- ## Dataset Summary Screenshot-based mobile GUI agents observe entire smartphone screens during execution, creating **incidental visual privacy exposure**—task-irrelevant sensitive content (contacts, chat previews, photos, filenames, shopping recommendations, health/medication cues) that shares the screen with task-relevant UI controls. Because incidental leakage cannot be reliably measured without ground-truth separation between *task-required* information and *task-irrelevant* private content, this benchmark provides a controlled 28-task seeded evaluation across three app settings: | App Setting | Tasks | Apps | Seeded Incidental Surfaces | |---|---:|---|---| | **Mock apps** | 9 | `SunShop`, `MessengerPlus`, `HealthTrack` | Personalized pregnancy/parenting recommendations, non-target chat previews & avatars, health/medication/stress cues | | **AndroidWorld-style local apps** | 10 | `Files`, `Simple Gallery Pro`, `Simple SMS Messenger` | Sensitive filenames (medical/financial/visa), personal & medical thumbnails, non-target SMS previews | | **Real connected apps** | 9 | `Gmail`, `Google Drive`, `Google Photos` | Non-target financial/medical/legal emails, cloud PDF previews, and album photo thumbnails | Each task is evaluated across **5 protection methods** (`28 × 5 = 140` trajectories): 1. `guiowl` (**No Protection**): Raw screenshots sent directly to the remote GUI agent (`GUI-Owl-7B`). 2. `text_only` (**Text-Only**): OCR + NER textual PII replacement without visual region masking. 3. `no_elem_verify` (**CAPED w/o Element Verification**): Task extraction and context policy masking without VQA or semantic embedding rescue. 4. `no_task_extract` (**CAPED w/o Task Extraction**): Context-only masking without task requirement unlocking. 5. `privacy` (**Full CAPED**): Complete task extraction, context policy, UI parsing, element verification, and structure-preserving redaction. --- ## Repository Layout ```text CAPED-hf-dataset/ ├── README.md # Dataset Card ├── metadata.jsonl # 140-run summary table (indexed by Hugging Face Dataset Viewer) ├── benchmark_specs/ # Task definitions, required/incidental boundaries, and leakage ontology │ ├── privacy_task_registry.json # 28 active task definitions and suite metadata │ ├── task_specs.json # Task-required vs. incidental information boundaries │ ├── seeded_leakage_specs.json # Seeded ontology items and predefined severity weights (1 / 2 / 3) │ ├── paper_privacy_task_classification.csv # Task classification across the 3 app settings │ └── paper_privacy_update_20260606/ # Aggregated paper tables (WSLR, SPS, Utility, residual breakdown) ├── seed_assets/ # Reproducible synthetic assets & APKs │ ├── mock_app_apks/ # Compiled APKs: sunshop-debug.apk, messengerplus-debug.apk, healthtrack-debug.apk │ ├── synthetic_images/ # Synthetic gallery photos (target & sensitive incidental images) │ └── controlled_account_seed_assets/ # Synthetic Drive PDFs, PDF generator script, and Google Photos images └── trajectories/ # All 140 full screenshot trajectories & LLM attacker judge outputs ├── eval_mock_all_updated_260511_1838/ # Mock apps (9 tasks × 5 methods = 45 runs, 367 PNGs) ├── eval_awp_all_updated_260512_1744/ # Local apps part 1 (6 tasks × 5 methods = 30 runs, 408 PNGs) ├── eval_expandOther_all_20260604_full_expand/ # Local apps part 2 (4 tasks × 5 methods = 20 runs, 156 PNGs) └── eval_expandGoogle_all_20260604_full_expand/ # Connected apps (9 tasks × 5 methods = 45 runs, 292 PNGs) ``` --- ## Main Results Summary (28 Seeded Tasks) | Method | Completed Runs | Mean Utility ↑ | Success-Conditioned WSLR ↓ | Seeded Protection Score (SPS) ↑ | |---|---:|---:|---:|---:| | **No Protection** (`guiowl`) | 24 / 28 | 0.893 | 0.766 | 0.234 | | **Text-Only** (`text_only`) | 24 / 28 | 0.911 | 0.752 | 0.248 | | **CAPED w/o Element Verification** (`no_elem_verify`) | 21 / 28 | 0.786 | 0.124 | 0.876 | | **CAPED w/o Task Extraction** (`no_task_extract`) | 9 / 28 | 0.321 | 0.028 | 0.972 | | **Full CAPED** (`privacy`) | **25 / 28** | **0.929** | **0.268** | **0.732** | --- ## Fields in `metadata.jsonl` - `run_id`: Unique run identifier (`{method_key}__{task_id}`). - `task_id`: Task identifier matching `benchmark_specs/privacy_task_registry.json`. - `paper_category`: One of `Mock apps`, `AndroidWorld-style local apps`, or `Real connected apps`. - `suite_group`: Evaluation directory group (`mock`, `awp`, `extend_other`, `extend_google`). - `app_name`: Target mobile application name. - `instruction`: Natural-language task instruction given to the agent. - `method_key` / `method_label`: Protection method identifier and paper display name. - `utility_score`: Manually audited task utility score (`1.0` for full completion, `0.5` for partial credit, `0.0` for failure). - `fully_successful`: Boolean indicating `utility_score == 1.0` (used for success-conditioned WSLR/SPS). - `weighted_seeded_leakage_rate_wslr`: Success-conditioned Weighted Seeded Leakage Rate (`WSLR`, lower is better; `null` when `fully_successful` is `false`). - `seeded_protection_score_sps`: `1 - WSLR` (`SPS`, higher is better; `null` when `fully_successful` is `false`). - `leaked_incidental_weight` / `applicable_incidental_weight`: Numerator and denominator of `WSLR`. - `leaked_incidental_item_count` / `applicable_incidental_item_count`: Unweighted leaked and applicable incidental item counts. - `screenshot_count`: Number of observation PNG screenshots in the trajectory (`1,220` across all 140 runs; `3` trajectories also contain `disclosure_logging/*_revealed.png` audit images, totaling `1,223` PNG files). - `leaked_seeded_items`: JSON array of leaked task-irrelevant seeded ontology items with category, weight, evidence, and screenshot indices. - `trajectory_dir`: Relative path to the trajectory screenshots directory under `trajectories/`. - `judge_output_path`: Relative pointer to the per-run judge entry in `judge_results.json`. ## Ethical & Privacy Statement All sensitive items in this benchmark (names, messages, medical reports, prescriptions, financial records, visa/legal documents, and photos) are **100% synthetic or AI-generated** specifically for controlled privacy evaluation. No real personal data or third-party user records are included.