[Paper Review] Parametric Noise Injection: Trainable Randomness to Improve Deep Neural Network Robustness against Adversarial Attack
This paper proposes Parametric Noise Injection (PNI), a trainable randomness technique that injects layer-wise Gaussian noise with learnable scaling parameters during adversarial training to improve deep neural network robustness. PNI achieves state-of-the-art performance, improving clean-data accuracy by 1.1% and perturbed-data accuracy by 6.8% over vanilla adversarial training on ResNet-20 under PGD attack.
Recent development in the field of Deep Learning have exposed the underlying vulnerability of Deep Neural Network (DNN) against adversarial examples. In image classification, an adversarial example is a carefully modified image that is visually imperceptible to the original image but can cause DNN model to misclassify it. Training the network with Gaussian noise is an effective technique to perform model regularization, thus improving model robustness against input variation. Inspired by this classical method, we explore to utilize the regularization characteristic of noise injection to improve DNN's robustness against adversarial attack. In this work, we propose Parametric-Noise-Injection (PNI) which involves trainable Gaussian noise injection at each layer on either activation or weights through solving the min-max optimization problem, embedded with adversarial training. These parameters are trained explicitly to achieve improved robustness. To the best of our knowledge, this is the first work that uses trainable noise injection to improve network robustness against adversarial attacks, rather than manually configuring the injected noise level through cross-validation. The extensive results show that our proposed PNI technique effectively improves the robustness against a variety of powerful white-box and black-box attacks such as PGD, C & W, FGSM, transferable attack and ZOO attack. Last but not the least, PNI method improves both clean- and perturbed-data accuracy in comparison to the state-of-the-art defense methods, which outperforms current unbroken PGD defense by 1.1 % and 6.8 % on clean test data and perturbed test data respectively using Resnet-20 architecture.
Motivation & Objective
- Address the vulnerability of deep neural networks to adversarial examples, which are imperceptibly perturbed inputs causing misclassification.
- Overcome limitations of existing defense methods that rely on fixed noise levels or fail against strong attacks like PGD and C&W.
- Develop a generalizable, trainable regularization method that enhances robustness without sacrificing clean-data accuracy.
- Demonstrate that trainable noise injection can outperform manual noise configuration and avoid gradient obfuscation pitfalls.
- Establish a defense method effective against diverse adversarial attacks, including transferable and black-box attacks.
Proposed method
- Introduce Parametric Noise Injection (PNI), a trainable noise injection mechanism applied at activation or weight layers during training.
- Integrate PNI within a min-max adversarial training framework, where noise scaling parameters are optimized end-to-end.
- Use learnable noise scaling coefficients per layer to dynamically adjust noise intensity, replacing manual hyperparameter tuning.
- Inject Gaussian noise into network activations or weights with layer-specific trainable parameters, enabling adaptive robustness learning.
- Train the model using adversarial examples generated via PGD, FGSM, and C&W attacks, with noise injection applied during both forward and backward passes.
- Ensure robustness through joint optimization of network weights and noise parameters under adversarial perturbations.
Experimental results
Research questions
- RQ1Can trainable noise injection improve deep neural network robustness against a wide range of white-box and black-box adversarial attacks?
- RQ2Does learning noise intensity per layer through end-to-end optimization outperform fixed, manually tuned noise levels?
- RQ3Can PNI improve both clean-data and perturbed-data accuracy simultaneously, unlike many prior defenses that sacrifice clean accuracy?
- RQ4Is the robustness gain from PNI due to gradient obfuscation or genuine adversarial robustness?
- RQ5How does PNI perform under increasing attack strength, such as higher PGD attack steps or larger perturbation bounds?
Key findings
- PNI improves clean-data accuracy by 1.1% over vanilla adversarial training on ResNet-20, demonstrating improved generalization.
- Under PGD white-box attack, PNI boosts perturbed-data accuracy by 6.8% compared to the state-of-the-art unbroken PGD defense.
- PNI maintains strong robustness against diverse attacks, including FGSM, C&W, ZOO, and transferable attacks, across multiple architectures.
- The method passes all gradient obfuscation checks from [23], indicating robustness is not due to gradient masking.
- Even with increasing PGD attack steps (up to 100), PNI maintains superior performance over vanilla adversarial training, confirming resilience beyond stochastic gradient effects.
- PNI shows that weight-level noise injection is more effective than activation-level noise in black-box attack scenarios, as shown in Table 5.
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.