TL;DR
This paper introduces a novel way to understand adversarial susceptibility by measuring individual neuron sensitivity. They demonstrate that targeting these sensitive neurons can effectively generate adversarial examples and propose a regularization technique to train more robust models without sacrificing accuracy.
What Problem Does This Paper Address?
The field of adversarial machine learning has seen significant progress in developing attacks and defenses against adversarial examples – inputs intentionally crafted to fool machine learning models. However, a fundamental understanding of why models are susceptible to these attacks remains elusive. Existing robustness methods often come with a significant drop in accuracy on clean data and may only defend against specific types of attacks. This paper aims to demystify adversarial susceptibility by focusing on the internal workings of a model, specifically the sensitivity of individual neurons, rather than just the input perturbations.
Methods
The core contribution is the definition of Neuron Sensitivity, denoted as $\Delta(i, x)$. This measures the minimum perturbation to a single neuron's output ($i$) for a given input ($x$) that causes the model to misclassify. A higher $\Delta(i, x)$ value indicates lower sensitivity, meaning a larger change is needed to affect the model's output.
The authors derive a closed-form solution for neuron sensitivity for neurons in the logits layer, which they use to:
- Identify Sensitive Neurons: By analyzing the distribution of these sensitivities, they can characterize standard vs. adversarially trained models.
- Craft Single-Neuron Attacks: They propose an adversary strategy that targets a single sensitive neuron, aiming to maximize misclassification. This attack is parallelizable and can be combined to target multiple neurons.
- Develop a Regularization Term: Based on the idea of minimizing neuron sensitivity, they introduce a regularization term to be added to the training loss. This term encourages the model to have higher neuron sensitivities across the board.
Datasets
- CIFAR-10: Used for training and evaluating VGG-19 models.
- ImageNet: Used for training ResNet-50 models.
Key Insights and Ideas
- Neuron Sensitivity as a Robustness Metric: The paper proposes that neuron sensitivity, measured independently of specific input perturbations, is a more fundamental indicator of a model's robustness than traditional attack-specific metrics.
- Sensitive Neurons are Key Vulnerabilities: The experiments reveal that targeting even a single highly sensitive neuron can be surprisingly effective in generating adversarial examples, sometimes approaching the success rates of full PGD attacks.
- Pruning is Not the Answer: Contrary to intuition, simply pruning the most sensitive neurons does not improve robustness and significantly degrades accuracy. This suggests that the function of these neurons, not just their presence, is important.
- Regularization for Multi-Perturbation Robustness: The proposed sensitivity-minimizing regularization term leads to models that are simultaneously robust to different types of perturbations (e.g., L2 and L-infinity) without sacrificing accuracy on clean data.
Key Results
- Single-Neuron Attacks: Attacks targeting single sensitive neurons achieve non-trivial success rates, and targeting the top 16 most sensitive neurons approaches the success rate of standard PGD attacks.
- Sensitivity-Trained Models: Models trained with the proposed regularization achieve improved robustness against multiple perturbation families. For example, on CIFAR-10, the "Sensitivity" trained VGG-19 model shows significantly lower attack success rates for both L2 and L-infinity PGD attacks compared to the standard model, while maintaining high accuracy (92.9% vs. 93.0%).
- Accuracy Preservation: The sensitivity regularization does not compromise accuracy on normal inputs, a common issue with many adversarial training methods.
- Feature Activation Patterns: Adversarial training tends to zero out more feature activations, while sensitivity training results in nearly all neurons having non-zero activations, suggesting different mechanisms for robustness.
Limitations and Future Work
- State-of-the-Art Robustness: The paper acknowledges that their sensitivity-trained models do not achieve state-of-the-art robustness levels.
- Understanding Decision Boundaries: The authors observed a peculiar phenomenon where standard models are more susceptible to black-box attacks originating from their sensitivity-trained model than vice-versa. They suspect this relates to decision-boundary similarities and plan to investigate further.
- Extending to Other Layers: The current analysis and regularization primarily focus on the logits layer. Future work could extend this sensitivity analysis to other layers of the neural network.
- Complementary Nature of Defenses: The paper suggests exploring the complementary nature of their sensitivity regularization and traditional adversarial training methods.
Summary updated