a geometric perspective on the robustness of deep networks
play

A geometric perspective on the robustness of deep networks - PowerPoint PPT Presentation

A geometric perspective on the robustness of deep networks Seyed-Mohsen Moosavi-Dezfooli Amirkabir Artificial Intelligence Summer Summit July 2019 Tehran Polytechnic Iran 2 EPFL Lausanne, Switzerland 3 Pascal Frossard Alhussein


  1. A geometric perspective on 
 the robustness of deep networks Seyed-Mohsen Moosavi-Dezfooli Amirkabir Artificial Intelligence Summer Summit July 2019

  2. Tehran Polytechnic Iran 2

  3. EPFL Lausanne, Switzerland 3

  4. Pascal Frossard Alhussein Fawzi Stefano Soatto Omar Fawzi EPFL Google DeepMind UCLA ENS-Lyon Collaborators Jonathan Uesato Can Kanbak Apostolos Modas Google DeepMind Bilkent EPFL

  5. Google Research Rachel Jones—Biomedical Computation Review Are we ready? David Paul Morris—Bloomberg/Getty Images

  6. School Bus x + ˆ k ( · ) r = Ostrich Adversarial ▪ Intriguing properties of neural networks , perturbations Szegedy et al., ICLR 2014.

  7. Joystick Flag pole Ballon Face powder Universal (adversarial) Labrador Chihuahua ▪ Universal adversarial perturbations , Chihuahua Labrador perturbations 7 Moosavi et al., CVPR 2017.

  8. “Geometry is not true, it is advantageous.” Henri Poincaré “ 8

  9. Adversarial perturbations How large is the “space” of adversarial examples? Universal perturbations What causes the vulnerability of deep networks to universal perturbations? Adversarial training What geometric features contribute to a better robustness properties? Geometry of … 9

  10. Geometry of adversarial perturbations 10

  11. r ∗ = argmin k r k 2 s.t. ˆ k ( x + r ) 6 = ˆ k ( x ) r x 0 x + r ∗ Geometric interpretation x ∈ R d of adversarial perturbations

  12. Adversarial examples are “blind spots”. ▪ Intriguing properties of neural networks , 
 Szegedy et al., ICLR 2014 . Deep classifiers are “too linear”. ▪ Explaining and harnessing Two adversarial examples , 
 hypotheses Goodfellow et al., ICLR 2015 .

  13. r v T x B x U Normal cross- sections of decision ▪ Robustness of classifiers: 
 from adversarial to random noise, 
 boundary Fawzi, Moosavi , Frossard, NIPS 2016 .

  14. Decision boundary of CNNs is almost flat along random directions. 2 1 B 1 0 B 2 -1 x Curvature of -2 -100 -50 0 50 100 150 decision boundary of ▪ Robustness of classifiers: 
 from adversarial to random noise, 
 deep nets Fawzi, Moosavi , Frossard, NIPS 2016 .

  15. Adversarial perturbations constrained to a random subspace of dimension m . r ∈ S k r k s.t. ˆ k ( x + r ) 6 = ˆ r S ( x ) = arg min k ( x ) x ∗ For low curvature classifiers, w.h.p., we have Space of r ! d r S ( x ) = Θ mr ( x ) r ∗ r ∗ adversarial S x S perturbations

  16. The “space” of adversarial examples is quite vast. + = Flowerpot Pineapple Structured additive ▪ Robustness of classifiers: 
 from adversarial to random noise, 
 perturbations Fawzi, Moosavi , Frossard, NIPS 2016 .

  17. Geometry of adversarial examples Decision boundary is “locally” almost flat. Datapoints lie close to the decision boundary. Flatness can be used to construct diverse set of perturbations. Summary design efficient attacks.

  18. Geometry of universal perturbations 18

  19. Joystick Flag pole Ballon Face powder 85 % Universal adversarial perturbations Labrador Chihuahua Chihuahua Labrador ▪ Universal adversarial perturbations , (UAP) 19 Moosavi et al., CVPR 2017.

  20. Diversity of UAPs VGG-19 VGG-16 VGG-F CaffeNet Diversity of perturbations ResNet-152 GoogLeNet 20

  21. Curved Flat model model Why do universal perturbations exist? 21

  22. ▪ Robustness of classifiers to universal perturbations , Flat model Moosavi et al., ICLR 2018. 22

  23. Normals to the decision boundary are “globally” correlated. Plot of singular values Normals of the decision boundary Random vectors Flat model 1 50’000 ▪ Robustness of classifiers to universal perturbations , (cont’d) Moosavi et al., ICLR 2018. 23

  24. The flat model only partially explains the universality. UAP Random (greedy algorithm) 13 % 38 % 85 % Flat model ▪ Robustness of classifiers to universal perturbations , (cont’d) Moosavi et al., ICLR 2018. 24

  25. The principal curvatures of the decision boundary: 0.0 0 500 1000 1500 2000 2500 3000 ▪ Robustness of classifiers to universal perturbations , Curved model Moosavi et al., ICLR 2018. 25

  26. The principal curvatures of the decision boundary: n v x 0.0 Curved model 0 500 1000 1500 2000 2500 3000 ▪ Robustness of classifiers to universal perturbations , (cont’d) Moosavi et al., ICLR 2018. 26

  27. The principal curvatures of the decision boundary: n x v 0.0 Curved model 0 500 1000 1500 2000 2500 3000 ▪ Robustness of classifiers to universal perturbations , (cont’d) Moosavi et al., ICLR 2018. 27

  28. The principal curvatures of the decision boundary: n x v 0.0 Curved model 0 500 1000 1500 2000 2500 3000 ▪ Robustness of classifiers to universal perturbations , (cont’d) Moosavi et al., ICLR 2018. 28

  29. Normal sections of the decision boundary (for different datapoints) along a single direction: UAP direction Random direction Curved directions are ▪ Robustness of classifiers to universal perturbations , shared Moosavi et al., ICLR 2018. 29

  30. The curved model better explains the existence of universal perturbations. Flat Curved Random model model UAP 67 % 85 % 13 % 38 % Curved directions are shared ▪ Robustness of classifiers to universal perturbations , (cont’d) Moosavi et al., ICLR 2018. 30

  31. Universality of perturbations Shared curved directions explain this vulnerability. A possible solution Regularizing the geometry to combat against universal perturbations. Why are deep nets curved? ▪ With friends like these, who needs adversaries? , 
 Jetley et al., NeurIPS 2018. Summary 31

  32. Geometry of adversarial training 32

  33. Adversarial Curvature training regularization Image batch x Adversarial perturbations Training x + r In a nutshell

  34. One of the most effective methods to improve adversarial robustness… Image batch x Adversarial perturbations Training x + r Adversarial ▪ Obfuscated gradients give a false sense of security , training Athalye et al., ICML 2018 . (Best paper)

  35. Curvature profiles of normally and adversarially trained networks: Normal Adversarial 0.0 Geometry of adversarial 0 500 1000 1500 2000 2500 3000 ▪ Robustness via curvature regularisation, and vice versa , training Moosavi et al., CVPR 2019 .

  36. Normal Adversarial CURE training training 94.9 % 81.2 % 79.4 % Clean 43.7 % 0.0 % 36.3 % PGD with Curvature k r ∗ k ∞ = 8 Regularization ▪ Robustness via curvature regularisation, and vice versa , (CURE) Moosavi et al., CVPR 2019 .

  37. AT CURE Implicit regularization Explicit regularization Time consuming 3x to 5x faster SOTA robustness On par with SOTA ▪ Robustness via curvature regularisation, and vice versa , AT vs CURE Moosavi et al., CVPR 2019 .

  38. Inherently more robust classifiers Curvature regularization can significantly improve the robustness properties. Counter-intuitive observation Due to a more linear nature, an adversarially trained net is “easier” to fool. A better trade-off? ▪ Adversarial Robustness through Local Linearization , 
 Qin et al., arXiv. Summary

  39. Future challenges 39

  40. Architectures Batch-norm, dropout, depth, width, etc. Data # of modes, convexity, distinguishability, etc. Disentangling Training different Batch size, solver, learning rate, etc. factors 40

  41. ▪ Geometric robustness of deep networks , 
 Canbak, Moosavi , Frossard, CVPR 2018 . Bear Fox ▪ Spatially transformed Beyond adversarial examples , 
 Xiao et al., ICLR 2018 . additive “0” “2” perturbations 41

  42. Original Standard Adversarial image training training “Interpretability” ▪ Robustness may be at odds with accuracy , and robustness 42 Tsipras et al., NeurIPS 2018.

  43. ETHZ Zürich, Switzerland Google Zürich 43

  44. Interested in my research? smoosavi.me moosavi.sm@gmail.com 44

Recommend


More recommend