Skip to main content
QUICK REVIEW

[Paper Review] RANDOM MASK: Towards Robust Convolutional Neural Networks

Tiange Luo, Tianle Cai|arXiv (Cornell University)|Jul 27, 2020
Adversarial Robustness in Machine LearningComputer Science35 references16 citations
TL;DR

This paper proposes Random Mask, a simple yet effective technique to enhance the robustness of convolutional neural networks (CNNs) against black-box adversarial attacks without adversarial training. By randomly dropping filters in the shallow layers during training, the method achieves state-of-the-art robustness on CIFAR-10 and CIFAR-100, maintaining high natural accuracy while significantly reducing success rates of PGD and FGSM attacks.

ABSTRACT

Robustness of neural networks has recently been highlighted by the adversarial examples, i.e., inputs added with well-designed perturbations which are imperceptible to humans but can cause the network to give incorrect outputs. In this paper, we design a new CNN architecture that by itself has good robustness. We introduce a simple but powerful technique, Random Mask, to modify existing CNN structures. We show that CNN with Random Mask achieves state-of-the-art performance against black-box adversarial attacks without applying any adversarial training. We next investigate the adversarial examples which 'fool' a CNN with Random Mask. Surprisingly, we find that these adversarial examples often 'fool' humans as well. This raises fundamental questions on how to define adversarial examples and robustness properly.

Motivation & Objective

  • Address the vulnerability of standard CNNs to adversarial examples, which are imperceptible perturbations causing misclassification.
  • Overcome limitations of existing defense methods, such as adversarial training (prone to overfitting) and gradient obfuscation (easily bypassed).
  • Design a robust CNN architecture from the ground up, without relying on adversarial data augmentation or complex defense mechanisms.
  • Investigate the fundamental nature of adversarial examples by analyzing whether they also fool human observers.
  • Re-evaluate the definition of adversarial examples and robustness in light of human perceptual similarity.

Proposed method

  • Introduce Random Mask: during training, a fixed set of filters in the shallow layers are randomly masked (set to zero) and remain inactive throughout training and inference.
  • Apply Random Mask selectively to early convolutional layers, as deeper layer masking yields inferior robustness.
  • Use a fixed mask per model, differing from dropout which masks neurons randomly at each forward pass.
  • Integrate Random Mask into standard CNNs like ResNet and VGG with minimal code changes, preserving model architecture and inference speed.
  • Apply ensemble strategies (e.g., multiple models with different masks) to further improve robustness.
  • Train models on standard datasets (CIFAR-10, CIFAR-100) using standard cross-entropy loss, with no adversarial data or data augmentation.

Experimental results

Research questions

  • RQ1Can a CNN architecture be made inherently robust to adversarial attacks without adversarial training?
  • RQ2Does Random Mask, applied only to shallow layers, significantly improve robustness against black-box attacks?
  • RQ3Do adversarial examples that fool CNNs with Random Mask also fool human observers, challenging the current definition of adversarial examples?
  • RQ4How does the robustness of Random Mask compare to state-of-the-art defense methods that use adversarial training?
  • RQ5Can Random Mask maintain high natural accuracy while achieving strong robustness, avoiding the typical accuracy-robustness trade-off?

Key findings

  • CNNs with Random Mask achieve state-of-the-art robustness against black-box attacks on CIFAR-10, with a 94.14% success rate for PGD-8 attack defense (vs. 39.42% for standard ResNet-18).
  • At a mask ratio of 0.9 in shallow layers, the model defends against PGD-32 attacks with 85.46% success rate, significantly outperforming standard models.
  • The method maintains high natural test accuracy (e.g., 94.56% for 0.5-Shallow-EN on CIFAR-10), avoiding the typical drop in clean accuracy seen in adversarial training.
  • Adversarial examples generated against Random Mask models often fool human annotators as well, with 64% of human subjects misclassifying examples that fool the network.
  • Models with Random Mask show strong generalization: ensemble of five models with different masks (0.9-Shallow-EN) achieve 89.45% natural accuracy and 85.46% robustness under PGD-32.
  • The success rate of adversarial attacks increases with mask ratio, peaking at 0.95–0.99, indicating that higher filter pruning enhances robustness, but only up to a point before performance degrades.

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.