TL;DR
This paper introduces the Semantic-Preserving Adversarial (SPA) attack, a novel method to generate adversarial examples that combine imperceptible pixel-level perturbations with human-understandable attribute changes. By training models against these "jointly-perturbed" samples, the authors demonstrate significantly improved robustness against both types of attacks, outperforming existing defense mechanisms.
What Problem Does This Paper Address?
Deep learning models, while powerful, are notoriously vulnerable to adversarial attacks. These attacks typically involve adding small, often imperceptible, perturbations to input data (like images) that cause the model to misclassify them. However, real-world scenarios also present "natural perturbations" related to object attributes (e.g., a person smiling more, an object rotated). While previous research has focused on defending against either adversarial or natural perturbations, models often struggle when faced with both simultaneously. This paper tackles this critical gap by developing a method to generate and defend against these combined, "joint" perturbations.
Methods
The core of this work is the Semantic-Preserving Adversarial (SPA) attack. This attack mechanism is designed to generate samples that are perturbed in two ways:
- Attribute Manipulation: A component called the "attribute manipulator" introduces natural, semantic-preserving changes to an image. This could be altering the degree of a smile in a face or rotating an object. These changes are designed to be understandable to humans and don't change the true class label.
- Adversarial Noise Generation: Simultaneously, a "noise generator" adds small, imperceptible $l_p$-norm adversarial perturbations to the image.
Crucially, the SPA attack jointly optimizes both the attribute changes and the adversarial noise. It uses a diversity variable to encourage varied adversarial noises and an attribute value to control the extent of the natural perturbation. This joint optimization allows the attack to find more effective, jointly-perturbed samples, especially under stringent constraints (small $l_\infty$ norm-balls).
For defense, the paper proposes SPA training. This involves adversarially training the target model using the jointly-perturbed samples generated by the SPA attack. This process essentially teaches the model to be robust against the combined threat.
Datasets
The authors evaluate their approach on four datasets:
- MNIST: A dataset of handwritten digits.
- FashionMNIST: A dataset of clothing images.
- CelebA: A large dataset of celebrity faces with numerous attribute annotations (used here for "smiling" and "gender" classification).
- SICAPv2: A medical dataset for prostate cancer diagnosis.
For MNIST and FashionMNIST, natural perturbations included rotation and scaling. For CelebA, the "smiling" attribute was used. For SICAPv2, rotation was used as the natural perturbation.
Key Insights and Ideas
- The Synergy of Perturbations: The paper highlights that robustness against adversarial perturbations and natural perturbations are not independent. Models trained to be robust against one can still be vulnerable to the other, making joint robustness a critical challenge.
- Semantic Preservation is Key: The "semantic-preserving" aspect of natural perturbations is important. These are changes that don't alter the fundamental meaning or class of the object, making them harder to detect as malicious.
- Joint Optimization is Powerful: The core innovation lies in jointly optimizing attribute manipulation and adversarial noise generation. This allows for the creation of more potent adversarial examples that exploit the model's weaknesses across both pixel and attribute spaces.
- SPA Training Offers Superior Defense: Adversarial training using SPA-generated samples significantly improves model robustness against these combined attacks, outperforming existing defense methods.
Key Results
- SPA Attack Effectiveness: The SPA attack causes a larger performance decline on benchmark datasets compared to existing methods, especially under small $l_\infty$ norm-ball constraints. For instance, on FashionMNIST, SPA attack with optimized attribute and diversity variables achieved an accuracy of 0.0093 against a naive classifier, significantly lower than other attacks.
- SPA Training Robustness: SPA-trained classifiers demonstrated superior robustness against jointly-perturbed samples across all tested datasets. For example, on CelebA, the SPA-trained classifier maintained an accuracy of 0.8910 against the SPA attack, while PGD and L2LDA attacks on a naive classifier resulted in accuracies as low as 0.0775.
- Ablation Studies: Experiments showed that both the attribute manipulator and the noise generator contribute to the attack's effectiveness, with the noise generator having a more significant impact on accuracy decline. Optimizing both the attribute value and the diversity variable further enhanced the attack's power.
Limitations and Future Work
- Attribute Manipulator for Objective-Level Transformations: While the paper uses MSP for objective-level transformations (like changing facial features), it notes that explicit generative mechanisms are not always available for these. The approach approximates these transformations by training a conditional generative model.
- Future Work: The authors suggest extending SPA training to other robustness problems beyond classification, exploring joint perturbation space with a unified generator more effectively, and adapting the approach to different types of natural perturbations. They also mention that while SPA training is efficient, further research into optimizing the number of attack iterations could be beneficial.
Summary updated