DANG-ai/ScreenSpot-Efficiency-Code
HF Paper ↗Client–server GUI grounding benchmark for accuracy and latency against expert times
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Tracked from daily D1 telemetry snapshots. Hover any data point for exact daily star counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
ScreenSpot-Efficiency (SS-E) separates model serving from evaluation. serve_h200.py starts the local checkpoint server; run_test.py drives the benchmark, judges responses, and writes JSONL. The file tree separates model-family code under families/, judging code under judges/, and serving environments under environments/. requirements.txt lists av, Pillow, jinja2, pyarrow>=14, and huggingface-hub>=0.24; the SS-E input path uses Hugging Face test-split Parquet shards.
The API boundary lets the same runner work with an external OpenAI-compatible service via --endpoint and --served-model-name. Compatibility extends beyond the request schema: the service must preserve the model's required trailing marker, and MolmoPoint-GUI responses must expose native_parse.points_rel, native_parse.parse_ok, and native_parse.no_action. Check that contract before running the full suite; otherwise, parser behavior can be mistaken for model performance.
Key Capabilities & Differentiators
SS-E covers 9,160 GUI grounding tasks from real screen recordings across 36 scenario types. Each task pairs an instruction with target geometry, timing annotations, and an expert completion time. H-GATE scores grounding accuracy and latency against the expert time for each task. The runner also reports accuracy, spatial accuracy, mean latency, and Acc@Human, and writes the sample ID, verdict, latency in milliseconds, and request trace to JSONL for each sample and run.
The same harness supports ScreenSpot-v2, ScreenSpot-Pro, OSWorld-G, and VisualWebBench. Set --benchmark on both server and client and point the client at a local dataset directory containing annotations/ and images/. Human-referenced metrics for these datasets require human_mean_ms or human_mean in the annotations, or --human-times with a JSON mapping from sample IDs to expert times in milliseconds.
Trade-offs & Limitations
Compared with evaluating ScreenSpot-v2 or ScreenSpot-Pro solely on static localization accuracy, SS-E can distinguish models that locate the same targets correctly but take different amounts of time relative to an expert. That extra signal costs more to collect: the dataset needs about 26 GB, and five sequential runs are the default. Use --runs 1 for a smoke test and a fresh output filename for each invocation. Keep one request active during timing; this setup measures latency, not concurrent serving throughput.
An external API avoids running the model server locally, but network and service overhead can affect the comparison. Hold the serving path and request policy constant when comparing latency, and verify that the API preserves the parser fields and markers the benchmark expects. Local serving gives you more control over those variables but requires managing the checkpoint and its environment. The H200 example establishes neither a minimum GPU nor an exact VRAM requirement.
Hardware & Deployment Guide
Run python run_test.py --list-models to check the supported model, mode, checkpoint, and environment combinations. Keep each serving stack in a separate Python 3.12 environment, except tars073, which uses Python 3.11. The concrete local example installs environments/qwen017.txt alongside requirements.txt, starts qwen35_9B in no_think mode on one NVIDIA H200, and runs the client separately with the same environment and checkpoint path. No project release is listed, so pin the repository revision when comparing runs over time.
Allow about 26 GB of disk space for SS-E. The runner downloads the Hugging Face test split on first use and reuses the cached shards; --data-dir can point to an existing snapshot containing data/test-*.parquet. Install the base requirements and use --check-inputs to verify sample IDs, annotations, and judging rules without a GPU. If inference already runs on a compatible service, use the endpoint flags rather than bringing up the local GPU server.
run_test.py can use the local server started by serve_h200.py or an external OpenAI-compatible endpoint that preserves the required response details.--check-inputs checks sample IDs, annotations, and judging rules without a GPU; cached Parquet shards can be reused across runs.Evaluating whether GUI grounding models can locate targets accurately and quickly relative to expert completion times, with per-sample traces for investigating regressions.
You need full GUI task completion, concurrent serving throughput, or only a quick static-accuracy check without downloading the SS-E recordings.
Quick Start & Installation
git clone https://github.com/DANG-ai/ScreenSpot-Efficiency-Code.git cd ScreenSpot-Efficiency-Code python run_test.py --list-models
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/DANG-ai/ScreenSpot-Efficiency-Code.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about ScreenSpot-Efficiency-Code
How do I integrate a local checkpoint or an existing inference API?
python run_test.py --list-models to see supported model, mode, checkpoint, and environment combinations. For an external OpenAI-compatible service, pass --endpoint and --served-model-name to the client. The service must preserve any required trailing marker. For MolmoPoint-GUI it must also return native_parse.points_rel, native_parse.parse_ok, and native_parse.no_action in each response.Do I need an H200, and what resources should I budget?
--check-inputs. The local qwen35_9B serving example uses one NVIDIA H200, but that is a reference configuration, not a minimum GPU or VRAM requirement. Size the server for the selected checkpoint and serving stack, keep one request active for latency measurements, and budget about 26 GB of disk space for the SS-E dataset.Can a company self-host this benchmark under the MIT license?
When should I use SS-E instead of a screenshot-only benchmark?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy