[Paper Review] Randomized Smoothing of All Shapes and Sizes
This paper introduces a general framework for randomized smoothing that identifies optimal smoothing distributions for any norm using Wulff crystals, proposes two new methods for deriving provably robust radii, and establishes fundamental limits via Banach space cotype theory. It achieves state-of-the-art certified accuracy for ℓ₁ robustness on CIFAR-10 and ImageNet, with improvements exceeding 30% at ℓ₁ radii ≥1.5 using stability training and pre-training.
Randomized smoothing is the current state-of-the-art defense with provable robustness against $\ell_2$ adversarial attacks. Many works have devised new randomized smoothing schemes for other metrics, such as $\ell_1$ or $\ell_\infty$; however, substantial effort was needed to derive such new guarantees. This begs the question: can we find a general theory for randomized smoothing? We propose a novel framework for devising and analyzing randomized smoothing schemes, and validate its effectiveness in practice. Our theoretical contributions are: (1) we show that for an appropriate notion of "optimal", the optimal smoothing distributions for any "nice" norms have level sets given by the norm's *Wulff Crystal*; (2) we propose two novel and complementary methods for deriving provably robust radii for any smoothing distribution; and, (3) we show fundamental limits to current randomized smoothing techniques via the theory of *Banach space cotypes*. By combining (1) and (2), we significantly improve the state-of-the-art certified accuracy in $\ell_1$ on standard datasets. Meanwhile, we show using (3) that with only label statistics under random input perturbations, randomized smoothing cannot achieve nontrivial certified accuracy against perturbations of $\ell_p$-norm $Ω(\min(1, d^{\frac{1}{p} - \frac{1}{2}}))$, when the input dimension $d$ is large. We provide code in github.com/tonyduan/rs4a.
Motivation & Objective
- To develop a general theory for randomized smoothing that unifies and extends existing approaches across different perturbation norms.
- To identify the optimal smoothing distributions for arbitrary 'nice' norms, showing they correspond to Wulff crystals of the norm.
- To introduce two novel, complementary methods for computing provably robust radii under any smoothing distribution.
- To establish fundamental theoretical limits on randomized smoothing using Banach space cotype theory.
- To achieve state-of-the-art certified robust accuracy for ℓ₁-norm adversaries on standard benchmarks.
Proposed method
- Proposes a general framework linking the geometry of norms to optimal smoothing distributions via Wulff crystals, which are the level sets of the optimal smoothing distribution.
- Introduces two new methods for deriving robustness certificates: one based on concentration inequalities and another using metric embedding and cotype theory.
- Uses the theory of Banach space cotypes to derive lower bounds on the achievable robustness radius when only label statistics are available under perturbations.
- Employs stability training, semi-supervised learning, and ImageNet pre-training to improve certified accuracy in practice.
- Derives that the optimal smoothing distribution for a norm has level sets equal to its Wulff crystal, minimizing the expected robustness radius for a given noise variance.
- Applies Khintchine’s inequality and metric embedding theorems to connect cotype constants to distortion in linear embeddings, enabling theoretical limits on robustness.
Experimental results
Research questions
- RQ1What is the optimal smoothing distribution for any given norm, and how is it related to the geometry of the norm?
- RQ2Can we derive provably robust radii for any smoothing distribution using generalizable methods?
- RQ3What are the fundamental theoretical limits of randomized smoothing when only label statistics are available?
- RQ4How can we achieve state-of-the-art certified robustness for ℓ₁-norm adversaries on ImageNet and CIFAR-10?
- RQ5Can the Wulff crystal structure be used to unify and improve existing randomized smoothing schemes?
Key findings
- The optimal smoothing distribution for any 'nice' norm has level sets equal to the norm’s Wulff crystal, providing a geometric characterization of optimality.
- The proposed methods for computing robust radii significantly improve certified accuracy for ℓ₁-norm robustness on CIFAR-10 and ImageNet.
- With stability training and pre-training, the method achieves >30% higher certified accuracy than prior SOTA at ℓ₁ radii ≥1.5 on CIFAR-10.
- On ImageNet, the method achieves 60% certified top-1 accuracy at ℓ₁ radius 0.5 and 39% at radius 4.0, outperforming prior work.
- On CIFAR-10, the method achieves 74% certified accuracy at ℓ₁ radius 0.5 and 31% at radius 4.0, with improvements up to 33% over prior SOTA.
- Theoretical analysis shows that randomized smoothing cannot achieve nontrivial certified accuracy against ℓₚ perturbations larger than Ω(min(1, d^{1/p - 1/2})) when only label statistics are used.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.