DeformRS: Certifying Input Deformations
with Randomized Smoothing
�
* indicates equal contribution
Motasem Alfarra*
(KAUST)
Adel Bibi*
(Oxford)
Naeemullah Khan
(Oxford)
Philip H. S. Torr
(Oxford)
Bernard Ghanem
(KAUST)
Adversarial Attacks
Adversarial Attacks
The classical threat model
Adversarial Attacks
The classical threat model
Additive attack
Adversarial Attacks
The classical threat model
Additive attack
Attack is norm
bounded
Defenses Against Adversaries
does not scale to large networks
provides guarantees
no guarantees
scales to large networks
AT
TRADES
MART
HYDRA
AWP
Wong et al. ICML18.
CROWN
PROVEN
Empirical Defenses
Certified Defenses
Randomized Smoothing
Defenses Against Adversaries
Empirical Defenses
Certified Defenses
does not scale to large networks
provides guarantees
no guarantees
scales to large networks
AT
TRADES
MART
HYDRA
AWP
Wong et al. ICML18.
CROWN
PROVEN
Provides probabilistic guarantees
that scales to large networks
Goal of this Paper
Randomized Smoothing
Goal of this Paper
Randomized Smoothing
Goal of this Paper
Randomized Smoothing
Goal of this Paper
Randomized Smoothing
Motivation
Attacking parameterized simulators
SADA: Semantic Adversarial Diagnostic Attacks for Autonomous Applications, Hamdi et al. AAAI20.
Examples to Geometric Deformations
Random Gaussian Perturbations to Pixel locations
Examples to Geometric Deformations
Rotation, Translations, Scaling, and Sheering of the Pixel Grid
Examples to Geometric Deformations
General Affine Deformations of the Pixel Grid
Examples to Geometric Deformations
Deformations of the Pixel Grid Sampled from a DCT Basis
Deformation Smoothed Classifier
Consider the geometrically interpolated image:
Deformation Smoothed Classifier
Interpolation function
vector field
deformation
Consider the geometrically interpolated image:
Deformation Smoothed Classifier
Then, the deformation smoothed classifier is given as follows:
Interpolation function
average predictions
Deformation Smoothed Classifier
Interpolation function
average predictions
Deformation Smoothed Classifier
Interpolation function
average predictions
What about parameterized vector fields?
e.g. Flows representing rotations
Parametric Smoothed Classifier
Interpolation function
Then, the deformation smoothed classifier is given as follows:
average predictions
Interpolation function
average predictions
Parametric Smoothed Classifier
Certifying Deformations
parametric deformation smoothed classifier
noise augmentations
Experiments
Experiments
Experiments: Affine Deformations
How to certify a deformation that is sheering followed by rotation?
Experiments: Affine Deformations
Experiments: Affine Deformations
Experiments: Affine Deformations
Experiments: Affine Deformations
Experiments: Affine Deformations
Solve:
Experiments: Affine Deformations
Check whether the maximum violates the right hand side
Solve:
Experiments: Affine Deformations
Certifying a richer family of deformations that can be visually aligned
Experiments: DCT Deformations
Certifying a richer family of deformations that can be visually aligned
Experiments: DCT Deformations
Thank You!