The Space of Transferable Adversarial Examples
Florian Tramèr, Nicolas Papernot, Ian Goodfellow, Dan Boneh, Patrick McDaniel
TL;DR
The paper investigates why adversarial examples often transfer across models by quantifying the dimensionality of adversarial subspaces and analyzing decision boundary proximity. It introduces GAAS to identify many orthogonal adversarial directions, revealing a high-dimensional, contiguous subspace whose perturbations largely transfer between models, even across architectures. It then links transferability to boundary geometry via distance-based metrics and demonstrates that adversarial training offers limited displacement of decision boundaries, leaving room for black-box attacks. Finally, the work provides sufficient conditions for transferability via model-agnostic perturbations and presents counterexamples (including XOR artifacts) showing transfer is not universal, suggesting potential defenses tailored to data and representation properties.
Abstract
Adversarial examples are maliciously perturbed inputs designed to mislead machine learning (ML) models at test-time. They often transfer: the same adversarial example fools more than one model. In this work, we propose novel methods for estimating the previously unknown dimensionality of the space of adversarial inputs. We find that adversarial examples span a contiguous subspace of large (~25) dimensionality. Adversarial subspaces with higher dimensionality are more likely to intersect. We find that for two different models, a significant fraction of their subspaces is shared, thus enabling transferability. In the first quantitative analysis of the similarity of different models' decision boundaries, we show that these boundaries are actually close in arbitrary directions, whether adversarial or benign. We conclude by formally studying the limits of transferability. We derive (1) sufficient conditions on the data distribution that imply transferability for simple model classes and (2) examples of scenarios in which transfer does not occur. These findings indicate that it may be possible to design defenses against transfer-based attacks, even for models that are vulnerable to direct attacks.
