--- license: cc-by-nc-4.0 language: - en pretty_name: RobustGenBench size_categories: - 100K__` | Transfer adversarial images, e.g. `clip_vitb16_linf_30`, `metaclip_vith14_l1_300`. | ### Common corruptions Shot noise, impulse noise, defocus blur, motion blur, zoom blur, snow, brightness, contrast, elastic transform, pixelate, JPEG compression, all at severity 3 of the ImageNet-C scale. Test image *i* receives corruption *i* mod 11; the assignment is deterministic, so every model is evaluated on identical (image, corruption) pairs. ### Adversarial perturbations Perturbations are crafted with the standard AutoAttack ensemble (APGD-CE, APGD-T, FAB-T, Square) against zero-shot surrogate classifiers. Each surrogate predicts the class whose text embedding (`"a photo of a {class}"`) is closest to the image embedding. AutoAttack only perturbs images the surrogate classifies correctly; other images are copied unchanged (`is_modified = false`). | Norm | Budgets $\epsilon$ | Split suffix | |---|---|---| | $\ell_1$ | 75, 300 | `l1_75`, `l1_300` | | $\ell_2$ | 2, 8 | `l2_2`, `l2_8` | | $\ell_\infty$ | 4/255, 8/255, 30/255 | `linf_4`, `linf_8`, `linf_30` | Budgets are expressed on pixel values in $[0, 1]$; the `epsilon` column stores the exact value (e.g. 0.1176 for 30/255). | Surrogate prefix | Model | Checkpoint | |---|---|---| | `clip_vitb16` | CLIP ViT-B/16 | open_clip `ViT-B-16` / `laion2b_s34b_b88k` | | `clip_vith14` | CLIP ViT-H/14 | open_clip `ViT-H-14` / `laion2b_s32b_b79k` | | `metaclip_vith14` | MetaCLIP ViT-H/14 | open_clip `ViT-H-14-quickgelu` / `metaclip_fullcc` | | `siglip2_so400m` | SigLIP2 SO400M | `google/siglip2-so400m-patch14-384` | | `siglip2_base` | SigLIP2 base | `google/siglip2-base-patch16-224` | ### Coverage SigLIP-family surrogates classify the fine-grained datasets poorly, and a surrogate that misclassifies the clean image provides no attack signal. SigLIP2 SO400M is therefore provided on the three coarse-grained datasets only. SigLIP2 base is provided at $\ell_\infty$ 30/255 only; on the fine-grained datasets it leaves most images unmodified (see `is_modified`). | Split | Caltech-101 | FGVC-Aircraft (2013b) | Oxford Flowers-102 | Oxford-IIIT Pet | Stanford Cars | UC Merced Land Use | |---|---|---|---|---|---|---| | `clip_vitb16_l1_75` | โœ“ | โœ“ | โœ“ | โœ“ | โœ“ | โœ“ | | `clip_vitb16_l1_300` | โœ“ | โœ“ | โœ“ | โœ“ | โœ“ | โœ“ | | `clip_vitb16_l2_2` | โœ“ | โœ“ | โœ“ | โœ“ | โœ“ | โœ“ | | `clip_vitb16_l2_8` | โœ“ | โœ“ | โœ“ | โœ“ | โœ“ | โœ“ | | `clip_vitb16_linf_4` | โœ“ | โœ“ | โœ“ | โœ“ | โœ“ | โœ“ | | `clip_vitb16_linf_8` | โœ“ | โœ“ | โœ“ | โœ“ | โœ“ | โœ“ | | `clip_vitb16_linf_30` | โœ“ | โœ“ | โœ“ | โœ“ | โœ“ | โœ“ | | `clip_vith14_l1_75` | โœ“ | โœ“ | โœ“ | โœ“ | โœ“ | โœ“ | | `clip_vith14_l1_300` | โœ“ | โœ“ | โœ“ | โœ“ | โœ“ | โœ“ | | `clip_vith14_l2_2` | โœ“ | โœ“ | โœ“ | โœ“ | โœ“ | โœ“ | | `clip_vith14_l2_8` | โœ“ | โœ“ | โœ“ | โœ“ | โœ“ | โœ“ | | `clip_vith14_linf_4` | โœ“ | โœ“ | โœ“ | โœ“ | โœ“ | โœ“ | | `clip_vith14_linf_8` | โœ“ | โœ“ | โœ“ | โœ“ | โœ“ | โœ“ | | `clip_vith14_linf_30` | โœ“ | โœ“ | โœ“ | โœ“ | โœ“ | โœ“ | | `metaclip_vith14_l1_75` | โœ“ | โœ“ | โœ“ | โœ“ | โœ“ | โœ“ | | `metaclip_vith14_l1_300` | โœ“ | โœ“ | โœ“ | โœ“ | โœ“ | โœ“ | | `metaclip_vith14_l2_2` | โœ“ | โœ“ | โœ“ | โœ“ | โœ“ | โœ“ | | `metaclip_vith14_l2_8` | โœ“ | โœ“ | โœ“ | โœ“ | โœ“ | โœ“ | | `metaclip_vith14_linf_4` | โœ“ | โœ“ | โœ“ | โœ“ | โœ“ | โœ“ | | `metaclip_vith14_linf_8` | โœ“ | โœ“ | โœ“ | โœ“ | โœ“ | โœ“ | | `metaclip_vith14_linf_30` | โœ“ | โœ“ | โœ“ | โœ“ | โœ“ | โœ“ | | `siglip2_so400m_l1_75` | โœ“ | โ€“ | โœ“ | โ€“ | โ€“ | โœ“ | | `siglip2_so400m_l1_300` | โœ“ | โ€“ | โœ“ | โ€“ | โ€“ | โœ“ | | `siglip2_so400m_l2_2` | โœ“ | โ€“ | โœ“ | โ€“ | โ€“ | โœ“ | | `siglip2_so400m_l2_8` | โœ“ | โ€“ | โœ“ | โ€“ | โ€“ | โœ“ | | `siglip2_so400m_linf_4` | โœ“ | โ€“ | โœ“ | โ€“ | โ€“ | โœ“ | | `siglip2_so400m_linf_8` | โœ“ | โ€“ | โœ“ | โ€“ | โ€“ | โœ“ | | `siglip2_so400m_linf_30` | โœ“ | โ€“ | โœ“ | โ€“ | โ€“ | โœ“ | | `siglip2_base_linf_30` | โœ“ | โœ“ | โœ“ | โœ“ | โœ“ | โœ“ | ## Data fields | Field | Type | Description | |---|---|---| | `image` | image | 224ร—224 RGB PNG. | | `label` | class label | Ground-truth class (use `features["label"].names` for names). | | `image_id` | int32 | Index of the source image within its split; aligns perturbed splits with `test`. | | `perturbation` | string | `clean`, `common_corruption_severity3`, `random_uniform`, or `transfer_autoattack`. | | `surrogate` | string | Surrogate used to craft the attack (null otherwise). | | `norm` | string | `l1`, `l2`, or `linf` (null for clean and common). | | `epsilon` | float32 | Perturbation budget (null for clean and common). | | `corruption` | string | Common corruption applied (`common` split only). | | `is_modified` | bool | Whether the image differs from its clean counterpart. | ## Evaluation protocol RobustGenBench reports accuracy per (dataset, perturbation setting), aggregated with: - **Sum score**: sum of accuracies over all (dataset, setting) pairs. Pool-independent; use it to compare new models with published results. - **Borda score**: rank-based consistency across pairs, only meaningful within a fixed pool of models. The paper uses two sets of settings: - **Fine-tuned vision models (5 settings):** `test`, `common`, and white-box AutoAttack on the evaluated model at $\ell_1 = 75$, $\ell_2 = 2$, $\ell_\infty = 4/255$, crafted from the clean `test` split. Maximum sum score: 30. - **Black-box models, e.g. vision-enabled LLMs (9 settings):** `test`, `common`, and the 7 transfer budgets, taking the strongest surrogate per dataset and setting. ## Intended use and limitations **Intended use:** held-out evaluation of the robustness of image classifiers, fine-tuned or zero-shot, including API-only models. Do not train on the test or perturbed splits. **Limitations** - Transfer attacks give an upper bound on robust accuracy. They are not a substitute for white-box or adaptive attacks when model access is available. - All surrogates are attention-based, so transfer to convolutional targets is weaker. - Budgets are not matched across norms; compare norms only at the intensities provided. - Common corruptions are evaluated at a single severity. - Coverage is limited to six source taxonomies; results do not imply robustness on open-world imagery. **Biases.** The source datasets inherit the biases of their collection, for example Western car models (Stanford Cars) and breeds common in the UK (Oxford-IIIT Pet). Some images may incidentally show people or license plates; no additional anonymization was performed. ## License The perturbed images, splits, and metadata produced for RobustGenBench are released under **[CC BY-NC 4.0](https://creativecommons.org/licenses/by-nc/4.0/)**. This license does not override the terms of the source datasets: every image is a derivative of an upstream image whose rights remain with its owners. Users must comply with both licenses; where they differ, the more restrictive applies. | Source | Homepage | Upstream terms | |---|---|---| | Caltech-101 | [https://data.caltech.edu/records/mzrjq-6wc02](https://data.caltech.edu/records/mzrjq-6wc02) | CC BY 4.0 | | FGVC-Aircraft (2013b) | [https://www.robots.ox.ac.uk/~vgg/data/fgvc-aircraft/](https://www.robots.ox.ac.uk/~vgg/data/fgvc-aircraft/) | non-commercial research use only | | Oxford Flowers-102 | [https://www.robots.ox.ac.uk/~vgg/data/flowers/102/](https://www.robots.ox.ac.uk/~vgg/data/flowers/102/) | see upstream terms | | Oxford-IIIT Pet | [https://www.robots.ox.ac.uk/~vgg/data/pets/](https://www.robots.ox.ac.uk/~vgg/data/pets/) | CC BY-SA 4.0 | | Stanford Cars | [https://ai.stanford.edu/~jkrause/cars/car_dataset.html](https://ai.stanford.edu/~jkrause/cars/car_dataset.html) | see upstream terms (research use) | | UC Merced Land Use | [http://weegee.vision.ucmerced.edu/datasets/landuse.html](http://weegee.vision.ucmerced.edu/datasets/landuse.html) | USGS public-domain imagery | ## Citation ```bibtex @inproceedings{heuillet2026robustgenbench, title = {RobustGenBench: A Benchmark for Robust Generalization to Adversarial and Common Perturbations, with Applications to Vision and Vision-Enabled Large Language Models}, author = {Heuillet, Maxime and Ngnaw{\'e}, Jonas and Pequignot, Yann and Bhagwatkar, Rishika and Larouche, Alexandre and Gagn{\'e}, Christian and Rish, Irina and Ahmad, Ola and Durand, Audrey}, booktitle = {TODO}, year = {2026} } ``` Please also cite the six source datasets. ## Versions - **v2.0** (current): Parquet layout with Dataset Viewer support; restricted to the surrogates reported in the paper. - **v1.0**: original `.tar.zst` archives, kept for reproducibility under the git tag [`v1.0-archives`](https://huggingface.co/datasets/legolasflagstaff/RobustGenBench/tree/v1.0-archives).