Popupbench / README.md
Chanhur's picture
Release canonical PopupBench: 9862 cases and 4077 screenshots
ebc0c20 verified
|
Raw History Blame Contribute Delete
6.62 kB
metadata
language:
  - en
size_categories:
  - 1K<n<10K
tags:
  - gui
  - grounding
  - popup
  - multimodal
configs:
  - config_name: default
    default: true
    drop_labels: true
    data_files:
      - split: test
        path: data/**
  - config_name: ubuntu
    drop_labels: true
    data_files:
      - split: test
        path: data/ubuntu/**
  - config_name: windows
    drop_labels: true
    data_files:
      - split: test
        path: data/windows/**
  - config_name: web
    drop_labels: true
    data_files:
      - split: test
        path: data/web/**

PopupBench

PopupBench evaluates task-conditioned popup handling in GUI screenshots. Given a screenshot and a task, a model predicts a click. Related cases call for engaging the popup; unrelated cases follow the benchmark's dismissal policy. Different tasks can share the same screenshot while requiring different actions.

The core benchmark contains 9,494 controlled OS cases (Ubuntu and Windows) and 368 naturally occurring Web cases. OS screenshots are composed from popup and desktop assets; Web screenshots are not synthetic OS composites.

Counts and evaluation unit

One dataset row is one case, not one screenshot or one individual target. Several cases can reference the same image. All valid targets for a case remain together in targets and must not be expanded into independent test examples.

Platform OS templates Screenshots Cases Related Unrelated Valid targets
Ubuntu 101 2,020 6,080 4,060 2,020 7,160
Windows 96 1,907 3,414 1,547 1,867 4,903
Web N/A 150 368 235 133 392
Total 197 4,077 9,862 5,842 4,020 12,455

The template total refers only to reusable OS popup templates, not Web popups. The release preserves the corrected canonical Windows counts: 1,547 related and 1,867 unrelated cases. The manifest records the duplicate-image and mixed relation normalization used to obtain these counts.

Loading

from datasets import load_dataset

benchmark = load_dataset("Chanhur/Popupbench", split="test")
web = load_dataset("Chanhur/Popupbench", "web", split="test")

case = benchmark[0]
image = case["image"]  # PIL image, at its original resolution
task = case["task"]
valid_targets = case["targets"]

The default, ubuntu, windows, and web configurations all expose a test split. Platform configurations are subsets of default, not additional cases. The release uses ImageFolder metadata with one image file per unique screenshot.

Fields

Field Meaning
image Source-resolution screenshot decoded by Hugging Face Datasets.
case_id Stable canonical case identifier.
platform ubuntu, windows, or web.
task Natural-language instruction given to the agent.
relation related or unrelated.
img_size [width, height] in pixels.
popup_template, background OS source asset identifiers; null on Web.
popup_bbox Popup rectangle in absolute pixels, [x, y, width, height]; null on Web.
all_buttons Annotated popup controls, each with label and bbox. This list is not the set of valid answers for every task.
targets All valid answers for this case, each with label, bbox, and center.
normalization Canonical repair marker, or null.
proprietary_api_subset Whether the case belongs to the paper's API evaluation subset.
poplm_template_split train or test for the OS template-held-out analysis; not_used for Web.

All boxes use absolute pixel xywh, not xyxy and not normalized coordinates. Target centers use absolute pixel [x, y]. Relation labels, valid targets, and asset identifiers are evaluation metadata and should not be exposed to a model when running the task-only benchmark.

Scoring

The case-level 50-pixel accuracy accepts a prediction whose Euclidean distance to any valid target center is at most 50 pixels. Point-in-box accuracy checks whether the prediction lies within any valid target box. Mean distance uses the nearest valid center. Point-in-box and 50-pixel scoring are different geometries; neither is uniformly stricter across button sizes. Count an unparseable click as incorrect without dropping the case from the accuracy denominator, and report the number of parseable predictions used when computing mean distance.

Analysis subsets

The full benchmark's test split is intended for evaluating models without PopupBench-specific training. The Pop-LM analysis reuses a partition of the OS benchmark for training; it is not a separate, newly collected training corpus. Use poplm_template_split or the manifest's exact case IDs to reproduce that analysis. Training and held-out test partitions contain 7,696 and 1,798 cases, respectively, with disjoint OS popup templates. Web is held out from OS training. Do not score a model trained on this OS partition on the full benchmark and interpret that result as held-out performance. The older image-level Pop-LM partition is not encoded by the poplm_template_split column.

API evaluation subsets contain 300 Ubuntu cases (150/150 related/unrelated), 300 Windows cases (145/155), and 283 Web cases (150/133). These are subsets of the same core cases, not additional data. Auxiliary stress tests, real-Windows transfer data, and Mind2Web trajectory experiments are not included in this core release.

Provenance and limitations

  • metadata/canonical_popupbench_manifest.json contains all case annotations, normalization records, split IDs, split statistics, and source hashes. Released image_ref paths are relative to this repository. Historical source paths describe provenance and are not additional files to download.
  • metadata/datasheet.json provides full and subset counts for cases, targets, screenshots, and reusable assets.
  • metadata/checksums.json lists SHA256 hashes of the release files.
  • OS composition controls visual content but does not reproduce live application state, focus events, temporal effects, or error-induced state changes.
  • Web annotations do not establish whether an overlay blocks interaction. Dismissal-policy accuracy is not a live-browser task-completion rate.
  • This static click benchmark does not cover every multi-step, text-entry, or permission-risk scenario.

Licensing

No dataset license has been assigned in this release card yet. Public access does not by itself grant unrestricted reuse rights. Screenshots contain third-party interface content; any applicable rights and restrictions remain with their respective owners.