Learning to Verify: Signature-Guided Training for Adaptive Adversarial Example DetectionLearning to Verify: Signature-Guided Training for Adaptive Adversarial Detection
Translation in progress — untranslated text is omitted.
Proposes a dual-model adversarial example detection method: keep the original classifier unchanged and separately train a verifier to evaluate its predictions. During training, activation signatures that distinguish real samples from adversarial examples are used to guide the generation of adversarial examples that even the verifier struggles to identify; the verifier learns through knowledge distillation to recognize these samples while maintaining accuracy on clean samples, and no signature is needed at inference time. On public datasets, against a variety of adaptive attacks (including attacks unseen during training), the verifier substantially outperforms confidence-based and feature-based detectors that are directly attacked under the L-infinity attacks tested, but the L2 evaluation shows that its robustness across perturbation types is limited.
- Adversarial example detectors often fail under adaptive attacks in which the attacker actively bypasses the detection rule, and they need to generalize to attacks unseen during training. The authors study whether an independent verifier can provide an adaptive rejection signal without modifying the deployed classifier.
- The original classifier is fixed and a separate verifier is trained: class-level activation signatures guide the generation of hard examples that both mislead the classifier and challenge the verifier and whose internal representations are close to the target class, and the verifier is trained with label smoothing and distillation; at inference the signature bank is removed, and the verifier's probability for the classifier's predicted class is used with a class-conditional threshold for rejection.
- Evaluated with ResNet-18 on CIFAR-10, SVHN, and STL-10, the authors state that under direct adaptive attacks the verifier outperforms baselines such as MSP, energy, and Mahalanobis in AUC and bypass rate, and performs similarly to PGD on unseen APGD and AA+Refine; ablations show that adaptive training is the main source of detection gains, signatures mainly improve clean accuracy, and detection is weaker under CW L2.
- The authors note that robustness under CW L2 has cross-perturbation-type limitations, and propose follow-up directions such as adaptive signature weights, alternative calibration objectives, and multi-norm multi-attack training curricula. The experiments cover only two architectures, ResNet-18 and DenseNet121, and three image datasets, and no comparison with defenses such as adversarial training is reported.
Related papers
- GeoDetect: Geometric Adversarial Detection for VLPsDefensesarXiv
Show 3 more papers
- Semantic-aware Adversarial Fine-tuning for CLIPDefensesarXiv