[Paper Review] Improving Transferability of Adversarial Examples with Input Diversity
The paper introduces input diversity (random transformations during iterative attacks) to boost adversarial example transferability, and further enhances it with momentum and ensemble attacks, achieving high black-box success on ImageNet.
Though CNNs have achieved the state-of-the-art performance on various vision tasks, they are vulnerable to adversarial examples --- crafted by adding human-imperceptible perturbations to clean images. However, most of the existing adversarial attacks only achieve relatively low success rates under the challenging black-box setting, where the attackers have no knowledge of the model structure and parameters. To this end, we propose to improve the transferability of adversarial examples by creating diverse input patterns. Instead of only using the original images to generate adversarial examples, our method applies random transformations to the input images at each iteration. Extensive experiments on ImageNet show that the proposed attack method can generate adversarial examples that transfer much better to different networks than existing baselines. By evaluating our method against top defense solutions and official baselines from NIPS 2017 adversarial competition, the enhanced attack reaches an average success rate of 73.0%, which outperforms the top-1 attack submission in the NIPS competition by a large margin of 6.6%. We hope that our proposed attack strategy can serve as a strong benchmark baseline for evaluating the robustness of networks to adversaries and the effectiveness of different defense methods in the future. Code is available at https://github.com/cihangxie/DI-2-FGSM.
Motivation & Objective
- Understand why iterative attacks overfit to white-box models and how input transformations can improve transferability.
- Develop a diverse-input attack (DI2-FGSM) by applying stochastic transformations during attack iterations.
- Combine input diversity with momentum (M-DI2-FGSM) and ensemble attacks to maximize black-box transferability.
- Evaluate the proposed attacks against strong defenses and top baselines on ImageNet and in the NIPS 2017 Adversarial Competition.
Proposed method
- Define diverse input pattern attacks by applying random, differentiable transformations to inputs with probability p during iterative FGSM-based attacks.
- Use random resizing and random padding as T(·) transformations that preserve labels.
- Incorporate momentum into the gradient updates to form MI-FGSM and M-DI2-FGSM.
- Attack an ensemble of multiple networks by fusing logits to optimize shared adversarial perturbations.
- Provide ablation studies on p, N, and α to understand trade-offs between white-box and black-box performance.
- Demonstrate that M-DI2-FGSM achieves higher black-box success rates than baselines on seven networks and in the NIPS 2017 competition.
Experimental results
Research questions
- RQ1Can input transformations during attack iterations increase adversarial example transferability to unseen models?
- RQ2How does combining input diversity with momentum affect white-box vs. black-box success rates?
- RQ3Does attacking an ensemble of models further improve transferability to hold-out networks?
- RQ4What are the practical effects of transformation probability and iteration settings on attack effectiveness?
Key findings
- DI2-FGSM and its momentum variant M-DI2-FGSM significantly improve transferability to black-box models compared to traditional I-FGSM and MI-FGSM on ImageNet.
- M-DI2-FGSM achieves higher average transferability across seven networks, e.g., 67.4% on Inc-v4 when attacking IncRes-v2 (white-box) and substantial gains on black-box models.
- On a single-network setting, M-DI2-FGSM outperforms baselines on most black-box targets, with notable gains such as 53.8% (Inc-v3) transferred from Res-152 (black-box Inc-v3).
- Ensembling six networks and applying M-DI2-FGSM yields strong transferability, e.g., up to 44.6% on Inc-v3 ens3 hold-out in ensemble tests.
- In NIPS 2017 Adversarial Competition benchmarks, M-DI2-FGSM achieves an average 73.0% success rate, outperforming the top submission by 6.6 percentage points.
- Ablation studies show higher black-box success with larger p values, but white-box performance may decrease, and more iterations N generally boost transferability.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.