[Paper Review] Certified Defense to Image Transformations via Randomized Smoothing
This paper introduces the first certified defense for image transformations—such as rotations and translations—using randomized smoothing extended to parameterized transformations. By bounding interpolation errors through statistical analysis or efficient inverse computation, it achieves both distributional and individual robustness guarantees, demonstrating certified robustness to ±30° rotations on 50% of Restricted ImageNet images.
Fair representation learning provides an effective way of enforcing fairness constraints without compromising utility for downstream users. A desirable family of such fairness constraints, each requiring similar treatment for similar individuals, is known as individual fairness. In this work, we introduce the first method thatenables data consumers to obtain certificates of individualfairness for existing andnew data points. The key idea is to map similar individuals toclose latent representations and leverage this latent proximity to certify individual fairness. That is, our method enables the data producer to learn and certify a representation where for a data point all similar individuals are at ℓ∞-distance at most epsilon, thus allowing data consumers to certify individual fairness by proving epsilon-robustness of their classifier. Our experimental evaluation on five real-world datasets and several fairnessconstraints demonstrates the expressivity and scalability of our approach.
Motivation & Objective
- To address the challenge of certifying robustness to non-composable geometric transformations like rotations with interpolation, which break compositionality and invalidate standard ℓp-based certification.
- To extend randomized smoothing beyond ℓp-norm perturbations to parameterized transformations such as rotation and translation angles.
- To develop new certification methods that provide both distributional and individual robustness guarantees under probabilistic or deterministic error bounds.
- To enable practical certification for large models and datasets like ResNet-50 on ImageNet, where prior methods fail due to computational or compositional constraints.
Proposed method
- Extends randomized smoothing to parameterized transformations by adding Gaussian noise to transformation parameters (e.g., rotation angle, translation vector), enabling robustness certification in the parameter space.
- Introduces BASESPT as a baseline method for composable transformations, which inherits standard randomized smoothing guarantees but fails for non-composable ones like interpolated rotations.
- Proposes INDIVSPT, a method that computes individual certificates at inference time by estimating an upper bound on interpolation error without access to the original image, using interval analysis and efficient inverse computation of the transformation.
- Develops DISTSPT, a distributional method that estimates a probabilistic upper bound on the interpolation error over the data distribution, enabling tighter bounds than INDIVSPT at the cost of probabilistic guarantees.
- Uses DISTSPTD for offline estimation of error bounds with high confidence qE, providing both distributional and individual guarantees.
- Introduces DISTSPTx, a variant that computes per-image bounds on the test set, offering tighter bounds than DISTSPTD but only distributional guarantees.
Experimental results
Research questions
- RQ1Can randomized smoothing be generalized to parameterized transformations such as rotations and translations, which do not compose due to interpolation effects?
- RQ2How can robustness be certified in the parameter space of geometric transformations when the perturbed image cannot be exactly reversed due to interpolation?
- RQ3What are the trade-offs between different certification guarantees—distributional vs. individual, deterministic vs. probabilistic—when handling non-composable transformations?
- RQ4Can efficient inverse computation of transformations be used to improve the tightness of individual certificates in the presence of interpolation error?
Key findings
- The method achieves certified robustness to ±30° rotations for 50% of images on Restricted ImageNet using ResNet-50, demonstrating scalability to large models and datasets.
- INDIVSPT achieves 81% certification rate for rotated adversarial images on MNIST, with an average inference time of 25.03s for smoothing and 0.26s for error analysis.
- For translation attacks on MNIST, INDIVSPT certifies robustness for 59% of images, with average analysis and smoothing times of 14.14s and 19.89s per image, respectively.
- DISTSPTD provides both distributional and individual guarantees with high confidence qE, enabling tighter bounds than INDIVSPT by relaxing the requirement to deterministic error bounds.
- DISTSPTx achieves even tighter bounds than DISTSPTD by computing per-image bounds, but only provides distributional guarantees, not individual ones.
- The approach generalizes beyond rotation and translation to other parameterized transformations and interpolation schemes, including applications in audio processing.
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.