NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Large Norms of CNN Layers Do Not Hurt Adversarial Robustness

Youwei Liang, Dong Huang

Abstract: Since the Lipschitz properties of convolutional neural networks (CNNs) are widely considered to be related to adversarial robustness, we theoretically characterize the $\ell_1$ norm and $\ell_\infty$ norm of 2D multi-channel convolutional layers and provide efficient methods to compute the exact $\ell_1$ norm and $\ell_\infty$ norm. Based on our theorem, we propose a novel regularization method termed norm decay, which can effectively reduce the norms of convolutional layers and fully-connected layers. Experiments show that norm-regularization methods, including norm decay, weight decay, and singular value clipping, can improve generalization of CNNs. However, they can slightly hurt adversarial robustness. Observing this unexpected phenomenon, we compute the norms of layers in the CNNs trained with three different adversarial training frameworks and surprisingly find that adversarially robust CNNs have comparable or even larger layer norms than their non-adversarially robust counterparts. Furthermore, we prove that under a mild assumption, adversarially robust classifiers can be achieved using neural networks, and an adversarially robust neural network can have an arbitrarily large Lipschitz constant. For this reason, enforcing small norms on CNN layers may be neither necessary nor effective in achieving adversarial robustness.

1. Introduction

Deep learning models are notoriously fragile; a tiny, invisible perturbation to an image—an adversarial attack—can cause a high-performing CNN to misclassify it entirely. To combat this, researchers have traditionally looked to Lipschitz continuity. The global Lipschitz constant of a network represents the maximum rate at which its output can change relative to its input. The prevailing logic has been: Small Lipschitz Constant $\rightarrow$ Small Output Change $ ightarrow$ High Robustness.

Because calculating the true Lipschitz constant of a deep network is computationally impossible (NP-hard), researchers usually settle for regularizing the norms of individual layers, such as the spectral norm or $\ell_2$ norm. However, this often comes at a steep cost to standard accuracy. This paper challenges the long-standing belief that small layer norms are essential for making CNNs robust. The authors demonstrate that adversarially robust networks often possess larger norms than their non-robust counterparts, suggesting that local stability is far more important than global constraints.

2. Theoretical Characterization of Convolutional Norms

The authors contribute a new, ultra-fast method for calculating exact convolutional layer norms. They derive theoretical characterizations for the $\ell_1$ and $\ell_\infty$ norms of 2D multi-channel convolutional layers. Crucially, their formulas account for real-world complexities like stride and padding, which previous methods often ignored or simplified.

Matrix representation of a 2D multi-channel convolution used for exact norm calculation.

By representing the convolution as a structured matrix operation, the authors transform the norm calculation into a highly efficient process. In benchmarks, their method was up to 14,000 times faster than existing methods like power iteration or circulant matrix approaches. For a $5 \times 5$ kernel with 512 input and 256 output channels, their method took only 0.0239 seconds, compared to 255 seconds for power iteration methods. This level of efficiency makes real-time norm monitoring and regularization feasible for large-scale training.

3. Norm Decay and Regularization

Based on their formulas, the researchers propose a novel regularization technique called Norm Decay. Unlike standard weight decay, which targets the Frobenius norm of weights, norm decay directly penalizes the operator norms of the layers. They use a momentum-based gradient approach to handle the non-smooth nature of these norm calculations during training.

Visualization of 3D input/output channels and the convolutional kernel structure.

The researchers evaluated their findings using the CIFAR-10 dataset across four popular architectures: VGG-11, ResNet-18, SENet-18, and RegNetX-200MF. They tested these models against state-of-the-art attacks, specifically AutoAttack, to ensure their robustness measurements were reliable. While norm-regularization methods like norm decay, weight decay, and singular value clipping improved the generalization of CNNs on clean data, they were found to slightly hurt adversarial robustness.

4. The "Global vs. Local" Fallacy

The most striking insight is that global Lipschitz constants are a "loose" requirement for robustness. A network can be very "steep" in empty regions of the data space (resulting in a large global norm) while remaining very "flat" and stable near the actual data points (small local Lipschitz constant). It is this local stability that confers robustness.

When the authors examined models trained with successful adversarial defense frameworks like TRADES or PGD-AT, they found these robust models actually had larger layer norms than standard, non-robust models. This counter-intuitive reality suggests that forcing small norms might prevent a network from finding the complex, high-norm solutions required to be truly robust.

5. Key Results and Limitations

The experimental results consistently showed that models regularized to have small norms (via weight decay or singular value clipping) experienced a decrease in robust accuracy. For example, on ResNet-18, a "plain" model had 37.0% robust accuracy (at $\epsilon=1/255$), while a heavily norm-regularized version dropped significantly.

The authors acknowledge that while they have shown large norms don't hurt robustness, they haven't yet provided a definitive method to guarantee local Lipschitzness without global constraints. The paper points toward a new research frontier: instead of blunt global regularization, we should develop methods that specifically target and minimize the local Lipschitz constant around the data manifold.

6. Conclusion

This work provides both the theoretical tools and empirical evidence to move beyond the "small norm" dogma in adversarial robustness. By enabling efficient calculation of exact convolutional norms, the authors have opened the door for more nuanced regularization strategies that respect the complex requirements of robust deep learning models.

Summary updated

BibTeX
@inproceedings{liang2021large,
  author = {Youwei Liang and Dong Huang},
  title = {{Large Norms of CNN Layers Do Not Hurt Adversarial Robustness}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2021},
  url = {https://openreview.net/forum?id=Fp314Rn8TXX},
}
Figure