Curse of Dimensionality on Randomized Smoothing for Certifiable Robustness

Aounon Kumar, Alexander Levine, Tom Goldstein, Soheil Feizi
2/8/2020
cs.LGstat.ML

Official code: alevine0/smoothingGenGaussian (3 stars, Python, last commit 2022-08-22).

Abstract

Randomized smoothing, using just a simple isotropic Gaussian distribution, has been shown to produce good robustness guarantees against $\ell_2$-norm bounded adversaries. In this work, we show that extending the smoothing technique to defend against other attack models can be challenging, especially in the high-dimensional regime.

Show full abstract

In particular, for a vast class of i.i.d.~smoothing distributions, we prove that the largest $\ell_p$-radius that can be certified decreases as $O(1/d^{\frac{1}{2} - \frac{1}{p}})$ with dimension $d$ for $p > 2$. Notably, for $p \geq 2$, this dependence on $d$ is no better than that of the $\ell_p$-radius that can be certified using isotropic Gaussian smoothing, essentially putting a matching lower bound on the robustness radius. When restricted to {\it generalized} Gaussian smoothing, these two bounds can be shown to be within a constant factor of each other in an asymptotic sense, establishing that Gaussian smoothing provides the best possible results, up to a constant factor, when $p \geq 2$. We present experimental results on CIFAR to validate our theory. For other smoothing distributions, such as, a uniform distribution within an $\ell_1$ or an $\ell_\infty$-norm ball, we show upper bounds of the form $O(1 / d)$ and $O(1 / d^{1 - \frac{1}{p}})$ respectively, which have an even worse dependence on $d$.

View on arXivView PDF

Code Implementations(1)

Smoothing with generalized Gaussian distributions

32PythonJan 23, 20204 years agoNOASSERTION

Similar Papers

Cite this paper

@article{kumar2020curse,
  title  = {Curse of Dimensionality on Randomized Smoothing for Certifiable Robustness},
  author = {Aounon Kumar and Alexander Levine and Tom Goldstein and Soheil Feizi},
  year   = {2020},
  eprint = {2002.03239},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2002.03239}
}

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/2002.03239.svg)](https://codeofpaper.com/paper/2002.03239)

Discussion