Skip to main content
QUICK REVIEW

[Paper Review] Adversarial Noise Layer: Regularize Neural Network By Adding Noise

Zhonghui You, Jinmian Ye|arXiv (Cornell University)|May 21, 2018
Adversarial Robustness in Machine LearningComputer Science5 citations
TL;DR

This paper proposes Adversarial Noise Layer (ANL) and its efficient variant Class Adversarial Noise Layer (CANL), which regularize CNNs by injecting gradient-based adversarial noise into intermediate layer activations during training. The method improves generalization and robustness, achieving state-of-the-art performance on CIFAR-10, CIFAR-100, and ImageNet, with models trained using ANL/CANL showing comparable robustness to FGSM attacks as traditional adversarial training.

ABSTRACT

In this paper, we introduce a novel regularization method called Adversarial Noise Layer (ANL) and its efficient version called Class Adversarial Noise Layer (CANL), which are able to significantly improve CNN's generalization ability by adding carefully crafted noise into the intermediate layer activations. ANL and CANL can be easily implemented and integrated with most of the mainstream CNN-based models. We compared the effects of the different types of noise and visually demonstrate that our proposed adversarial noise instruct CNN models to learn to extract cleaner feature maps, which further reduce the risk of over-fitting. We also conclude that models trained with ANL or CANL are more robust to the adversarial examples generated by FGSM than the traditional adversarial training approaches.

Motivation & Objective

  • To address overfitting in deep CNNs caused by excessive parameters and limited training data.
  • To improve model generalization without increasing inference cost.
  • To enhance robustness against adversarial examples, particularly under FGSM attacks.
  • To develop a lightweight, plug-and-play regularization technique compatible with mainstream CNN architectures.

Proposed method

  • ANL generates adversarial noise for intermediate layer activations using the current batch's gradients, scaled by a hyperparameter ε.
  • CANL improves efficiency by caching gradients per class, reducing computation during training while maintaining strong regularization.
  • Noise is applied only during training and removed during inference, incurring no inference overhead.
  • The method is compatible with various CNN architectures and can be inserted after convolutional layers or at the input.
  • The noise is clipped element-wise to control magnitude and prevent instability.
  • The approach is conceptually similar to Layerwise Adversarial Training (LAT), but differs by using current-batch gradients and enabling class-specific gradient caching.

Experimental results

Research questions

  • RQ1Can injecting adversarial noise into intermediate layer activations improve generalization in CNNs?
  • RQ2Does the proposed method enhance robustness against FGSM adversarial attacks compared to standard training?
  • RQ3How does ANL/CANL compare in performance and efficiency to existing regularization techniques like Dropout and LAT?
  • RQ4Can ANL/CANL be effectively applied to large-scale datasets like ImageNet?
  • RQ5Is the performance gain from ANL/CANL due to improved feature learning or noise-induced regularization?

Key findings

  • On CIFAR-10, ANL improved top-1 accuracy to 94.3% and CANL to 94.1%, outperforming the baseline and other regularization methods.
  • On CIFAR-100, ANL achieved 75.4% accuracy, significantly outperforming the baseline and LAT.
  • On ImageNet, the CANL-regularized AlexNet reached 60.52% top-1 accuracy, a 4.17% improvement over the 56.35% baseline.
  • Under FGSM attacks with δ=8, ANL(ε=0.05) maintained 61.0% accuracy, comparable to adversarial training (53.9% for AT).
  • Models trained with ANL or CANL showed stronger robustness to FGSM attacks than standard training, with ANL(ε=0.05) achieving 79.2% accuracy at δ=2.
  • CANL achieved near-identical performance to ANL with significantly reduced training time, demonstrating high efficiency.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.