Certified Robustness via Randomized Smoothing over Multiplicative Parameters of Input Transformations

Nikita Muravev, Aleksandr Petiushko

Abstract

Currently, the most popular method of providing robustness certificates is randomized smoothing, where an input is smoothed via a probability distribution. We propose a novel approach to randomized smoothing over multiplicative parameters. Using this method, we construct certifiably robust classifiers with respect to gamma correction perturbations and compare the results with classifiers obtained via other smoothing distributions (Gaussian, Laplace, uniform). Our experiments show that the asymmetrical Rayleigh distribution allows for better certificates for specific perturbation parameters. To the best of our knowledge, this is the first work concerning certified robustness against multiplicative gamma correction transformations and the first to study the effects of asymmetrical distributions in randomized smoothing.

Introduction

Deep learning models are notoriously fragile; a tiny, invisible change to an image can trick a classifier into misidentifying an object. Randomized smoothing has emerged as a leading defense against such adversarial attacks. It works by taking an input, adding random noise to it many times, and letting the model "vote" on the class. This process creates a "smoothed" classifier that is provably robust within a certain radius.

However, most existing research focuses on additive noise (e.g., $l_p$-balls). In real-world scenarios, many common transformations are multiplicative. For instance, adjusting the volume of an audio clip or the gamma correction (brightness/contrast) of an image involves multiplying pixel values by a factor rather than adding a fixed amount.

Visual representation of gamma correction transformations on an image showing varying brightness levels.

Multiplicative Smoothing and the Rayleigh Distribution

The authors introduce a framework for smoothing over multiplicatively composable transformations. A transformation is composable if applying it twice (with factors $\delta$ and $\theta$) is equivalent to applying it once with the product of those factors ($\delta \cdot \theta$).

A key innovation in this work is the use of the Rayleigh distribution. Unlike the standard Gaussian (Normal) distribution, which is symmetric and defined for all real numbers, the Rayleigh distribution is defined only for positive values. This makes it a natural fit for multiplicative factors, which are typically positive. Furthermore, multiplicative transformations are inherently asymmetric—halving a value ($\times 0.5$) represents a different "distance" in linear space than doubling it ($\times 2.0$). The Rayleigh distribution’s skewed shape captures this behavior more effectively than symmetric distributions, leading to tighter robustness certificates for specific ranges of the gamma factor.

Addressing Real-World Constraints

In "realistic" settings, digital images suffer from rounding and quantization errors when brightness is adjusted. To handle this, the authors propose a "double smoothing" approach:

  1. Gaussian Smoothing: Applied first to handle pixel-level rounding and quantization errors.
  2. Rayleigh Smoothing: Applied subsequently to handle the global gamma transformation.

This nested approach ensures that the certificates remain valid even when accounting for the loss of information during the conversion of images back to 8-bit RGB formats.

Experimental Evaluation

The approach was evaluated using standard computer vision benchmarks, including CIFAR-10 (with ResNet-20 and ResNet-110) and ImageNet (with ResNet-50).

Comparison of certified accuracy between Rayleigh and Gaussian smoothing across various gamma values.

As shown in the experimental results, Rayleigh-smoothed models can outperform those using Gaussian or Laplace smoothing, particularly for small gamma factors. On CIFAR-10, Rayleigh smoothing maintained significantly higher certified accuracy at a gamma factor of 0.5 compared to its competitors. The successful application to ImageNet further proves that multiplicative smoothing scales effectively to high-resolution data.

Conclusion

This research provides the first formal robustness certificates for gamma correction attacks. By leveraging the asymmetrical properties of the Rayleigh distribution, the authors demonstrate that choosing a distribution that matches the parameter space of the transformation yields superior results compared to standard additive smoothing techniques.

Future work may involve exploring a wider "family" of multiplicative distributions to allow for more flexible tuning of robustness trade-offs. Additionally, addressing more complex transformations like image scaling—which involves interpolation errors that are harder to smooth—remains an open challenge.

Summary updated

BibTeX
@inproceedings{muravev2022certified,
  author = {Nikita Muravev and Aleksandr Petiushko},
  title = {{Certified Robustness via Randomized Smoothing over Multiplicative Parameters of Input Transformations}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2022},
  url = {https://openreview.net/forum?id=qQ6g0kUUK0g},
}
Figure