NeurIPS 2026 · Evaluations & Datasets Track

RobustGenBench

A Benchmark for Robust Generalization to Adversarial and Common Perturbations, with Applications to Vision and Vision-Enabled Large Language Models

Example perturbations

Clean image of a flower
Clean
Same flower with a common corruption
Common, severity 3
Same flower with an l1 adversarial perturbation
ℓ1, ε = 300
Same flower with an l2 adversarial perturbation
ℓ2, ε = 8
Same flower with an l-infinity adversarial perturbation
ℓ∞, ε = 30/255

TL;DR Models face perturbations they were not trained against. RobustGenBench measures how well robustness generalizes across 23 perturbation types on six downstream datasets, for robustly fine-tuned vision models and vision-enabled LLMs alike, and releases 147k pre-computed adversarial images so any model, even an API, can be evaluated by inference alone.

Abstract

Robust generalization in the imaging domain, i.e., how models perform across diverse perturbation settings, is poorly understood for modern classification techniques such as robust fine-tuning from pretrained backbones and zero-shot classification with vision-enabled large language models (Ve-LLMs). We introduce RobustGenBench, a standardized benchmark of six classification datasets with reproducible evaluation splits and a unified perturbation protocol covering adversarial (ℓ1, ℓ2, ℓ∞) and common perturbations. It releases a corpus of pre-computed adversarial images transferred from open-weight VLM surrogates, enabling black-box robustness evaluation of any model, including API-only systems, without GPU access. Using RobustGenBench, we conduct one of the most comprehensive studies of robust fine-tuning to date (40 pretrained backbones, 2 robust losses, and 3 adaptation protocols, yielding 7,200 robustness measurements). Convolutional architectures with TRADES perform best at base scale, the advantage of TRADES over Classic AT widens as size grows, and hybrid architectures unlock competitive robust generalization. We further evaluate four Ve-LLMs from four providers: the strongest rivals robustly fine-tuned vision models on clean and common perturbations, and all are least affected by transferred ℓ1 perturbations, the hardest setting for vision models under white-box attacks. By evaluating both modeling techniques on the same tasks and perturbation settings, RobustGenBench provides a unifying view of robust generalization.

The benchmark

6downstream datasets
23perturbation types
147kreleased perturbed images
7,200fine-tuning measurements

Datasets

The six RobustGenBench datasets
DatasetDomainClassesTest
Caltech-101objects, coarse1011,000
FGVC-Aircraftaircraft, fine1001,000
Flowers-102flowers, fine1021,000
Oxford-IIIT Petpets, fine371,000
Stanford Carscars, fine1961,000
UC Merced Land Usesatellite, coarse21420

Fixed splits, 224×224 images, test sets capped at 1,000 images: evaluation cost depends only on the model.

Perturbation settings

  • Common corruptions: 11 types (noise, blur, weather, digital) at severity 3. Model-independent.
  • Adversarial: ℓ1, ℓ2, ℓ∞-bounded, full AutoAttack ensemble.
    • Vision models (white-box): ε1 = 75, ε2 = 2, ε∞ = 4/255.
    • Black-box models (transfer): adds ε1 = 300, ε2 = 8, ε∞ ∈ {8, 30}/255, crafted on 5 open-weight VLM surrogates (CLIP, MetaCLIP, SigLIP2).
  • Metrics: Sum score (absolute, pool-independent), Borda score (rank consistency), and Mean Absolute Correlation (how uniformly robustness transfers across settings).

Study 1: robust fine-tuning of vision models

We fine-tune 40 pretrained backbones (19 architectures; convolutional, attention-based, and hybrid; tiny to base size; 6 pre-training protocols) with Classic AT and TRADES under three protocols (full fine-tuning for 50 or 5 epochs, linear probing).

Scatter plot of clean versus robust performance for the 80 full fine-tuning configurations, colored by design choice
Clean vs. robust performance of the 80 configurations fine-tuned for 50 epochs.

Key findings

Bar chart of mean Borda score by loss function and architecture size; TRADES outperforms Classic AT with a widening gap at larger sizes
TRADES vs. Classic AT by architecture size.
Bar chart of mean Borda score by architecture type and size; hybrid architectures lead at tiny size
Architecture type × size.

Top configurations (FFT-50)

Top FFT-50 configurations by sum score
#BackboneTypePre-trainingLossSum score
1convnext_b,sup,in22kconvolutionalsupervisedTRADES19.79
2convnext_b,clip,laion2bconvolutionalmultimodalTRADES19.40
3coatnet_2,sup,in12khybridsupervisedTRADES18.87
4coatnet_2,sup,in12k-in1khybridmultistepTRADES18.74
5convnext_b,clip,laionaconvolutionalmultimodalTRADES18.24

Full leaderboards for all three protocols: robustgenbench.reference() in the code release.

Study 2: vision-enabled LLMs

We evaluate GPT-4o mini, Gemini 3 Flash, Kimi K2.5, and Qwen3 VL 235B as zero-shot classifiers through their APIs, under transfer attacks from open-weight VLM surrogates.

Average accuracy of the four Ve-LLMs across the six datasets
ModelCleanCommonℓ1@300ℓ∞@30/255
Gemini 3 Flash91.878.189.659.8
Kimi K2.586.866.481.133.9
Qwen3 VL 235B76.460.170.532.4
GPT-4o mini74.660.469.836.4

Accuracy (%) averaged over datasets; adversarial columns use the strongest surrogate per dataset.

Key findings

  • Standard budgets barely affect Ve-LLMs. At ε∞ = 4/255 drops stay within a few points; higher intensities are needed to stress-test them.
  • ℓ1 is the least damaging norm for every Ve-LLM (2–6 points lost at ℓ1@300 vs. 32–53 at ℓ∞@30/255), while it is the hardest one for vision models under white-box attacks.
  • The best surrogate depends on the target. SigLIP2 transfers best to Gemini and GPT-4o mini, CLIP ViT-H/14 to Kimi and Qwen.
Bar charts comparing sum scores of Ve-LLMs and fine-tuned vision models on clean and common perturbations, and on adversarial perturbations under transfer and white-box attacks
Ve-LLMs vs. fine-tuned vision models. Solid: comparable (model-independent or same transfer attack). Hatched: white-box, vision models only.

Evaluate your model

The robustgenbench package connects any model to the benchmark and ranks it against the paper's results.

A vision-enabled LLM (any OpenAI-compatible API)

pip install -e ".[vlm]"
robustgenbench eval-vlm --model gpt-4o-mini
robustgenbench leaderboard results.jsonl --compare vellm

Any black-box model

import robustgenbench as rgb

class MyModel(rgb.BlackBoxClassifier):
    def predict(self, image, class_names):
        return my_model(image, class_names)  # class name or index

results = rgb.evaluate_classifier(MyModel(), "my-model")

A PyTorch classifier (white-box AutoAttack)

from robustgenbench.vision import evaluate_model

results = evaluate_model(
    None, "my-convnext",
    model_for_dataset=lambda d, _: load_my_model(d))
print(rgb.leaderboard(results, compare_with="fft50"))

Just the data

from datasets import load_dataset
repo = "legolasflagstaff/RobustGenBench"
test = load_dataset(repo, "flowers-102", split="test")
adv  = load_dataset(repo, "flowers-102-clip_vith14",
                    split="linf_30")

Perturbations across datasets

The same test image under each perturbation (surrogate: CLIP ViT-H/14).

Example images for each dataset and perturbation
SettingCaltech-101AircraftFlowersPetCarsUC Merced

Citation

@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 = {The Fortieth Annual Conference on Neural Information Processing Systems Evaluations and Datasets Track},
  url       = {https://openreview.net/forum?id=KDsuVST8by},
  year      = {2026}
}