English

Do Wider Neural Networks Really Help Adversarial Robustness?

Machine Learning 2021-08-17 v3 Artificial Intelligence Machine Learning

Abstract

Adversarial training is a powerful type of defense against adversarial examples. Previous empirical results suggest that adversarial training requires wider networks for better performances. However, it remains elusive how neural network width affects model robustness. In this paper, we carefully examine the relationship between network width and model robustness. Specifically, we show that the model robustness is closely related to the tradeoff between natural accuracy and perturbation stability, which is controlled by the robust regularization parameter λ\lambda. With the same λ\lambda, wider networks can achieve better natural accuracy but worse perturbation stability, leading to a potentially worse overall model robustness. To understand the origin of this phenomenon, we further relate the perturbation stability with the network's local Lipschitzness. By leveraging recent results on neural tangent kernels, we theoretically show that wider networks tend to have worse perturbation stability. Our analyses suggest that: 1) the common strategy of first fine-tuning λ\lambda on small networks and then directly use it for wide model training could lead to deteriorated model robustness; 2) one needs to properly enlarge λ\lambda to unleash the robustness potential of wider models fully. Finally, we propose a new Width Adjusted Regularization (WAR) method that adaptively enlarges λ\lambda on wide models and significantly saves the tuning time.

Keywords

Cite

@article{arxiv.2010.01279,
  title  = {Do Wider Neural Networks Really Help Adversarial Robustness?},
  author = {Boxi Wu and Jinghui Chen and Deng Cai and Xiaofei He and Quanquan Gu},
  journal= {arXiv preprint arXiv:2010.01279},
  year   = {2021}
}

Comments

24 pages, 6 tables, 9 figures

R2 v1 2026-06-23T18:59:34.866Z