Skip to main content

argus-uq

A Python library for uncertainty quantification on vision-language-model GUI grounding agents.

argus-uq is the first reproducible benchmark library that unifies twenty-seven UQ methods across seven families (logit, sampling, consistency, density, attention-trace, verbalised, VLM-native) on the four canonical single-step grounding datasets (ScreenSpot-v2, ScreenSpot-Pro, OSWorld-G, UI-Vision) for both open-weight VLMs (Qwen2.5-VL family, UI-TARS-1.5-7B, POINTS-GUI-G-8B) and closed-API frontier vendors (OpenAI GPT, Anthropic Claude, Google Gemini, paneled across the eight vendor-API-feasible methods that share formula identity with the open-weight panel).

It loads per-item records and 50-seed metric matrices for 16 open-weight cells and 12 closed-API cells, re-scores any of the 27 UQ methods on user-supplied grounding records, and emits deployable inductive-conformal click-disks with formal marginal-coverage guarantees in three variants (Disk-Fixed, Disk-Normalized, Disk-CQR).

The package accompanies the paper Argus: A Cross-Regime Study of Uncertainty Quantification Transferability in Single-Step GUI Grounding (NeurIPS 2026 Evaluations and Datasets Track).

Install

Python 3.10 to 3.12.

pip install argus-uq

The wheel bundles the per-item scores, derived tables and subset definitions, so load, score, conformal_disk and the CLIs work without this repository. The raw closed-source API records (data_release/closed_source_records/) and the master long CSVs are in this repository only; no public call needs them.

To work from source:

git clone https://github.com/divake/argus-uq
cd argus-uq
python -m venv .venv && source .venv/bin/activate
pip install -e .                   # core library
pip install -e .[whitebox]         # + HF transformers VLM stack
pip install -e .[closed]           # + closed-source vendor SDKs
pip install -e .[paper]            # + paper-reproducing scripts
pip install -e .[dev]              # + linting and testing
pip install -e .[all]              # everything

To use your own copy of the data, set export ARGUS_DATA_DIR=/path/to/data_release.

Quickstart

import argus_uq

# Load a cell - per-item records and per-seed scores from the released
# artifacts.
cell = argus_uq.load("PTxOSG")  # POINTS-GUI-G x OSWorld-G

# Score any of the 27 UQ methods. Returns AUROC, PRR_normalized@0.5, AUSE,
# AURC, ECE_iso, Brier_iso with bootstrap CIs (multi-seed if seeds=50).
result = argus_uq.score(cell, method="saplma", seeds=50)
print(result.auroc, result.auroc_std)   # ~0.802, ~0.011

# Build a deployable conformal click-disk at marginal coverage 1 - alpha.
disk = argus_uq.conformal_disk(
    cell,
    plug_in="saplma",             # any of the 27 UQ methods or "none"
    alpha=0.10,
    variant="normalized",         # "fixed" | "normalized" | "cqr"
)
print(disk.radius_pixels, disk.coverage)

Reproducing the paper

argus_reproduce --list                     # every table name
argus_reproduce --table cells              # the 16+12 cell catalog
argus_reproduce --table leaderboard        # open-weight mean AUROC across cells
argus_reproduce --table leaderboard_closed # closed-API mean AUROC across cells
argus_reproduce --table rho                # 16x16 cross-cell Spearman matrix
argus_reproduce --all                      # every table

These commands print the released CSVs in data_release/derived/, which hold the numbers reported in the paper. argus_uq.score and argus_uq.conformal_disk recompute from the per-item scores with the package's own random splits. Their AUROC means differ from the CSVs by up to about 0.006, the top method of every closed-API cell is unchanged, and their AUSE and conformal radii use different conventions from the CSVs, so use the CSVs to compare against the paper.

argus_capture scores raw per-item signals (logprobs, hidden states, sample clicks; see argus_uq.records.Record). The released parquets hold finished scores, not raw signals, so it returns NaN or chance-level metrics on them. Use argus_score for released cells.

Layout

src/argus_uq/        importable library
├── api.py           the 3-entry-point Listing 1 surface
├── cell.py          Cell dataclass + per-item record loader
├── factory.py       name -> class registry
├── manager.py       ScoringManager (topo-orders stat calculators + estimators)
├── estimators/      27 UQ methods (one file per family)
├── stat_calculators/ inputs to estimators (greedy, samples, hidden, attention)
├── models/          agent abstractions (whitebox HF + closed-source APIs)
├── envs/            ScreenSpot-v2, ScreenSpot-Pro, OSWorld-G, UI-Vision
├── ue_metrics/      AUROC, PRR, AUSE, AURC, ECE, Brier, isotonic
├── conformal/       Disk-Fixed, Disk-Normalized, Disk-CQR, CRC
├── analysis/        leaderboard, cross-cell rho, family aggregates
├── data/            released-artifact loaders (parquets + CSVs)
└── utils/           paths, seeds, logging

examples/            quickstart.py and two cross-cell examples
tests/               225 unit + integration tests + 7 live smoke tests
data_release/        16+12 per-item parquets, 29 derived CSVs, 4 subsets

License

  • Code: MIT (LICENSE).
  • Released datasets and per-item records: CC-BY-4.0 (LICENSE-DATA).
  • Third-party attributions: NOTICES.md.

Citation

If you use argus-uq, please cite the paper (CITATION.cff has the same information):

@inproceedings{kumar2026argus,
  title     = {Argus: A Cross-Regime Study of Uncertainty Quantification
               Transferability in Single-Step GUI Grounding},
  author    = {Kumar, Divake and Tayebati, Sina and Naik, Devashri and
               Rios, Amanda Sofie and Ahuja, Nilesh and Tickoo, Omesh and
               Krishnan, Ranganath and Trivedi, Amit Ranjan},
  booktitle = {NeurIPS 2026 Evaluations and Datasets Track},
  year      = {2026}
}

Metadata

Release files for argus-uq 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for argus-uq 0.1.0
File Size Uploaded Provenance Actions
argus_uq-0.1.0.tar.gz 2.9 MB Without provenance Details for argus_uq-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for argus-uq 0.1.0
File Interpreter ABI Platform Actions
argus_uq-0.1.0-py3-none-any.whl Python 3 none any Details for argus_uq-0.1.0-py3-none-any.whl

Total release size: 5.9 MB

Release files / argus_uq-0.1.0.tar.gz

Download URL argus_uq-0.1.0.tar.gz
Size 2.9 MB
Tags Source
SHA-256 checksum
How to use checksums
4d4263c3c8cf8a732857d8b45931a73036738572a6ab4981d61c5a361b16f236
BLAKE2b-256 checksum
How to use checksums
abfa51f4c6a033008971f6ea26de1501c26c343b088958dbef180c8981d2e0bb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.13

Release files / argus_uq-0.1.0-py3-none-any.whl

Download URL argus_uq-0.1.0-py3-none-any.whl
Size 3.0 MB
Tags Python 3
SHA-256 checksum
How to use checksums
45861e012383ae629168abca9e51f8e9126c6fc771f507384d2fce0ccac58b6b
BLAKE2b-256 checksum
How to use checksums
e07aa72fe4c2f47a68407d953d381f9f8a9717a0b1f7cd45ab52007b894e0a30
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.13

Security for argus-uq 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page