Introduction
Deep neural networks are notoriously vulnerable to adversarial examples—tiny, carefully crafted perturbations that cause misclassification. To deploy AI in safety-critical domains, researchers use "robustness certification" to mathematically guarantee a model won't change its prediction within a certain radius (a "safety region") around an input.
Randomized smoothing is a popular certification method where a classifier is smoothed by adding noise (usually Gaussian) to the inputs. However, existing certification frameworks only use zeroth-order information—specifically, the probability that the smoothed classifier outputs the top class. Because they ignore the "shape" of the decision boundary, these methods yield safety regions that are perfectly spherical. Recent theoretical papers have proven "impossibility results," showing that this spherical, zeroth-order approach is fundamentally incapable of providing large certified radii for high-dimensional threat models like $\ell_\infty$ or $\ell_1$ norms. This paper explores breaking these impossibility limits by incorporating higher-order local information, such as the gradient.
Methods
The authors propose a generalized framework that calculates certified safety regions by treating the problem as a constrained optimization task. Instead of just constraining the optimization with the classifier's output value (zeroth-order), they add constraints based on the classifier's local gradient (first-order information).
They utilize the Generalized Neyman-Pearson Lemma to solve this nested optimization problem, identifying the "worst-case" function that matches both the zeroth and first-order statistics of the smoothed classifier. A significant engineering challenge involves estimating the high-dimensional gradient of a black-box smoothed classifier via Monte Carlo sampling, which is typically computationally prohibitive. To address this, the authors designed new, highly efficient estimators. By leveraging the properties of sub-Gaussian random variables, they estimate only the specific norms of the gradient required for the bounds, rather than the entire gradient vector itself.
Key Insights: From Spheres to Cylinders
A core theoretical contribution is the observation that Gaussian-smoothed classifiers are real analytic functions, meaning they have an infinite radius of convergence for their Taylor series. Theoretically, if one could estimate all higher-order derivatives, the classifier could be perfectly reconstructed, yielding optimal safety regions and circumventing previous "impossibility" theorems.
Using only zeroth-order information assumes the worst-case decision boundary is a flat plane, resulting in a spherical certified region. By adding first-order (gradient) information, the framework recognizes the actual direction of the decision boundary. As shown in the visualization above, this stretches the certified safety region into a convex, cylindrically symmetric shape, enabling directional robustness. This is particularly effective for defending against $\ell_1$, $\ell_\infty$, and subspace attacks (e.g., where an attacker manipulates only specific input features like a single color channel).
Empirical Results
The framework was evaluated on CIFAR10 and ImageNet datasets. The results demonstrate that incorporating first-order information leads to substantial improvements in certified robustness across various threat models.
Key findings include:
- Massive Gains in $\ell_1$ and Subspace Robustness: The proposed framework substantially boosts certified accuracy for $\ell_1$ norm threat models and subspace $\ell_2$ norms compared to existing baselines.
- Breaking $\ell_\infty$ Barriers: On CIFAR10, the new method improves upon the state-of-the-art $\ell_\infty$ bounds achievable by standard Gaussian smoothing.
- Maintaining $\ell_2$ Performance: For standard $\ell_2$ attacks, the method maintains (and marginally improves) the already near-optimal certified radii provided by existing zeroth-order methods.
Limitations and Future Work
While the authors designed efficient estimators for most norms, estimating the $\ell_1$ norm of the gradient (required for $\ell_\infty$ certification) remains computationally intensive, scaling linearly with input dimension. For instance, achieving tight $\ell_\infty$ bounds on CIFAR10 required 4,000,000 Monte Carlo samples.
Future research could focus on developing tighter statistical estimators to reduce this sample complexity. Additionally, the framework could be extended to automatically derive and utilize optimal local information, such as specific second-order Hessian diagonals, tailored for any arbitrary threat model.
Summary updated