Low Curvature Activations Reduce Overfitting in Adversarial Training

Vasu Singla, Sahil Singla, David Jacobs, Soheil Feizi
2/15/2021
cs.LG

Official code: vasusingla/low_curvature_activations (5 stars, Python, last commit 2022-07-02).

Abstract

Adversarial training is one of the most effective defenses against adversarial attacks. Previous works suggest that overfitting is a dominant phenomenon in adversarial training leading to a large generalization gap between test and train accuracy in neural networks.

Show full abstract

In this work, we show that the observed generalization gap is closely related to the choice of the activation function. In particular, we show that using activation functions with low (exact or approximate) curvature values has a regularization effect that significantly reduces both the standard and robust generalization gaps in adversarial training. We observe this effect for both differentiable/smooth activations such as SiLU as well as non-differentiable/non-smooth activations such as LeakyReLU. In the latter case, the "approximate" curvature of the activation is low. Finally, we show that for activation functions with low curvature, the double descent phenomenon for adversarially trained models does not occur.

View on arXivView PDF

Code Implementations(1)

51PythonJul 2, 20214 years ago

Similar Papers

Cite this paper

@article{singla2021curvature,
  title  = {Low Curvature Activations Reduce Overfitting in Adversarial Training},
  author = {Vasu Singla and Sahil Singla and David Jacobs and Soheil Feizi},
  year   = {2021},
  eprint = {2102.07861},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2102.07861}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2102.07861.svg)](https://codeofpaper.com/paper/2102.07861)

Discussion