ResNet's Residual Blocks: Its Adversarial Defense
ResNet's core innovation, residual connections (also known as "skip connections"), enables gradients to flow directly through the network. This mechanism effectively mitigates the vanishing gradient problem and the 'degradation problem' in very deep networks, significantly enhancing its robustness against adversarial attacks.
The top 3
- Residuals' Core Defense: Stable Gradient Flow: ResNet's identity skip connections ensure a stable gradient flow, preventing vanishing gradients in very deep networks. This mechanism helps to create a smoother loss landscape, which is crucial for training models that are more robust to adversarial attacks.
- Top Innovations: RobustResBlock & Scaling: Architectural advancements, such as the 'RobustResBlock' and 'RobustScaling' rules, have significantly improved ResNet's adversarial robustness. These optimized designs consistently outperform standard Wide ResNets, achieving state-of-the-art AutoAttack robust accuracy of 63.7% with external data while being twice as compact in terms of parameters.
- ResNet vs. DenseNet: Skip Connection Strategies: ResNet combines skip connections through additive identity transformations, allowing gradients to bypass layers, whereas DenseNet concatenates feature maps from all preceding layers. This fundamental difference in how they combine information impacts feature reuse, parameter efficiency, and their respective adversarial robustness characteristics.
Sources
Open the full topic