TL;DR
This paper argues that the architecture of neural networks, not just adversarial training methods, plays a crucial role in achieving robustness against adversarial attacks. By systematically studying residual network components and proposing new building blocks and scaling rules, the authors introduce "RobustResNets" that achieve state-of-the-art robustness while being more compact than existing models.
What Problem Does This Paper Address?
Deep neural networks are vulnerable to adversarial attacks – small, imperceptible perturbations to input data that can cause misclassifications. While much research has focused on improving adversarial training (AT) methods to defend against these attacks, the impact of the network's architecture itself on robustness has been largely overlooked. This paper aims to bridge this gap by providing a comprehensive analysis of how architectural choices, from individual block designs to overall network scaling, influence adversarial robustness. The authors highlight that understanding these architectural principles is essential for designing more inherently robust models.
Methods
The authors conduct a systematic, empirical study of residual network architectures. They break down their investigation into two main areas:
- Block-level Design: They analyze various components within residual blocks, including:
- Topology: Comparing basic, bottleneck, and inverted bottleneck structures.
- Activation Placement: Investigating pre-activation (activation before convolution) versus post-activation.
- Convolution Variants: Exploring aggregated and hierarchical convolutions.
- Squeeze-and-Excitation (SE) Modules: Proposing a novel "residual SE" module to improve robustness, as standard SE modules were found to degrade it.
- Network-level Scaling: They examine how to scale network depth and width for robustness.
- Independent Scaling: Studying the effect of varying depth or width alone.
- Compound Scaling (RobustScaling): Developing a novel rule to simultaneously scale depth and width efficiently, aiming to maximize robustness for a given computational budget (FLOPs).
Based on these insights, they propose:
- RobustResBlock: A new residual block design incorporating their findings.
- RobustScaling: A compound scaling rule for efficient network design.
- RobustResNets: A family of adversarially robust residual networks built using RobustResBlock and RobustScaling.
Datasets
The paper uses the following datasets for training and evaluation:
- CIFAR-10
- CIFAR-100
- Tiny-ImageNet
Key Insights and Ideas
- Architecture Matters (A Lot): The study strongly suggests that architectural choices can impact adversarial robustness as much as, if not more than, different adversarial training methods.
- Pre-activation is Key: Placing activation functions before convolutional layers (pre-activation) generally leads to better adversarial robustness compared to the standard post-activation used in ERM training.
- Bottleneck Blocks Shine: While basic blocks are common, bottleneck blocks, especially with pre-activation, prove more effective for adversarial robustness in larger models.
- Standard SE Hurts Robustness: Surprisingly, the widely used Squeeze-and-Excitation (SE) module, which benefits standard accuracy, actually degrades adversarial robustness. The proposed "residual SE" module mitigates this issue.
- Depth Over Width (for a given budget): For a fixed computational budget (FLOPs), deeper and narrower networks are generally more robust than wider and shallower ones.
- Compound Scaling is Effective: A well-designed compound scaling rule (RobustScaling) can efficiently balance depth and width to maximize robustness, outperforming independent scaling or standard uniform scaling.
Key Results
- RobustResNets: The proposed RobustResNets achieve state-of-the-art AutoAttack robust accuracy of 61.1% on CIFAR-10 without additional data and 63.7% with 500K external data.
- Compactness: These RobustResNets are approximately 2x more compact (fewer parameters) than existing state-of-the-art robust architectures.
- Block Improvement: The proposed RobustResBlock consistently outperforms the standard basic block in WRNs by about 3% robust accuracy.
- Scaling Efficiency: RobustScaling provides consistent improvements of around 2% on robust accuracy while achieving significant parameter reduction compared to standard WRNs.
Limitations and Future Work
- Empirical vs. Theoretical: The paper relies heavily on empirical observations. The authors acknowledge that theoretical analysis often follows empirical findings and hope their work inspires such theoretical explorations into the robustness properties of architectural elements.
- Focus on Residual Networks: The study is primarily focused on residual networks. While the proposed RobustScaling is architecture-agnostic, the detailed block-level analysis is specific to residual structures. Future work could explore these principles in other network families.
- Exploration of Other Components: While the paper covers key architectural elements, there are many other potential components and design choices that could be investigated for their impact on adversarial robustness.
Summary updated