CD-UAP: Class Discriminative Universal Adversarial Perturbation

Chaoning Zhang, Philipp Benz, Tooba Imtiaz, In-So Kweon

Introduction

Adversarial attacks on deep neural networks typically fall into two categories: image-dependent perturbations, which are unique to each input, and universal adversarial perturbations (UAPs), which apply a single noise pattern across an entire dataset. While UAPs are computationally efficient for attackers, they are fundamentally "blind," degrading model performance indiscriminately across all categories. This "shotgun" approach makes such attacks easier to detect and limits their utility in scenarios where an attacker might wish to disrupt specific functions (e.g., traffic sign recognition) while leaving others (e.g., pedestrian detection) intact.

To address these limitations, researchers from KAIST introduced Class Discriminative Universal Adversarial Perturbation (CD-UAP). This method allows for the creation of a single noise pattern that selectively targets specific classes for misclassification while maintaining high accuracy for non-targeted classes, providing both control and stealth.

Methodology

The primary objective of CD-UAP is to maximize the error on a set of targeted classes ($X_t$) while minimizing the impact on non-targeted classes ($X_{nt}$). Achieving this balance requires a specialized training framework that prevents the optimization from being dominated by any single group of images.

Conceptual overview of the CD-UAP framework showing the selective degradation of targeted class accuracies.

The authors propose several key techniques to stabilize this optimization:

  1. "Half-Half" Batching: Each training iteration utilizes a mini-batch composed of 50% targeted and 50% non-targeted images. This ensures the optimization process maintains a balanced gradient signal.
  2. Bounded Logit Loss ($L^{BL}$): Standard cross-entropy loss can lead to "gradient dominance," where the drive to suppress targeted classes overwhelms the need to preserve non-targeted ones. The $L^{BL}$ function stops penalizing the target class once its logit is sufficiently lower than the others, preventing over-optimization.
  3. ADAM Optimization: The researchers found that the ADAM optimizer provides significantly faster convergence for crafting these discriminative perturbations compared to standard stochastic gradient descent (SGD).

Experimental Results and Selectivity

The effectiveness of CD-UAP was validated across CIFAR-10, CIFAR-100, and ImageNet. On CIFAR-10 using a ResNet-20 architecture, the attack achieved an Absolute Accuracy Drop (AAD) of over 80% for targeted classes, while the drop for non-targeted classes remained near 10%.

The method also proved effective for "superclass" attacks on CIFAR-100. For instance, by targeting the "household furniture" superclass, the researchers could induce a 63.8% accuracy drop in those specific categories while non-targeted classes experienced only a 15.7% drop. Furthermore, when configured to attack all classes simultaneously (AC-UAP), the CD-UAP framework outperformed existing state-of-the-art universal attacks on ImageNet, achieving a 93.7% accuracy drop on VGG-16 compared to the original UAP's 78.3%.

Scalability and Limitations

A critical observation in the study is the relationship between the number of targeted classes and the discriminative power of the perturbation. As the attacker expands the target set, the "gap" between the accuracy drop of targeted and non-targeted classes tends to narrow.

Absolute Accuracy Drop (AAD) for targeted ($AAD_t$) and non-targeted ($AAD_{nt}$) classes as a function of the number of targeted classes.

As shown in the figure above, while the attack remains effective, the stealthiness—defined by the preservation of non-targeted class accuracy—decreases as the scope of the attack grows. Additionally, while perturbations transfer well between models of the same family (e.g., VGG-16 to VGG-19), cross-architecture transferability (e.g., VGG to ResNet) remains a significant challenge for future research.

Conclusion

CD-UAP represents a significant advancement in adversarial machine learning by providing a mechanism for stealthy, class-specific disruption. By utilizing balanced batching and bounded loss functions, the method offers unprecedented control over universal perturbations, making them a more potent tool for analyzing model vulnerabilities and potential real-world threats.

Summary updated

BibTeX
@inproceedings{zhang2020cd,
  author = {Chaoning Zhang and Philipp Benz and Tooba Imtiaz and In-So Kweon},
  title = {{CD-UAP: Class Discriminative Universal Adversarial Perturbation}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2020},
  doi = {10.1609/aaai.v34i04.6154},
}
Figure