[Paper Review] Data-Dependent Randomized Smoothing
This paper proposes data-dependent randomized smoothing, where the variance of the Gaussian noise used in smoothing is optimized per input to maximize certification radius. By introducing a memory-enhanced certification method, the approach enables certifiable robustness without sacrificing performance, achieving 9% and 6% certified accuracy gains over baselines on CIFAR-10 and ImageNet at radius 0.5.
Randomized smoothing is a recent technique that achieves state-of-art performance in training certifiably robust deep neural networks. While the smoothing family of distributions is often connected to the choice of the norm used for certification, the parameters of these distributions are always set as global hyper parameters independent from the input data on which a network is certified. In this work, we revisit Gaussian randomized smoothing and show that the variance of the Gaussian distribution can be optimized at each input so as to maximize the certification radius for the construction of the smooth classifier. Since the data dependent classifier does not directly enjoy sound certification with existing approaches, we propose a memory-enhanced data dependent smooth classifier that is certifiable by construction. This new approach is generic, parameter-free, and easy to implement. In fact, we show that our data dependent framework can be seamlessly incorporated into 3 randomized smoothing approaches, leading to consistent improved certified accuracy. When this framework is used in the training routine of these approaches followed by a data dependent certification, we achieve 9% and 6% improvement over the certified accuracy of the strongest baseline for a radius of 0.5 on CIFAR10 and ImageNet.
Motivation & Objective
- To address the suboptimal robustness of fixed-variance randomized smoothing, which under-certifies inputs far from decision boundaries and misclassifies those near them.
- To develop a data-dependent smoothing framework where the noise variance is optimized per input to maximize certification radius.
- To propose a memory-enhanced certification mechanism that ensures the data-dependent smooth classifier remains certifiably robust by construction.
- To demonstrate the generality and effectiveness of the framework across multiple randomized smoothing approaches.
- To achieve state-of-the-art certified accuracy on CIFAR-10 and ImageNet by integrating data-dependent smoothing into training and certification pipelines.
Proposed method
- Optimize the input-specific noise variance $\sigma_x^*$ for each input $x$ to maximize the certification radius, replacing fixed $\sigma$ with data-dependent $\sigma_x$.
- Use a memory-based mechanism to store and retrieve the optimal $\sigma_x^*$ for each input during inference, enabling efficient and certifiable prediction.
- Integrate the data-dependent smoothing into existing randomized smoothing frameworks, such as those using Gaussian noise, without modifying the underlying training process.
- Apply Monte Carlo sampling with $K$ perturbations to estimate the smoothed classifier output and compute certification using the memory-enhanced approach.
- Construct a smooth classifier $g(x) = \mathbb{E}_{\epsilon \sim \mathcal{N}(0, \sigma_x^2 I)}[f(x + \epsilon)]$, where $\sigma_x^*$ is learned per input via optimization.
- Ensure certification by leveraging stored $\sigma_x^*$ values and applying probabilistic bounds to verify robustness within the computed radius.
Experimental results
Research questions
- RQ1Can input-specific noise variance in randomized smoothing improve certification radius compared to fixed-variance smoothing?
- RQ2How can a data-dependent smooth classifier be made certifiably robust when classical certification methods no longer apply?
- RQ3What is the impact of data-dependent smoothing on certified accuracy across standard benchmarks like CIFAR-10 and ImageNet?
- RQ4Can the proposed framework be seamlessly integrated into existing randomized smoothing training pipelines without architectural changes?
- RQ5Does optimizing $\sigma_x^*$ per input lead to consistent improvements in robustness and accuracy across diverse data distributions?
Key findings
- The proposed data-dependent smoothing framework improves certified accuracy by 9% on CIFAR-10 and 6% on ImageNet at an $\ell_2$ radius of 0.5 compared to the strongest baseline.
- At $\sigma = 0.5$, the method achieves 63.0% certified accuracy on CIFAR-10 at radius 2.50, significantly outperforming fixed-$\sigma$ baselines.
- The memory-enhanced certification mechanism enables reliable and efficient certification of data-dependent smooth classifiers, maintaining theoretical guarantees.
- The framework is generic and can be applied to multiple randomized smoothing approaches, consistently improving certified accuracy across all tested methods.
- Optimizing $\sigma_x^*$ per input reduces under-certification for clean inputs and avoids misclassification near decision boundaries, improving robustness.
- The method achieves state-of-the-art certified accuracy on both CIFAR-10 and ImageNet, demonstrating the effectiveness of data-dependent smoothing in practice.
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.