- Rating
- 5
- Clarity
- 3
- Confidence
- 4
- Originality
- 3
- Quality
- 4
- Significance
- 3
Read review
Summary
Statistical adversarial detection (SAD) detects adversarial attacks by comparing the distribution of a set of samples at inference to the distribution of a reference set of clean samples via a statistical test. In previous work, the statistic used in the test is mainly maximum mean discrepancy (MMD). The authors therefore propose a new test statistic that is the aggregation of a variance estimate of the features of the samples and a variance estimate of the features of the samples after gaussian perturbation. The motivation is that adversarial samples differ from clean samples not only in their mean (which MMD tests for), but also in their variances and sensitivity to perturbation. Since the theoretical distribution of these test statistics are unknown, a permutation test and Monte Carlo approximation are used to find the threshold and conduct the test. All in all, the paper nicely puts together existing results and techniques about U-statistics, permutation tests and weighted statistics aggregation to propose a statistical test-based detector that seems to clearly outperform existing ones.
Strengths and weaknesses
Strengths:
-
The paper is mostly well written, the setting is explained well and the idea clearly motivated and explained: MMD-based SAD methods are sample inefficient as they rely on first-order moments whereas adversarial samples leave second-order artifacts.
-
A theoretical analysis is provided: type-I error control and consistency/power convergence and the statistical testing framework provides controlled false-alarm rates.
-
The proposed detector outperforms baselines including SAMMD and multi-kernel MMD aggregation methods. The results are comprehensive across multiple attacks (AA, BIM, CW, FGSM, PGD), datasets (CIFAR-10, ImageNet-1K), architectures (ResNet-18/50, ViT-B-16, WRN), and settings (adaptive attacks, sparse mixing, transfer attacks).
Weaknesses:
-
The paper is too dense in parts, the kernels used are only mentioned in the appendix and some arguments from the papers referenced in section 2.2 could be mentioned in the paper's appendix for example.
-
Novelty: The theoretical results are in fact a direct application of results on U-statistics, permutation tests and kernel aggregation from [32]
-
Adaptive attack evaluation could be stronger by testing different frameworks for finding adaptive attacks such as the one in [39]
-
The method is much slower than previous ones (Table 9): PCD and USAD are around 6 slower than SAMMD on CIFAR-10. On ImageNet-1K, PCD and USAD are about 7 times slower. The paper acknowledges this but doesn't discuss whether the trade-off of adding PCD to VD is worthwhile.
-
Can't a setting/metric be found to compare SAD with per-example tests? As the baselines used in the paper appear quite weak
-
The bandwidth parameters are set using median heuristic and fixed values. How sensitive are the results to these choices?
Questions
I might have found some typos in the text:
line 560: what is t in argmin? It is not in the target
line 553: aren’t there (n+m)! permutations?
line 547: what is i? shouldn’t it be 1?
line 563: shouldn’t tau be t? the name of the statistic in the previous equation line 560
Question: Since according to Table 9, the running time is dominated by PCD (due to the K perturbations I suppose) and the correlation-weighted aggregation, and since VD alone seems to perform better than PCD in most cases, can't a trade off be explored to reduce the running time by reducing K in PCD while maintaining good detection?
Question: Can't a setting/metric be found to compare SAD with per-example tests? As the baselines used in the paper appear quite weak
Limitations
Yes
Paper formatting concerns
None
Final justification
Since my score is already an accept, I will keep it as such.
We sincerely thank the reviewer for the careful reading and constructive feedback. Below, we address the concerns in turn.
[W1A] Thank you for the suggestion. We will simplify the dense parts, briefly describe the kernels in the main text, and add more explanation of the cited arguments in the appendix.
[W2A] Thanks for the helpful comment. Our main contributions are the new VD and PCD statistics and the USAD framework for combining different statistics. While [32] focuses on aggregating different kernels for the same statistic, we extend this idea to combine different statistics with different forms and scales. The theoretical results are provided to establish the validity and consistency of this new framework. We will clarify this in the revision to avoid overstating the theoretical novelty.
[W3W5Q6A] Thank you for your suggestion. To address these questions, we evaluate both our method and the per-example detection baseline under the adaptive C&W attack in [1]. Specifically, we use PFD [2], the current state-of-the-art per-example adversarial detection method, as the baseline.
For the adaptive C&W attack, the key idea is a change of variables x′=2tanh(w)+1 that maps the box constraint x′∈[0,1] into an unconstrained optimisation over w, which is then solved with Adam. The objective is:
minw∣x′−x∣22+c⋅[fcls(x′)+λ⋅fdet(x′)]
where:
For a fair comparison, we keep all attack configurations identical and vary only the detector. Specifically, we optimize each adversarial example for 200 steps. We set the standard C&W trade-off coefficient to (c=0.01), the confidence parameter to (κ=0), and the coefficient of the additional detector-evasion loss to (λ=1.0). The results are shown below:
Under the same adaptive attack, PFD fails to detect any adversarial examples, whereas USAD retains a detection rate of 44.8%. These results demonstrate that USAD is substantially more robust than PFD against the adaptive C&W attack.
[1] Adversarial Examples Are Not Easily Detected: Bypassing Ten Detection Methods.
[2] Detecting Adversarial Data Using Perturbation Forgery.
[W4A] Thank you for the helpful comment. Although PCD and USAD are slower than SAMMD, their inference time remains below one second per query batch: 0.132s on CIFAR-10 and 0.772s on ImageNet-1K. The extra cost is useful because PCD can detect attacks where VD is weak. For example, under the adaptive attack with (m=10), VD achieves 0.186 power, while USAD reaches 0.818. In practice, VD can be used as a faster option when latency is critical, while USAD can be used when reliable detection is more important. We will clarify this trade-off in the revision.
[W6A] Thanks for the helpful question. We varied the bandwidth from 0.25× to 4× the median-heuristic value:
USAD, VD, and PCD remain stable across a 16× bandwidth range, with maximum power variations of only 0.008, 0.002, and 0.002, respectively. This shows that our methods are not sensitive to the bandwidth choice. We will include this sensitivity analysis in the revision.
[Q1-Q4A] Thank you for pointing out these typos. We will correct them in the revised manuscript.
[Q5A] Thanks for the helpful suggestion. We varied K on CIFAR-10 with ResNet-18 and PGD 4/255, using ∣X∣=100 and ∣Y∣=10:
Reducing K from 200 to 100 decreases runtime by 41.9% while maintaining comparable power and valid Type-I error. Further reducing K to 50 causes a clear power drop. Thus, K=100 provides a good performance–runtime trade-off. We will include this analysis in the revision.