Detecting adversarial examples is nearly as hard as classifying themDetecting Adversarial Examples Is (Nearly) As Hard As Classifying Them
Quick read
Based on the paper's full text (AI-generated); refer to the original
Tramèr's paper gives a difficulty reduction between detecting and classifying adversarial examples, showing that detecting adversarial examples is almost as difficult as classifying them. Specifically, if a detector can remain robust to attacks within distance ϵ, then a classifier robust to attacks within distance ϵ/2 can be constructed, and the reverse also holds, and the reduction preserves the sample complexity of the original model. The construction requires solving a non-convex optimization problem at inference time, is computationally inefficient, and cannot be directly used for practical deployment. Based on this, the authors re-examined 14 published detection defenses and found that the detection results of 12 of them would imply an inefficient classifier with robustness far exceeding the current best level. For certified defenses, the reduction results are close to existing certified classifiers and detectors, for example, 39% certified robust accuracy under 4/255 perturbation on CIFAR-10, corresponding to 37% certified detection accuracy under 8/255.
- Adversarial example detection is regarded as a simpler task than robust classification, but detection defenses lack a long-term baseline like adversarial training, making the credibility of their robustness claims difficult to judge. The authors aim to answer: whether there is an essential connection between the robustness claims of detection and the robustness of classification.
- The authors prove a hardness reduction between detection and classification: given a detector robust at distance ϵ, one can construct an equally robust but computationally inefficient classifier covering distance ϵ/2; the reverse reduction also holds. The reduction preserves sample complexity, and the idea is similar to minimum-distance decoding in error-correcting codes.
- Using this reduction, the authors revisit 14 published detection defenses, of which 12 have detection results that imply an inefficient classifier with robustness far exceeding the current SOTA; for certified defenses, the bounds implied by the reduction are largely consistent with existing certified classification/detection results (about ±2%).
- The reduction is computationally inefficient and cannot directly construct a practical classifier; the authors note that it is not yet clear whether computational inefficiency can be traded for stronger robustness, and leave for future research directions such as efficient reductions, non-ℓp metrics (such as adversarial patches, whose size does not satisfy the triangle inequality), and test-time randomness.
The authors give a difficulty reduction between detecting and classifying adversarial examples, and on that basis re-examine 14 detection defenses, providing a way to test whether detection robustness claims are credible.