ImageNet-Patch: A Dataset for Benchmarking Machine Learning Robustness against Adversarial Patches
Maura Pintor, Daniele Angioni, Angelo Sotgiu, Luca Demetrio, Ambra Demontis, Battista Biggio, Fabio Roli
TL;DR
ImageNet-Patch introduces a fast, transferable adversarial patch benchmark by pre-optimizing patches on an ensemble of models and applying them to ImageNet images under random affine transforms. This yields a 50,000-sample dataset (10 patches × 5,000 images) to rapidly assess robustness across many architectures, including both standard and robustly trained models, with a physical-world validation showing consistent trends. The method highlights the value of transferability and affine invariance for rapid robustness evaluation, while also noting limitations vs full adversarial attacks. The work positions ImageNet-Patch as a complementary benchmark to robustness suites like RobustBench and as a foundation for cross-model leaderboard-style evaluation of patch-based robustness.
Abstract
Adversarial patches are optimized contiguous pixel blocks in an input image that cause a machine-learning model to misclassify it. However, their optimization is computationally demanding, and requires careful hyperparameter tuning, potentially leading to suboptimal robustness evaluations. To overcome these issues, we propose ImageNet-Patch, a dataset to benchmark machine-learning models against adversarial patches. It consists of a set of patches, optimized to generalize across different models, and readily applicable to ImageNet data after preprocessing them with affine transformations. This process enables an approximate yet faster robustness evaluation, leveraging the transferability of adversarial perturbations. We showcase the usefulness of this dataset by testing the effectiveness of the computed patches against 127 models. We conclude by discussing how our dataset could be used as a benchmark for robustness, and how our methodology can be generalized to other domains. We open source our dataset and evaluation code at https://github.com/pralab/ImageNet-Patch.
