Abstract: Deep neural networks (DNNs) are vulnerable to adversarial examples, perturbations carefully crafted to fool the targeted DNN, in both the non-targeted and targeted case. In the non-targeted case, the attacker simply aims to induce misclassification. In the targeted case, the attacker aims to induce classification to a specified target class. In addition, it has been observed that strong adversarial examples can transfer to unknown models, yielding a serious security concern. The NIPS 2017 competition was organized to accelerate research in adversarial attacks and defenses, taking place in the realistic setting where submitted adversarial attacks attempt to transfer to submitted defenses. The CAAD 2018 competition took place with nearly identical rules to the NIPS 2017 one. Given the requirement that the NIPS 2017 submissions were to be open-sourced, participants in the CAAD 2018 competition were able to directly build upon previous solutions, and thus improve the state-of-the-art in this setting. Our team participated in the CAAD 2018 competition, and won 1st place in both attack subtracks, non-targeted and targeted adversarial attacks, and 3rd place in defense. We outline our solutions and development results in this article. We hope our results can inform researchers in both generating and defending against adversarial examples.
Introduction
Deep Neural Networks (DNNs) are notoriously fragile. Small, calculated perturbations to an input—invisible to humans—can cause a model to misclassify an image (non-targeted attack) or even classify it as a specific, incorrect label (targeted attack). The real-world security threat lies in transferability: an attack crafted for Model A often works on Model B, even if the attacker has no access to Model B's internal parameters.
The CAAD 2018 competition challenged researchers to develop attacks that could bypass unknown defenses under strict computational limits (1,000 images in 1,000 seconds). The core challenge was balancing attack strength with the speed required to process images in a "black-box" setting.
Methodology
The authors employed distinct strategies for the two attack sub-tracks and the defense track:
Non-Targeted Attacks: Adversarial Transformation Networks (ATNs)
Instead of using iterative gradient-based optimization at test-time, which is computationally expensive, the team used Adversarial Transformation Networks. These are generative models trained offline to transform a clean image into an adversarial one in a single forward pass. To meet the competition's $L_\infty = 32$ perturbation budget, they scaled the output of an ATN trained for a smaller budget by 2x, prioritizing speed over iterative precision.
Targeted Attacks: Gradient Smoothing and Randomization
Targeted transfer is significantly harder than non-targeted. The authors improved the standard Momentum Iterative Method (MIM) by adding two key components:
- Spatial Gradient Smoothing: Applying a Gaussian filter to gradients during optimization regularizes the perturbation, preventing it from "overfitting" to the specific pixels of the source model.
- Randomized Preprocessing: Optimizing the attack through a layer of random resizing and padding forces the perturbation to be robust against common defensive transformations.
Defense Strategy
The defense involved bit-reduction (keeping only the 2 Most Significant Bits of an image) to eliminate small perturbations, adding Bernoulli noise, and an "Avoid" strategy that ignored the "Jigsaw puzzle" class—a common failure mode observed in ATN-based attacks.
Key Results and Analysis
Non-Targeted Attack Performance
The ATN approach proved exceptionally robust in the non-targeted track. As shown in the performance table, ATN achieved a near 100% success rate against almost all tested models, including NASNet and AdvResV2. In contrast, the previous state-of-the-art Momentum Iterative Method (MIM) saw significant performance drops when limited by the competition's time constraints.
Targeted Attack Transferability
The combination of gradient smoothing and randomization ("Rand") significantly boosted transferability. While standard MIM (1000 iterations) struggled to transfer to complex models like NASNet (0.52%), the randomized approach reached much higher success rates as iterations increased. This demonstrates the "unreasonable effectiveness" of spatial gradient smoothing in focusing attacks on global, salient features rather than high-frequency noise.
Conclusion
The team's success—securing 1st place in both attack tracks and 3rd in defense—highlights the importance of speed and generalization in adversarial machine learning. While the "2 MSB" defense is effective at stopping noise, it comes at the cost of clean image accuracy. Furthermore, the effectiveness of gradient smoothing suggests a theoretical gap in our understanding of transferability that warrants further study. These findings emphasize that in black-box settings, robust, generalized perturbations often outperform highly optimized, model-specific ones.
Summary updated