ZHANGYUXUAN-zR commited on
Commit
3c36da2
·
verified ·
1 Parent(s): 67a2c90

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. parse/train/-QxT4mJdijq/images/03bf15e7a41c9876e81ab72067dbcee1750da8a6b97355443dd35140c46d803d.jpg +3 -0
  2. parse/train/-QxT4mJdijq/images/0545410c2194e8ca423ddb329f614b343e81fc5264a5367d649b7f48986aa5b1.jpg +3 -0
  3. parse/train/-QxT4mJdijq/images/0a78e5c50e84538e1fcaa93345808d13ac3bdf45adb517289fa5555bc2fc6bd4.jpg +3 -0
  4. parse/train/-QxT4mJdijq/images/153dca76ce1cbb30d8daae071dc7a59a683b38fc3437174d1fd2becea451d56a.jpg +3 -0
  5. parse/train/-QxT4mJdijq/images/2342c5c3349041555f429af1658828d612b47ca1c153932295a7a2068a04d611.jpg +3 -0
  6. parse/train/-QxT4mJdijq/images/2ea39d783785d2e672fd3f75c9ac82f2e8df3fd38323afcfa5db6e8cd3f06e15.jpg +3 -0
  7. parse/train/-QxT4mJdijq/images/4670f5649d171156382e706f85604c51b4f230e05002f4baed1cde502fc088e5.jpg +3 -0
  8. parse/train/-QxT4mJdijq/images/540eba8aafc174b8831dbb5987da9ac468a327092d6301641e14214ab9444804.jpg +3 -0
  9. parse/train/-QxT4mJdijq/images/54f6352f774a074f950f8a54ab5510b26f1df97b07052bfc3ec162c4a8b409cb.jpg +3 -0
  10. parse/train/-QxT4mJdijq/images/5f1bb14aaf0ffb62a70c07c1574bbb2116493d0d2ae984d06739369fe2bd7e95.jpg +3 -0
  11. parse/train/-QxT4mJdijq/images/6ae598ff4c80db862d7c374a12d35ed99ae95d12952bf2ea4095e1d0bbca9630.jpg +3 -0
  12. parse/train/-QxT4mJdijq/images/84c4e661902cf56b47c0506fcbf543fc9f6d6a66bf1cb9d91905c6bed8136e6d.jpg +3 -0
  13. parse/train/-QxT4mJdijq/images/937f72a751af04da5a19541b5f9dc5c796194948a793294a6d769f9afdf7668e.jpg +3 -0
  14. parse/train/-QxT4mJdijq/images/a5a4dda566f548853c45fadd13655661c3a98f55d2a207d40ea7fa7053ab93c7.jpg +3 -0
  15. parse/train/-QxT4mJdijq/images/a5b5501763c5a605d2f4d86059819dff3c5c774b444253f9019e5951c770684f.jpg +3 -0
  16. parse/train/-QxT4mJdijq/images/ae54259edf7dc18c91534c116d1693c3d8e321c69a4ab821cef3e0b60e5f915e.jpg +3 -0
  17. parse/train/-QxT4mJdijq/images/b4d39c6c400ce8295b84f70c022cc2ce11d5570f9f197b7a41d02542a0426108.jpg +3 -0
  18. parse/train/-QxT4mJdijq/images/bb6e0e265f9c1db97949a39f9f867a9bc5620382de34437048f497e75421123b.jpg +3 -0
  19. parse/train/-QxT4mJdijq/images/bea0d4155edf3ed24ffc1e031678c0893fe90072e68bc41c1d9e5d215fc27087.jpg +3 -0
  20. parse/train/-QxT4mJdijq/images/c60c3ca6edb82aa7bed126ef54f8a3e9f3d0a719b901b5ea0a7e85272f0926b4.jpg +3 -0
  21. parse/train/-QxT4mJdijq/images/c93f8dcc1798e887f6263cb16892a64573f83955a9a3ce8c4e778ef9171d799b.jpg +3 -0
  22. parse/train/-QxT4mJdijq/images/cb0678ed8a88a0f45082a325fabd83a7b02420696ff29181ba0d7eb73ae5aeaf.jpg +3 -0
  23. parse/train/-QxT4mJdijq/images/cb216c7240d0a8c8c61d6f76e58889ba8cd3666236583915375caf6607d7ae9a.jpg +3 -0
  24. parse/train/-QxT4mJdijq/images/cd239f1d26e92b14dee6b0e7f7ffa1a919dd30ff328d522c0f93be06cf8d939c.jpg +3 -0
  25. parse/train/-QxT4mJdijq/images/d9b2b12429bc9cf64cde869c2c39802f4f5d2746a6a46f4675ae102c23ef79f9.jpg +3 -0
  26. parse/train/-QxT4mJdijq/images/dcf1245dedce8a6866b6b8cbdef43db813ef143c34b5b40127f29a7903105c91.jpg +3 -0
  27. parse/train/-QxT4mJdijq/images/ecb7acfd893d04352769cdb775abb7d8d42845248ab3f2264aaf152c86fb6f91.jpg +3 -0
  28. parse/train/-QxT4mJdijq/images/effd2e35cb9a3dff094ba1649c9b9484edf2eb8acf1801850584c77ad0069917.jpg +3 -0
  29. parse/train/-QxT4mJdijq/images/f598edd028284152c46bafcd845c28e477a56de8801a4de739f21f673863a3d1.jpg +3 -0
  30. parse/train/33TBJachvOX/33TBJachvOX.md +322 -0
  31. parse/train/33TBJachvOX/33TBJachvOX_content_list.json +1551 -0
  32. parse/train/33TBJachvOX/33TBJachvOX_middle.json +0 -0
  33. parse/train/33TBJachvOX/33TBJachvOX_model.json +0 -0
  34. parse/train/5NA1PinlGFu/images/02ece58102311cbc4bafe0865916d79b7b13d6a3e956a5afa2a863720fc65f04.jpg +3 -0
  35. parse/train/5NA1PinlGFu/images/17494eac5674b7693f554003e51f02f09f6d9fcb64ed950b7580b9bb8d98f424.jpg +3 -0
  36. parse/train/5NA1PinlGFu/images/175e5d038eb47f1d59a41863018621b1cf61d4df3c3108d094c88dc7bef53f1b.jpg +3 -0
  37. parse/train/5NA1PinlGFu/images/21f05eca9b5c73c889c00c7a222bb67bae333cbea2b1aa76480ccacb1136bccd.jpg +3 -0
  38. parse/train/5NA1PinlGFu/images/29f4b17adb7e8fab2caf533355e6e98c46bacb94f3c46142652c8fce48d2c1a3.jpg +3 -0
  39. parse/train/5NA1PinlGFu/images/39799c2430abfde17b8a77d5aab243cb4997ac8fc8c5a4201e48ed6b90f52882.jpg +3 -0
  40. parse/train/5NA1PinlGFu/images/3c90190e75a06959b50c737768e4dde22f6d004be425387ac08f2126056c7481.jpg +3 -0
  41. parse/train/5NA1PinlGFu/images/43e82d6670b41487a5bb37c210b46ecbade28ac0b5b35475d156285597bda00f.jpg +3 -0
  42. parse/train/5NA1PinlGFu/images/58dabeca5b6789276315c401b00c13dc34b5a62e53b473059da4e85bfd49437e.jpg +3 -0
  43. parse/train/5NA1PinlGFu/images/67e8e7a141afb908e0ca9b61cabae63c0518b6147832f319bb6769bbb67aceaa.jpg +3 -0
  44. parse/train/5NA1PinlGFu/images/7d66277c41a29061239507dfcfc196d8c5d7fdb601e840484a8567e42fb5c633.jpg +3 -0
  45. parse/train/5NA1PinlGFu/images/852ae9fd0a4094182c800c55ac9ef0d9082cc2223522547ba5ac0143a140c093.jpg +3 -0
  46. parse/train/5NA1PinlGFu/images/9441ece35024458c15c43055002fedaecfb4ea796f9a426b895be98a1db25b22.jpg +3 -0
  47. parse/train/5NA1PinlGFu/images/9a6a450f5746fd01f383ca4742e0830f835b4a60b33476f2d9417aa39d2494bd.jpg +3 -0
  48. parse/train/5NA1PinlGFu/images/a3b1ad736b793ee02a779d1d870888999a502e932e68698299cc3e1d8de8ec77.jpg +3 -0
  49. parse/train/5NA1PinlGFu/images/a8c8dd7ddc8ca6e460a85a6d44ff8c0af0ead2e934f9ff6bff008ed8feb977cc.jpg +3 -0
  50. parse/train/5NA1PinlGFu/images/b0eb29eea5fff29b5b9b43f2a725598f0a49496d87b840de250b883064523c4e.jpg +3 -0
parse/train/-QxT4mJdijq/images/03bf15e7a41c9876e81ab72067dbcee1750da8a6b97355443dd35140c46d803d.jpg ADDED

Git LFS Details

  • SHA256: 10afee8a30aa55d5005f869006365fd975f851ecdc370bbed34541c4897dd676
  • Pointer size: 129 Bytes
  • Size of remote file: 4.29 kB
parse/train/-QxT4mJdijq/images/0545410c2194e8ca423ddb329f614b343e81fc5264a5367d649b7f48986aa5b1.jpg ADDED

Git LFS Details

  • SHA256: 97290d5b3bd0a873ee9e1815a94d0c4b3db5cea4544ac4f09649da9cc543218e
  • Pointer size: 129 Bytes
  • Size of remote file: 9.76 kB
parse/train/-QxT4mJdijq/images/0a78e5c50e84538e1fcaa93345808d13ac3bdf45adb517289fa5555bc2fc6bd4.jpg ADDED

Git LFS Details

  • SHA256: 4c2c5b0d47621b68b85489591c312f949f4ef07b55ec6b907e8a1f0c55ae794a
  • Pointer size: 129 Bytes
  • Size of remote file: 3.05 kB
parse/train/-QxT4mJdijq/images/153dca76ce1cbb30d8daae071dc7a59a683b38fc3437174d1fd2becea451d56a.jpg ADDED

Git LFS Details

  • SHA256: 519571b855fa6772bf3f9e08861ce9a1a6148d975be6ed771256c8817ed563ef
  • Pointer size: 130 Bytes
  • Size of remote file: 36.3 kB
parse/train/-QxT4mJdijq/images/2342c5c3349041555f429af1658828d612b47ca1c153932295a7a2068a04d611.jpg ADDED

Git LFS Details

  • SHA256: 21d7c44c277746d633dcb9b4d52d2d7b757de264ecaac57b9461452f2e7834d7
  • Pointer size: 130 Bytes
  • Size of remote file: 68.5 kB
parse/train/-QxT4mJdijq/images/2ea39d783785d2e672fd3f75c9ac82f2e8df3fd38323afcfa5db6e8cd3f06e15.jpg ADDED

Git LFS Details

  • SHA256: 9999743297335183d4cf04e9120aa32587c1bfc7eda499fc31ff716c49ebae9a
  • Pointer size: 129 Bytes
  • Size of remote file: 5.92 kB
parse/train/-QxT4mJdijq/images/4670f5649d171156382e706f85604c51b4f230e05002f4baed1cde502fc088e5.jpg ADDED

Git LFS Details

  • SHA256: 9394e5bb8395ebd4fe28bc5714628e301771cdb586aca7e0089df6d2867af5e8
  • Pointer size: 129 Bytes
  • Size of remote file: 2.96 kB
parse/train/-QxT4mJdijq/images/540eba8aafc174b8831dbb5987da9ac468a327092d6301641e14214ab9444804.jpg ADDED

Git LFS Details

  • SHA256: 3c597aa9c27a5c7cae17b070d289541d7e037673a0a8e3cc5bbffc90f83825b4
  • Pointer size: 129 Bytes
  • Size of remote file: 6.28 kB
parse/train/-QxT4mJdijq/images/54f6352f774a074f950f8a54ab5510b26f1df97b07052bfc3ec162c4a8b409cb.jpg ADDED

Git LFS Details

  • SHA256: 0bfecd3e9e6f6c0348fa01d50184eba32b21fa1ecd373e33296904a705729475
  • Pointer size: 130 Bytes
  • Size of remote file: 10.2 kB
parse/train/-QxT4mJdijq/images/5f1bb14aaf0ffb62a70c07c1574bbb2116493d0d2ae984d06739369fe2bd7e95.jpg ADDED

Git LFS Details

  • SHA256: b7b8cb87df6648e6d3fbc8391310300404eb6309703ac8635400c0ee291dcb2a
  • Pointer size: 129 Bytes
  • Size of remote file: 4.36 kB
parse/train/-QxT4mJdijq/images/6ae598ff4c80db862d7c374a12d35ed99ae95d12952bf2ea4095e1d0bbca9630.jpg ADDED

Git LFS Details

  • SHA256: d669170550af4585d468a1cb25340837ca8d28bb85d4b95f555d03fb6d3c175c
  • Pointer size: 129 Bytes
  • Size of remote file: 3.41 kB
parse/train/-QxT4mJdijq/images/84c4e661902cf56b47c0506fcbf543fc9f6d6a66bf1cb9d91905c6bed8136e6d.jpg ADDED

Git LFS Details

  • SHA256: 4bd6156f245e22969fb2c7461ef1c51c67d2586993a342063eb106ce6999c3eb
  • Pointer size: 130 Bytes
  • Size of remote file: 32.4 kB
parse/train/-QxT4mJdijq/images/937f72a751af04da5a19541b5f9dc5c796194948a793294a6d769f9afdf7668e.jpg ADDED

Git LFS Details

  • SHA256: 2a6f3fe4678bb61f9ffbd687e1a9ba184f6abf805cf5d793cf4e2fb209f6b303
  • Pointer size: 129 Bytes
  • Size of remote file: 4.43 kB
parse/train/-QxT4mJdijq/images/a5a4dda566f548853c45fadd13655661c3a98f55d2a207d40ea7fa7053ab93c7.jpg ADDED

Git LFS Details

  • SHA256: 6d21b09fd0fd0bd025ef7741f0c0570e800051f07ffee61b0ecf6df10f58df35
  • Pointer size: 130 Bytes
  • Size of remote file: 40.3 kB
parse/train/-QxT4mJdijq/images/a5b5501763c5a605d2f4d86059819dff3c5c774b444253f9019e5951c770684f.jpg ADDED

Git LFS Details

  • SHA256: 4a3b994c51770f603dfc79496922f83a1fa56628d4ad4925229f70edb189a0e9
  • Pointer size: 129 Bytes
  • Size of remote file: 3.63 kB
parse/train/-QxT4mJdijq/images/ae54259edf7dc18c91534c116d1693c3d8e321c69a4ab821cef3e0b60e5f915e.jpg ADDED

Git LFS Details

  • SHA256: 09b73c5039fb10a09e47e97416ac5a0ac4a53d0f68f92a164f2080bf8744040b
  • Pointer size: 130 Bytes
  • Size of remote file: 24.4 kB
parse/train/-QxT4mJdijq/images/b4d39c6c400ce8295b84f70c022cc2ce11d5570f9f197b7a41d02542a0426108.jpg ADDED

Git LFS Details

  • SHA256: f4df2a33b2f1f9620d875cad33e84fa37203202dca6423d4e6342f5ebaa06c74
  • Pointer size: 129 Bytes
  • Size of remote file: 6.58 kB
parse/train/-QxT4mJdijq/images/bb6e0e265f9c1db97949a39f9f867a9bc5620382de34437048f497e75421123b.jpg ADDED

Git LFS Details

  • SHA256: 1c9432aed9c524642e4231288d6643b1b35f30ee14bd2e0ff2c3dec071f0dee9
  • Pointer size: 129 Bytes
  • Size of remote file: 2.41 kB
parse/train/-QxT4mJdijq/images/bea0d4155edf3ed24ffc1e031678c0893fe90072e68bc41c1d9e5d215fc27087.jpg ADDED

Git LFS Details

  • SHA256: 485b227ad017bde1604f9b7ac0d0dea5c64f36e6f6c7e75dbe067cb59c36e2e8
  • Pointer size: 129 Bytes
  • Size of remote file: 6.37 kB
parse/train/-QxT4mJdijq/images/c60c3ca6edb82aa7bed126ef54f8a3e9f3d0a719b901b5ea0a7e85272f0926b4.jpg ADDED

Git LFS Details

  • SHA256: b31887cec63c91311fd946edd7651e29d1671ada13430bb640ecb36b90323f87
  • Pointer size: 130 Bytes
  • Size of remote file: 16.3 kB
parse/train/-QxT4mJdijq/images/c93f8dcc1798e887f6263cb16892a64573f83955a9a3ce8c4e778ef9171d799b.jpg ADDED

Git LFS Details

  • SHA256: 22a2c93cd00da747cf861e2493917a9100ac727de6fb884d2ee6847ff61fa09f
  • Pointer size: 129 Bytes
  • Size of remote file: 7.92 kB
parse/train/-QxT4mJdijq/images/cb0678ed8a88a0f45082a325fabd83a7b02420696ff29181ba0d7eb73ae5aeaf.jpg ADDED

Git LFS Details

  • SHA256: 5d9fdc7b1892347dba9bc6b1bd2aec0c49f2471ffc50a1c9daa6aa760fdb75a0
  • Pointer size: 130 Bytes
  • Size of remote file: 20.9 kB
parse/train/-QxT4mJdijq/images/cb216c7240d0a8c8c61d6f76e58889ba8cd3666236583915375caf6607d7ae9a.jpg ADDED

Git LFS Details

  • SHA256: 38c81a8d000a6795f563203aa43e642673f557ebb34b7e9f1a240937089b67cf
  • Pointer size: 130 Bytes
  • Size of remote file: 11.9 kB
parse/train/-QxT4mJdijq/images/cd239f1d26e92b14dee6b0e7f7ffa1a919dd30ff328d522c0f93be06cf8d939c.jpg ADDED

Git LFS Details

  • SHA256: 371c222a4dfd7cc30dc99d71b0c32f2323174666c0994d41dedee1c8707b0c45
  • Pointer size: 129 Bytes
  • Size of remote file: 9.55 kB
parse/train/-QxT4mJdijq/images/d9b2b12429bc9cf64cde869c2c39802f4f5d2746a6a46f4675ae102c23ef79f9.jpg ADDED

Git LFS Details

  • SHA256: b57a9bd81218ad764dedf3ea518d9a2549ed25ce18f12ccf33f895fd5abd3c58
  • Pointer size: 130 Bytes
  • Size of remote file: 64.1 kB
parse/train/-QxT4mJdijq/images/dcf1245dedce8a6866b6b8cbdef43db813ef143c34b5b40127f29a7903105c91.jpg ADDED

Git LFS Details

  • SHA256: 0d70e3e05b49ead7f45afdaeec8a5e4cf32cf68a63ab34a2f85e05d1b4d8e891
  • Pointer size: 130 Bytes
  • Size of remote file: 16.4 kB
parse/train/-QxT4mJdijq/images/ecb7acfd893d04352769cdb775abb7d8d42845248ab3f2264aaf152c86fb6f91.jpg ADDED

Git LFS Details

  • SHA256: 797b4e6897de21aea594ff050a2a6f613ec4dfeeb069f40ca223c9732130ce42
  • Pointer size: 130 Bytes
  • Size of remote file: 47.4 kB
parse/train/-QxT4mJdijq/images/effd2e35cb9a3dff094ba1649c9b9484edf2eb8acf1801850584c77ad0069917.jpg ADDED

Git LFS Details

  • SHA256: 412068886986c31bb52ad59d0a05cfbc8c1177a7505d92c2f7edaa893100e25a
  • Pointer size: 130 Bytes
  • Size of remote file: 18.1 kB
parse/train/-QxT4mJdijq/images/f598edd028284152c46bafcd845c28e477a56de8801a4de739f21f673863a3d1.jpg ADDED

Git LFS Details

  • SHA256: 71db0346dfb8c8796a4b2d416ff48d7a0b6f4a0a973f98c4e1d2c69d5a7fb141
  • Pointer size: 129 Bytes
  • Size of remote file: 8.61 kB
parse/train/33TBJachvOX/33TBJachvOX.md ADDED
@@ -0,0 +1,322 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # H O W T O C O M PA R E A D V E R S A R I A L R O B U S TN E S S O F C L A S S I F I E R S F R O M A G L O B A L P E R - S P E C T I V E
2
+
3
+ Anonymous authors Paper under double-blind review
4
+
5
+ # A B S T R A C T
6
+
7
+ Adversarial robustness of machine learning models has attracted considerable attention over recent years. Adversarial attacks undermine the reliability of and trust in machine learning models, but the construction of more robust models hinges on a rigorous understanding of adversarial robustness as a property of a given model. Point-wise measures for specific threat models are currently the most popular tool for comparing the robustness of classifiers and are used in most recent publications on adversarial robustness. In this work, we use robustness curves to show that point-wise measures fail to capture important global properties that are essential to reliably compare the robustness of different classifiers. We introduce new ways in which robustness curves can be used to systematically uncover these properties and provide concrete recommendations for researchers and practitioners when assessing and comparing the robustness of trained models. Furthermore, we characterize scale as a way to distinguish small and large perturbations, and relate it to inherent properties of data sets, demonstrating that robustness thresholds must be chosen accordingly. We hope that our work contributes to a shift of focus away from point-wise measures of robustness and towards a discussion of the question what kind of robustness could and should reasonably be expected. We release code to reproduce all experiments presented in this paper, which includes a Python module to calculate robustness curves for arbitrary data sets and classifiers, supporting a number of frameworks, including TensorFlow, PyTorch and JAX.
8
+
9
+ # 1 I N T R O D U C T I O N
10
+
11
+ Despite their astonishing success in a wide range of classification tasks, deep neural networks can be lead to incorrectly classify inputs altered with specially crafted adversarial perturbations (Szegedy et al. 2014; Goodfellow et al. 2015). These perturbations can be so small that they remain almost imperceptible to human observers (J. P. Göpfert et al. 2020). Adversarial robustness describes a model’s ability to behave correctly under such small perturbations crafted with the intent to mislead the model. The study of adversarial robustness – with its definitions, their implications, attacks, and defenses – has attracted considerable research interest. This is due to both the practical importance of trustworthy models as well as the intellectual interest in the differences between decisions of machine learning models and our human perception. A crucial starting point for any such analysis is the definition of what exactly a small input perturbation is – requiring (a) the choice of a distance function to measure perturbation size, and (b) the choice of a particular scale to distinguish small and large perturbations. Together, these two choices determine a threat model that defines exactly under which perturbations a model is required to be robust.
12
+
13
+ The most popular choice of distance function is the class of distances induced by $\ell _ { p }$ norms (Szegedy et al. 2014; Goodfellow et al. 2015; Carlini, Athalye, et al. 2019), in particular $\ell _ { 1 } , \ell _ { 2 }$ and $\ell _ { \infty }$ , although other choices such as Wasserstein distance have been explored as well (Wong, Schmidt, et al. 2019). Regarding scale, the current default is to pick some perturbation threshold $\varepsilon$ without providing concrete reasons for the exact choice. Analysis then focuses on the robust error of the model, the proportion of test inputs for which the model behaves incorrectly under some perturbation up to size $\varepsilon$ . This means that the scale is defined as a binary distinction between small and large perturbations based on the perturbation threshold. A set of canonical thresholds have emerged in the literature. For example, in the publications referenced in this section, the MNIST data set is typically evaluated at a perturbation threshold $\varepsilon \in \{ 0 . 1 , 0 . 3 \}$ for the $\ell _ { \infty }$ norm, while CIFAR-10 is evaluated at $\varepsilon \in \{ 2 / 2 5 5 , 4 / 2 5 5 , 8 / 2 5 5 \}$ , stemming from the three 8-bit color channels used to represent images.
14
+
15
+ Based on these established threat models, researchers have developed specialized methods to minimize the robust error during training, which results in more robust models. Popular approaches include specific data augmentation, sometimes used under the umbrella term adversarial training (Guo et al. 2017; Madry et al. 2018; Carmon et al. 2019; Hendrycks et al. 2019), training under regularization that encourages large margins and smooth decision boundaries in the learned model (Hein and Andriushchenko 2017; Wong and Kolter 2018; Croce, Andriushchenko, and Hein 2019; Croce and Hein 2020), and post-hoc processing or randomized smoothing of predictions in a learned model (Lecuyer et al. 2019; Cohen et al. 2019).
16
+
17
+ In order to show the superiority of a new method, robust accuracies of differently trained models are typically compared for a handful of threat models and data sets, eg., $\ell _ { \infty } ( \varepsilon = 0 . 1 )$ and $\ell _ { 2 } ( \varepsilon = 0 . 3 )$ for MNIST. Out of 22 publications on adversarial robustness published at NeurIPS 2019, ICLR 2020, and ICML 2020, 12 publications contain results for only a single perturbation threshold. In five publications, robust errors are calculated for at least two different perturbation thresholds, but still, only an arbitrary number of thresholds is considered. Only in five out of the total 22 publications do we find extensive considerations of different perturbation thresholds and the respective robust errors. Out of these five, three are analyses of randomized smoothing, which naturally gives rise to certification radii (B. Li et al. 2019; Carmon et al. 2019; Pinot et al. 2019). Najafi et al. (2019) follow a learning-theoretical motivation, which results in an error bound as a function of the perturbation threshold. Only Maini et al. (2020) do not rely on randomization and still provide a complete, empirical analysis of robust error for varying perturbation thresholds1.
18
+
19
+ Our contributions: In this work, we demonstrate that point-wise measures of $\ell _ { p }$ robustness are not sufficient to reliably and meaningfully compare the robustness of different classifiers. We show that, both in theory and practice, results of model comparisons based on point-wise measures may fail to generalize to threat models with even slightly larger or smaller $\varepsilon$ and that robustness curves avoid this pitfall by design. Furthermore, we show that point-wise measures are insufficient to meaningfully compare the efficacy of different defense techniques when distance functions are varied, and that robustness curves, again, are able to reliably detect and visualize this property. Finally, we analyze how scale depends on the underlying data space, choice of distance function, and distribution. Based on our findings we suggest that robustness curves should become the standard tool when comparing adversarial robustness of classifiers, and that the perturbation threshold of threat models should be selected carefully in order to be meaningful, considering inherent characteristics of the data set. We release code to reproduce all experiments presented in this paper2, which includes a Python module with an easily accessible interface (similar to Foolbox, Rauber et al. (2017)) to calculate robustness curves for arbitrary data sets and classifiers. The module supports classifiers written in most of the popular machine learning frameworks, such as TensorFlow, PyTorch and JAX.
20
+
21
+ # 2 M E T H O D S
22
+
23
+ An adversarial perturbation for a classifier $f$ and input-output pair $( x , y )$ is a small perturbation $\delta$ with $f ( x + \delta ) \neq y$ . Because the perturbation $\delta$ is small, it is assumed that the label $y$ would still be the correct prediction for $x + \delta$ . The resulting point $x + \delta$ is called an adversarial example. The points vulnerable to adversarial perturbations are the points that are either already misclassified when unperturbed, or those that lie close to a decision boundary.
24
+
25
+ One tool to visualize and study the robustness behavior of a classifier are robustness curves, first used by Wong and Kolter (2018) and later formalized by C. Göpfert et al. (2020). A robustness curve captures the distribution of shortest distances between a set of points and the decision boundaries of a classifier:
26
+
27
+ ![](images/2e441453be53fe49f4057fccee418ce82da939e3049ef38ecb9e0ba33b3149ce.jpg)
28
+ Figure 1: Excerpt of a toy data set with two decision boundaries (left) and respective robustness curves (right). The data is separated perfectly by one smooth boundary (blue robustness curve), and one squiggly boundary (orange robustness curve). We indicate margins around the boundaries at distances $\varepsilon$ and $2 \varepsilon$ . Selecting a single perturbation threshold is not sufficient to decide which classifier is more robust.
29
+
30
+ Definition 1. Given an input space $\mathcal { X }$ and label set $\mathcal { V } _ { : }$ , distance function $d$ on $\mathcal { X } \times \mathcal { X }$ , and classifier $f : \mathcal { X } \mathcal { Y } .$ . Assume $( x , y ) \sim _ { i . i . d . } P$ for some distribution $P$ on $\mathcal { X } \times \mathcal { V }$ . Then the $d$ -robustness curve for $f$ is the graph of the function
31
+
32
+ $$
33
+ { R } _ { d } ^ { f } ( \varepsilon ) : = P \left( \{ ( x , y ) s . t . \exists x ^ { \prime } : d ( x , x ^ { \prime } ) \leqslant \varepsilon \land f ( x ^ { \prime } ) \neq y \} \right)
34
+ $$
35
+
36
+ A model’s robustness curve shows how data points are distributed in relation to the decision boundaries of the model, essentially visualizing simultaneously an extremely large number of point-wise measures. This allows us to take a step back from robustness regarding a specific perturbation threshold and instead compare global robustness for different classifiers, distributions and distance functions. To see why this is relevant, consider Figure 1, which shows toy data along with two possible classifiers that perfectly separate the data. For a perturbation threshold of $\varepsilon$ , the blue classifier has robust error 0.5, while the orange classifier is perfectly robust. However, for a perturbation threshold of $2 \varepsilon$ , the orange classifier has robust error 1, while the blue classifier remains at 0.5. By freely choosing a single perturbation threshold for comparison, it is therefore possible to make either classifier appear to be much better than the other, and no single threshold can capture the whole picture. In fact, for any two disjoint sets of perturbation thresholds, it is possible to construct a data distribution and two classifiers $f , f ^ { \prime }$ , such that the robust error of $f$ is lower than that of $f ^ { \prime }$ for all perturbation thresholds in the first set, and that of $f ^ { \prime }$ is lower than that of $f$ for all perturbation thresholds in the second set. See Appendix A for a constructive proof. This shows that even computing multiple point-wise measures to compare two models may give misleading results.
37
+
38
+ # 3 E X P E R I M E N T S
39
+
40
+ In the following, we empirically evaluate the robustness of a number of recently published models, and demonstrate that the weaknesses of point-wise measures described above are not limited to toy examples, but occur for real-world data and models.
41
+
42
+ # 3 . 1 E X P E R I M E N T A L S E T U P
43
+
44
+ We evaluate and compare the robustness of models obtained using the following training methods:
45
+
46
+ 1. Standard training (ST), i. e., training without specific robustness considerations.
47
+ 2. Adversarial training (AT) (Madry et al. 2018).
48
+ 3. Training with robust loss (KW) (Wong and Kolter 2018).
49
+ 4. Maximum margin regularization for a single $\ell _ { p }$ norm together with adversarial training $( \mathrm { M M R } + \mathrm { \mathbb { A } T } )$ (Croce, Andriushchenko, and Hein 2019).
50
+ 5. Maximum margin regularization simultaneously for $\ell _ { \infty }$ and $\ell _ { 1 }$ margins (MMR-UNIV) (Croce and Hein 2020).
51
+
52
+ Table 1: Three point-wise measures for different threat models. All threat models use the $\ell _ { \infty }$ distance function, but differ in choice of perturbation threshold (denoted by $\varepsilon$ ). Each row contains the robust test errors for one point-wise measure. Each column contains the robust test errors for one model, trained with a specific training method (marked by column title). The lower the number, the better the robustness for the specific threat model. Each point-wise measure results in a different relative ordering of the classifiers based on the errors. The order is visualized by different tones of gray in the background of the cells.
53
+
54
+ <table><tr><td>E</td><td>ST</td><td>AT</td><td>KW</td><td>MMR +AT</td><td>MMR-UNIV</td></tr><tr><td>1/255</td><td>0.60</td><td>0.38</td><td>0.43</td><td>0.42</td><td>0.54</td></tr><tr><td>4/255</td><td>0.99</td><td>0.68</td><td>0.57</td><td>0.63</td><td>0.74</td></tr><tr><td>8/255</td><td>1.00</td><td>0.92</td><td>0.73</td><td>0.84</td><td>0.91</td></tr></table>
55
+
56
+ Together with each training method, we state the threat model the trained model is optimized to defend against, eg., $\ell _ { \infty } ( \varepsilon = 0 . 1 )$ for perturbations in $\ell _ { \infty }$ norm with perturbation threshold $\varepsilon = 0 . 1$ , if any. The trained models are those made publicly available by Croce, Andriushchenko, and Hein $( 2 0 1 9 ) ^ { 3 }$ and Croce and Hein $( 2 0 2 0 ) ^ { 4 }$ . The network architecture is a convolutional network with two convolutional layers, two fully connected layers and ReLU activation functions. The evaluation is based on six real-world datasets: MNIST, Fashion-MNIST (FMNIST) (Xiao et al. 2017), German Traffic Signs (GTS) (Houben et al. 2013), CIFAR-10 (Krizhevsky 2009), Tiny-Imagenet200 (TINY-IMG) (F.-F. Li et al. 2016), and Human Activity Recognition (HAR) (Anguita et al. 2013). For specifics on model training (hyperparameters, architecture details), refer to Appendix C. Models are generally trained on the full training set for the corresponding data set, and robustness curves evaluated on the full test set, unless stated otherwise.
57
+
58
+ For complex models, calculating the exact distance of a point to the closest decision boundary, and thus estimating the true robustness curve, is computationally very intensive, if not intractable. Therefore we bound the true robustness curve from below using strong adversarial attacks, which is consistent with the literature on empirical evaluation of adversarial robustness and also applicable to many different types of classifiers. We base our selection of attacks on the recommendations by Carlini, Athalye, et al. (2019). Specifically, we use the $\ell _ { 2 }$ -attack proposed by (Carlini and Wagner 2017) for $\ell _ { 2 }$ robustness curves and PGD (Madry et al. 2018) for $\ell _ { \infty }$ robustness curves. For both attacks, we use the implementations of Foolbox (Rauber et al. 2017). See Appendix C for information on adversarial attack hyperparameters. In the following, “robustness curve” refers to this empirical approximation of the true robustness curve.
59
+
60
+ # 3 . 2 T H E W E A K N E S S E S O F P O I N T - W I S E M E A S U R E S
61
+
62
+ Point-wise measures are used to quantify robustness of classifiers by measuring the robust test error for a specific distance function and a perturbation threshold (eg., $\bar { \ell } _ { \infty } ( \varepsilon = 4 / \bar { 2 } 5 5 ) )$ ). In Table 1 we show three point-wise measures to compare the robustness of five different classifiers on CIFAR-10. If we compare the robustness of the four robust training methods (latter four columns of the table) based on the first point-wise threat model $\ell _ { \infty } ( \varepsilon = 1 / 2 5 5 )$ (first row of the table), we can see that the classifier trained with AT is the most robust, followed by $\mathrm { M M R } + \mathrm { \mathbb { A } T }$ , followed by KW, and MMR-UNIV results in the least robust classifier. However, if we increase the $\varepsilon$ of our threat model to $\varepsilon = 4 / 2 5 5$ (second row of the table), KW is more robust than AT. For a even larger $\varepsilon$ (third row of the table), we would conclude that MMR-UNIV is preferable over AT, and that AT results in the least robust classifier. All three statements are true for the particular perturbation threshold $( \varepsilon )$ , and the magnitude of all perturbation thresholds is reasonable: publications on adversarial robustness typically evaluate CIFAR-10 on perturbation thresholds $\leqslant 1 0 / 2 5 5$ for $\ell _ { \infty }$ perturbations. Meaningful conclusions on the robustness of the classifiers relative to each other can not be made without taking all possible $\varepsilon$ into account. In other words, a global perspective is needed.
63
+
64
+ ![](images/f19bcbff3ca1e3db0c5d5002965f2864e4b210f98ae13ccc89e4c508438c72ca.jpg)
65
+ Figure 2: $\ell _ { \infty }$ robustness curves (left plot) and $\ell _ { 2 }$ robustness curves (right plot) resulting from different training methods (indicated by label), optimized for different threat models (indicated by label). The dashed vertical lines visualize the three point-wise measures from Table 1. The models are trained and evaluated on the full training-/test sets of CIFAR-10. The curves allow us to reliably compare the robustness of the classifiers, unbiased by choice of perturbation threshold.
66
+
67
+ # 3 . 2 . 1 A G L O B A L P E R S P E C T I V E
68
+
69
+ Figure 2 shows the robustness of different classifiers for the $\ell _ { \infty }$ (right plot) and $\ell _ { 2 }$ (left plot) distance functions from a global perspective using robustness curves. The plot reveals why the three pointwise measures (marked by vertical black dashed lines in the left plot) lead to different results in the relative ranking of robustness of the classifiers. Both for the classifiers trained to be robust against attacks in $\ell _ { \infty }$ distance (left plot) and $\ell _ { 2 }$ distance (right plot), we can observe multiple intersections of robustness curves, corresponding to changes in the relative ranking of the robustness of the compared classifiers. The robustness curves allow us to reliably compare the robustness of classifiers for all possible perturbation thresholds. Furthermore, the curves clearly show the perturbation threshold intervals with strong and weak robustness for each classifier, and are not biased by an arbitrarily chosen perturbation threshold.
70
+
71
+ # . 2 . 2 O V E R F I T T I N G T O S P E C I F I C P E R T U R B AT I O N T H R E S H O L D
72
+
73
+ In addition to the problem of robustness curve intersection, relying on point-wise robustness measures to evaluate adversarial robustness is prone to overfitting when designing training procedures. Figure 3 shows $\ell _ { \infty }$ robustness curves for $\mathtt { M M R } + \mathtt { A T }$ with $\ell _ { \infty }$ threat model as provided by Croce, Andriushchenko, and Hein (2019). The models trained on MNIST and FMNIST both show a change in slope, which could be a sign of overfitting to the specific threat models for which the classifiers were optimized for, since the change of slope occurs approximately at the chosen perturbation threshold $\varepsilon$ . This showcases a potential problem with the use of point-wise measures during training. The binary separation of “small” and “large” perturbations based on the perturbation threshold is not sufficient to capture the intricacies of human perception under perturbations, but a simplification based on the idea that perturbations below the perturbation threshold should almost certainly not lead to a change in classification. If a training procedure moves decision boundaries so that data points lie just beyond this threshold, it may achieve a low robust error, without furthering the actual goals of adversarial robustness research. Using robustness curves for evaluation cannot prevent this effect, but can be used to detect it.
74
+
75
+ # . 2 . 3 T R A N S F E R O F R O B U S T N E S S A C R O S S D I S T A N C E F U N C T I O N
76
+
77
+ In the following, we analyze to which extent properties of robustness curves transfer across different choices of distance functions. If properties transfer, it may not be necessary to individually analyze robustness for each distance function.
78
+
79
+ In Figure 4 we compare the robustness of different models for the $\ell _ { \infty }$ (left plot) and $\ell _ { 2 }$ (right plot) distance functions. The difference to Figure 2 is that the models (indicated by colour) are the same models in the left plot and in the right plot. We find that for $\mathtt { M M R } + \mathtt { A T }$ , the $\ell _ { \infty }$ threat model leads to better robustness than the $\ell _ { 2 }$ threat model both for $\ell _ { \infty }$ and $\ell _ { 2 }$ robustness curves. In fact, $\mathtt { M M R } + \mathtt { A T }$ with the $\ell _ { \infty }$ threat model even leads to better $\ell _ { \infty }$ and $\ell _ { 2 }$ robustness curves than MMR-UNIV, which is specifically designed to improve robustness for all $\ell _ { p }$ norms. Overall, the plots are visually similar.
80
+
81
+ ![](images/fb50a0d8e19edada5d7b81e67ca15bd856dc1a21f03714104698d0822ea831db.jpg)
82
+ Figure 3: $\ell _ { \infty }$ robustness curves for multiple data sets. Each curve is calculated for a different model and a different test data set. The data sets are indicated by the labels. The models are trained with $\mathtt { M M R } + \mathtt { A T }$ , Threat Models: MNIST: $\ell _ { \infty } ( \varepsilon = 0 . 1 )$ , FMNIST: $\ell _ { \infty } ( \varepsilon = 0 . 1 )$ , GTS: $\ell _ { \infty } ( \varepsilon = 4 / 2 5 5 )$ , CIFAR-10: $\ell _ { \infty } ( \varepsilon = 2 / 2 5 5 )$ . The curves for MNIST and FMNIST both show a change in slope, which can not be captured with point-wise measures and could be a sign of overfitting to the specific threat models for which the classifiers were optimized for.
83
+
84
+ ![](images/2e2f6a31502e5bf9c310bfcf517937916d9a0f9dd865298922735420400a2590.jpg)
85
+ Figure 4: $\ell _ { \infty }$ robustness curves (left plot) and $\ell _ { 2 }$ robustness curves (right plot) resulting from different training methods (indicated by color and label), optimized for different threat models (indicated by label). The models are trained and evaluated on the full training-/test sets of $\mathtt { C I F A R - 1 0 }$ . The curves allow us to reliably compare the transfer of robustness of the classifiers across distance functions, unbiased by choice of threat model.
86
+
87
+ However, since both plots contain multiple robustness curve intersections, the ranking of methods remains sensitive to the choice of perturbation threshold. For example, a perturbation threshold of $\varepsilon = 3 / 2 5 5$ (vertical black dashed line) for the $\ell _ { \infty }$ distance function (left subplot) shows that the classifier trained with $\mathtt { M M R } + \mathtt { A T }$ $\ell _ { 2 } ( \varepsilon = 0 . 1 ) )$ is approximately as robust as the classifier trained with MMR-UNIV. The same perturbation threshold for the $\ell _ { 2 }$ distance function (right subplot) shows that the classifier trained with $\mathrm { M M R } + \mathrm { \mathbb { A } T }$ is more robust than the classifier trained with MMR-UNIV for $\ell _ { 2 }$ threat models. Using typical perturbation thresholds from the literature for each distance function does not alleviate this issue: At perturbation threshold $\varepsilon = 2 / 2 5 5$ for $\ell _ { \infty }$ distance, the classifier trained with $\mathtt { M M R } + \mathtt { A T }$ $( \ell _ { 2 } ( \varepsilon = 0 . 1 )$ ) is more robust than the one trained with MMR-UNIV, while at perturbation threshold $\varepsilon = 0 . 1$ for $\ell _ { 2 }$ distance, the opposite is true. This shows that even when robustness curves across various distance functions are qualitatively similar, this may be obscured by the choice of threat model(s) to compare on.
88
+
89
+ We also emphasize that in general, robustness curves across various distance functions may be qualitatively dissimilar. In particular:
90
+
91
+ 1. For linear classifiers, the shape of a robustness curve is identical for distances induced by different $\ell _ { p }$ norms. This follows from Theorem 2 in Appendix B, which is an extension of a weaker result in C. Göpfert et al. (2020). For non-linear classifiers, different $\ell _ { p }$ norms may induce different robustness curve shapes. See C. Göpfert et al. (2020) for an example.
92
+ 2. Even for linear classifiers, robustness curve intersections do not transfer between distances induced by different $\ell _ { p }$ norms. That is, for two linear classifiers, there may exist $p , p ^ { \prime }$ such that the robustness curves for the $\ell _ { p }$ distance intersect, but not the robustness curves for the $\ell _ { p ^ { \prime } }$ distance. See Appendix A for an example.
93
+
94
+ ![](images/f5441ce2e54e4bc16b2b3900f3aba15065852b93c73865b0dfcc7d3e74ede670.jpg)
95
+ Figure 5: Minimum inter-class distances of all data sets considered in this work, measured in $\ell _ { \infty }$ (left), $\ell _ { 2 }$ (middle), and $\ell _ { 1 }$ (right) norm. See Table 2 for size and dimensionality. The shapes of the curves and the threshold from which any classifier must necessarily trade of between accuracy and robustness differ strongly between data sets.
96
+
97
+ # 3 . 3 O N T H E R E L AT I O N S H I P B E T W E E N S C A L E A N D D AT A
98
+
99
+ As the previous sections show, robustness curves can be used to reveal properties of robust models that may be obscured by point-wise measures. However, some concept of scale, that is, some way to judge whether a perturbation is small or large, remains necessary. Especially when robustness curves intersect, it is crucial to be able to judge how critical it is for a model to be stable under the given perturbations. For many pairs of distance function and data set, canonical perturbation thresholds have emerged in the literature, but to the best of our knowledge, no reasons for these choices are given.
100
+
101
+ Since the assumption behind adversarial examples is that small perturbations should not affect classification behavior, the question of scale cannot be answered independently of the data distribution. In order to understand how to interpret different perturbation sizes, it can be helpful to understand how strongly the data point would need to be perturbed to actually change the correct classification. We call this the inter-class distance and analyze the distribution of inter-class distances for several popular data sets.
102
+
103
+ In Figure 5 we compare the inter-class distance distributions in $\ell _ { \infty }$ , $\ell _ { 2 }$ , and $\ell _ { 1 }$ norm for all data sets considered in this work. We observe that for the $\ell _ { 1 }$ and $\ell _ { 2 }$ norms, the shape of the curves is similar across data sets, but their extent is determined by the dimensionality of the data space. In the $\ell _ { \infty }$ norm, vastly different curves emerge for the different data sets. We hypothesize that, because the inter-class distance distributions vary more strongly for $\ell _ { \infty }$ distances than for $\ell _ { 1 }$ distances, the results of robustifying a model w. r. t. $\ell _ { \infty }$ distances may depend more strongly on the underlying data distribution than the results of robustifying w. r. t. $\ell _ { 1 }$ distances. This is an interesting avenue for future work.
104
+
105
+ When we look at the smallest inter-class distances in the $\ell _ { \infty }$ norm (where all distances lie in the interval $[ 0 , 1 ] )$ , we can make several observations. Because the smallest inter-class distance for $\mathrm { M N I } \mathrm { S T }$ in the $\ell _ { \infty }$ norm is around 0.9, we can see that transforming an input from one class to one from a different class almost always requires completely flipping at least one pixel from almost-black to almost-white or vice versa. For the other datasets, the inter-class distance distributions are more spread out than the inter-class distance distribution of MNIST. We observe that for CIFAR-10 with $\ell _ { \infty }$ perturbations of size $\geqslant 0 . 2 5$ , it becomes possible to transform samples from different classes into each other, so starting from this threshold, any classifier must necessarily trade off between accuracy and robustness. The shapes of the curves and the threshold from which any classifier must necessarily trade of between accuracy and robustness differ strongly between data sets – refer to Table 2 for exact values for the threshold.
106
+
107
+ In Table 2, we summarize the smallest and largest inter-class distances in different norms together with additional information about the size, number of classes, and dimensionality of the all the data sets we consider in this work. The values correspond directly to Figure 5, but even in this simplified view, we can quickly make out key differences between the data sets. Compare, for example, MNIST and GTS: While it appears reasonable to expect $\ell _ { \infty }$ robustness of 0.3 for MNIST, the same threshold for GTS is not possible. Relating Table 2 and Figure 3, we find entirely plausible the strong robustness results for MNIST, and the small perturbation threshold for GTS. Based on inter-class distances we also expect less $\ell _ { \infty }$ robustness for CIFAR-10 than for FMNIST, but not as seen in Figure 3. In any case, it is safe to say that, when judging the robustness of a model by a certain threshold, that number must be set with respect to the distribution the model operates on.
108
+
109
+ Table 2: Smallest and largest inter-class distances for subsets of several data sets, measured in $l _ { \infty }$ , $l _ { 2 }$ , and $l _ { 1 }$ norm, together with basic contextual information about the data sets. All data has been been normalized to lie within the interval [0, 1], and duplicates and corrupted data points have been removed. Apart from HAR, all data sets contain images – the dimensionality reported specifies their sizes and number of channels.
110
+
111
+ <table><tr><td></td><td></td><td></td><td></td><td colspan="6">Inter-class Distance</td></tr><tr><td>Dataset</td><td>Samples</td><td>Classes</td><td></td><td></td><td>Smallest</td><td></td><td></td><td>Largest</td><td></td></tr><tr><td></td><td></td><td></td><td> Dimensionality</td><td>l8</td><td>l2</td><td>l1</td><td>1</td><td>l2</td><td>l1</td></tr><tr><td>MNIST</td><td>10000</td><td>10</td><td>28×28×1</td><td>0.88</td><td>3.03</td><td>19.16</td><td>1.00</td><td>10.18</td><td>132.38</td></tr><tr><td>TINY-IMG FMNIST</td><td>98139 10000</td><td>200 10</td><td>64 × 64×3</td><td>0.27</td><td>5.24</td><td>369.29</td><td>0.71</td><td>47.49</td><td>4184.37</td></tr><tr><td>GTS</td><td>10000</td><td>43</td><td>28 × 28 ×1 32 × 32 × 3</td><td>0.36 0.07</td><td>2.00 0.90</td><td>24.87 31.46</td><td>1.00 0.62</td><td>10.70 19.54</td><td>194.29 833.22</td></tr><tr><td>CIFAR-10</td><td>10000</td><td>10</td><td>32 × 32 × 3</td><td>0.27</td><td>3.61</td><td>130.77</td><td>0.70</td><td>18.57</td><td>831.44</td></tr><tr><td>HAR</td><td>2947</td><td>6</td><td></td><td>0.26</td><td>1.26</td><td>12.95</td><td>0.87</td><td>4.29</td><td>73.19</td></tr><tr><td></td><td></td><td></td><td>561</td><td></td><td></td><td></td><td></td><td></td><td></td></tr></table>
112
+
113
+ Overall, the strong dependence of robustness curves on the data set and the chosen norm, emphasizes the necessity of informed and conscious decisions regarding robustness thresholds. We provide an easily accessible reference in the form of Table 2, that should prove useful while judging scales in a threat model.
114
+
115
+ # 4 D I S C U S S I O N
116
+
117
+ We have demonstrated that comparisons of robustness of different classifiers using point-wise measures can be heavily biased by the choice of perturbation threshold and distance function of the threat model, and that conclusions about rankings of classifiers with regards to their robustness based on point-wise measures therefore only provide a narrow view of the actual robustness behavior of the classifiers. Further, we have demonstrated different ways of using robustness curves to overcome the shortcomings of point-wise measures, and therefore recommend using them as the standard tool for comparing the robustness of classifiers. Finally, we have demonstrated how suitable perturbation thresholds necessarily depend on the data they pertain to.
118
+
119
+ It is our hope that practitioners and researchers alike will use the methodology proposed in this work, especially when developing and comparing adversarial defenses, and carefully motivate any concrete threat models they might choose, taking into account all available context.
120
+
121
+ Limitations: Computing approximate robustness curves for state-of-the-art classifiers and large data sets is computationally very intensive, due to the need of computing approximate minimal adversarial perturbations with strong adversarial attacks. Developing adversarial attacks which are both strong and fast is an ongoing challenge in the field of adversarial robustness.
122
+
123
+ One way to reduce the computational cost is to approximate the robustness curves by computing a set of point-wise measures. However, since robustness curves may intersect at arbitrarily many points, this may give misleading results. It would be interesting to investigate how closely robustness curves need to be approximated in order to estimate the number of intersections, if any, and their location, with high certainty.
124
+
125
+ Another limitation of our work is the focus on a small group of distance functions (mainly $\ell _ { \infty }$ and $\ell _ { 2 }$ norms). Even though it does intuitively make sense that models should at least be robust against these types of perturbations, a more general evaluation able to consider more distance functions simultaneously could be advantageous.
126
+
127
+ # R E F E R E N C E S
128
+
129
+ Jean-Baptiste Alayrac, Jonathan Uesato, Po-Sen Huang, Alhussein Fawzi, Robert Stanforth, and Pushmeet Kohli (2019). “Are Labels Required for Improving Adversarial Robustness?” In: Advances in Neural Information Processing Systems 32, pp. 12214–12223.
130
+
131
+ Davide Anguita, Alessandro Ghio, Luca Oneto, Xavier Parra, and J Reyes-Ortiz (Jan. 2013). “A Public Domain Dataset for Human Activity Recognition using Smartphones”. In: ESANN.
132
+
133
+ Akhilan Boopathy, Sijia Liu, Gaoyuan Zhang, Cynthia Liu, Pin-Yu Chen, Shiyu Chang, and Luca Daniel (2020). “Proper Network Interpretability Helps Adversarial Robustness in Classification”. en. In: Proceedings of the International Conference on Machine Learning 1.
134
+
135
+ Wieland Brendel, Jonas Rauber, Matthias Kümmerer, Ivan Ustyuzhaninov, and Matthias Bethge (2019). “Accurate, reliable and fast robustness evaluation”. In: Advances in Neural Information Processing Systems 32, pp. 12861–12871.
136
+
137
+ Nicholas Carlini, Anish Athalye, et al. (2019). On Evaluating Adversarial Robustness. arXiv: 1902.06705.
138
+
139
+ Nicholas Carlini and David A. Wagner (2017). “Towards Evaluating the Robustness of Neural Networks”. In: 2017 IEEE Symposium on Security and Privacy (SP). arXiv: 1608.04644.
140
+
141
+ Yair Carmon, Aditi Raghunathan, Ludwig Schmidt, Percy Liang, and John C. Duchi (2019). Unlabeled Data Improves Adversarial Robustness. arXiv: 1905.13736.
142
+
143
+ Jeremy Cohen, Elan Rosenfeld, and Zico Kolter (2019). “Certified Adversarial Robustness via Randomized Smoothing”. In: Proceedings of the 36th International Conference on Machine Learning, ICML. Vol. 97, pp. 1310–1320.
144
+
145
+ Francesco Croce, Maksym Andriushchenko, and Matthias Hein (2019). “Provable Robustness of ReLU networks via Maximization of Linear Regions”. In: Proceedings of Machine Learning Research. arXiv: 1810.07481.
146
+
147
+ Francesco Croce, Maksym Andriushchenko, Vikash Sehwag, Nicolas Flammarion, Mung Chiang, Prateek Mittal, and Matthias Hein (2020). “RobustBench: a standardized adversarial robustness benchmark”. In: arXiv preprint arXiv:2010.09670.
148
+
149
+ Francesco Croce and Matthias Hein (2020). “Provable robustness against all adversarial $l _ { p }$ -perturbations for $p \geqslant 1 ^ { \mathfrak { r } }$ . In: International Conference on Learning Representations. arXiv: 1905.11213.
150
+
151
+ Ian J. Goodfellow, Jonathon Shlens, and Christian Szegedy (2015). “Explaining and Harnessing Adversarial Examples”. In: 3rd International Conference on Learning Representations. arXiv: 1412.6572.
152
+
153
+ Christina Göpfert, Jan Philip Göpfert, and Barbara Hammer (2020). “Adversarial Robustness Curves”. In: Machine Learning and Knowledge Discovery in Databases. arXiv: 1908.00096.
154
+
155
+ Jan Philip Göpfert, André Artelt, Heiko Wersing, and Barbara Hammer (2020). “Adversarial attacks hidden in plain sight”. In: Symposium on Intelligent Data Analysis. arXiv: 1902.09286.
156
+
157
+ Chuan Guo, Mayank Rana, Moustapha Cisse, and Laurens van der Maaten (2017). Countering Adversarial Images using Input Transformations. arXiv: 1711.00117.
158
+
159
+ Matthias Hein and Maksym Andriushchenko (2017). Formal Guarantees on the Robustness of a Classifier against Adversarial Manipulation. arXiv: 1705.08475.
160
+
161
+ Dan Hendrycks, Mantas Mazeika, Saurav Kadavath, and Dawn Song (2019). “Using Self-Supervised Learning Can Improve Model Robustness and Uncertainty”. In: Advances in Neural Information Processing Systems 32, pp. 15663–15674. arXiv: 1901.09960.
162
+
163
+ Sebastian Houben, Johannes Stallkamp, Jan Salmen, Marc Schlipsing, and Christian Igel (2013). “Detection of Traffic Signs in Real-World Images: The German Traffic Sign Detection Benchmark”. In: IJCNN. 1288.
164
+
165
+ Diederik P. Kingma and Jimmy Ba (2014). Adam: A Method for Stochastic Optimization. arXiv: 1412.6980.
166
+
167
+ Alex Krizhevsky (2009). Learning multiple layers of features from tiny images. Tech. rep.
168
+
169
+ M. Lecuyer, V. Atlidakis, R. Geambasu, D. Hsu, and S. Jana (2019). “Certified Robustness to Adversarial Examples with Differential Privacy”. In: 2019 IEEE Symposium on Security and Privacy (SP), pp. 656–672. arXiv: 1802.03471.
170
+
171
+ Guang-He Lee, Yang Yuan, Shiyu Chang, and Tommi Jaakkola (2019). “Tight Certificates of Adversarial Robustness for Randomly Smoothed Classifiers”. In: Advances in Neural Information Processing Systems 32, pp. 4910–4921.
172
+
173
+ Bai Li, Changyou Chen, Wenlin Wang, and Lawrence Carin (2019). “Certified Adversarial Robustness with Additive Noise”. In: Advances in Neural Information Processing Systems 32, pp. 9464–9474.
174
+ Fei-Fei Li, Andrej Karpathy, and Justin Johnson (2016). CS231n: Convolutional Neural Networks for Visual Recognition. [Online; accessed March 28, 2020]. U R L: http://cs231n.stanford.edu/2016/project.html.
175
+ Aleksander Madry, Aleksandar Makelov, Ludwig Schmidt, Dimitris Tsipras, and Adrian Vladu (2018). “Towards Deep Learning Models Resistant to Adversarial Attacks”. In: ICLR. arXiv: 1706.06083.
176
+ Saeed Mahloujifar, Xiao Zhang, Mohammad Mahmoody, and David Evans (2019). “Empirically Measuring Concentration: Fundamental Limits on Intrinsic Robustness”. In: Advances in Neural Information Processing Systems 32, pp. 5209–5220.
177
+ Pratyush Maini, Eric Wong, and Zico Kolter (2020). “Adversarial Robustness Against the Union of Multiple Threat Models”. en. In: Proceedings of the International Conference on Machine Learning 1.
178
+ Chengzhi Mao, Ziyuan Zhong, Junfeng Yang, Carl Vondrick, and Baishakhi Ray (2019). “Metric Learning for Adversarial Robustness”. In: Advances in Neural Information Processing Systems 32, pp. 480–491. arXiv: 1909.00900.
179
+ Amir Najafi, Shin-ichi Maeda, Masanori Koyama, and Takeru Miyato (2019). “Robustness to Adversarial Perturbations in Learning from Incomplete Data”. In: Advances in Neural Information Processing Systems 32, pp. 5541–5551.
180
+ Rafael Pinot, Laurent Meunier, Alexandre Araujo, Hisashi Kashima, Florian Yger, Cedric Gouy-Pailler, and Jamal Atif (2019). “Theoretical evidence for adversarial robustness through randomization”. In: Advances in Neural Information Processing Systems 32, pp. 11838–11848.
181
+ Chongli Qin et al. (2019). “Adversarial Robustness through Local Linearization”. In: Advances in Neural Information Processing Systems 32, pp. 13847–13856.
182
+ Jonas Rauber, Wieland Brendel, and Matthias Bethge (2017). Foolbox: A Python toolbox to benchmark the robustness of machine learning models. arXiv: 1707.04131.
183
+ Leslie Rice, Eric Wong, and Zico Kolter (2020). “Overfitting in adversarially robust deep learning”. en. In: Proceedings of the International Conference on Machine Learning 1.
184
+ Vikash Sehwag, Shiqi Wang, Prateek Mittal, and Suman Jana (2020). HYDRA: Pruning Adversarially Robust Neural Networks. arXiv: 2002.10509 [cs.CV].
185
+ Sahil Singla and Soheil Feizi (2020). “Second-Order Provable Defenses against Adversarial Attacks”. en. In: Proceedings of the International Conference on Machine Learning 1.
186
+ Chuanbiao Song, Kun He, Jiadong Lin, Liwei Wang, and John E. Hopcroft (Apr. 2020). “Robust Local Features for Improving the Generalization of Adversarial Training”. en. In.
187
+ Christian Szegedy, Wojciech Zaremba, Ilya Sutskever, Joan Bruna, Dumitru Erhan, Ian J. Goodfellow, and Rob Fergus (2014). Intriguing properties of neural networks. arXiv: 1312.6199.
188
+ Florian Tramer and Dan Boneh (2019). “Adversarial Training and Robustness for Multiple Perturbations”. In: Advances in Neural Information Processing Systems 32, pp. 5866–5876.
189
+ Yisen Wang, Difan Zou, Jinfeng Yi, James Bailey, Xingjun Ma, and Quanquan Gu (Apr. 2020). “Improving Adversarial Robustness Requires Revisiting Misclassified Examples”. en. In.
190
+ Eric Wong and Zico Kolter (2018). “Provable Defenses against Adversarial Examples via the Convex Outer Adversarial Polytope”. In: Proceedings of the 35th International Conference on Machine Learning. arXiv: 1711.00851.
191
+ Eric Wong, Leslie Rice, and J. Zico Kolter (Apr. 2020). “Fast is better than free: Revisiting adversarial training”. en. In.
192
+ Eric Wong, Frank R. Schmidt, and J. Zico Kolter (2019). “Wasserstein Adversarial Examples via Projected Sinkhorn Iterations”. In: Proceedings of the 36th International Conference on Machine Learning, ICML. Vol. 97. Proceedings of Machine Learning Research, pp. 6808–6817.
193
+ Dongxian Wu, Shu-tao Xia, and Yisen Wang (2020). Adversarial Weight Perturbation Helps Robust Generalization. arXiv: 2004.05884.
194
+ Han Xiao, Kashif Rasul, and Roland Vollgraf (2017). Fashion-MNIST: a Novel Image Dataset for Benchmarking Machine Learning Algorithms. arXiv: 1708.07747.
195
+
196
+ ![](images/be00d18e3527505ed1703a96b10dbfea1454075cd95a7135371b7d4ce4b8f8bc.jpg)
197
+ Figure 6: Example of a data distribution and two linear classifiers such that the $\ell _ { 2 }$ robustness curves intersect, but not the $\ell _ { \infty }$ robustness curves.
198
+
199
+ Cihang Xie and Alan Yuille (Apr. 2020). “Intriguing Properties of Adversarial Training at Scale”. en. In.
200
+
201
+ Jingfeng Zhang, Xilie Xu, Bo Han, Gang Niu, Lizhen Cui, Masashi Sugiyama, and Mohan Kankanhalli (2020). “Attacks Which Do Not Kill Training Make Adversarial Learning Stronger”. en. In: Proceedings of the International Conference on Machine Learning 1.
202
+
203
+ # A R O B U S T N E S S C U R V E S W I T H A R B I T R A R Y I N T E R S E C T I O N S
204
+
205
+ Theorem 1. Let $T _ { 1 } , T _ { 2 } \subset \mathbb { R } ^ { > 0 }$ be two disjoint finite sets. Then there exists a distribution $P$ on $\mathbb { R } \times \{ 0 , 1 \}$ and two classifiers $c _ { 1 } , c _ { 2 } : \mathbb { R } \{ 0 , 1 \}$ such that $R _ { | \cdot | } ^ { c _ { 1 } } ( t ) < R _ { | \cdot | } ^ { c _ { 2 } } ( t )$ for all $t \in T _ { 1 }$ and $R _ { | \cdot | } ^ { c _ { 1 } } ( t ) > R _ { | \cdot | } ^ { c _ { 2 } } ( t )$ for all $t \in T _ { 2 }$ .
206
+
207
+ Proof. Without loss of generality, assume that $T _ { 1 } = \{ t _ { 1 } , \ldots , t _ { n } \}$ and $T _ { 2 } ~ = ~ \{ t _ { 1 } ^ { \prime } , \ldots , t _ { n } ^ { \prime } \}$ with $t _ { i } ~ < ~ t _ { i } ^ { \prime } < t _ { i + 1 }$ for $i \in \{ 1 , \ldots , n \}$ . We will construct $c _ { 1 } , c _ { 2 }$ such that the robustness curves $R _ { | \cdot | } ^ { c _ { 1 } } ( \cdot ) , R _ { | \cdot | } ^ { c _ { 2 } } ( \cdot )$ intersect at exactly the points $( t _ { i } + t _ { i } ^ { \prime } ) / 2$ and $( t _ { i } + t _ { i + 1 } ^ { \prime } ) / 2$ on the interval $( t _ { 1 } , t _ { n } ^ { \prime } ]$ . Let $d = t _ { n } ^ { \prime }$ and
208
+
209
+ $$
210
+ P \left( - d - \frac { t _ { i } + t _ { i + 1 } ^ { \prime } } { 2 } , 0 \right) = P \left( d + \frac { t _ { i } + t _ { i } ^ { \prime } } { 2 } , 1 \right) = \frac { 2 } { 4 n + 1 }
211
+ $$
212
+
213
+ and
214
+
215
+ $$
216
+ P \left( - d - \frac { t _ { 1 } } { 2 } , 0 \right) = \frac { 1 } { 4 n + 1 } .
217
+ $$
218
+
219
+ Let $c _ { 1 } ( x ) = \mathbb { 1 } _ { x \geqslant - d }$ and $c _ { 2 } ( x ) = \mathbb { 1 } _ { x \geqslant d }$ . Both classifiers have perfect accuracy on $P$ , meaning that $R _ { | \cdot | } ^ { c _ { i } } ( 0 ) = 0$ . The closest point to the decision boundary of $c _ { 1 }$ is $- d - \frac { t _ { 1 } } { 2 }$ with weight 14n+1 , so $\begin{array} { r } { R _ { | \cdot | } ^ { c _ { 1 } } ( \frac { t _ { 1 } } { 2 } ) = \frac { 1 } { 4 n + 1 } } \end{array}$ . The second-closest point is $\begin{array} { r } { - d - \frac { t _ { 1 } + t _ { 2 } ^ { \prime } } { 2 } } \end{array}$ with weight $\frac { 2 } { 4 n + 1 }$ , so $\begin{array} { r } { R _ { | \cdot | } ^ { c _ { 1 } } ( \frac { t _ { 1 } + t _ { 2 } ^ { \prime } } { 2 } ) = \frac { 3 } { 4 n + 1 } } \end{array}$ , the closest point to the deci, the second-closest point is undary of with wei $c _ { 2 }$ t + t1+t012 with weight $\frac { 2 } { 4 n + 1 }$ ,, so Rc2|·| ( t1+t012 ) $d \frac { t _ { 2 } + t _ { 2 } ^ { \prime } } { 2 }$ h 24n+1 , so Rc2|·| ( t2 $\begin{array} { r } { R _ { | \cdot | } ^ { c _ { 2 } } ( \frac { t _ { 2 } + t _ { 2 } ^ { \prime } } { 2 } ) = \frac { 4 } { 4 n + 1 } } \end{array}$ and so on. □
220
+
221
+ Example 1. To see that robustness curve intersections do not transfer between different $\ell _ { p }$ norms, consider the example in Figure 6. The blue and orange linear classifiers both perfectly separate the displayed data. The $\ell _ { \infty }$ robustness curves of the classifiers do not intersect, meaning that the robust error of the blue classifier is always better than that of the orange classifier. In $\ell _ { 2 }$ distance, the robustness curves intersect, so that there is a range of perturbation sizes where the orange classifier has better robust error than the blue classifier.
222
+
223
+ # B R O B U S T N E S S C U RV E D E P E N D E N C E O F S H A P E O N D I S TA N C E F U N C T I O N
224
+
225
+ Theorem 2. Let $f ( x ) = \mathrm { s g n } ( w ^ { T } x + b )$ be a linear classifier. Then the shape of the robustness curve for $f$ regarding an $\ell _ { p }$ norm-induced distance does not depend on the choice of $p$ . It holds that
226
+
227
+ $$
228
+ R _ { \ell _ { p _ { 1 } } } ^ { f } ( \varepsilon ) = R _ { \ell _ { p _ { 2 } } } ^ { f } ( c \cdot \varepsilon ) \quad \forall \varepsilon f o r c = \frac { \| w \| _ { q _ { 1 } } } { \| w \| _ { q _ { 2 } } } , q _ { i } = \frac { p _ { i } } { p _ { i } - 1 } .
229
+ $$
230
+
231
+ Lemma 1. Let $x \in \mathbb { R } ^ { m }$ with $w ^ { T } x + b \neq 0 .$ . Let $p \in [ 1 , \infty ]$ and $q$ such that $\textstyle { \frac { 1 } { p } } + { \frac { 1 } { q } } = 1$ , where we take $\begin{array} { r } { \frac { 1 } { \infty } = 0 } \end{array}$ . Then
232
+
233
+ $$
234
+ \operatorname* { m i n } \{ \| \delta \| _ { p } : \mathrm { s g n } ( w ^ { T } ( x + \delta ) + b ) \neq \mathrm { s g n } ( w ^ { T } x + b ) \} = \frac { | w ^ { T } + b | } { \| w \| _ { q } }
235
+ $$
236
+
237
+ and the minimum is attained by
238
+
239
+ $$
240
+ \delta = \left\{ \begin{array} { l l } { \frac { - w ^ { T } x - b } { \| w \| _ { \infty } } \operatorname { s g n } ( w _ { j } ) e _ { j } , j = \arg \operatorname* { m a x } _ { i } \left| w _ { i } \right| } & { p = 1 } \\ { \frac { - w ^ { T } x - b } { \| w \| _ { q } ^ { q } } ( \operatorname { s g n } ( w _ { i } ) | w _ { i } | ^ { \frac { 1 } { p - 1 } } ) _ { i = 1 } ^ { d } } & { p \in ( 1 , \infty ] . } \end{array} \right.
241
+ $$
242
+
243
+ where $x ^ { \frac { 1 } { \infty - 1 } } = x ^ { 0 } = 1$ and $e _ { j }$ is the $j$ -th unit vector.
244
+
245
+ Proof of Theorem 2. By Hölder’s inequality, for any $\delta$ ,
246
+
247
+ $$
248
+ \sum _ { i = 1 } ^ { m } | w _ { i } \delta _ { i } | \leqslant \| \delta \| _ { p } \| w \| _ { q } .
249
+ $$
250
+
251
+ For $\delta$ such that $\operatorname { s g n } ( w ^ { T } ( x + \delta ) + b ) \neq \operatorname { s g n } ( w ^ { T } x + b )$ it follows that
252
+
253
+ $$
254
+ \| \delta \| _ { p } \geqslant \frac { \sum _ { i = 1 } ^ { m } \left| w _ { i } \delta _ { i } \right| } { \| w \| _ { q } } \geqslant \frac { \left| \sum _ { i = 1 } ^ { m } w _ { i } \delta _ { i } \right| } { \| w \| _ { q } } \geqslant \frac { | w ^ { T } x + b | } { \| w \| ^ { q } } .
255
+ $$
256
+
257
+ Using the identity $q \ = \ { \frac { p } { p - 1 } }$ , it is easy to check that for every $p \in [ 1 , \infty ]$ , with $\delta$ as defined in Equation (3),
258
+
259
+ 1. $w ^ { T } \delta = - w ^ { T } x - b$ , so that $\boldsymbol { w } ^ { T } ( \boldsymbol { x } + \boldsymbol { \delta } ) + \boldsymbol { b } = \boldsymbol { 0 }$ , and
260
+ 2. $\begin{array} { r } { \| \delta \| _ { p } = \frac { | \boldsymbol { w } ^ { T } \boldsymbol { x } + b | } { \| \boldsymbol { w } \| _ { q } } } \end{array}$
261
+
262
+ Item 1 shows that $\delta$ is a feasible point, while Item 2 in combination with Equation (5) shows that $\| \delta \| _ { p }$ is minimal. □
263
+
264
+ Using Lemma 1, we are ready to prove Theorem 2.
265
+
266
+ Proof. By definition,
267
+
268
+ $$
269
+ \begin{array} { r } { R _ { \ell _ { p _ { 1 } } } ^ { f } ( \varepsilon ) = P ( \underbrace { \{ ( x , y ) \mathrm { s . t . } \exists \delta : \| \delta \| _ { p _ { 1 } } \leqslant \varepsilon \land f ( x + \delta ) \neq y \} } _ { \mathcal { R } _ { p _ { 1 } } ( \varepsilon ) } ) . } \end{array}
270
+ $$
271
+
272
+ We can split $\mathcal { R } _ { p _ { 1 } } ( \varepsilon )$ into the disjoint sets
273
+
274
+ $$
275
+ \begin{array} { r } { \underbrace { \left\{ \left( x , y \right) : f ( x ) \neq y \right\} } _ { = M } } \\ { \dot { \cup } \qquad } \\ { \underbrace { \left\{ \left( x , y \right) \mathrm { s . t . } \exists \delta : \| \delta \| _ { p _ { 1 } } \leqslant \varepsilon \wedge y = f ( x ) \neq f ( x + \delta ) \right\} } _ { = B _ { p _ { 1 } } ( \varepsilon ) } . } \end{array}
276
+ $$
277
+
278
+ Choose $q _ { 1 } , q _ { 2 }$ such that $\begin{array} { r } { \frac { 1 } { p _ { i } } + \frac { 1 } { q _ { i } } = 1 } \end{array}$ . By Lemma 1, and using that $f ( x ) = \mathrm { s g n } ( w ^ { T } x + b )$
279
+
280
+ $$
281
+ \begin{array} { r l } & { B _ { p _ { 1 } } ( \varepsilon ) = \{ ( x , y ) : \mathrm { s g n } ( w ^ { T } x + b ) = y \wedge \displaystyle \frac { | w ^ { T } x + b | } { \| w \| _ { q _ { 1 } } } \leqslant \varepsilon \} } \\ & { \qquad = \{ ( x , y ) : \mathrm { s g n } ( w ^ { T } x + b ) = y \wedge \displaystyle \frac { | w ^ { T } x + b | } { \| w \| _ { q _ { 2 } } } \leqslant \frac { \| w \| _ { q _ { 1 } } } { \| w \| _ { q _ { 2 } } } \varepsilon \} } \\ & { \qquad = B _ { p _ { 2 } } \left( \displaystyle \frac { \| w \| _ { q _ { 1 } } } { \| w \| _ { q _ { 2 } } } \varepsilon \right) . } \end{array}
282
+ $$
283
+
284
+ This shows that
285
+
286
+ $$
287
+ \begin{array} { r l } & { R _ { \ell _ { p _ { 1 } } } ^ { f } ( \varepsilon ) = P ( M ) + P ( B _ { p _ { 1 } } ( \varepsilon ) ) } \\ & { \qquad = P ( M ) + P \left( B _ { p _ { 2 } } \left( \frac { \| w \| _ { q _ { 1 } } } { \| w \| _ { q _ { 2 } } } \varepsilon \right) \right) } \\ & { \qquad = R _ { \ell _ { p _ { 2 } } } ^ { f } \left( \frac { \| w \| _ { q _ { 1 } } } { \| w \| _ { q _ { 2 } } } \varepsilon \right) . } \end{array}
288
+ $$
289
+
290
+ # C E X P E R I M E N T A L D E T A I L S
291
+
292
+ # C . 1 M O D E L T R A I N I N G
293
+
294
+ We use the same model architecture as Croce, Andriushchenko, and Hein (2019) and Wong and Kolter (2018). Unless explicitly stated otherwise, the trained models are taken from Croce, Andriushchenko, and Hein (2019). The exact architecture of the model is: Convolutional layer (number of filters: 16, size: $4 \mathbf { x } 4$ , stride: 2), ReLu activation function, convolutional layer (number of filters: 32, size: 4x4, stride: 2), ReLu activation function, fully connected layer (number of units: 100), ReLu activation function, output layer (number of units depends on the number of classes). All models are trained with Adam Optimizer (Kingma and Ba 2014) for 100 epochs, with batch size 128 and a default learning rate of 0.001. More information on the training can be found in the experimental details section of the appendix of Croce, Andriushchenko, and Hein (2019). The trained models are those made publicly available by Croce, Andriushchenko, and Hein (2019)5and Croce and Hein $( 2 0 2 0 ) ^ { 6 }$ .
295
+
296
+ # C . 2 A P P R O X I M AT E D R O B U S T N E S S C U R V E S
297
+
298
+ We use state-of-the-art adversarial attacks to approximate the true minimal distances of input datapoints to the decision boundary of a classifier for our adversarial robustness curves (see Definition 1). We base our selection of attacks on the recommendations of Carlini, Athalye, et al. (2019). Specifically, we use the following attacks: For $\ell _ { 2 }$ robustness curves we use the $\ell _ { 2 }$ -attack proposed by Carlini and Wagner (2017) and for $\ell _ { \infty }$ robustness curves we use PGD (Madry et al. 2018). For both attacks, we use the implementations of Foolbox (Version 2.4) (Rauber et al. 2017). For the $\ell _ { \infty }$ attack, the implementation of Foolbox automatically performs a hyperparameter search over different epsilon and uses the smallest resulting adversarial perturbation. For the rest of the hyperparameters, we use the standard values of the Foolbox implementation. For the $\ell _ { 2 }$ attack, we increase the number of binary search steps that are used to find the optimal tradeoff-constant between distance and confidence from 5 to 10, which we found empirically to improve the results. For the rest of the hyperparameters, we again use the standard values of the Foolbox implementation.
299
+
300
+ # C . 3 C O M P U T AT I O N A L A R C H I T E C T U R E
301
+
302
+ # We executed all programs on an architecture with $2 \mathrm { ~ x ~ }$ Intel Xeon(R) CPU E5-2640 v4 $@$ 2.4 GHz, 2 x Nvidia GeForce GTX 1080 TI 12G and 128 GB RAM.
303
+
304
+ ![](images/9db793b07a403a384bb75869bd85fde777a90dbb40782597b95ccedee7b9665c.jpg)
305
+ Figure 7: Visualization of four images from CIFAR-10 (top row), together with adversarial examples (bottom row), calculated with PGD (Madry et al. 2018) for a model trained with $\mathtt { M M R } + \mathtt { A T }$ , Threat Model: $\ell _ { \infty } ( \varepsilon = 2 / 2 5 5 )$ . The resulting perturbation sizes of the adversarial examples are (from left to right) 17/255, 18/255, 18/255, 18/255. Even for perturbation sizes far greater than popular choices of point-wise measures, adversarial examples can be very hard to detect for humans.
306
+
307
+ ![](images/f15e3749a59206b3693d421521d5f8fae8a027e3ff208893e0c0979ea6a44480.jpg)
308
+ Figure 8: $\ell _ { \infty }$ robustness curves for two state-of-the-art robust models with a large architecture (WideResNet-28-10). The labels indicate the training method (Sehwag2020Hydra: (Sehwag et al. 2020), Wu20Adversarial: (Wu et al. 2020)). The trained models are taken from Croce, Andriushchenko, Sehwag, et al. (2020). The models are trained on the full training set of CIFAR-10, and robustness curves are based on a sample of 1000 points from the test set.
309
+
310
+ # D V I S U A L I Z A T I O N O F A D V E R S A R I A L E X A M P L E S
311
+
312
+ As we pointed out in Section 1, adversarial robustness of classifiers trained on CIFAR-10 is usually evaluated at a perturbation threshold $\varepsilon \in \{ 2 / 2 5 5 , 4 / 2 5 5 , 8 / 2 5 5 \}$ for the $\ell _ { \infty }$ norm. Robustness curves allow us to investigate robustness of classifiers for perturbation thresholds beyond those which are used in the literature. It should not be necessary for the model to be invariant under large perturbations, if these perturbations are clearly perceptible or change the “correct” classification of the input. However, the thresholds that models are currently optimized for are small enough that even larger perturbations may not be perceptible. Figure 7 shows four images of CIFAR-10 (top row), together with adversarial examples (bottom row). With perturbation sizes $\varepsilon \in \{ 1 7 / 2 5 5 , 1 8 / 2 5 5 \}$ , the perturbations are more than two times larger than the biggest perturbation threshold used in the literature, and still almost imperceptible for untrained humans.
313
+
314
+ # E R O B U S T N E S S C U RV E S F O R L A R G E R M O D E L S
315
+
316
+ In Section 3, we demonstrate the usefulness of robustness curves on a small convolutional network architecture used by Croce, Andriushchenko, and Hein (2019). The choice of a small architecture allows us to compute robustness curves for a large number of different defensive strategies with limited computational resources. Figure 8 shows approximate robustness curves for two state-of-theart robust models with a large network architecture (WideResNet-28-10), computed for a sample of
317
+
318
+ 1000 data points from CIFAR-10. Due to the small number of points used, the approximation may be rough, so the following observations should be taken with a grain of salt.
319
+
320
+ 1. Both robust models are indeed much more robust than the model obtained by standard training even for perturbation thresholds that are significantly larger than the threshold of $8 / 2 5 5$ that the models are optimized for. This observation may help decide whether it is worthwhile to stop using a conventionally trained model, sacrificing accuracy for robustness.
321
+ 2. Wu et al. (2020) has slightly worse accuracy than Sehwag et al. (2020) roughly up to perturbation size $1 / 2 5 5$ . This is a trade-off for better accuracy between perturbation sizes $\bar { 4 } / 2 5 5$ and 0.1. From perturbation size 0.1 onward, Sehwag et al. (2020) appears to have slightly better accuracy than Wu et al. (2020). This observation may help decide which of the two robust models is preferable, based on the robustness requirements of a concrete application.
322
+ 3. The gap between the performance of $\mathrm { W u }$ et al. (2020) and Sehwag et al. (2020) is even wider at perturbation size 0.04 than $8 / 2 5 5$ , but overall, the robustness curves of the robust models are quite similar. This observation may help decide whether it is worthwhile to switch from one model to the other, if one of the models is already in use or preferable for other reasons.
parse/train/33TBJachvOX/33TBJachvOX_content_list.json ADDED
@@ -0,0 +1,1551 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "H O W T O C O M PA R E A D V E R S A R I A L R O B U S TN E S S O F C L A S S I F I E R S F R O M A G L O B A L P E R - S P E C T I V E ",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 174,
8
+ 101,
9
+ 828,
10
+ 170
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Anonymous authors Paper under double-blind review ",
17
+ "bbox": [
18
+ 183,
19
+ 195,
20
+ 398,
21
+ 223
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "A B S T R A C T ",
28
+ "text_level": 1,
29
+ "bbox": [
30
+ 447,
31
+ 261,
32
+ 552,
33
+ 275
34
+ ],
35
+ "page_idx": 0
36
+ },
37
+ {
38
+ "type": "text",
39
+ "text": "Adversarial robustness of machine learning models has attracted considerable attention over recent years. Adversarial attacks undermine the reliability of and trust in machine learning models, but the construction of more robust models hinges on a rigorous understanding of adversarial robustness as a property of a given model. Point-wise measures for specific threat models are currently the most popular tool for comparing the robustness of classifiers and are used in most recent publications on adversarial robustness. In this work, we use robustness curves to show that point-wise measures fail to capture important global properties that are essential to reliably compare the robustness of different classifiers. We introduce new ways in which robustness curves can be used to systematically uncover these properties and provide concrete recommendations for researchers and practitioners when assessing and comparing the robustness of trained models. Furthermore, we characterize scale as a way to distinguish small and large perturbations, and relate it to inherent properties of data sets, demonstrating that robustness thresholds must be chosen accordingly. We hope that our work contributes to a shift of focus away from point-wise measures of robustness and towards a discussion of the question what kind of robustness could and should reasonably be expected. We release code to reproduce all experiments presented in this paper, which includes a Python module to calculate robustness curves for arbitrary data sets and classifiers, supporting a number of frameworks, including TensorFlow, PyTorch and JAX. ",
40
+ "bbox": [
41
+ 233,
42
+ 290,
43
+ 766,
44
+ 568
45
+ ],
46
+ "page_idx": 0
47
+ },
48
+ {
49
+ "type": "text",
50
+ "text": "1 I N T R O D U C T I O N ",
51
+ "text_level": 1,
52
+ "bbox": [
53
+ 178,
54
+ 593,
55
+ 361,
56
+ 609
57
+ ],
58
+ "page_idx": 0
59
+ },
60
+ {
61
+ "type": "text",
62
+ "text": "Despite their astonishing success in a wide range of classification tasks, deep neural networks can be lead to incorrectly classify inputs altered with specially crafted adversarial perturbations (Szegedy et al. 2014; Goodfellow et al. 2015). These perturbations can be so small that they remain almost imperceptible to human observers (J. P. Göpfert et al. 2020). Adversarial robustness describes a model’s ability to behave correctly under such small perturbations crafted with the intent to mislead the model. The study of adversarial robustness – with its definitions, their implications, attacks, and defenses – has attracted considerable research interest. This is due to both the practical importance of trustworthy models as well as the intellectual interest in the differences between decisions of machine learning models and our human perception. A crucial starting point for any such analysis is the definition of what exactly a small input perturbation is – requiring (a) the choice of a distance function to measure perturbation size, and (b) the choice of a particular scale to distinguish small and large perturbations. Together, these two choices determine a threat model that defines exactly under which perturbations a model is required to be robust. ",
63
+ "bbox": [
64
+ 174,
65
+ 625,
66
+ 825,
67
+ 804
68
+ ],
69
+ "page_idx": 0
70
+ },
71
+ {
72
+ "type": "text",
73
+ "text": "The most popular choice of distance function is the class of distances induced by $\\ell _ { p }$ norms (Szegedy et al. 2014; Goodfellow et al. 2015; Carlini, Athalye, et al. 2019), in particular $\\ell _ { 1 } , \\ell _ { 2 }$ and $\\ell _ { \\infty }$ , although other choices such as Wasserstein distance have been explored as well (Wong, Schmidt, et al. 2019). Regarding scale, the current default is to pick some perturbation threshold $\\varepsilon$ without providing concrete reasons for the exact choice. Analysis then focuses on the robust error of the model, the proportion of test inputs for which the model behaves incorrectly under some perturbation up to size $\\varepsilon$ . This means that the scale is defined as a binary distinction between small and large perturbations based on the perturbation threshold. A set of canonical thresholds have emerged in the literature. For example, in the publications referenced in this section, the MNIST data set is typically evaluated at a perturbation threshold $\\varepsilon \\in \\{ 0 . 1 , 0 . 3 \\}$ for the $\\ell _ { \\infty }$ norm, while CIFAR-10 is evaluated at $\\varepsilon \\in \\{ 2 / 2 5 5 , 4 / 2 5 5 , 8 / 2 5 5 \\}$ , stemming from the three 8-bit color channels used to represent images. ",
74
+ "bbox": [
75
+ 174,
76
+ 811,
77
+ 825,
78
+ 924
79
+ ],
80
+ "page_idx": 0
81
+ },
82
+ {
83
+ "type": "text",
84
+ "text": "",
85
+ "bbox": [
86
+ 174,
87
+ 103,
88
+ 823,
89
+ 160
90
+ ],
91
+ "page_idx": 1
92
+ },
93
+ {
94
+ "type": "text",
95
+ "text": "Based on these established threat models, researchers have developed specialized methods to minimize the robust error during training, which results in more robust models. Popular approaches include specific data augmentation, sometimes used under the umbrella term adversarial training (Guo et al. 2017; Madry et al. 2018; Carmon et al. 2019; Hendrycks et al. 2019), training under regularization that encourages large margins and smooth decision boundaries in the learned model (Hein and Andriushchenko 2017; Wong and Kolter 2018; Croce, Andriushchenko, and Hein 2019; Croce and Hein 2020), and post-hoc processing or randomized smoothing of predictions in a learned model (Lecuyer et al. 2019; Cohen et al. 2019). ",
96
+ "bbox": [
97
+ 174,
98
+ 166,
99
+ 825,
100
+ 277
101
+ ],
102
+ "page_idx": 1
103
+ },
104
+ {
105
+ "type": "text",
106
+ "text": "In order to show the superiority of a new method, robust accuracies of differently trained models are typically compared for a handful of threat models and data sets, eg., $\\ell _ { \\infty } ( \\varepsilon = 0 . 1 )$ and $\\ell _ { 2 } ( \\varepsilon = 0 . 3 )$ for MNIST. Out of 22 publications on adversarial robustness published at NeurIPS 2019, ICLR 2020, and ICML 2020, 12 publications contain results for only a single perturbation threshold. In five publications, robust errors are calculated for at least two different perturbation thresholds, but still, only an arbitrary number of thresholds is considered. Only in five out of the total 22 publications do we find extensive considerations of different perturbation thresholds and the respective robust errors. Out of these five, three are analyses of randomized smoothing, which naturally gives rise to certification radii (B. Li et al. 2019; Carmon et al. 2019; Pinot et al. 2019). Najafi et al. (2019) follow a learning-theoretical motivation, which results in an error bound as a function of the perturbation threshold. Only Maini et al. (2020) do not rely on randomization and still provide a complete, empirical analysis of robust error for varying perturbation thresholds1. ",
107
+ "bbox": [
108
+ 174,
109
+ 285,
110
+ 825,
111
+ 450
112
+ ],
113
+ "page_idx": 1
114
+ },
115
+ {
116
+ "type": "text",
117
+ "text": "Our contributions: In this work, we demonstrate that point-wise measures of $\\ell _ { p }$ robustness are not sufficient to reliably and meaningfully compare the robustness of different classifiers. We show that, both in theory and practice, results of model comparisons based on point-wise measures may fail to generalize to threat models with even slightly larger or smaller $\\varepsilon$ and that robustness curves avoid this pitfall by design. Furthermore, we show that point-wise measures are insufficient to meaningfully compare the efficacy of different defense techniques when distance functions are varied, and that robustness curves, again, are able to reliably detect and visualize this property. Finally, we analyze how scale depends on the underlying data space, choice of distance function, and distribution. Based on our findings we suggest that robustness curves should become the standard tool when comparing adversarial robustness of classifiers, and that the perturbation threshold of threat models should be selected carefully in order to be meaningful, considering inherent characteristics of the data set. We release code to reproduce all experiments presented in this paper2, which includes a Python module with an easily accessible interface (similar to Foolbox, Rauber et al. (2017)) to calculate robustness curves for arbitrary data sets and classifiers. The module supports classifiers written in most of the popular machine learning frameworks, such as TensorFlow, PyTorch and JAX. ",
118
+ "bbox": [
119
+ 174,
120
+ 458,
121
+ 825,
122
+ 666
123
+ ],
124
+ "page_idx": 1
125
+ },
126
+ {
127
+ "type": "text",
128
+ "text": "2 M E T H O D S ",
129
+ "text_level": 1,
130
+ "bbox": [
131
+ 176,
132
+ 686,
133
+ 305,
134
+ 703
135
+ ],
136
+ "page_idx": 1
137
+ },
138
+ {
139
+ "type": "text",
140
+ "text": "An adversarial perturbation for a classifier $f$ and input-output pair $( x , y )$ is a small perturbation $\\delta$ with $f ( x + \\delta ) \\neq y$ . Because the perturbation $\\delta$ is small, it is assumed that the label $y$ would still be the correct prediction for $x + \\delta$ . The resulting point $x + \\delta$ is called an adversarial example. The points vulnerable to adversarial perturbations are the points that are either already misclassified when unperturbed, or those that lie close to a decision boundary. ",
141
+ "bbox": [
142
+ 174,
143
+ 718,
144
+ 825,
145
+ 787
146
+ ],
147
+ "page_idx": 1
148
+ },
149
+ {
150
+ "type": "text",
151
+ "text": "One tool to visualize and study the robustness behavior of a classifier are robustness curves, first used by Wong and Kolter (2018) and later formalized by C. Göpfert et al. (2020). A robustness curve captures the distribution of shortest distances between a set of points and the decision boundaries of a classifier: ",
152
+ "bbox": [
153
+ 176,
154
+ 795,
155
+ 823,
156
+ 824
157
+ ],
158
+ "page_idx": 1
159
+ },
160
+ {
161
+ "type": "image",
162
+ "img_path": "images/2e441453be53fe49f4057fccee418ce82da939e3049ef38ecb9e0ba33b3149ce.jpg",
163
+ "image_caption": [
164
+ "Figure 1: Excerpt of a toy data set with two decision boundaries (left) and respective robustness curves (right). The data is separated perfectly by one smooth boundary (blue robustness curve), and one squiggly boundary (orange robustness curve). We indicate margins around the boundaries at distances $\\varepsilon$ and $2 \\varepsilon$ . Selecting a single perturbation threshold is not sufficient to decide which classifier is more robust. "
165
+ ],
166
+ "image_footnote": [],
167
+ "bbox": [
168
+ 295,
169
+ 103,
170
+ 697,
171
+ 228
172
+ ],
173
+ "page_idx": 2
174
+ },
175
+ {
176
+ "type": "text",
177
+ "text": "",
178
+ "bbox": [
179
+ 173,
180
+ 338,
181
+ 823,
182
+ 366
183
+ ],
184
+ "page_idx": 2
185
+ },
186
+ {
187
+ "type": "text",
188
+ "text": "Definition 1. Given an input space $\\mathcal { X }$ and label set $\\mathcal { V } _ { : }$ , distance function $d$ on $\\mathcal { X } \\times \\mathcal { X }$ , and classifier $f : \\mathcal { X } \\mathcal { Y } .$ . Assume $( x , y ) \\sim _ { i . i . d . } P$ for some distribution $P$ on $\\mathcal { X } \\times \\mathcal { V }$ . Then the $d$ -robustness curve for $f$ is the graph of the function ",
189
+ "bbox": [
190
+ 173,
191
+ 371,
192
+ 825,
193
+ 414
194
+ ],
195
+ "page_idx": 2
196
+ },
197
+ {
198
+ "type": "equation",
199
+ "img_path": "images/dd08fe817e2be02663339f754807b87c75392386f5b12d2fe39be8683c670815.jpg",
200
+ "text": "$$\n{ R } _ { d } ^ { f } ( \\varepsilon ) : = P \\left( \\{ ( x , y ) s . t . \\exists x ^ { \\prime } : d ( x , x ^ { \\prime } ) \\leqslant \\varepsilon \\land f ( x ^ { \\prime } ) \\neq y \\} \\right)\n$$",
201
+ "text_format": "latex",
202
+ "bbox": [
203
+ 303,
204
+ 421,
205
+ 692,
206
+ 443
207
+ ],
208
+ "page_idx": 2
209
+ },
210
+ {
211
+ "type": "text",
212
+ "text": "A model’s robustness curve shows how data points are distributed in relation to the decision boundaries of the model, essentially visualizing simultaneously an extremely large number of point-wise measures. This allows us to take a step back from robustness regarding a specific perturbation threshold and instead compare global robustness for different classifiers, distributions and distance functions. To see why this is relevant, consider Figure 1, which shows toy data along with two possible classifiers that perfectly separate the data. For a perturbation threshold of $\\varepsilon$ , the blue classifier has robust error 0.5, while the orange classifier is perfectly robust. However, for a perturbation threshold of $2 \\varepsilon$ , the orange classifier has robust error 1, while the blue classifier remains at 0.5. By freely choosing a single perturbation threshold for comparison, it is therefore possible to make either classifier appear to be much better than the other, and no single threshold can capture the whole picture. In fact, for any two disjoint sets of perturbation thresholds, it is possible to construct a data distribution and two classifiers $f , f ^ { \\prime }$ , such that the robust error of $f$ is lower than that of $f ^ { \\prime }$ for all perturbation thresholds in the first set, and that of $f ^ { \\prime }$ is lower than that of $f$ for all perturbation thresholds in the second set. See Appendix A for a constructive proof. This shows that even computing multiple point-wise measures to compare two models may give misleading results. ",
213
+ "bbox": [
214
+ 173,
215
+ 455,
216
+ 826,
217
+ 665
218
+ ],
219
+ "page_idx": 2
220
+ },
221
+ {
222
+ "type": "text",
223
+ "text": "3 E X P E R I M E N T S ",
224
+ "text_level": 1,
225
+ "bbox": [
226
+ 176,
227
+ 685,
228
+ 349,
229
+ 702
230
+ ],
231
+ "page_idx": 2
232
+ },
233
+ {
234
+ "type": "text",
235
+ "text": "In the following, we empirically evaluate the robustness of a number of recently published models, and demonstrate that the weaknesses of point-wise measures described above are not limited to toy examples, but occur for real-world data and models. ",
236
+ "bbox": [
237
+ 174,
238
+ 718,
239
+ 825,
240
+ 760
241
+ ],
242
+ "page_idx": 2
243
+ },
244
+ {
245
+ "type": "text",
246
+ "text": "3 . 1 E X P E R I M E N T A L S E T U P ",
247
+ "text_level": 1,
248
+ "bbox": [
249
+ 176,
250
+ 779,
251
+ 406,
252
+ 792
253
+ ],
254
+ "page_idx": 2
255
+ },
256
+ {
257
+ "type": "text",
258
+ "text": "We evaluate and compare the robustness of models obtained using the following training methods: ",
259
+ "bbox": [
260
+ 179,
261
+ 805,
262
+ 816,
263
+ 820
264
+ ],
265
+ "page_idx": 2
266
+ },
267
+ {
268
+ "type": "text",
269
+ "text": "1. Standard training (ST), i. e., training without specific robustness considerations. \n2. Adversarial training (AT) (Madry et al. 2018). \n3. Training with robust loss (KW) (Wong and Kolter 2018). \n4. Maximum margin regularization for a single $\\ell _ { p }$ norm together with adversarial training $( \\mathrm { M M R } + \\mathrm { \\mathbb { A } T } )$ (Croce, Andriushchenko, and Hein 2019). \n5. Maximum margin regularization simultaneously for $\\ell _ { \\infty }$ and $\\ell _ { 1 }$ margins (MMR-UNIV) (Croce and Hein 2020). ",
270
+ "bbox": [
271
+ 212,
272
+ 827,
273
+ 825,
274
+ 924
275
+ ],
276
+ "page_idx": 2
277
+ },
278
+ {
279
+ "type": "text",
280
+ "text": "Table 1: Three point-wise measures for different threat models. All threat models use the $\\ell _ { \\infty }$ distance function, but differ in choice of perturbation threshold (denoted by $\\varepsilon$ ). Each row contains the robust test errors for one point-wise measure. Each column contains the robust test errors for one model, trained with a specific training method (marked by column title). The lower the number, the better the robustness for the specific threat model. Each point-wise measure results in a different relative ordering of the classifiers based on the errors. The order is visualized by different tones of gray in the background of the cells. ",
281
+ "bbox": [
282
+ 173,
283
+ 112,
284
+ 826,
285
+ 209
286
+ ],
287
+ "page_idx": 3
288
+ },
289
+ {
290
+ "type": "table",
291
+ "img_path": "images/2c7c03027eb4aa91595da7fc483210735a342aff7107044b29ac21f6f95f270c.jpg",
292
+ "table_caption": [],
293
+ "table_footnote": [],
294
+ "table_body": "<table><tr><td>E</td><td>ST</td><td>AT</td><td>KW</td><td>MMR +AT</td><td>MMR-UNIV</td></tr><tr><td>1/255</td><td>0.60</td><td>0.38</td><td>0.43</td><td>0.42</td><td>0.54</td></tr><tr><td>4/255</td><td>0.99</td><td>0.68</td><td>0.57</td><td>0.63</td><td>0.74</td></tr><tr><td>8/255</td><td>1.00</td><td>0.92</td><td>0.73</td><td>0.84</td><td>0.91</td></tr></table>",
295
+ "bbox": [
296
+ 312,
297
+ 219,
298
+ 681,
299
+ 287
300
+ ],
301
+ "page_idx": 3
302
+ },
303
+ {
304
+ "type": "text",
305
+ "text": "Together with each training method, we state the threat model the trained model is optimized to defend against, eg., $\\ell _ { \\infty } ( \\varepsilon = 0 . 1 )$ for perturbations in $\\ell _ { \\infty }$ norm with perturbation threshold $\\varepsilon = 0 . 1$ , if any. The trained models are those made publicly available by Croce, Andriushchenko, and Hein $( 2 0 1 9 ) ^ { 3 }$ and Croce and Hein $( 2 0 2 0 ) ^ { 4 }$ . The network architecture is a convolutional network with two convolutional layers, two fully connected layers and ReLU activation functions. The evaluation is based on six real-world datasets: MNIST, Fashion-MNIST (FMNIST) (Xiao et al. 2017), German Traffic Signs (GTS) (Houben et al. 2013), CIFAR-10 (Krizhevsky 2009), Tiny-Imagenet200 (TINY-IMG) (F.-F. Li et al. 2016), and Human Activity Recognition (HAR) (Anguita et al. 2013). For specifics on model training (hyperparameters, architecture details), refer to Appendix C. Models are generally trained on the full training set for the corresponding data set, and robustness curves evaluated on the full test set, unless stated otherwise. ",
306
+ "bbox": [
307
+ 173,
308
+ 318,
309
+ 826,
310
+ 470
311
+ ],
312
+ "page_idx": 3
313
+ },
314
+ {
315
+ "type": "text",
316
+ "text": "For complex models, calculating the exact distance of a point to the closest decision boundary, and thus estimating the true robustness curve, is computationally very intensive, if not intractable. Therefore we bound the true robustness curve from below using strong adversarial attacks, which is consistent with the literature on empirical evaluation of adversarial robustness and also applicable to many different types of classifiers. We base our selection of attacks on the recommendations by Carlini, Athalye, et al. (2019). Specifically, we use the $\\ell _ { 2 }$ -attack proposed by (Carlini and Wagner 2017) for $\\ell _ { 2 }$ robustness curves and PGD (Madry et al. 2018) for $\\ell _ { \\infty }$ robustness curves. For both attacks, we use the implementations of Foolbox (Rauber et al. 2017). See Appendix C for information on adversarial attack hyperparameters. In the following, “robustness curve” refers to this empirical approximation of the true robustness curve. ",
317
+ "bbox": [
318
+ 173,
319
+ 478,
320
+ 825,
321
+ 617
322
+ ],
323
+ "page_idx": 3
324
+ },
325
+ {
326
+ "type": "text",
327
+ "text": "3 . 2 T H E W E A K N E S S E S O F P O I N T - W I S E M E A S U R E S ",
328
+ "text_level": 1,
329
+ "bbox": [
330
+ 176,
331
+ 641,
332
+ 591,
333
+ 655
334
+ ],
335
+ "page_idx": 3
336
+ },
337
+ {
338
+ "type": "text",
339
+ "text": "Point-wise measures are used to quantify robustness of classifiers by measuring the robust test error for a specific distance function and a perturbation threshold (eg., $\\bar { \\ell } _ { \\infty } ( \\varepsilon = 4 / \\bar { 2 } 5 5 ) )$ ). In Table 1 we show three point-wise measures to compare the robustness of five different classifiers on CIFAR-10. If we compare the robustness of the four robust training methods (latter four columns of the table) based on the first point-wise threat model $\\ell _ { \\infty } ( \\varepsilon = 1 / 2 5 5 )$ (first row of the table), we can see that the classifier trained with AT is the most robust, followed by $\\mathrm { M M R } + \\mathrm { \\mathbb { A } T }$ , followed by KW, and MMR-UNIV results in the least robust classifier. However, if we increase the $\\varepsilon$ of our threat model to $\\varepsilon = 4 / 2 5 5$ (second row of the table), KW is more robust than AT. For a even larger $\\varepsilon$ (third row of the table), we would conclude that MMR-UNIV is preferable over AT, and that AT results in the least robust classifier. All three statements are true for the particular perturbation threshold $( \\varepsilon )$ , and the magnitude of all perturbation thresholds is reasonable: publications on adversarial robustness typically evaluate CIFAR-10 on perturbation thresholds $\\leqslant 1 0 / 2 5 5$ for $\\ell _ { \\infty }$ perturbations. Meaningful conclusions on the robustness of the classifiers relative to each other can not be made without taking all possible $\\varepsilon$ into account. In other words, a global perspective is needed. ",
340
+ "bbox": [
341
+ 173,
342
+ 669,
343
+ 826,
344
+ 863
345
+ ],
346
+ "page_idx": 3
347
+ },
348
+ {
349
+ "type": "image",
350
+ "img_path": "images/f19bcbff3ca1e3db0c5d5002965f2864e4b210f98ae13ccc89e4c508438c72ca.jpg",
351
+ "image_caption": [
352
+ "Figure 2: $\\ell _ { \\infty }$ robustness curves (left plot) and $\\ell _ { 2 }$ robustness curves (right plot) resulting from different training methods (indicated by label), optimized for different threat models (indicated by label). The dashed vertical lines visualize the three point-wise measures from Table 1. The models are trained and evaluated on the full training-/test sets of CIFAR-10. The curves allow us to reliably compare the robustness of the classifiers, unbiased by choice of perturbation threshold. "
353
+ ],
354
+ "image_footnote": [],
355
+ "bbox": [
356
+ 222,
357
+ 106,
358
+ 774,
359
+ 228
360
+ ],
361
+ "page_idx": 4
362
+ },
363
+ {
364
+ "type": "text",
365
+ "text": "3 . 2 . 1 A G L O B A L P E R S P E C T I V E ",
366
+ "text_level": 1,
367
+ "bbox": [
368
+ 176,
369
+ 347,
370
+ 437,
371
+ 359
372
+ ],
373
+ "page_idx": 4
374
+ },
375
+ {
376
+ "type": "text",
377
+ "text": "Figure 2 shows the robustness of different classifiers for the $\\ell _ { \\infty }$ (right plot) and $\\ell _ { 2 }$ (left plot) distance functions from a global perspective using robustness curves. The plot reveals why the three pointwise measures (marked by vertical black dashed lines in the left plot) lead to different results in the relative ranking of robustness of the classifiers. Both for the classifiers trained to be robust against attacks in $\\ell _ { \\infty }$ distance (left plot) and $\\ell _ { 2 }$ distance (right plot), we can observe multiple intersections of robustness curves, corresponding to changes in the relative ranking of the robustness of the compared classifiers. The robustness curves allow us to reliably compare the robustness of classifiers for all possible perturbation thresholds. Furthermore, the curves clearly show the perturbation threshold intervals with strong and weak robustness for each classifier, and are not biased by an arbitrarily chosen perturbation threshold. ",
378
+ "bbox": [
379
+ 174,
380
+ 371,
381
+ 825,
382
+ 511
383
+ ],
384
+ "page_idx": 4
385
+ },
386
+ {
387
+ "type": "text",
388
+ "text": ". 2 . 2 O V E R F I T T I N G T O S P E C I F I C P E R T U R B AT I O N T H R E S H O L D ",
389
+ "text_level": 1,
390
+ "bbox": [
391
+ 192,
392
+ 530,
393
+ 689,
394
+ 542
395
+ ],
396
+ "page_idx": 4
397
+ },
398
+ {
399
+ "type": "text",
400
+ "text": "In addition to the problem of robustness curve intersection, relying on point-wise robustness measures to evaluate adversarial robustness is prone to overfitting when designing training procedures. Figure 3 shows $\\ell _ { \\infty }$ robustness curves for $\\mathtt { M M R } + \\mathtt { A T }$ with $\\ell _ { \\infty }$ threat model as provided by Croce, Andriushchenko, and Hein (2019). The models trained on MNIST and FMNIST both show a change in slope, which could be a sign of overfitting to the specific threat models for which the classifiers were optimized for, since the change of slope occurs approximately at the chosen perturbation threshold $\\varepsilon$ . This showcases a potential problem with the use of point-wise measures during training. The binary separation of “small” and “large” perturbations based on the perturbation threshold is not sufficient to capture the intricacies of human perception under perturbations, but a simplification based on the idea that perturbations below the perturbation threshold should almost certainly not lead to a change in classification. If a training procedure moves decision boundaries so that data points lie just beyond this threshold, it may achieve a low robust error, without furthering the actual goals of adversarial robustness research. Using robustness curves for evaluation cannot prevent this effect, but can be used to detect it. ",
401
+ "bbox": [
402
+ 174,
403
+ 554,
404
+ 825,
405
+ 747
406
+ ],
407
+ "page_idx": 4
408
+ },
409
+ {
410
+ "type": "text",
411
+ "text": ". 2 . 3 T R A N S F E R O F R O B U S T N E S S A C R O S S D I S T A N C E F U N C T I O N ",
412
+ "text_level": 1,
413
+ "bbox": [
414
+ 186,
415
+ 767,
416
+ 705,
417
+ 780
418
+ ],
419
+ "page_idx": 4
420
+ },
421
+ {
422
+ "type": "text",
423
+ "text": "In the following, we analyze to which extent properties of robustness curves transfer across different choices of distance functions. If properties transfer, it may not be necessary to individually analyze robustness for each distance function. ",
424
+ "bbox": [
425
+ 176,
426
+ 791,
427
+ 825,
428
+ 833
429
+ ],
430
+ "page_idx": 4
431
+ },
432
+ {
433
+ "type": "text",
434
+ "text": "In Figure 4 we compare the robustness of different models for the $\\ell _ { \\infty }$ (left plot) and $\\ell _ { 2 }$ (right plot) distance functions. The difference to Figure 2 is that the models (indicated by colour) are the same models in the left plot and in the right plot. We find that for $\\mathtt { M M R } + \\mathtt { A T }$ , the $\\ell _ { \\infty }$ threat model leads to better robustness than the $\\ell _ { 2 }$ threat model both for $\\ell _ { \\infty }$ and $\\ell _ { 2 }$ robustness curves. In fact, $\\mathtt { M M R } + \\mathtt { A T }$ with the $\\ell _ { \\infty }$ threat model even leads to better $\\ell _ { \\infty }$ and $\\ell _ { 2 }$ robustness curves than MMR-UNIV, which is specifically designed to improve robustness for all $\\ell _ { p }$ norms. Overall, the plots are visually similar. ",
435
+ "bbox": [
436
+ 174,
437
+ 840,
438
+ 825,
439
+ 924
440
+ ],
441
+ "page_idx": 4
442
+ },
443
+ {
444
+ "type": "image",
445
+ "img_path": "images/fb50a0d8e19edada5d7b81e67ca15bd856dc1a21f03714104698d0822ea831db.jpg",
446
+ "image_caption": [
447
+ "Figure 3: $\\ell _ { \\infty }$ robustness curves for multiple data sets. Each curve is calculated for a different model and a different test data set. The data sets are indicated by the labels. The models are trained with $\\mathtt { M M R } + \\mathtt { A T }$ , Threat Models: MNIST: $\\ell _ { \\infty } ( \\varepsilon = 0 . 1 )$ , FMNIST: $\\ell _ { \\infty } ( \\varepsilon = 0 . 1 )$ , GTS: $\\ell _ { \\infty } ( \\varepsilon = 4 / 2 5 5 )$ , CIFAR-10: $\\ell _ { \\infty } ( \\varepsilon = 2 / 2 5 5 )$ . The curves for MNIST and FMNIST both show a change in slope, which can not be captured with point-wise measures and could be a sign of overfitting to the specific threat models for which the classifiers were optimized for. "
448
+ ],
449
+ "image_footnote": [],
450
+ "bbox": [
451
+ 222,
452
+ 106,
453
+ 776,
454
+ 229
455
+ ],
456
+ "page_idx": 5
457
+ },
458
+ {
459
+ "type": "image",
460
+ "img_path": "images/2e2f6a31502e5bf9c310bfcf517937916d9a0f9dd865298922735420400a2590.jpg",
461
+ "image_caption": [
462
+ "Figure 4: $\\ell _ { \\infty }$ robustness curves (left plot) and $\\ell _ { 2 }$ robustness curves (right plot) resulting from different training methods (indicated by color and label), optimized for different threat models (indicated by label). The models are trained and evaluated on the full training-/test sets of $\\mathtt { C I F A R - 1 0 }$ . The curves allow us to reliably compare the transfer of robustness of the classifiers across distance functions, unbiased by choice of threat model. "
463
+ ],
464
+ "image_footnote": [],
465
+ "bbox": [
466
+ 220,
467
+ 356,
468
+ 774,
469
+ 479
470
+ ],
471
+ "page_idx": 5
472
+ },
473
+ {
474
+ "type": "text",
475
+ "text": "However, since both plots contain multiple robustness curve intersections, the ranking of methods remains sensitive to the choice of perturbation threshold. For example, a perturbation threshold of $\\varepsilon = 3 / 2 5 5$ (vertical black dashed line) for the $\\ell _ { \\infty }$ distance function (left subplot) shows that the classifier trained with $\\mathtt { M M R } + \\mathtt { A T }$ $\\ell _ { 2 } ( \\varepsilon = 0 . 1 ) )$ is approximately as robust as the classifier trained with MMR-UNIV. The same perturbation threshold for the $\\ell _ { 2 }$ distance function (right subplot) shows that the classifier trained with $\\mathrm { M M R } + \\mathrm { \\mathbb { A } T }$ is more robust than the classifier trained with MMR-UNIV for $\\ell _ { 2 }$ threat models. Using typical perturbation thresholds from the literature for each distance function does not alleviate this issue: At perturbation threshold $\\varepsilon = 2 / 2 5 5$ for $\\ell _ { \\infty }$ distance, the classifier trained with $\\mathtt { M M R } + \\mathtt { A T }$ $( \\ell _ { 2 } ( \\varepsilon = 0 . 1 )$ ) is more robust than the one trained with MMR-UNIV, while at perturbation threshold $\\varepsilon = 0 . 1$ for $\\ell _ { 2 }$ distance, the opposite is true. This shows that even when robustness curves across various distance functions are qualitatively similar, this may be obscured by the choice of threat model(s) to compare on. ",
476
+ "bbox": [
477
+ 173,
478
+ 599,
479
+ 825,
480
+ 766
481
+ ],
482
+ "page_idx": 5
483
+ },
484
+ {
485
+ "type": "text",
486
+ "text": "We also emphasize that in general, robustness curves across various distance functions may be qualitatively dissimilar. In particular: ",
487
+ "bbox": [
488
+ 176,
489
+ 773,
490
+ 823,
491
+ 801
492
+ ],
493
+ "page_idx": 5
494
+ },
495
+ {
496
+ "type": "text",
497
+ "text": "1. For linear classifiers, the shape of a robustness curve is identical for distances induced by different $\\ell _ { p }$ norms. This follows from Theorem 2 in Appendix B, which is an extension of a weaker result in C. Göpfert et al. (2020). For non-linear classifiers, different $\\ell _ { p }$ norms may induce different robustness curve shapes. See C. Göpfert et al. (2020) for an example. \n2. Even for linear classifiers, robustness curve intersections do not transfer between distances induced by different $\\ell _ { p }$ norms. That is, for two linear classifiers, there may exist $p , p ^ { \\prime }$ such that the robustness curves for the $\\ell _ { p }$ distance intersect, but not the robustness curves for the $\\ell _ { p ^ { \\prime } }$ distance. See Appendix A for an example. ",
498
+ "bbox": [
499
+ 210,
500
+ 809,
501
+ 825,
502
+ 921
503
+ ],
504
+ "page_idx": 5
505
+ },
506
+ {
507
+ "type": "image",
508
+ "img_path": "images/f5441ce2e54e4bc16b2b3900f3aba15065852b93c73865b0dfcc7d3e74ede670.jpg",
509
+ "image_caption": [
510
+ "Figure 5: Minimum inter-class distances of all data sets considered in this work, measured in $\\ell _ { \\infty }$ (left), $\\ell _ { 2 }$ (middle), and $\\ell _ { 1 }$ (right) norm. See Table 2 for size and dimensionality. The shapes of the curves and the threshold from which any classifier must necessarily trade of between accuracy and robustness differ strongly between data sets. "
511
+ ],
512
+ "image_footnote": [],
513
+ "bbox": [
514
+ 223,
515
+ 106,
516
+ 774,
517
+ 229
518
+ ],
519
+ "page_idx": 6
520
+ },
521
+ {
522
+ "type": "text",
523
+ "text": "3 . 3 O N T H E R E L AT I O N S H I P B E T W E E N S C A L E A N D D AT A ",
524
+ "text_level": 1,
525
+ "bbox": [
526
+ 176,
527
+ 338,
528
+ 635,
529
+ 352
530
+ ],
531
+ "page_idx": 6
532
+ },
533
+ {
534
+ "type": "text",
535
+ "text": "As the previous sections show, robustness curves can be used to reveal properties of robust models that may be obscured by point-wise measures. However, some concept of scale, that is, some way to judge whether a perturbation is small or large, remains necessary. Especially when robustness curves intersect, it is crucial to be able to judge how critical it is for a model to be stable under the given perturbations. For many pairs of distance function and data set, canonical perturbation thresholds have emerged in the literature, but to the best of our knowledge, no reasons for these choices are given. ",
536
+ "bbox": [
537
+ 173,
538
+ 367,
539
+ 825,
540
+ 464
541
+ ],
542
+ "page_idx": 6
543
+ },
544
+ {
545
+ "type": "text",
546
+ "text": "Since the assumption behind adversarial examples is that small perturbations should not affect classification behavior, the question of scale cannot be answered independently of the data distribution. In order to understand how to interpret different perturbation sizes, it can be helpful to understand how strongly the data point would need to be perturbed to actually change the correct classification. We call this the inter-class distance and analyze the distribution of inter-class distances for several popular data sets. ",
547
+ "bbox": [
548
+ 174,
549
+ 470,
550
+ 825,
551
+ 555
552
+ ],
553
+ "page_idx": 6
554
+ },
555
+ {
556
+ "type": "text",
557
+ "text": "In Figure 5 we compare the inter-class distance distributions in $\\ell _ { \\infty }$ , $\\ell _ { 2 }$ , and $\\ell _ { 1 }$ norm for all data sets considered in this work. We observe that for the $\\ell _ { 1 }$ and $\\ell _ { 2 }$ norms, the shape of the curves is similar across data sets, but their extent is determined by the dimensionality of the data space. In the $\\ell _ { \\infty }$ norm, vastly different curves emerge for the different data sets. We hypothesize that, because the inter-class distance distributions vary more strongly for $\\ell _ { \\infty }$ distances than for $\\ell _ { 1 }$ distances, the results of robustifying a model w. r. t. $\\ell _ { \\infty }$ distances may depend more strongly on the underlying data distribution than the results of robustifying w. r. t. $\\ell _ { 1 }$ distances. This is an interesting avenue for future work. ",
558
+ "bbox": [
559
+ 173,
560
+ 561,
561
+ 825,
562
+ 672
563
+ ],
564
+ "page_idx": 6
565
+ },
566
+ {
567
+ "type": "text",
568
+ "text": "When we look at the smallest inter-class distances in the $\\ell _ { \\infty }$ norm (where all distances lie in the interval $[ 0 , 1 ] )$ , we can make several observations. Because the smallest inter-class distance for $\\mathrm { M N I } \\mathrm { S T }$ in the $\\ell _ { \\infty }$ norm is around 0.9, we can see that transforming an input from one class to one from a different class almost always requires completely flipping at least one pixel from almost-black to almost-white or vice versa. For the other datasets, the inter-class distance distributions are more spread out than the inter-class distance distribution of MNIST. We observe that for CIFAR-10 with $\\ell _ { \\infty }$ perturbations of size $\\geqslant 0 . 2 5$ , it becomes possible to transform samples from different classes into each other, so starting from this threshold, any classifier must necessarily trade off between accuracy and robustness. The shapes of the curves and the threshold from which any classifier must necessarily trade of between accuracy and robustness differ strongly between data sets – refer to Table 2 for exact values for the threshold. ",
569
+ "bbox": [
570
+ 173,
571
+ 680,
572
+ 825,
573
+ 833
574
+ ],
575
+ "page_idx": 6
576
+ },
577
+ {
578
+ "type": "text",
579
+ "text": "In Table 2, we summarize the smallest and largest inter-class distances in different norms together with additional information about the size, number of classes, and dimensionality of the all the data sets we consider in this work. The values correspond directly to Figure 5, but even in this simplified view, we can quickly make out key differences between the data sets. Compare, for example, MNIST and GTS: While it appears reasonable to expect $\\ell _ { \\infty }$ robustness of 0.3 for MNIST, the same threshold for GTS is not possible. Relating Table 2 and Figure 3, we find entirely plausible the strong robustness results for MNIST, and the small perturbation threshold for GTS. Based on inter-class distances we also expect less $\\ell _ { \\infty }$ robustness for CIFAR-10 than for FMNIST, but not as seen in Figure 3. In any case, it is safe to say that, when judging the robustness of a model by a certain threshold, that number must be set with respect to the distribution the model operates on. ",
580
+ "bbox": [
581
+ 174,
582
+ 840,
583
+ 825,
584
+ 924
585
+ ],
586
+ "page_idx": 6
587
+ },
588
+ {
589
+ "type": "table",
590
+ "img_path": "images/20ff75fb4c8a89a60c71c4ad7ed9dcc74ae4e2d2305cfdc358d9c4fbdb1ca877.jpg",
591
+ "table_caption": [
592
+ "Table 2: Smallest and largest inter-class distances for subsets of several data sets, measured in $l _ { \\infty }$ , $l _ { 2 }$ , and $l _ { 1 }$ norm, together with basic contextual information about the data sets. All data has been been normalized to lie within the interval [0, 1], and duplicates and corrupted data points have been removed. Apart from HAR, all data sets contain images – the dimensionality reported specifies their sizes and number of channels. "
593
+ ],
594
+ "table_footnote": [],
595
+ "table_body": "<table><tr><td></td><td></td><td></td><td></td><td colspan=\"6\">Inter-class Distance</td></tr><tr><td>Dataset</td><td>Samples</td><td>Classes</td><td></td><td></td><td>Smallest</td><td></td><td></td><td>Largest</td><td></td></tr><tr><td></td><td></td><td></td><td> Dimensionality</td><td>l8</td><td>l2</td><td>l1</td><td>1</td><td>l2</td><td>l1</td></tr><tr><td>MNIST</td><td>10000</td><td>10</td><td>28×28×1</td><td>0.88</td><td>3.03</td><td>19.16</td><td>1.00</td><td>10.18</td><td>132.38</td></tr><tr><td>TINY-IMG FMNIST</td><td>98139 10000</td><td>200 10</td><td>64 × 64×3</td><td>0.27</td><td>5.24</td><td>369.29</td><td>0.71</td><td>47.49</td><td>4184.37</td></tr><tr><td>GTS</td><td>10000</td><td>43</td><td>28 × 28 ×1 32 × 32 × 3</td><td>0.36 0.07</td><td>2.00 0.90</td><td>24.87 31.46</td><td>1.00 0.62</td><td>10.70 19.54</td><td>194.29 833.22</td></tr><tr><td>CIFAR-10</td><td>10000</td><td>10</td><td>32 × 32 × 3</td><td>0.27</td><td>3.61</td><td>130.77</td><td>0.70</td><td>18.57</td><td>831.44</td></tr><tr><td>HAR</td><td>2947</td><td>6</td><td></td><td>0.26</td><td>1.26</td><td>12.95</td><td>0.87</td><td>4.29</td><td>73.19</td></tr><tr><td></td><td></td><td></td><td>561</td><td></td><td></td><td></td><td></td><td></td><td></td></tr></table>",
596
+ "bbox": [
597
+ 176,
598
+ 193,
599
+ 821,
600
+ 319
601
+ ],
602
+ "page_idx": 7
603
+ },
604
+ {
605
+ "type": "text",
606
+ "text": "",
607
+ "bbox": [
608
+ 174,
609
+ 345,
610
+ 825,
611
+ 402
612
+ ],
613
+ "page_idx": 7
614
+ },
615
+ {
616
+ "type": "text",
617
+ "text": "Overall, the strong dependence of robustness curves on the data set and the chosen norm, emphasizes the necessity of informed and conscious decisions regarding robustness thresholds. We provide an easily accessible reference in the form of Table 2, that should prove useful while judging scales in a threat model. ",
618
+ "bbox": [
619
+ 174,
620
+ 409,
621
+ 825,
622
+ 464
623
+ ],
624
+ "page_idx": 7
625
+ },
626
+ {
627
+ "type": "text",
628
+ "text": "4 D I S C U S S I O N ",
629
+ "text_level": 1,
630
+ "bbox": [
631
+ 176,
632
+ 484,
633
+ 331,
634
+ 501
635
+ ],
636
+ "page_idx": 7
637
+ },
638
+ {
639
+ "type": "text",
640
+ "text": "We have demonstrated that comparisons of robustness of different classifiers using point-wise measures can be heavily biased by the choice of perturbation threshold and distance function of the threat model, and that conclusions about rankings of classifiers with regards to their robustness based on point-wise measures therefore only provide a narrow view of the actual robustness behavior of the classifiers. Further, we have demonstrated different ways of using robustness curves to overcome the shortcomings of point-wise measures, and therefore recommend using them as the standard tool for comparing the robustness of classifiers. Finally, we have demonstrated how suitable perturbation thresholds necessarily depend on the data they pertain to. ",
641
+ "bbox": [
642
+ 173,
643
+ 516,
644
+ 825,
645
+ 628
646
+ ],
647
+ "page_idx": 7
648
+ },
649
+ {
650
+ "type": "text",
651
+ "text": "It is our hope that practitioners and researchers alike will use the methodology proposed in this work, especially when developing and comparing adversarial defenses, and carefully motivate any concrete threat models they might choose, taking into account all available context. ",
652
+ "bbox": [
653
+ 174,
654
+ 635,
655
+ 825,
656
+ 678
657
+ ],
658
+ "page_idx": 7
659
+ },
660
+ {
661
+ "type": "text",
662
+ "text": "Limitations: Computing approximate robustness curves for state-of-the-art classifiers and large data sets is computationally very intensive, due to the need of computing approximate minimal adversarial perturbations with strong adversarial attacks. Developing adversarial attacks which are both strong and fast is an ongoing challenge in the field of adversarial robustness. ",
663
+ "bbox": [
664
+ 174,
665
+ 684,
666
+ 825,
667
+ 739
668
+ ],
669
+ "page_idx": 7
670
+ },
671
+ {
672
+ "type": "text",
673
+ "text": "One way to reduce the computational cost is to approximate the robustness curves by computing a set of point-wise measures. However, since robustness curves may intersect at arbitrarily many points, this may give misleading results. It would be interesting to investigate how closely robustness curves need to be approximated in order to estimate the number of intersections, if any, and their location, with high certainty. ",
674
+ "bbox": [
675
+ 174,
676
+ 747,
677
+ 825,
678
+ 816
679
+ ],
680
+ "page_idx": 7
681
+ },
682
+ {
683
+ "type": "text",
684
+ "text": "Another limitation of our work is the focus on a small group of distance functions (mainly $\\ell _ { \\infty }$ and $\\ell _ { 2 }$ norms). Even though it does intuitively make sense that models should at least be robust against these types of perturbations, a more general evaluation able to consider more distance functions simultaneously could be advantageous. ",
685
+ "bbox": [
686
+ 174,
687
+ 824,
688
+ 825,
689
+ 880
690
+ ],
691
+ "page_idx": 7
692
+ },
693
+ {
694
+ "type": "text",
695
+ "text": "R E F E R E N C E S ",
696
+ "text_level": 1,
697
+ "bbox": [
698
+ 176,
699
+ 103,
700
+ 305,
701
+ 117
702
+ ],
703
+ "page_idx": 8
704
+ },
705
+ {
706
+ "type": "text",
707
+ "text": "Jean-Baptiste Alayrac, Jonathan Uesato, Po-Sen Huang, Alhussein Fawzi, Robert Stanforth, and Pushmeet Kohli (2019). “Are Labels Required for Improving Adversarial Robustness?” In: Advances in Neural Information Processing Systems 32, pp. 12214–12223. ",
708
+ "bbox": [
709
+ 176,
710
+ 132,
711
+ 823,
712
+ 171
713
+ ],
714
+ "page_idx": 8
715
+ },
716
+ {
717
+ "type": "text",
718
+ "text": "Davide Anguita, Alessandro Ghio, Luca Oneto, Xavier Parra, and J Reyes-Ortiz (Jan. 2013). “A Public Domain Dataset for Human Activity Recognition using Smartphones”. In: ESANN. ",
719
+ "bbox": [
720
+ 171,
721
+ 178,
722
+ 823,
723
+ 205
724
+ ],
725
+ "page_idx": 8
726
+ },
727
+ {
728
+ "type": "text",
729
+ "text": "Akhilan Boopathy, Sijia Liu, Gaoyuan Zhang, Cynthia Liu, Pin-Yu Chen, Shiyu Chang, and Luca Daniel (2020). “Proper Network Interpretability Helps Adversarial Robustness in Classification”. en. In: Proceedings of the International Conference on Machine Learning 1. ",
730
+ "bbox": [
731
+ 176,
732
+ 210,
733
+ 825,
734
+ 250
735
+ ],
736
+ "page_idx": 8
737
+ },
738
+ {
739
+ "type": "text",
740
+ "text": "Wieland Brendel, Jonas Rauber, Matthias Kümmerer, Ivan Ustyuzhaninov, and Matthias Bethge (2019). “Accurate, reliable and fast robustness evaluation”. In: Advances in Neural Information Processing Systems 32, pp. 12861–12871. ",
741
+ "bbox": [
742
+ 176,
743
+ 256,
744
+ 823,
745
+ 295
746
+ ],
747
+ "page_idx": 8
748
+ },
749
+ {
750
+ "type": "text",
751
+ "text": "Nicholas Carlini, Anish Athalye, et al. (2019). On Evaluating Adversarial Robustness. arXiv: 1902.06705. ",
752
+ "bbox": [
753
+ 173,
754
+ 301,
755
+ 818,
756
+ 316
757
+ ],
758
+ "page_idx": 8
759
+ },
760
+ {
761
+ "type": "text",
762
+ "text": "Nicholas Carlini and David A. Wagner (2017). “Towards Evaluating the Robustness of Neural Networks”. In: 2017 IEEE Symposium on Security and Privacy (SP). arXiv: 1608.04644. ",
763
+ "bbox": [
764
+ 173,
765
+ 320,
766
+ 820,
767
+ 348
768
+ ],
769
+ "page_idx": 8
770
+ },
771
+ {
772
+ "type": "text",
773
+ "text": "Yair Carmon, Aditi Raghunathan, Ludwig Schmidt, Percy Liang, and John C. Duchi (2019). Unlabeled Data Improves Adversarial Robustness. arXiv: 1905.13736. ",
774
+ "bbox": [
775
+ 176,
776
+ 354,
777
+ 815,
778
+ 381
779
+ ],
780
+ "page_idx": 8
781
+ },
782
+ {
783
+ "type": "text",
784
+ "text": "Jeremy Cohen, Elan Rosenfeld, and Zico Kolter (2019). “Certified Adversarial Robustness via Randomized Smoothing”. In: Proceedings of the 36th International Conference on Machine Learning, ICML. Vol. 97, pp. 1310–1320. ",
785
+ "bbox": [
786
+ 174,
787
+ 386,
788
+ 810,
789
+ 426
790
+ ],
791
+ "page_idx": 8
792
+ },
793
+ {
794
+ "type": "text",
795
+ "text": "Francesco Croce, Maksym Andriushchenko, and Matthias Hein (2019). “Provable Robustness of ReLU networks via Maximization of Linear Regions”. In: Proceedings of Machine Learning Research. arXiv: 1810.07481. ",
796
+ "bbox": [
797
+ 173,
798
+ 431,
799
+ 802,
800
+ 470
801
+ ],
802
+ "page_idx": 8
803
+ },
804
+ {
805
+ "type": "text",
806
+ "text": "Francesco Croce, Maksym Andriushchenko, Vikash Sehwag, Nicolas Flammarion, Mung Chiang, Prateek Mittal, and Matthias Hein (2020). “RobustBench: a standardized adversarial robustness benchmark”. In: arXiv preprint arXiv:2010.09670. ",
807
+ "bbox": [
808
+ 171,
809
+ 477,
810
+ 828,
811
+ 517
812
+ ],
813
+ "page_idx": 8
814
+ },
815
+ {
816
+ "type": "text",
817
+ "text": "Francesco Croce and Matthias Hein (2020). “Provable robustness against all adversarial $l _ { p }$ -perturbations for $p \\geqslant 1 ^ { \\mathfrak { r } }$ . In: International Conference on Learning Representations. arXiv: 1905.11213. ",
818
+ "bbox": [
819
+ 174,
820
+ 522,
821
+ 813,
822
+ 550
823
+ ],
824
+ "page_idx": 8
825
+ },
826
+ {
827
+ "type": "text",
828
+ "text": "Ian J. Goodfellow, Jonathon Shlens, and Christian Szegedy (2015). “Explaining and Harnessing Adversarial Examples”. In: 3rd International Conference on Learning Representations. arXiv: 1412.6572. ",
829
+ "bbox": [
830
+ 174,
831
+ 555,
832
+ 810,
833
+ 583
834
+ ],
835
+ "page_idx": 8
836
+ },
837
+ {
838
+ "type": "text",
839
+ "text": "Christina Göpfert, Jan Philip Göpfert, and Barbara Hammer (2020). “Adversarial Robustness Curves”. In: Machine Learning and Knowledge Discovery in Databases. arXiv: 1908.00096. ",
840
+ "bbox": [
841
+ 178,
842
+ 588,
843
+ 800,
844
+ 614
845
+ ],
846
+ "page_idx": 8
847
+ },
848
+ {
849
+ "type": "text",
850
+ "text": "Jan Philip Göpfert, André Artelt, Heiko Wersing, and Barbara Hammer (2020). “Adversarial attacks hidden in plain sight”. In: Symposium on Intelligent Data Analysis. arXiv: 1902.09286. ",
851
+ "bbox": [
852
+ 173,
853
+ 621,
854
+ 823,
855
+ 647
856
+ ],
857
+ "page_idx": 8
858
+ },
859
+ {
860
+ "type": "text",
861
+ "text": "Chuan Guo, Mayank Rana, Moustapha Cisse, and Laurens van der Maaten (2017). Countering Adversarial Images using Input Transformations. arXiv: 1711.00117. ",
862
+ "bbox": [
863
+ 176,
864
+ 654,
865
+ 803,
866
+ 680
867
+ ],
868
+ "page_idx": 8
869
+ },
870
+ {
871
+ "type": "text",
872
+ "text": "Matthias Hein and Maksym Andriushchenko (2017). Formal Guarantees on the Robustness of a Classifier against Adversarial Manipulation. arXiv: 1705.08475. ",
873
+ "bbox": [
874
+ 176,
875
+ 686,
876
+ 805,
877
+ 713
878
+ ],
879
+ "page_idx": 8
880
+ },
881
+ {
882
+ "type": "text",
883
+ "text": "Dan Hendrycks, Mantas Mazeika, Saurav Kadavath, and Dawn Song (2019). “Using Self-Supervised Learning Can Improve Model Robustness and Uncertainty”. In: Advances in Neural Information Processing Systems 32, pp. 15663–15674. arXiv: 1901.09960. ",
884
+ "bbox": [
885
+ 174,
886
+ 719,
887
+ 825,
888
+ 758
889
+ ],
890
+ "page_idx": 8
891
+ },
892
+ {
893
+ "type": "text",
894
+ "text": "Sebastian Houben, Johannes Stallkamp, Jan Salmen, Marc Schlipsing, and Christian Igel (2013). “Detection of Traffic Signs in Real-World Images: The German Traffic Sign Detection Benchmark”. In: IJCNN. 1288. ",
895
+ "bbox": [
896
+ 171,
897
+ 763,
898
+ 825,
899
+ 791
900
+ ],
901
+ "page_idx": 8
902
+ },
903
+ {
904
+ "type": "text",
905
+ "text": "Diederik P. Kingma and Jimmy Ba (2014). Adam: A Method for Stochastic Optimization. arXiv: 1412.6980. ",
906
+ "bbox": [
907
+ 171,
908
+ 796,
909
+ 825,
910
+ 811
911
+ ],
912
+ "page_idx": 8
913
+ },
914
+ {
915
+ "type": "text",
916
+ "text": "Alex Krizhevsky (2009). Learning multiple layers of features from tiny images. Tech. rep. ",
917
+ "bbox": [
918
+ 173,
919
+ 818,
920
+ 709,
921
+ 832
922
+ ],
923
+ "page_idx": 8
924
+ },
925
+ {
926
+ "type": "text",
927
+ "text": "M. Lecuyer, V. Atlidakis, R. Geambasu, D. Hsu, and S. Jana (2019). “Certified Robustness to Adversarial Examples with Differential Privacy”. In: 2019 IEEE Symposium on Security and Privacy (SP), pp. 656–672. arXiv: 1802.03471. ",
928
+ "bbox": [
929
+ 174,
930
+ 837,
931
+ 821,
932
+ 876
933
+ ],
934
+ "page_idx": 8
935
+ },
936
+ {
937
+ "type": "text",
938
+ "text": "Guang-He Lee, Yang Yuan, Shiyu Chang, and Tommi Jaakkola (2019). “Tight Certificates of Adversarial Robustness for Randomly Smoothed Classifiers”. In: Advances in Neural Information Processing Systems 32, pp. 4910–4921. ",
939
+ "bbox": [
940
+ 169,
941
+ 882,
942
+ 826,
943
+ 921
944
+ ],
945
+ "page_idx": 8
946
+ },
947
+ {
948
+ "type": "text",
949
+ "text": "Bai Li, Changyou Chen, Wenlin Wang, and Lawrence Carin (2019). “Certified Adversarial Robustness with Additive Noise”. In: Advances in Neural Information Processing Systems 32, pp. 9464–9474. \nFei-Fei Li, Andrej Karpathy, and Justin Johnson (2016). CS231n: Convolutional Neural Networks for Visual Recognition. [Online; accessed March 28, 2020]. U R L: http://cs231n.stanford.edu/2016/project.html. \nAleksander Madry, Aleksandar Makelov, Ludwig Schmidt, Dimitris Tsipras, and Adrian Vladu (2018). “Towards Deep Learning Models Resistant to Adversarial Attacks”. In: ICLR. arXiv: 1706.06083. \nSaeed Mahloujifar, Xiao Zhang, Mohammad Mahmoody, and David Evans (2019). “Empirically Measuring Concentration: Fundamental Limits on Intrinsic Robustness”. In: Advances in Neural Information Processing Systems 32, pp. 5209–5220. \nPratyush Maini, Eric Wong, and Zico Kolter (2020). “Adversarial Robustness Against the Union of Multiple Threat Models”. en. In: Proceedings of the International Conference on Machine Learning 1. \nChengzhi Mao, Ziyuan Zhong, Junfeng Yang, Carl Vondrick, and Baishakhi Ray (2019). “Metric Learning for Adversarial Robustness”. In: Advances in Neural Information Processing Systems 32, pp. 480–491. arXiv: 1909.00900. \nAmir Najafi, Shin-ichi Maeda, Masanori Koyama, and Takeru Miyato (2019). “Robustness to Adversarial Perturbations in Learning from Incomplete Data”. In: Advances in Neural Information Processing Systems 32, pp. 5541–5551. \nRafael Pinot, Laurent Meunier, Alexandre Araujo, Hisashi Kashima, Florian Yger, Cedric Gouy-Pailler, and Jamal Atif (2019). “Theoretical evidence for adversarial robustness through randomization”. In: Advances in Neural Information Processing Systems 32, pp. 11838–11848. \nChongli Qin et al. (2019). “Adversarial Robustness through Local Linearization”. In: Advances in Neural Information Processing Systems 32, pp. 13847–13856. \nJonas Rauber, Wieland Brendel, and Matthias Bethge (2017). Foolbox: A Python toolbox to benchmark the robustness of machine learning models. arXiv: 1707.04131. \nLeslie Rice, Eric Wong, and Zico Kolter (2020). “Overfitting in adversarially robust deep learning”. en. In: Proceedings of the International Conference on Machine Learning 1. \nVikash Sehwag, Shiqi Wang, Prateek Mittal, and Suman Jana (2020). HYDRA: Pruning Adversarially Robust Neural Networks. arXiv: 2002.10509 [cs.CV]. \nSahil Singla and Soheil Feizi (2020). “Second-Order Provable Defenses against Adversarial Attacks”. en. In: Proceedings of the International Conference on Machine Learning 1. \nChuanbiao Song, Kun He, Jiadong Lin, Liwei Wang, and John E. Hopcroft (Apr. 2020). “Robust Local Features for Improving the Generalization of Adversarial Training”. en. In. \nChristian Szegedy, Wojciech Zaremba, Ilya Sutskever, Joan Bruna, Dumitru Erhan, Ian J. Goodfellow, and Rob Fergus (2014). Intriguing properties of neural networks. arXiv: 1312.6199. \nFlorian Tramer and Dan Boneh (2019). “Adversarial Training and Robustness for Multiple Perturbations”. In: Advances in Neural Information Processing Systems 32, pp. 5866–5876. \nYisen Wang, Difan Zou, Jinfeng Yi, James Bailey, Xingjun Ma, and Quanquan Gu (Apr. 2020). “Improving Adversarial Robustness Requires Revisiting Misclassified Examples”. en. In. \nEric Wong and Zico Kolter (2018). “Provable Defenses against Adversarial Examples via the Convex Outer Adversarial Polytope”. In: Proceedings of the 35th International Conference on Machine Learning. arXiv: 1711.00851. \nEric Wong, Leslie Rice, and J. Zico Kolter (Apr. 2020). “Fast is better than free: Revisiting adversarial training”. en. In. \nEric Wong, Frank R. Schmidt, and J. Zico Kolter (2019). “Wasserstein Adversarial Examples via Projected Sinkhorn Iterations”. In: Proceedings of the 36th International Conference on Machine Learning, ICML. Vol. 97. Proceedings of Machine Learning Research, pp. 6808–6817. \nDongxian Wu, Shu-tao Xia, and Yisen Wang (2020). Adversarial Weight Perturbation Helps Robust Generalization. arXiv: 2004.05884. \nHan Xiao, Kashif Rasul, and Roland Vollgraf (2017). Fashion-MNIST: a Novel Image Dataset for Benchmarking Machine Learning Algorithms. arXiv: 1708.07747. ",
950
+ "bbox": [
951
+ 171,
952
+ 64,
953
+ 826,
954
+ 921
955
+ ],
956
+ "page_idx": 9
957
+ },
958
+ {
959
+ "type": "image",
960
+ "img_path": "images/be00d18e3527505ed1703a96b10dbfea1454075cd95a7135371b7d4ce4b8f8bc.jpg",
961
+ "image_caption": [
962
+ "Figure 6: Example of a data distribution and two linear classifiers such that the $\\ell _ { 2 }$ robustness curves intersect, but not the $\\ell _ { \\infty }$ robustness curves. "
963
+ ],
964
+ "image_footnote": [],
965
+ "bbox": [
966
+ 222,
967
+ 104,
968
+ 776,
969
+ 229
970
+ ],
971
+ "page_idx": 10
972
+ },
973
+ {
974
+ "type": "text",
975
+ "text": "Cihang Xie and Alan Yuille (Apr. 2020). “Intriguing Properties of Adversarial Training at Scale”. en. In. ",
976
+ "bbox": [
977
+ 176,
978
+ 309,
979
+ 790,
980
+ 324
981
+ ],
982
+ "page_idx": 10
983
+ },
984
+ {
985
+ "type": "text",
986
+ "text": "Jingfeng Zhang, Xilie Xu, Bo Han, Gang Niu, Lizhen Cui, Masashi Sugiyama, and Mohan Kankanhalli (2020). “Attacks Which Do Not Kill Training Make Adversarial Learning Stronger”. en. In: Proceedings of the International Conference on Machine Learning 1. ",
987
+ "bbox": [
988
+ 178,
989
+ 329,
990
+ 828,
991
+ 369
992
+ ],
993
+ "page_idx": 10
994
+ },
995
+ {
996
+ "type": "text",
997
+ "text": "A R O B U S T N E S S C U R V E S W I T H A R B I T R A R Y I N T E R S E C T I O N S ",
998
+ "text_level": 1,
999
+ "bbox": [
1000
+ 173,
1001
+ 397,
1002
+ 769,
1003
+ 412
1004
+ ],
1005
+ "page_idx": 10
1006
+ },
1007
+ {
1008
+ "type": "text",
1009
+ "text": "Theorem 1. Let $T _ { 1 } , T _ { 2 } \\subset \\mathbb { R } ^ { > 0 }$ be two disjoint finite sets. Then there exists a distribution $P$ on $\\mathbb { R } \\times \\{ 0 , 1 \\}$ and two classifiers $c _ { 1 } , c _ { 2 } : \\mathbb { R } \\{ 0 , 1 \\}$ such that $R _ { | \\cdot | } ^ { c _ { 1 } } ( t ) < R _ { | \\cdot | } ^ { c _ { 2 } } ( t )$ for all $t \\in T _ { 1 }$ and $R _ { | \\cdot | } ^ { c _ { 1 } } ( t ) > R _ { | \\cdot | } ^ { c _ { 2 } } ( t )$ for all $t \\in T _ { 2 }$ . ",
1010
+ "bbox": [
1011
+ 173,
1012
+ 431,
1013
+ 825,
1014
+ 481
1015
+ ],
1016
+ "page_idx": 10
1017
+ },
1018
+ {
1019
+ "type": "text",
1020
+ "text": "Proof. Without loss of generality, assume that $T _ { 1 } = \\{ t _ { 1 } , \\ldots , t _ { n } \\}$ and $T _ { 2 } ~ = ~ \\{ t _ { 1 } ^ { \\prime } , \\ldots , t _ { n } ^ { \\prime } \\}$ with $t _ { i } ~ < ~ t _ { i } ^ { \\prime } < t _ { i + 1 }$ for $i \\in \\{ 1 , \\ldots , n \\}$ . We will construct $c _ { 1 } , c _ { 2 }$ such that the robustness curves $R _ { | \\cdot | } ^ { c _ { 1 } } ( \\cdot ) , R _ { | \\cdot | } ^ { c _ { 2 } } ( \\cdot )$ intersect at exactly the points $( t _ { i } + t _ { i } ^ { \\prime } ) / 2$ and $( t _ { i } + t _ { i + 1 } ^ { \\prime } ) / 2$ on the interval $( t _ { 1 } , t _ { n } ^ { \\prime } ]$ . Let $d = t _ { n } ^ { \\prime }$ and ",
1021
+ "bbox": [
1022
+ 173,
1023
+ 517,
1024
+ 825,
1025
+ 579
1026
+ ],
1027
+ "page_idx": 10
1028
+ },
1029
+ {
1030
+ "type": "equation",
1031
+ "img_path": "images/7ac59f755ee06e54576a1961cd268bfb8ab635fbef5dbd5b2ab3cde69c280535.jpg",
1032
+ "text": "$$\nP \\left( - d - \\frac { t _ { i } + t _ { i + 1 } ^ { \\prime } } { 2 } , 0 \\right) = P \\left( d + \\frac { t _ { i } + t _ { i } ^ { \\prime } } { 2 } , 1 \\right) = \\frac { 2 } { 4 n + 1 }\n$$",
1033
+ "text_format": "latex",
1034
+ "bbox": [
1035
+ 303,
1036
+ 585,
1037
+ 692,
1038
+ 622
1039
+ ],
1040
+ "page_idx": 10
1041
+ },
1042
+ {
1043
+ "type": "text",
1044
+ "text": "and ",
1045
+ "bbox": [
1046
+ 173,
1047
+ 633,
1048
+ 202,
1049
+ 647
1050
+ ],
1051
+ "page_idx": 10
1052
+ },
1053
+ {
1054
+ "type": "equation",
1055
+ "img_path": "images/10d8a8ea4dd3bc830bc723f74004ade1ac5310ffc44f56f96e2df4c88440816c.jpg",
1056
+ "text": "$$\nP \\left( - d - \\frac { t _ { 1 } } { 2 } , 0 \\right) = \\frac { 1 } { 4 n + 1 } .\n$$",
1057
+ "text_format": "latex",
1058
+ "bbox": [
1059
+ 400,
1060
+ 654,
1061
+ 596,
1062
+ 688
1063
+ ],
1064
+ "page_idx": 10
1065
+ },
1066
+ {
1067
+ "type": "text",
1068
+ "text": "Let $c _ { 1 } ( x ) = \\mathbb { 1 } _ { x \\geqslant - d }$ and $c _ { 2 } ( x ) = \\mathbb { 1 } _ { x \\geqslant d }$ . Both classifiers have perfect accuracy on $P$ , meaning that $R _ { | \\cdot | } ^ { c _ { i } } ( 0 ) = 0$ . The closest point to the decision boundary of $c _ { 1 }$ is $- d - \\frac { t _ { 1 } } { 2 }$ with weight 14n+1 , so $\\begin{array} { r } { R _ { | \\cdot | } ^ { c _ { 1 } } ( \\frac { t _ { 1 } } { 2 } ) = \\frac { 1 } { 4 n + 1 } } \\end{array}$ . The second-closest point is $\\begin{array} { r } { - d - \\frac { t _ { 1 } + t _ { 2 } ^ { \\prime } } { 2 } } \\end{array}$ with weight $\\frac { 2 } { 4 n + 1 }$ , so $\\begin{array} { r } { R _ { | \\cdot | } ^ { c _ { 1 } } ( \\frac { t _ { 1 } + t _ { 2 } ^ { \\prime } } { 2 } ) = \\frac { 3 } { 4 n + 1 } } \\end{array}$ , the closest point to the deci, the second-closest point is undary of with wei $c _ { 2 }$ t + t1+t012 with weight $\\frac { 2 } { 4 n + 1 }$ ,, so Rc2|·| ( t1+t012 ) $d \\frac { t _ { 2 } + t _ { 2 } ^ { \\prime } } { 2 }$ h 24n+1 , so Rc2|·| ( t2 $\\begin{array} { r } { R _ { | \\cdot | } ^ { c _ { 2 } } ( \\frac { t _ { 2 } + t _ { 2 } ^ { \\prime } } { 2 } ) = \\frac { 4 } { 4 n + 1 } } \\end{array}$ and so on. □ ",
1069
+ "bbox": [
1070
+ 173,
1071
+ 699,
1072
+ 828,
1073
+ 810
1074
+ ],
1075
+ "page_idx": 10
1076
+ },
1077
+ {
1078
+ "type": "text",
1079
+ "text": "Example 1. To see that robustness curve intersections do not transfer between different $\\ell _ { p }$ norms, consider the example in Figure 6. The blue and orange linear classifiers both perfectly separate the displayed data. The $\\ell _ { \\infty }$ robustness curves of the classifiers do not intersect, meaning that the robust error of the blue classifier is always better than that of the orange classifier. In $\\ell _ { 2 }$ distance, the robustness curves intersect, so that there is a range of perturbation sizes where the orange classifier has better robust error than the blue classifier. ",
1080
+ "bbox": [
1081
+ 173,
1082
+ 839,
1083
+ 826,
1084
+ 924
1085
+ ],
1086
+ "page_idx": 10
1087
+ },
1088
+ {
1089
+ "type": "text",
1090
+ "text": "B R O B U S T N E S S C U RV E D E P E N D E N C E O F S H A P E O N D I S TA N C E F U N C T I O N ",
1091
+ "text_level": 1,
1092
+ "bbox": [
1093
+ 166,
1094
+ 102,
1095
+ 789,
1096
+ 136
1097
+ ],
1098
+ "page_idx": 11
1099
+ },
1100
+ {
1101
+ "type": "text",
1102
+ "text": "Theorem 2. Let $f ( x ) = \\mathrm { s g n } ( w ^ { T } x + b )$ be a linear classifier. Then the shape of the robustness curve for $f$ regarding an $\\ell _ { p }$ norm-induced distance does not depend on the choice of $p$ . It holds that ",
1103
+ "bbox": [
1104
+ 171,
1105
+ 150,
1106
+ 825,
1107
+ 181
1108
+ ],
1109
+ "page_idx": 11
1110
+ },
1111
+ {
1112
+ "type": "equation",
1113
+ "img_path": "images/1dfaf9e2154563ce544b5516c57c844fc4e9cc102061c473bcc0eeb43203c0a9.jpg",
1114
+ "text": "$$\nR _ { \\ell _ { p _ { 1 } } } ^ { f } ( \\varepsilon ) = R _ { \\ell _ { p _ { 2 } } } ^ { f } ( c \\cdot \\varepsilon ) \\quad \\forall \\varepsilon f o r c = \\frac { \\| w \\| _ { q _ { 1 } } } { \\| w \\| _ { q _ { 2 } } } , q _ { i } = \\frac { p _ { i } } { p _ { i } - 1 } .\n$$",
1115
+ "text_format": "latex",
1116
+ "bbox": [
1117
+ 308,
1118
+ 186,
1119
+ 689,
1120
+ 222
1121
+ ],
1122
+ "page_idx": 11
1123
+ },
1124
+ {
1125
+ "type": "text",
1126
+ "text": "Lemma 1. Let $x \\in \\mathbb { R } ^ { m }$ with $w ^ { T } x + b \\neq 0 .$ . Let $p \\in [ 1 , \\infty ]$ and $q$ such that $\\textstyle { \\frac { 1 } { p } } + { \\frac { 1 } { q } } = 1$ , where we take $\\begin{array} { r } { \\frac { 1 } { \\infty } = 0 } \\end{array}$ . Then ",
1127
+ "bbox": [
1128
+ 173,
1129
+ 228,
1130
+ 825,
1131
+ 263
1132
+ ],
1133
+ "page_idx": 11
1134
+ },
1135
+ {
1136
+ "type": "equation",
1137
+ "img_path": "images/7a725a7851ef2553a25a23bdf7449dd5bd8ee390aa7674932f86101f6d97cb32.jpg",
1138
+ "text": "$$\n\\operatorname* { m i n } \\{ \\| \\delta \\| _ { p } : \\mathrm { s g n } ( w ^ { T } ( x + \\delta ) + b ) \\neq \\mathrm { s g n } ( w ^ { T } x + b ) \\} = \\frac { | w ^ { T } + b | } { \\| w \\| _ { q } }\n$$",
1139
+ "text_format": "latex",
1140
+ "bbox": [
1141
+ 284,
1142
+ 270,
1143
+ 715,
1144
+ 306
1145
+ ],
1146
+ "page_idx": 11
1147
+ },
1148
+ {
1149
+ "type": "text",
1150
+ "text": "and the minimum is attained by ",
1151
+ "bbox": [
1152
+ 173,
1153
+ 311,
1154
+ 382,
1155
+ 327
1156
+ ],
1157
+ "page_idx": 11
1158
+ },
1159
+ {
1160
+ "type": "equation",
1161
+ "img_path": "images/cc5cd8e58a8e827294c4d3cd2689bbf2b1031df45c33fb12be898cd7e215442d.jpg",
1162
+ "text": "$$\n\\delta = \\left\\{ \\begin{array} { l l } { \\frac { - w ^ { T } x - b } { \\| w \\| _ { \\infty } } \\operatorname { s g n } ( w _ { j } ) e _ { j } , j = \\arg \\operatorname* { m a x } _ { i } \\left| w _ { i } \\right| } & { p = 1 } \\\\ { \\frac { - w ^ { T } x - b } { \\| w \\| _ { q } ^ { q } } ( \\operatorname { s g n } ( w _ { i } ) | w _ { i } | ^ { \\frac { 1 } { p - 1 } } ) _ { i = 1 } ^ { d } } & { p \\in ( 1 , \\infty ] . } \\end{array} \\right.\n$$",
1163
+ "text_format": "latex",
1164
+ "bbox": [
1165
+ 300,
1166
+ 332,
1167
+ 696,
1168
+ 377
1169
+ ],
1170
+ "page_idx": 11
1171
+ },
1172
+ {
1173
+ "type": "text",
1174
+ "text": "where $x ^ { \\frac { 1 } { \\infty - 1 } } = x ^ { 0 } = 1$ and $e _ { j }$ is the $j$ -th unit vector. ",
1175
+ "bbox": [
1176
+ 174,
1177
+ 385,
1178
+ 519,
1179
+ 402
1180
+ ],
1181
+ "page_idx": 11
1182
+ },
1183
+ {
1184
+ "type": "text",
1185
+ "text": "Proof of Theorem 2. By Hölder’s inequality, for any $\\delta$ , ",
1186
+ "bbox": [
1187
+ 173,
1188
+ 416,
1189
+ 534,
1190
+ 433
1191
+ ],
1192
+ "page_idx": 11
1193
+ },
1194
+ {
1195
+ "type": "equation",
1196
+ "img_path": "images/3c9b79f1a25415e842eb6c7d64ea97f8e1fcc353d0ca2f1599101fae1cc562b4.jpg",
1197
+ "text": "$$\n\\sum _ { i = 1 } ^ { m } | w _ { i } \\delta _ { i } | \\leqslant \\| \\delta \\| _ { p } \\| w \\| _ { q } .\n$$",
1198
+ "text_format": "latex",
1199
+ "bbox": [
1200
+ 415,
1201
+ 438,
1202
+ 583,
1203
+ 479
1204
+ ],
1205
+ "page_idx": 11
1206
+ },
1207
+ {
1208
+ "type": "text",
1209
+ "text": "For $\\delta$ such that $\\operatorname { s g n } ( w ^ { T } ( x + \\delta ) + b ) \\neq \\operatorname { s g n } ( w ^ { T } x + b )$ it follows that ",
1210
+ "bbox": [
1211
+ 174,
1212
+ 486,
1213
+ 624,
1214
+ 503
1215
+ ],
1216
+ "page_idx": 11
1217
+ },
1218
+ {
1219
+ "type": "equation",
1220
+ "img_path": "images/7d0ef6447672076cc0f7e35d8e2a535f5538685b1c5959b97b6b84fd5de08796.jpg",
1221
+ "text": "$$\n\\| \\delta \\| _ { p } \\geqslant \\frac { \\sum _ { i = 1 } ^ { m } \\left| w _ { i } \\delta _ { i } \\right| } { \\| w \\| _ { q } } \\geqslant \\frac { \\left| \\sum _ { i = 1 } ^ { m } w _ { i } \\delta _ { i } \\right| } { \\| w \\| _ { q } } \\geqslant \\frac { | w ^ { T } x + b | } { \\| w \\| ^ { q } } .\n$$",
1222
+ "text_format": "latex",
1223
+ "bbox": [
1224
+ 323,
1225
+ 508,
1226
+ 676,
1227
+ 546
1228
+ ],
1229
+ "page_idx": 11
1230
+ },
1231
+ {
1232
+ "type": "text",
1233
+ "text": "Using the identity $q \\ = \\ { \\frac { p } { p - 1 } }$ , it is easy to check that for every $p \\in [ 1 , \\infty ]$ , with $\\delta$ as defined in Equation (3), ",
1234
+ "bbox": [
1235
+ 174,
1236
+ 558,
1237
+ 826,
1238
+ 590
1239
+ ],
1240
+ "page_idx": 11
1241
+ },
1242
+ {
1243
+ "type": "text",
1244
+ "text": "1. $w ^ { T } \\delta = - w ^ { T } x - b$ , so that $\\boldsymbol { w } ^ { T } ( \\boldsymbol { x } + \\boldsymbol { \\delta } ) + \\boldsymbol { b } = \\boldsymbol { 0 }$ , and \n2. $\\begin{array} { r } { \\| \\delta \\| _ { p } = \\frac { | \\boldsymbol { w } ^ { T } \\boldsymbol { x } + b | } { \\| \\boldsymbol { w } \\| _ { q } } } \\end{array}$ ",
1245
+ "bbox": [
1246
+ 210,
1247
+ 602,
1248
+ 576,
1249
+ 654
1250
+ ],
1251
+ "page_idx": 11
1252
+ },
1253
+ {
1254
+ "type": "text",
1255
+ "text": "Item 1 shows that $\\delta$ is a feasible point, while Item 2 in combination with Equation (5) shows that $\\| \\delta \\| _ { p }$ is minimal. □ ",
1256
+ "bbox": [
1257
+ 174,
1258
+ 665,
1259
+ 825,
1260
+ 694
1261
+ ],
1262
+ "page_idx": 11
1263
+ },
1264
+ {
1265
+ "type": "text",
1266
+ "text": "Using Lemma 1, we are ready to prove Theorem 2. ",
1267
+ "bbox": [
1268
+ 173,
1269
+ 708,
1270
+ 509,
1271
+ 724
1272
+ ],
1273
+ "page_idx": 11
1274
+ },
1275
+ {
1276
+ "type": "text",
1277
+ "text": "Proof. By definition, ",
1278
+ "bbox": [
1279
+ 173,
1280
+ 738,
1281
+ 313,
1282
+ 755
1283
+ ],
1284
+ "page_idx": 11
1285
+ },
1286
+ {
1287
+ "type": "equation",
1288
+ "img_path": "images/22f8461256796ad1fc42370c445f84dfa5360940441ff12f267765ddfad2b2f7.jpg",
1289
+ "text": "$$\n\\begin{array} { r } { R _ { \\ell _ { p _ { 1 } } } ^ { f } ( \\varepsilon ) = P ( \\underbrace { \\{ ( x , y ) \\mathrm { s . t . } \\exists \\delta : \\| \\delta \\| _ { p _ { 1 } } \\leqslant \\varepsilon \\land f ( x + \\delta ) \\neq y \\} } _ { \\mathcal { R } _ { p _ { 1 } } ( \\varepsilon ) } ) . } \\end{array}\n$$",
1290
+ "text_format": "latex",
1291
+ "bbox": [
1292
+ 297,
1293
+ 760,
1294
+ 699,
1295
+ 801
1296
+ ],
1297
+ "page_idx": 11
1298
+ },
1299
+ {
1300
+ "type": "text",
1301
+ "text": "We can split $\\mathcal { R } _ { p _ { 1 } } ( \\varepsilon )$ into the disjoint sets ",
1302
+ "bbox": [
1303
+ 173,
1304
+ 808,
1305
+ 444,
1306
+ 824
1307
+ ],
1308
+ "page_idx": 11
1309
+ },
1310
+ {
1311
+ "type": "equation",
1312
+ "img_path": "images/ed93c8cc5e6edbd1ec0e41103a43d62f0b15fe4c3e3ff0caad50580ec1934f3c.jpg",
1313
+ "text": "$$\n\\begin{array} { r } { \\underbrace { \\left\\{ \\left( x , y \\right) : f ( x ) \\neq y \\right\\} } _ { = M } } \\\\ { \\dot { \\cup } \\qquad } \\\\ { \\underbrace { \\left\\{ \\left( x , y \\right) \\mathrm { s . t . } \\exists \\delta : \\| \\delta \\| _ { p _ { 1 } } \\leqslant \\varepsilon \\wedge y = f ( x ) \\neq f ( x + \\delta ) \\right\\} } _ { = B _ { p _ { 1 } } ( \\varepsilon ) } . } \\end{array}\n$$",
1314
+ "text_format": "latex",
1315
+ "bbox": [
1316
+ 316,
1317
+ 829,
1318
+ 678,
1319
+ 922
1320
+ ],
1321
+ "page_idx": 11
1322
+ },
1323
+ {
1324
+ "type": "text",
1325
+ "text": "Choose $q _ { 1 } , q _ { 2 }$ such that $\\begin{array} { r } { \\frac { 1 } { p _ { i } } + \\frac { 1 } { q _ { i } } = 1 } \\end{array}$ . By Lemma 1, and using that $f ( x ) = \\mathrm { s g n } ( w ^ { T } x + b )$ ",
1326
+ "bbox": [
1327
+ 173,
1328
+ 102,
1329
+ 761,
1330
+ 121
1331
+ ],
1332
+ "page_idx": 12
1333
+ },
1334
+ {
1335
+ "type": "equation",
1336
+ "img_path": "images/21fcf5b1d8edd14072c4ade3019e7a430995d4286e9d3136be097ceb75328329.jpg",
1337
+ "text": "$$\n\\begin{array} { r l } & { B _ { p _ { 1 } } ( \\varepsilon ) = \\{ ( x , y ) : \\mathrm { s g n } ( w ^ { T } x + b ) = y \\wedge \\displaystyle \\frac { | w ^ { T } x + b | } { \\| w \\| _ { q _ { 1 } } } \\leqslant \\varepsilon \\} } \\\\ & { \\qquad = \\{ ( x , y ) : \\mathrm { s g n } ( w ^ { T } x + b ) = y \\wedge \\displaystyle \\frac { | w ^ { T } x + b | } { \\| w \\| _ { q _ { 2 } } } \\leqslant \\frac { \\| w \\| _ { q _ { 1 } } } { \\| w \\| _ { q _ { 2 } } } \\varepsilon \\} } \\\\ & { \\qquad = B _ { p _ { 2 } } \\left( \\displaystyle \\frac { \\| w \\| _ { q _ { 1 } } } { \\| w \\| _ { q _ { 2 } } } \\varepsilon \\right) . } \\end{array}\n$$",
1338
+ "text_format": "latex",
1339
+ "bbox": [
1340
+ 279,
1341
+ 127,
1342
+ 717,
1343
+ 238
1344
+ ],
1345
+ "page_idx": 12
1346
+ },
1347
+ {
1348
+ "type": "text",
1349
+ "text": "This shows that ",
1350
+ "bbox": [
1351
+ 173,
1352
+ 242,
1353
+ 279,
1354
+ 257
1355
+ ],
1356
+ "page_idx": 12
1357
+ },
1358
+ {
1359
+ "type": "equation",
1360
+ "img_path": "images/b1129f4504643ae84de9401a43d581d59dad144a939af2e5a35ef804899bf915.jpg",
1361
+ "text": "$$\n\\begin{array} { r l } & { R _ { \\ell _ { p _ { 1 } } } ^ { f } ( \\varepsilon ) = P ( M ) + P ( B _ { p _ { 1 } } ( \\varepsilon ) ) } \\\\ & { \\qquad = P ( M ) + P \\left( B _ { p _ { 2 } } \\left( \\frac { \\| w \\| _ { q _ { 1 } } } { \\| w \\| _ { q _ { 2 } } } \\varepsilon \\right) \\right) } \\\\ & { \\qquad = R _ { \\ell _ { p _ { 2 } } } ^ { f } \\left( \\frac { \\| w \\| _ { q _ { 1 } } } { \\| w \\| _ { q _ { 2 } } } \\varepsilon \\right) . } \\end{array}\n$$",
1362
+ "text_format": "latex",
1363
+ "bbox": [
1364
+ 354,
1365
+ 261,
1366
+ 642,
1367
+ 358
1368
+ ],
1369
+ "page_idx": 12
1370
+ },
1371
+ {
1372
+ "type": "text",
1373
+ "text": "C E X P E R I M E N T A L D E T A I L S ",
1374
+ "text_level": 1,
1375
+ "bbox": [
1376
+ 176,
1377
+ 397,
1378
+ 455,
1379
+ 412
1380
+ ],
1381
+ "page_idx": 12
1382
+ },
1383
+ {
1384
+ "type": "text",
1385
+ "text": "C . 1 M O D E L T R A I N I N G ",
1386
+ "text_level": 1,
1387
+ "bbox": [
1388
+ 176,
1389
+ 428,
1390
+ 370,
1391
+ 443
1392
+ ],
1393
+ "page_idx": 12
1394
+ },
1395
+ {
1396
+ "type": "text",
1397
+ "text": "We use the same model architecture as Croce, Andriushchenko, and Hein (2019) and Wong and Kolter (2018). Unless explicitly stated otherwise, the trained models are taken from Croce, Andriushchenko, and Hein (2019). The exact architecture of the model is: Convolutional layer (number of filters: 16, size: $4 \\mathbf { x } 4$ , stride: 2), ReLu activation function, convolutional layer (number of filters: 32, size: 4x4, stride: 2), ReLu activation function, fully connected layer (number of units: 100), ReLu activation function, output layer (number of units depends on the number of classes). All models are trained with Adam Optimizer (Kingma and Ba 2014) for 100 epochs, with batch size 128 and a default learning rate of 0.001. More information on the training can be found in the experimental details section of the appendix of Croce, Andriushchenko, and Hein (2019). The trained models are those made publicly available by Croce, Andriushchenko, and Hein (2019)5and Croce and Hein $( 2 0 2 0 ) ^ { 6 }$ . ",
1398
+ "bbox": [
1399
+ 173,
1400
+ 454,
1401
+ 826,
1402
+ 593
1403
+ ],
1404
+ "page_idx": 12
1405
+ },
1406
+ {
1407
+ "type": "text",
1408
+ "text": "C . 2 A P P R O X I M AT E D R O B U S T N E S S C U R V E S ",
1409
+ "text_level": 1,
1410
+ "bbox": [
1411
+ 174,
1412
+ 612,
1413
+ 534,
1414
+ 625
1415
+ ],
1416
+ "page_idx": 12
1417
+ },
1418
+ {
1419
+ "type": "text",
1420
+ "text": "We use state-of-the-art adversarial attacks to approximate the true minimal distances of input datapoints to the decision boundary of a classifier for our adversarial robustness curves (see Definition 1). We base our selection of attacks on the recommendations of Carlini, Athalye, et al. (2019). Specifically, we use the following attacks: For $\\ell _ { 2 }$ robustness curves we use the $\\ell _ { 2 }$ -attack proposed by Carlini and Wagner (2017) and for $\\ell _ { \\infty }$ robustness curves we use PGD (Madry et al. 2018). For both attacks, we use the implementations of Foolbox (Version 2.4) (Rauber et al. 2017). For the $\\ell _ { \\infty }$ attack, the implementation of Foolbox automatically performs a hyperparameter search over different epsilon and uses the smallest resulting adversarial perturbation. For the rest of the hyperparameters, we use the standard values of the Foolbox implementation. For the $\\ell _ { 2 }$ attack, we increase the number of binary search steps that are used to find the optimal tradeoff-constant between distance and confidence from 5 to 10, which we found empirically to improve the results. For the rest of the hyperparameters, we again use the standard values of the Foolbox implementation. ",
1421
+ "bbox": [
1422
+ 174,
1423
+ 637,
1424
+ 825,
1425
+ 803
1426
+ ],
1427
+ "page_idx": 12
1428
+ },
1429
+ {
1430
+ "type": "text",
1431
+ "text": "C . 3 C O M P U T AT I O N A L A R C H I T E C T U R E ",
1432
+ "text_level": 1,
1433
+ "bbox": [
1434
+ 174,
1435
+ 821,
1436
+ 496,
1437
+ 835
1438
+ ],
1439
+ "page_idx": 12
1440
+ },
1441
+ {
1442
+ "type": "text",
1443
+ "text": "We executed all programs on an architecture with $2 \\mathrm { ~ x ~ }$ Intel Xeon(R) CPU E5-2640 v4 $@$ 2.4 GHz, 2 x Nvidia GeForce GTX 1080 TI 12G and 128 GB RAM. ",
1444
+ "text_level": 1,
1445
+ "bbox": [
1446
+ 176,
1447
+ 847,
1448
+ 823,
1449
+ 875
1450
+ ],
1451
+ "page_idx": 12
1452
+ },
1453
+ {
1454
+ "type": "image",
1455
+ "img_path": "images/9db793b07a403a384bb75869bd85fde777a90dbb40782597b95ccedee7b9665c.jpg",
1456
+ "image_caption": [
1457
+ "Figure 7: Visualization of four images from CIFAR-10 (top row), together with adversarial examples (bottom row), calculated with PGD (Madry et al. 2018) for a model trained with $\\mathtt { M M R } + \\mathtt { A T }$ , Threat Model: $\\ell _ { \\infty } ( \\varepsilon = 2 / 2 5 5 )$ . The resulting perturbation sizes of the adversarial examples are (from left to right) 17/255, 18/255, 18/255, 18/255. Even for perturbation sizes far greater than popular choices of point-wise measures, adversarial examples can be very hard to detect for humans. "
1458
+ ],
1459
+ "image_footnote": [],
1460
+ "bbox": [
1461
+ 232,
1462
+ 107,
1463
+ 754,
1464
+ 270
1465
+ ],
1466
+ "page_idx": 13
1467
+ },
1468
+ {
1469
+ "type": "image",
1470
+ "img_path": "images/f15e3749a59206b3693d421521d5f8fae8a027e3ff208893e0c0979ea6a44480.jpg",
1471
+ "image_caption": [
1472
+ "Figure 8: $\\ell _ { \\infty }$ robustness curves for two state-of-the-art robust models with a large architecture (WideResNet-28-10). The labels indicate the training method (Sehwag2020Hydra: (Sehwag et al. 2020), Wu20Adversarial: (Wu et al. 2020)). The trained models are taken from Croce, Andriushchenko, Sehwag, et al. (2020). The models are trained on the full training set of CIFAR-10, and robustness curves are based on a sample of 1000 points from the test set. "
1473
+ ],
1474
+ "image_footnote": [],
1475
+ "bbox": [
1476
+ 316,
1477
+ 385,
1478
+ 678,
1479
+ 506
1480
+ ],
1481
+ "page_idx": 13
1482
+ },
1483
+ {
1484
+ "type": "text",
1485
+ "text": "D V I S U A L I Z A T I O N O F A D V E R S A R I A L E X A M P L E S ",
1486
+ "text_level": 1,
1487
+ "bbox": [
1488
+ 174,
1489
+ 625,
1490
+ 660,
1491
+ 640
1492
+ ],
1493
+ "page_idx": 13
1494
+ },
1495
+ {
1496
+ "type": "text",
1497
+ "text": "As we pointed out in Section 1, adversarial robustness of classifiers trained on CIFAR-10 is usually evaluated at a perturbation threshold $\\varepsilon \\in \\{ 2 / 2 5 5 , 4 / 2 5 5 , 8 / 2 5 5 \\}$ for the $\\ell _ { \\infty }$ norm. Robustness curves allow us to investigate robustness of classifiers for perturbation thresholds beyond those which are used in the literature. It should not be necessary for the model to be invariant under large perturbations, if these perturbations are clearly perceptible or change the “correct” classification of the input. However, the thresholds that models are currently optimized for are small enough that even larger perturbations may not be perceptible. Figure 7 shows four images of CIFAR-10 (top row), together with adversarial examples (bottom row). With perturbation sizes $\\varepsilon \\in \\{ 1 7 / 2 5 5 , 1 8 / 2 5 5 \\}$ , the perturbations are more than two times larger than the biggest perturbation threshold used in the literature, and still almost imperceptible for untrained humans. ",
1498
+ "bbox": [
1499
+ 173,
1500
+ 656,
1501
+ 826,
1502
+ 796
1503
+ ],
1504
+ "page_idx": 13
1505
+ },
1506
+ {
1507
+ "type": "text",
1508
+ "text": "E R O B U S T N E S S C U RV E S F O R L A R G E R M O D E L S ",
1509
+ "text_level": 1,
1510
+ "bbox": [
1511
+ 174,
1512
+ 820,
1513
+ 640,
1514
+ 837
1515
+ ],
1516
+ "page_idx": 13
1517
+ },
1518
+ {
1519
+ "type": "text",
1520
+ "text": "In Section 3, we demonstrate the usefulness of robustness curves on a small convolutional network architecture used by Croce, Andriushchenko, and Hein (2019). The choice of a small architecture allows us to compute robustness curves for a large number of different defensive strategies with limited computational resources. Figure 8 shows approximate robustness curves for two state-of-theart robust models with a large network architecture (WideResNet-28-10), computed for a sample of ",
1521
+ "bbox": [
1522
+ 174,
1523
+ 854,
1524
+ 825,
1525
+ 924
1526
+ ],
1527
+ "page_idx": 13
1528
+ },
1529
+ {
1530
+ "type": "text",
1531
+ "text": "1000 data points from CIFAR-10. Due to the small number of points used, the approximation may be rough, so the following observations should be taken with a grain of salt. ",
1532
+ "bbox": [
1533
+ 171,
1534
+ 103,
1535
+ 823,
1536
+ 132
1537
+ ],
1538
+ "page_idx": 14
1539
+ },
1540
+ {
1541
+ "type": "text",
1542
+ "text": "1. Both robust models are indeed much more robust than the model obtained by standard training even for perturbation thresholds that are significantly larger than the threshold of $8 / 2 5 5$ that the models are optimized for. This observation may help decide whether it is worthwhile to stop using a conventionally trained model, sacrificing accuracy for robustness. \n2. Wu et al. (2020) has slightly worse accuracy than Sehwag et al. (2020) roughly up to perturbation size $1 / 2 5 5$ . This is a trade-off for better accuracy between perturbation sizes $\\bar { 4 } / 2 5 5$ and 0.1. From perturbation size 0.1 onward, Sehwag et al. (2020) appears to have slightly better accuracy than Wu et al. (2020). This observation may help decide which of the two robust models is preferable, based on the robustness requirements of a concrete application. \n3. The gap between the performance of $\\mathrm { W u }$ et al. (2020) and Sehwag et al. (2020) is even wider at perturbation size 0.04 than $8 / 2 5 5$ , but overall, the robustness curves of the robust models are quite similar. This observation may help decide whether it is worthwhile to switch from one model to the other, if one of the models is already in use or preferable for other reasons. ",
1543
+ "bbox": [
1544
+ 212,
1545
+ 143,
1546
+ 826,
1547
+ 349
1548
+ ],
1549
+ "page_idx": 14
1550
+ }
1551
+ ]
parse/train/33TBJachvOX/33TBJachvOX_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/33TBJachvOX/33TBJachvOX_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/train/5NA1PinlGFu/images/02ece58102311cbc4bafe0865916d79b7b13d6a3e956a5afa2a863720fc65f04.jpg ADDED

Git LFS Details

  • SHA256: 695c5da26db51e60fe7e3cae2898f1e77494ddf153afe551c1ae7c93f87365fe
  • Pointer size: 130 Bytes
  • Size of remote file: 45.7 kB
parse/train/5NA1PinlGFu/images/17494eac5674b7693f554003e51f02f09f6d9fcb64ed950b7580b9bb8d98f424.jpg ADDED

Git LFS Details

  • SHA256: fd22f9c3a18ccb4003bbf8a8a635881010e0b754967f4d925a4d612e00137ec5
  • Pointer size: 131 Bytes
  • Size of remote file: 423 kB
parse/train/5NA1PinlGFu/images/175e5d038eb47f1d59a41863018621b1cf61d4df3c3108d094c88dc7bef53f1b.jpg ADDED

Git LFS Details

  • SHA256: 34735e07508e903bf23aa02a747ab440b52fa563ea143b573a049015f89fb259
  • Pointer size: 129 Bytes
  • Size of remote file: 6.86 kB
parse/train/5NA1PinlGFu/images/21f05eca9b5c73c889c00c7a222bb67bae333cbea2b1aa76480ccacb1136bccd.jpg ADDED

Git LFS Details

  • SHA256: 6962308591a732895138808bd15f6eca2d5c5dd621e1eb8f61f26aa7e0f78a88
  • Pointer size: 130 Bytes
  • Size of remote file: 25.9 kB
parse/train/5NA1PinlGFu/images/29f4b17adb7e8fab2caf533355e6e98c46bacb94f3c46142652c8fce48d2c1a3.jpg ADDED

Git LFS Details

  • SHA256: b9f703ece5c1b6a9bbe2f8a391289b8f10849e5e6503d09c82132b34490089e0
  • Pointer size: 130 Bytes
  • Size of remote file: 47.9 kB
parse/train/5NA1PinlGFu/images/39799c2430abfde17b8a77d5aab243cb4997ac8fc8c5a4201e48ed6b90f52882.jpg ADDED

Git LFS Details

  • SHA256: 46485aec3f4f92477635d3a8206bf5353f40918be5219d4994c61e9cf45ccfd1
  • Pointer size: 131 Bytes
  • Size of remote file: 117 kB
parse/train/5NA1PinlGFu/images/3c90190e75a06959b50c737768e4dde22f6d004be425387ac08f2126056c7481.jpg ADDED

Git LFS Details

  • SHA256: ebf10fcf594d77b84737a65e9049fca8e1c0fc0ee95590479b1f9a8e21336d91
  • Pointer size: 130 Bytes
  • Size of remote file: 88 kB
parse/train/5NA1PinlGFu/images/43e82d6670b41487a5bb37c210b46ecbade28ac0b5b35475d156285597bda00f.jpg ADDED

Git LFS Details

  • SHA256: c13cc145a231cef80ced59b9728320b6339c3974a5ed9613894332b653c4f1c8
  • Pointer size: 130 Bytes
  • Size of remote file: 27.6 kB
parse/train/5NA1PinlGFu/images/58dabeca5b6789276315c401b00c13dc34b5a62e53b473059da4e85bfd49437e.jpg ADDED

Git LFS Details

  • SHA256: 81d32e6efcef62a6aa9412c39c3d690b8963790211b655bc0cf5c5e2d383f692
  • Pointer size: 131 Bytes
  • Size of remote file: 404 kB
parse/train/5NA1PinlGFu/images/67e8e7a141afb908e0ca9b61cabae63c0518b6147832f319bb6769bbb67aceaa.jpg ADDED

Git LFS Details

  • SHA256: 67f49184ba563c583246554ea121bb58f00eafc52a841372b6ec424d0b9687a7
  • Pointer size: 129 Bytes
  • Size of remote file: 7.97 kB
parse/train/5NA1PinlGFu/images/7d66277c41a29061239507dfcfc196d8c5d7fdb601e840484a8567e42fb5c633.jpg ADDED

Git LFS Details

  • SHA256: c185d239f9f99546410c1b6eb1a6bddfda0deb7fe437ff4d8690b49cdce2d06e
  • Pointer size: 129 Bytes
  • Size of remote file: 6.15 kB
parse/train/5NA1PinlGFu/images/852ae9fd0a4094182c800c55ac9ef0d9082cc2223522547ba5ac0143a140c093.jpg ADDED

Git LFS Details

  • SHA256: 3dd6d838a0c6529f8f9dbce1e505a41c0946098024b348099541f00b13813f9a
  • Pointer size: 129 Bytes
  • Size of remote file: 5.67 kB
parse/train/5NA1PinlGFu/images/9441ece35024458c15c43055002fedaecfb4ea796f9a426b895be98a1db25b22.jpg ADDED

Git LFS Details

  • SHA256: 87518fbe8898a8accd8aae642e7326a18f041665e6eadc4cf88f859dadec33ca
  • Pointer size: 130 Bytes
  • Size of remote file: 28.9 kB
parse/train/5NA1PinlGFu/images/9a6a450f5746fd01f383ca4742e0830f835b4a60b33476f2d9417aa39d2494bd.jpg ADDED

Git LFS Details

  • SHA256: da6f58e699e0a3a9a9efab5ddcdb7fe63996d41fe5e329f4ececcb9fb5cf5994
  • Pointer size: 130 Bytes
  • Size of remote file: 88.9 kB
parse/train/5NA1PinlGFu/images/a3b1ad736b793ee02a779d1d870888999a502e932e68698299cc3e1d8de8ec77.jpg ADDED

Git LFS Details

  • SHA256: f647891ef5e71d3704cdd97beb96c0d6c91cdb8dbef7d8ddcc7fc42d7ffd1b89
  • Pointer size: 131 Bytes
  • Size of remote file: 385 kB
parse/train/5NA1PinlGFu/images/a8c8dd7ddc8ca6e460a85a6d44ff8c0af0ead2e934f9ff6bff008ed8feb977cc.jpg ADDED

Git LFS Details

  • SHA256: 0e50a7caff87340eea7ee831bae3878ed15ecf430c5f0b10c6b9b1d8de84a8e6
  • Pointer size: 130 Bytes
  • Size of remote file: 80.5 kB
parse/train/5NA1PinlGFu/images/b0eb29eea5fff29b5b9b43f2a725598f0a49496d87b840de250b883064523c4e.jpg ADDED

Git LFS Details

  • SHA256: ec5ebcde22c5d4431e94fbb746aed53879738173d2a64a3bf2484a8b42a950d2
  • Pointer size: 130 Bytes
  • Size of remote file: 59.8 kB