Datasets:
Tasks:
Image Classification
Sub-tasks:
multi-class-image-classification
Languages:
English
Size:
100K - 1M
Tags:
adversarial-robustness
common-corruptions
robustness
benchmark
transfer-attacks
vision-language-models
License:
File size: 29,547 Bytes
17cce93 16d0595 17cce93 16d0595 34cf76c 16d0595 34cf76c 16d0595 34cf76c 16d0595 34cf76c 16d0595 34cf76c 16d0595 34cf76c 16d0595 34cf76c 16d0595 34cf76c 16d0595 34cf76c 16d0595 34cf76c 16d0595 34cf76c 16d0595 34cf76c 16d0595 34cf76c 16d0595 34cf76c 16d0595 34cf76c 16d0595 34cf76c 16d0595 34cf76c 16d0595 34cf76c 16d0595 34cf76c 16d0595 34cf76c 16d0595 34cf76c 16d0595 34cf76c 16d0595 34cf76c 16d0595 34cf76c 16d0595 34cf76c 16d0595 34cf76c 16d0595 34cf76c 16d0595 34cf76c 16d0595 34cf76c 16d0595 17cce93 16d0595 17cce93 16d0595 17cce93 16d0595 17cce93 16d0595 17cce93 16d0595 17cce93 16d0595 17cce93 16d0595 17cce93 34cf76c 17cce93 16d0595 17cce93 16d0595 34cf76c 16d0595 34cf76c 16d0595 34cf76c 17cce93 34cf76c 17cce93 16d0595 34cf76c 16d0595 34cf76c 16d0595 34cf76c 16d0595 34cf76c 17cce93 16d0595 17cce93 16d0595 17cce93 34cf76c 16d0595 17cce93 16d0595 17cce93 16d0595 17cce93 34cf76c 17cce93 16d0595 17cce93 16d0595 17cce93 16d0595 17cce93 16d0595 17cce93 16d0595 17cce93 16d0595 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 | ---
license: cc-by-nc-4.0
language:
- en
pretty_name: RobustGenBench
size_categories:
- 100K<n<1M
task_categories:
- image-classification
task_ids:
- multi-class-image-classification
tags:
- adversarial-robustness
- common-corruptions
- robustness
- benchmark
- transfer-attacks
- vision-language-models
- autoattack
configs:
- config_name: caltech101
default: true
data_files:
- split: train
path: data/caltech101/train-*.parquet
- split: validation
path: data/caltech101/validation-*.parquet
- split: test
path: data/caltech101/test-*.parquet
- split: common
path: data/caltech101/common-*.parquet
- split: random_linf_30
path: data/caltech101/random_linf_30-*.parquet
- config_name: fgvc-aircraft-2013b
data_files:
- split: train
path: data/fgvc-aircraft-2013b/train-*.parquet
- split: validation
path: data/fgvc-aircraft-2013b/validation-*.parquet
- split: test
path: data/fgvc-aircraft-2013b/test-*.parquet
- split: common
path: data/fgvc-aircraft-2013b/common-*.parquet
- split: random_linf_30
path: data/fgvc-aircraft-2013b/random_linf_30-*.parquet
- config_name: flowers-102
data_files:
- split: train
path: data/flowers-102/train-*.parquet
- split: validation
path: data/flowers-102/validation-*.parquet
- split: test
path: data/flowers-102/test-*.parquet
- split: common
path: data/flowers-102/common-*.parquet
- split: random_linf_30
path: data/flowers-102/random_linf_30-*.parquet
- config_name: oxford-iiit-pet
data_files:
- split: train
path: data/oxford-iiit-pet/train-*.parquet
- split: validation
path: data/oxford-iiit-pet/validation-*.parquet
- split: test
path: data/oxford-iiit-pet/test-*.parquet
- split: common
path: data/oxford-iiit-pet/common-*.parquet
- split: random_linf_30
path: data/oxford-iiit-pet/random_linf_30-*.parquet
- config_name: stanford_cars
data_files:
- split: train
path: data/stanford_cars/train-*.parquet
- split: validation
path: data/stanford_cars/validation-*.parquet
- split: test
path: data/stanford_cars/test-*.parquet
- split: common
path: data/stanford_cars/common-*.parquet
- split: random_linf_30
path: data/stanford_cars/random_linf_30-*.parquet
- config_name: uc-merced-land-use-dataset
data_files:
- split: train
path: data/uc-merced-land-use-dataset/train-*.parquet
- split: validation
path: data/uc-merced-land-use-dataset/validation-*.parquet
- split: test
path: data/uc-merced-land-use-dataset/test-*.parquet
- split: common
path: data/uc-merced-land-use-dataset/common-*.parquet
- split: random_linf_30
path: data/uc-merced-land-use-dataset/random_linf_30-*.parquet
- config_name: caltech101-clip_vitb16
data_files:
- split: l1_75
path: data/caltech101/clip_vitb16_l1_75-*.parquet
- split: l1_300
path: data/caltech101/clip_vitb16_l1_300-*.parquet
- split: l2_2
path: data/caltech101/clip_vitb16_l2_2-*.parquet
- split: l2_8
path: data/caltech101/clip_vitb16_l2_8-*.parquet
- split: linf_4
path: data/caltech101/clip_vitb16_linf_4-*.parquet
- split: linf_8
path: data/caltech101/clip_vitb16_linf_8-*.parquet
- split: linf_30
path: data/caltech101/clip_vitb16_linf_30-*.parquet
- config_name: fgvc-aircraft-2013b-clip_vitb16
data_files:
- split: l1_75
path: data/fgvc-aircraft-2013b/clip_vitb16_l1_75-*.parquet
- split: l1_300
path: data/fgvc-aircraft-2013b/clip_vitb16_l1_300-*.parquet
- split: l2_2
path: data/fgvc-aircraft-2013b/clip_vitb16_l2_2-*.parquet
- split: l2_8
path: data/fgvc-aircraft-2013b/clip_vitb16_l2_8-*.parquet
- split: linf_4
path: data/fgvc-aircraft-2013b/clip_vitb16_linf_4-*.parquet
- split: linf_8
path: data/fgvc-aircraft-2013b/clip_vitb16_linf_8-*.parquet
- split: linf_30
path: data/fgvc-aircraft-2013b/clip_vitb16_linf_30-*.parquet
- config_name: flowers-102-clip_vitb16
data_files:
- split: l1_75
path: data/flowers-102/clip_vitb16_l1_75-*.parquet
- split: l1_300
path: data/flowers-102/clip_vitb16_l1_300-*.parquet
- split: l2_2
path: data/flowers-102/clip_vitb16_l2_2-*.parquet
- split: l2_8
path: data/flowers-102/clip_vitb16_l2_8-*.parquet
- split: linf_4
path: data/flowers-102/clip_vitb16_linf_4-*.parquet
- split: linf_8
path: data/flowers-102/clip_vitb16_linf_8-*.parquet
- split: linf_30
path: data/flowers-102/clip_vitb16_linf_30-*.parquet
- config_name: oxford-iiit-pet-clip_vitb16
data_files:
- split: l1_75
path: data/oxford-iiit-pet/clip_vitb16_l1_75-*.parquet
- split: l1_300
path: data/oxford-iiit-pet/clip_vitb16_l1_300-*.parquet
- split: l2_2
path: data/oxford-iiit-pet/clip_vitb16_l2_2-*.parquet
- split: l2_8
path: data/oxford-iiit-pet/clip_vitb16_l2_8-*.parquet
- split: linf_4
path: data/oxford-iiit-pet/clip_vitb16_linf_4-*.parquet
- split: linf_8
path: data/oxford-iiit-pet/clip_vitb16_linf_8-*.parquet
- split: linf_30
path: data/oxford-iiit-pet/clip_vitb16_linf_30-*.parquet
- config_name: stanford_cars-clip_vitb16
data_files:
- split: l1_75
path: data/stanford_cars/clip_vitb16_l1_75-*.parquet
- split: l1_300
path: data/stanford_cars/clip_vitb16_l1_300-*.parquet
- split: l2_2
path: data/stanford_cars/clip_vitb16_l2_2-*.parquet
- split: l2_8
path: data/stanford_cars/clip_vitb16_l2_8-*.parquet
- split: linf_4
path: data/stanford_cars/clip_vitb16_linf_4-*.parquet
- split: linf_8
path: data/stanford_cars/clip_vitb16_linf_8-*.parquet
- split: linf_30
path: data/stanford_cars/clip_vitb16_linf_30-*.parquet
- config_name: uc-merced-land-use-dataset-clip_vitb16
data_files:
- split: l1_75
path: data/uc-merced-land-use-dataset/clip_vitb16_l1_75-*.parquet
- split: l1_300
path: data/uc-merced-land-use-dataset/clip_vitb16_l1_300-*.parquet
- split: l2_2
path: data/uc-merced-land-use-dataset/clip_vitb16_l2_2-*.parquet
- split: l2_8
path: data/uc-merced-land-use-dataset/clip_vitb16_l2_8-*.parquet
- split: linf_4
path: data/uc-merced-land-use-dataset/clip_vitb16_linf_4-*.parquet
- split: linf_8
path: data/uc-merced-land-use-dataset/clip_vitb16_linf_8-*.parquet
- split: linf_30
path: data/uc-merced-land-use-dataset/clip_vitb16_linf_30-*.parquet
- config_name: caltech101-clip_vith14
data_files:
- split: l1_75
path: data/caltech101/clip_vith14_l1_75-*.parquet
- split: l1_300
path: data/caltech101/clip_vith14_l1_300-*.parquet
- split: l2_2
path: data/caltech101/clip_vith14_l2_2-*.parquet
- split: l2_8
path: data/caltech101/clip_vith14_l2_8-*.parquet
- split: linf_4
path: data/caltech101/clip_vith14_linf_4-*.parquet
- split: linf_8
path: data/caltech101/clip_vith14_linf_8-*.parquet
- split: linf_30
path: data/caltech101/clip_vith14_linf_30-*.parquet
- config_name: fgvc-aircraft-2013b-clip_vith14
data_files:
- split: l1_75
path: data/fgvc-aircraft-2013b/clip_vith14_l1_75-*.parquet
- split: l1_300
path: data/fgvc-aircraft-2013b/clip_vith14_l1_300-*.parquet
- split: l2_2
path: data/fgvc-aircraft-2013b/clip_vith14_l2_2-*.parquet
- split: l2_8
path: data/fgvc-aircraft-2013b/clip_vith14_l2_8-*.parquet
- split: linf_4
path: data/fgvc-aircraft-2013b/clip_vith14_linf_4-*.parquet
- split: linf_8
path: data/fgvc-aircraft-2013b/clip_vith14_linf_8-*.parquet
- split: linf_30
path: data/fgvc-aircraft-2013b/clip_vith14_linf_30-*.parquet
- config_name: flowers-102-clip_vith14
data_files:
- split: l1_75
path: data/flowers-102/clip_vith14_l1_75-*.parquet
- split: l1_300
path: data/flowers-102/clip_vith14_l1_300-*.parquet
- split: l2_2
path: data/flowers-102/clip_vith14_l2_2-*.parquet
- split: l2_8
path: data/flowers-102/clip_vith14_l2_8-*.parquet
- split: linf_4
path: data/flowers-102/clip_vith14_linf_4-*.parquet
- split: linf_8
path: data/flowers-102/clip_vith14_linf_8-*.parquet
- split: linf_30
path: data/flowers-102/clip_vith14_linf_30-*.parquet
- config_name: oxford-iiit-pet-clip_vith14
data_files:
- split: l1_75
path: data/oxford-iiit-pet/clip_vith14_l1_75-*.parquet
- split: l1_300
path: data/oxford-iiit-pet/clip_vith14_l1_300-*.parquet
- split: l2_2
path: data/oxford-iiit-pet/clip_vith14_l2_2-*.parquet
- split: l2_8
path: data/oxford-iiit-pet/clip_vith14_l2_8-*.parquet
- split: linf_4
path: data/oxford-iiit-pet/clip_vith14_linf_4-*.parquet
- split: linf_8
path: data/oxford-iiit-pet/clip_vith14_linf_8-*.parquet
- split: linf_30
path: data/oxford-iiit-pet/clip_vith14_linf_30-*.parquet
- config_name: stanford_cars-clip_vith14
data_files:
- split: l1_75
path: data/stanford_cars/clip_vith14_l1_75-*.parquet
- split: l1_300
path: data/stanford_cars/clip_vith14_l1_300-*.parquet
- split: l2_2
path: data/stanford_cars/clip_vith14_l2_2-*.parquet
- split: l2_8
path: data/stanford_cars/clip_vith14_l2_8-*.parquet
- split: linf_4
path: data/stanford_cars/clip_vith14_linf_4-*.parquet
- split: linf_8
path: data/stanford_cars/clip_vith14_linf_8-*.parquet
- split: linf_30
path: data/stanford_cars/clip_vith14_linf_30-*.parquet
- config_name: uc-merced-land-use-dataset-clip_vith14
data_files:
- split: l1_75
path: data/uc-merced-land-use-dataset/clip_vith14_l1_75-*.parquet
- split: l1_300
path: data/uc-merced-land-use-dataset/clip_vith14_l1_300-*.parquet
- split: l2_2
path: data/uc-merced-land-use-dataset/clip_vith14_l2_2-*.parquet
- split: l2_8
path: data/uc-merced-land-use-dataset/clip_vith14_l2_8-*.parquet
- split: linf_4
path: data/uc-merced-land-use-dataset/clip_vith14_linf_4-*.parquet
- split: linf_8
path: data/uc-merced-land-use-dataset/clip_vith14_linf_8-*.parquet
- split: linf_30
path: data/uc-merced-land-use-dataset/clip_vith14_linf_30-*.parquet
- config_name: caltech101-metaclip_vith14
data_files:
- split: l1_75
path: data/caltech101/metaclip_vith14_l1_75-*.parquet
- split: l1_300
path: data/caltech101/metaclip_vith14_l1_300-*.parquet
- split: l2_2
path: data/caltech101/metaclip_vith14_l2_2-*.parquet
- split: l2_8
path: data/caltech101/metaclip_vith14_l2_8-*.parquet
- split: linf_4
path: data/caltech101/metaclip_vith14_linf_4-*.parquet
- split: linf_8
path: data/caltech101/metaclip_vith14_linf_8-*.parquet
- split: linf_30
path: data/caltech101/metaclip_vith14_linf_30-*.parquet
- config_name: fgvc-aircraft-2013b-metaclip_vith14
data_files:
- split: l1_75
path: data/fgvc-aircraft-2013b/metaclip_vith14_l1_75-*.parquet
- split: l1_300
path: data/fgvc-aircraft-2013b/metaclip_vith14_l1_300-*.parquet
- split: l2_2
path: data/fgvc-aircraft-2013b/metaclip_vith14_l2_2-*.parquet
- split: l2_8
path: data/fgvc-aircraft-2013b/metaclip_vith14_l2_8-*.parquet
- split: linf_4
path: data/fgvc-aircraft-2013b/metaclip_vith14_linf_4-*.parquet
- split: linf_8
path: data/fgvc-aircraft-2013b/metaclip_vith14_linf_8-*.parquet
- split: linf_30
path: data/fgvc-aircraft-2013b/metaclip_vith14_linf_30-*.parquet
- config_name: flowers-102-metaclip_vith14
data_files:
- split: l1_75
path: data/flowers-102/metaclip_vith14_l1_75-*.parquet
- split: l1_300
path: data/flowers-102/metaclip_vith14_l1_300-*.parquet
- split: l2_2
path: data/flowers-102/metaclip_vith14_l2_2-*.parquet
- split: l2_8
path: data/flowers-102/metaclip_vith14_l2_8-*.parquet
- split: linf_4
path: data/flowers-102/metaclip_vith14_linf_4-*.parquet
- split: linf_8
path: data/flowers-102/metaclip_vith14_linf_8-*.parquet
- split: linf_30
path: data/flowers-102/metaclip_vith14_linf_30-*.parquet
- config_name: oxford-iiit-pet-metaclip_vith14
data_files:
- split: l1_75
path: data/oxford-iiit-pet/metaclip_vith14_l1_75-*.parquet
- split: l1_300
path: data/oxford-iiit-pet/metaclip_vith14_l1_300-*.parquet
- split: l2_2
path: data/oxford-iiit-pet/metaclip_vith14_l2_2-*.parquet
- split: l2_8
path: data/oxford-iiit-pet/metaclip_vith14_l2_8-*.parquet
- split: linf_4
path: data/oxford-iiit-pet/metaclip_vith14_linf_4-*.parquet
- split: linf_8
path: data/oxford-iiit-pet/metaclip_vith14_linf_8-*.parquet
- split: linf_30
path: data/oxford-iiit-pet/metaclip_vith14_linf_30-*.parquet
- config_name: stanford_cars-metaclip_vith14
data_files:
- split: l1_75
path: data/stanford_cars/metaclip_vith14_l1_75-*.parquet
- split: l1_300
path: data/stanford_cars/metaclip_vith14_l1_300-*.parquet
- split: l2_2
path: data/stanford_cars/metaclip_vith14_l2_2-*.parquet
- split: l2_8
path: data/stanford_cars/metaclip_vith14_l2_8-*.parquet
- split: linf_4
path: data/stanford_cars/metaclip_vith14_linf_4-*.parquet
- split: linf_8
path: data/stanford_cars/metaclip_vith14_linf_8-*.parquet
- split: linf_30
path: data/stanford_cars/metaclip_vith14_linf_30-*.parquet
- config_name: uc-merced-land-use-dataset-metaclip_vith14
data_files:
- split: l1_75
path: data/uc-merced-land-use-dataset/metaclip_vith14_l1_75-*.parquet
- split: l1_300
path: data/uc-merced-land-use-dataset/metaclip_vith14_l1_300-*.parquet
- split: l2_2
path: data/uc-merced-land-use-dataset/metaclip_vith14_l2_2-*.parquet
- split: l2_8
path: data/uc-merced-land-use-dataset/metaclip_vith14_l2_8-*.parquet
- split: linf_4
path: data/uc-merced-land-use-dataset/metaclip_vith14_linf_4-*.parquet
- split: linf_8
path: data/uc-merced-land-use-dataset/metaclip_vith14_linf_8-*.parquet
- split: linf_30
path: data/uc-merced-land-use-dataset/metaclip_vith14_linf_30-*.parquet
- config_name: caltech101-siglip2_so400m
data_files:
- split: l1_75
path: data/caltech101/siglip2_so400m_l1_75-*.parquet
- split: l1_300
path: data/caltech101/siglip2_so400m_l1_300-*.parquet
- split: l2_2
path: data/caltech101/siglip2_so400m_l2_2-*.parquet
- split: l2_8
path: data/caltech101/siglip2_so400m_l2_8-*.parquet
- split: linf_4
path: data/caltech101/siglip2_so400m_linf_4-*.parquet
- split: linf_8
path: data/caltech101/siglip2_so400m_linf_8-*.parquet
- split: linf_30
path: data/caltech101/siglip2_so400m_linf_30-*.parquet
- config_name: flowers-102-siglip2_so400m
data_files:
- split: l1_75
path: data/flowers-102/siglip2_so400m_l1_75-*.parquet
- split: l1_300
path: data/flowers-102/siglip2_so400m_l1_300-*.parquet
- split: l2_2
path: data/flowers-102/siglip2_so400m_l2_2-*.parquet
- split: l2_8
path: data/flowers-102/siglip2_so400m_l2_8-*.parquet
- split: linf_4
path: data/flowers-102/siglip2_so400m_linf_4-*.parquet
- split: linf_8
path: data/flowers-102/siglip2_so400m_linf_8-*.parquet
- split: linf_30
path: data/flowers-102/siglip2_so400m_linf_30-*.parquet
- config_name: uc-merced-land-use-dataset-siglip2_so400m
data_files:
- split: l1_75
path: data/uc-merced-land-use-dataset/siglip2_so400m_l1_75-*.parquet
- split: l1_300
path: data/uc-merced-land-use-dataset/siglip2_so400m_l1_300-*.parquet
- split: l2_2
path: data/uc-merced-land-use-dataset/siglip2_so400m_l2_2-*.parquet
- split: l2_8
path: data/uc-merced-land-use-dataset/siglip2_so400m_l2_8-*.parquet
- split: linf_4
path: data/uc-merced-land-use-dataset/siglip2_so400m_linf_4-*.parquet
- split: linf_8
path: data/uc-merced-land-use-dataset/siglip2_so400m_linf_8-*.parquet
- split: linf_30
path: data/uc-merced-land-use-dataset/siglip2_so400m_linf_30-*.parquet
- config_name: caltech101-siglip2_base
data_files:
- split: linf_30
path: data/caltech101/siglip2_base_linf_30-*.parquet
- config_name: fgvc-aircraft-2013b-siglip2_base
data_files:
- split: linf_30
path: data/fgvc-aircraft-2013b/siglip2_base_linf_30-*.parquet
- config_name: flowers-102-siglip2_base
data_files:
- split: linf_30
path: data/flowers-102/siglip2_base_linf_30-*.parquet
- config_name: oxford-iiit-pet-siglip2_base
data_files:
- split: linf_30
path: data/oxford-iiit-pet/siglip2_base_linf_30-*.parquet
- config_name: stanford_cars-siglip2_base
data_files:
- split: linf_30
path: data/stanford_cars/siglip2_base_linf_30-*.parquet
- config_name: uc-merced-land-use-dataset-siglip2_base
data_files:
- split: linf_30
path: data/uc-merced-land-use-dataset/siglip2_base_linf_30-*.parquet
---
# RobustGenBench
**A standardized benchmark for robust generalization of image classifiers across common and adversarial ($\ell_1, \ell_2, \ell_\infty$) perturbations.**
π Paper Β· π» [Code](https://github.com/legolasflagstaff/robust_training) Β· π [Citation](#citation)
RobustGenBench evaluates how well a classifier keeps its accuracy on perturbation types it was not trained against. It provides six downstream classification datasets with fixed splits at 224Γ224 resolution, together with perturbed copies of every test set:
- **Common corruptions** (11 types, severity 3): model-independent, the same images for every model.
- **Random uniform noise** ($\ell_\infty \le 30/255$): a control for the adversarial perturbations.
- **Transfer adversarial perturbations** (136,180 images): crafted with AutoAttack on 5 open-weight vision-language surrogates, across 7 budgets in $\ell_1$, $\ell_2$, $\ell_\infty$.
Because the adversarial images are pre-computed, any model, including API-only systems such as vision-enabled LLMs, can be evaluated **by inference alone**, without GPU access. For white-box evaluation, attack your own model on the clean `test` split.
In total: 5,420 clean test images and 147,020 perturbed test images.
## Quick start
```python
from datasets import load_dataset
repo = "legolasflagstaff/RobustGenBench"
# Clean and model-independent splits: config "<dataset>".
clean = load_dataset(repo, "uc-merced-land-use-dataset", split="test")
common = load_dataset(repo, "uc-merced-land-use-dataset", split="common")
# Transfer attacks: config "<dataset>-<surrogate>", one split per budget.
adv = load_dataset(repo, "uc-merced-land-use-dataset-clip_vith14", split="linf_30")
row = adv[0]
row["image"] # PIL.Image, 224Γ224 RGB
adv.features["label"].int2str(row["label"]) # class name
row["image_id"] # aligns with the clean image of the same id
```
Evaluate a classifier on every perturbation setting of one dataset:
```python
from datasets import load_dataset, get_dataset_config_names, get_dataset_split_names
repo, name = "legolasflagstaff/RobustGenBench", "flowers-102"
settings = [(name, s) for s in ("test", "common", "random_linf_30")]
for cfg in get_dataset_config_names(repo):
if cfg.startswith(name + "-"): # one config per surrogate
settings += [(cfg, s) for s in get_dataset_split_names(repo, cfg)]
for cfg, split in settings:
ds = load_dataset(repo, cfg, split=split)
acc = sum(predict(x["image"]) == x["label"] for x in ds) / len(ds) # your model here
print(f"{cfg:34s} {split:15s} {acc:.3f}")
```
All perturbed splits are aligned with `test` by `image_id`: row *i* of every perturbed split is a perturbed version of row *i* of `test`, with the same label.
## Datasets
| Config | Dataset | Domain | Granularity | Classes | Train | Validation | Test |
|---|---|---|---|---|---|---|---|
| `caltech101` | Caltech-101 | objects | coarse | 101 | 5,899 | 1,042 | 1,000 |
| `fgvc-aircraft-2013b` | FGVC-Aircraft (2013b) | aircraft | fine | 100 | 3,334 | 3,333 | 1,000 |
| `flowers-102` | Oxford Flowers-102 | flowers | fine | 102 | 1,020 | 1,020 | 1,000 |
| `oxford-iiit-pet` | Oxford-IIIT Pet | pets | fine | 37 | 3,128 | 552 | 1,000 |
| `stanford_cars` | Stanford Cars | cars | fine | 196 | 6,922 | 1,222 | 1,000 |
| `uc-merced-land-use-dataset` | UC Merced Land Use | satellite | coarse | 21 | 1,428 | 252 | 420 |
Test sets are standardized to at most 1,000 images by uniform sampling, preserving all classes. All images are resized to 224Γ224Γ3 and stored as lossless PNG.
## Configs and splits
| Config | Split | Content |
|---|---|---|
| `<dataset>` | `train`, `validation` | Clean images, for fine-tuning. |
| `<dataset>` | `test` | Clean test images, the reference for all perturbed splits. |
| `<dataset>` | `common` | Each test image with one of 11 common corruptions at severity 3 (column `corruption`). |
| `<dataset>` | `random_linf_30` | Uniform random noise with $\lVert\delta\rVert_\infty \le 30/255$. |
| `<dataset>-<surrogate>` | `<norm>_<eps>` | Transfer adversarial images, e.g. config `flowers-102-clip_vitb16`, split `linf_30`. |
The Parquet files themselves live under `data/<dataset>/`.
### 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$ | Splits |
|---|---|---|
| $\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).
| Config suffix | 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`).
| Surrogate | Split | Caltech-101 | FGVC-Aircraft (2013b) | Oxford Flowers-102 | Oxford-IIIT Pet | Stanford Cars | UC Merced Land Use |
|---|---|---|---|---|---|---|---|
| CLIP ViT-B/16 | `l1_75` | β | β | β | β | β | β |
| CLIP ViT-B/16 | `l1_300` | β | β | β | β | β | β |
| CLIP ViT-B/16 | `l2_2` | β | β | β | β | β | β |
| CLIP ViT-B/16 | `l2_8` | β | β | β | β | β | β |
| CLIP ViT-B/16 | `linf_4` | β | β | β | β | β | β |
| CLIP ViT-B/16 | `linf_8` | β | β | β | β | β | β |
| CLIP ViT-B/16 | `linf_30` | β | β | β | β | β | β |
| CLIP ViT-H/14 | `l1_75` | β | β | β | β | β | β |
| CLIP ViT-H/14 | `l1_300` | β | β | β | β | β | β |
| CLIP ViT-H/14 | `l2_2` | β | β | β | β | β | β |
| CLIP ViT-H/14 | `l2_8` | β | β | β | β | β | β |
| CLIP ViT-H/14 | `linf_4` | β | β | β | β | β | β |
| CLIP ViT-H/14 | `linf_8` | β | β | β | β | β | β |
| CLIP ViT-H/14 | `linf_30` | β | β | β | β | β | β |
| MetaCLIP ViT-H/14 | `l1_75` | β | β | β | β | β | β |
| MetaCLIP ViT-H/14 | `l1_300` | β | β | β | β | β | β |
| MetaCLIP ViT-H/14 | `l2_2` | β | β | β | β | β | β |
| MetaCLIP ViT-H/14 | `l2_8` | β | β | β | β | β | β |
| MetaCLIP ViT-H/14 | `linf_4` | β | β | β | β | β | β |
| MetaCLIP ViT-H/14 | `linf_8` | β | β | β | β | β | β |
| MetaCLIP ViT-H/14 | `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).
|