Skip to main content
QUICK REVIEW

[Paper Review] Robust Principles: Architectural Design Principles for Adversarially Robust CNNs

Shengyun Peng, Weilin Xu|arXiv (Cornell University)|Aug 30, 2023
Adversarial Robustness in Machine LearningComputer Science13 citations
TL;DR

The paper identifies and validates a suite of generalizable architectural design principles that improve adversarial robustness of CNNs across datasets (CIFAR-10/100 and ImageNet) and adversarial training methods, achieving 1–3 percentage point gains on CIFAR and 4–9 points on ImageNet.

ABSTRACT

Our research aims to unify existing works' diverging opinions on how architectural components affect the adversarial robustness of CNNs. To accomplish our goal, we synthesize a suite of three generalizable robust architectural design principles: (a) optimal range for depth and width configurations, (b) preferring convolutional over patchify stem stage, and (c) robust residual block design through adopting squeeze and excitation blocks and non-parametric smooth activation functions. Through extensive experiments across a wide spectrum of dataset scales, adversarial training methods, model parameters, and network design spaces, our principles consistently and markedly improve AutoAttack accuracy: 1-3 percentage points (pp) on CIFAR-10 and CIFAR-100, and 4-9 pp on ImageNet. The code is publicly available at https://github.com/poloclub/robust-principles.

Motivation & Objective

  • Synthesize generalizable architectural principles that influence adversarial robustness of CNNs.
  • Resolve conflicting findings in the literature about depth/width scaling, stem design, SE blocks, and activation choices.
  • Demonstrate robustness improvements across multiple datasets, model sizes, and adversarial training methods.

Proposed method

  • Survey four architectural components (depth/width, stem stage, squeeze-and-excitation blocks, activation functions) across CNNs and Transformers.
  • Propose and test a flexible depth-width scaling rule using a width-depth (WD) ratio and identify an optimal WD range.
  • Compare convolutional stem with patchify stem, including postponed downsampling, to assess robustness impact.
  • Investigate SE blocks and non-parametric smooth activations (SiLU/GELU) versus ReLU, through hyperparameter sweeps and large-scale experiments (ImageNet).
  • Evaluate robustness with multiple AT recipes (SAT, TRADES, Fast-AT, MART, diffusion-augmented AT) and attacks (PGD and AutoAttack).
  • Assemble the three design principles into a robust CNN (Ra) and test generalization on CIFAR and ImageNet across ResNet/WRN design spaces.
Figure 1 : We synthesize a suite of generalizable architectural design principles to robustify CNNs , spanning a network’s macro and micro designs: (A) optimal range for depth and width configurations, (B) preferring convolutional over patchify stem stage, and (C) robust residual block design by ado
Figure 1 : We synthesize a suite of generalizable architectural design principles to robustify CNNs , spanning a network’s macro and micro designs: (A) optimal range for depth and width configurations, (B) preferring convolutional over patchify stem stage, and (C) robust residual block design by ado

Experimental results

Research questions

  • RQ1Do depth/width configurations, stem design, SE blocks, and activation choices have consistent effects on adversarial robustness across large-scale datasets?
  • RQ2Can a unified set of architectural principles improve robustness across diverse AT methods and model families beyond CIFAR?
  • RQ3How do the proposed principles interact when combined in a single robust architecture?
  • RQ4Do the principles generalize from CNNs to different network design spaces (ResNet/WRN) and to Transformers?

Key findings

  • An optimal WD ratio range [7.5, 13.5] yields robustness gains across datasets and AT methods, with negative correlation between WD and both clean and PGD accuracy outside this range.
  • Convolutional stem with postponed downsampling outperforms patchify stem for robustness, due to less aggressive downsampling and overlapping convolutions.
  • Squeeze-and-Excitation blocks improve robustness on ImageNet when r=4, with negative robustness observed at larger r values (e.g., r≥32 on CIFAR).
  • Non-parametric smooth activations (SiLU/GELU) consistently improve robustness over ReLU across CIFAR and ImageNet, outperforming parametric activations in most settings.
  • Applying the three principles cumulatively to ResNet-50 and WRN architectures yields consistent robustness gains, e.g., Ra ResNet-50 shows AA gains of +1.80 (PGD2), +3.09 (PGD4), +3.28 (PGD8) and +2.65 (AutoAttack) over baseline, and Ra WRN-101-2 achieves substantial ImageNet gains.
  • Ra models achieve 4–9 percentage point improvements in AutoAttack accuracy on ImageNet across parameter budgets and design spaces (e.g., Ra WRN-101-2 vs WRN-101-2).
  • On CIFAR-10/100, Ra yields 1–3 percentage point improvements across AT methods and diffusion-augmented AT, including notable boosts over Diff. 1M.
(a) Depth and Width Configurations
(a) Depth and Width Configurations

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.