Skip to main content
QUICK REVIEW

[Paper Review] Weight Map Layer for Noise and Adversarial Attack Robustness

Mohammed Amer, Tomás Maul|arXiv (Cornell University)|May 2, 2019
Adversarial Robustness in Machine LearningComputer Science18 references3 citations
TL;DR

This paper proposes the Weight Map (WM) layer, a generic architectural modification for convolutional neural networks that enhances robustness to random noise and adversarial attacks by adaptively amplifying activation variance based on feature importance. The WM layer uses learnable weight grids and convolutional reduction, achieving improved noise robustness—especially against uniform noise—while maintaining competitive accuracy on CIFAR-10, MNIST, and iWildCam2019 without significant FLOPS overhead.

ABSTRACT

Convolutional neural networks (CNNs) are known for their good performance and generalization in vision-related tasks and have become state-of-the-art in both application and research-based domains. However, just like other neural network models, they suffer from a susceptibility to noise and adversarial attacks. An adversarial defence aims at reducing a neural network's susceptibility to adversarial attacks through learning or architectural modifications. We propose the weight map layer (WM) as a generic architectural addition to CNNs and show that it can increase their robustness to noise and adversarial attacks. We further explain that the enhanced robustness of the two WM variants results from the adaptive activation-variance amplification exhibited by the layer. We show that the WM layer can be integrated into scaled up models to increase their noise and adversarial attack robustness, while achieving comparable accuracy levels across different datasets.

Motivation & Objective

  • To address the vulnerability of CNNs to random noise and adversarial attacks, which remain critical challenges in practical deployment.
  • To develop a generic, architecture-agnostic component that enhances robustness without compromising accuracy.
  • To investigate whether adaptive amplification of activation variance can implicitly augment training data and improve robustness.
  • To evaluate the WM layer’s effectiveness in both small and large-scale networks, including ResNet and DenseNet.

Proposed method

  • The WM layer applies elementwise multiplication of feature maps with a learnable weight grid of the same spatial size to amplify activation variance adaptively.
  • Two variants are introduced: smoothing WM, which uses a non-adaptive convolution with ones for smoothing, and unsharp WM, which applies unsharp masking to reduce over-smoothing.
  • The weight grid is trained end-to-end, allowing the network to learn which features require higher variance amplification based on their importance.
  • The layer is inserted between convolutional blocks and can be integrated into existing architectures with minimal modification.
  • The mechanism is grounded in the hypothesis that amplifying variance of important features during training helps the network absorb noise at inference.
  • The method is evaluated across multiple datasets and architectures, including ResNet and DenseNet, under uniform noise and FGSM adversarial attacks.

Experimental results

Research questions

  • RQ1Can a learnable, adaptive weight map layer improve robustness to random noise in CNNs without degrading clean accuracy?
  • RQ2How does the WM layer’s adaptive variance amplification mechanism compare to standard adversarial training in defending against noise and adversarial examples?
  • RQ3Does the unsharp variant effectively mitigate over-smoothing issues seen in stacking multiple WM layers?
  • RQ4How does the WM layer perform across different network architectures, including deep models like ResNet and DenseNet?
  • RQ5What is the trade-off between robustness and computational cost (FLOPS) when using the WM layer versus standard CNNs?

Key findings

  • The WM layer significantly improves robustness to uniform noise on MNIST and CIFAR-10, with at least one variant outperforming the baseline across all models.
  • On iWildCam2019, WM variants of DenseNet showed better noise robustness than the baseline, while ResNet variants were less robust, indicating architecture-dependent performance.
  • For adversarial attacks, WM variants of CNN and DenseNet showed at least one model with better robustness than the baseline, though ResNet models showed no improvement or degradation.
  • The unsharp WM variant reduced over-smoothing and improved performance over the smoothing variant, especially in deeper networks, supporting its role in balancing robustness and accuracy.
  • The WM layer achieved comparable accuracy to baseline models while reducing FLOPS by up to 100x for equivalent parameter counts, due to efficient parameter packing in wide architectures.
  • The mechanism of adaptive variance amplification—where high-importance features have their noise variance amplified—explains the improved noise robustness, particularly against random noise with arbitrary direction.

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.