AdvMS: A Multi-Source Multi-Cost Defense Against Adversarial Attacks

Xiao Wang, Siyue Wang, Pin-Yu Chen, Xue Lin, Peter Chin

Introduction

Deep neural networks (DNNs) are highly susceptible to adversarial attacks—carefully crafted, imperceptible perturbations that lead to incorrect model predictions. Current defense strategies, such as Adversarial Training (AT), typically rely on a single source of robustness (model weights) and incur a single type of cost (reduction in natural classification accuracy). As the intensity of adversarial training increases, models often reach a performance plateau where marginal gains in security result in disproportionately large drops in accuracy.

This paper introduces AdvMS (Adversarially Trained Model Switching), a hybrid defense that breaks this plateau by diversifying the sources of robustness. By combining the weight-hardening of AT with the stochastic uncertainty of Random Model Switching (RMS), AdvMS offers a multi-source, multi-cost approach that allows practitioners to balance accuracy, security, and memory overhead.

The AdvMS Framework

AdvMS integrates two distinct defense philosophies into a single workflow:

  1. Adversarial Training (AT): The system hardens model weights by incorporating adversarial examples into the training set with a specific perturbation budget ($\epsilon_{train}$).
  2. Random Model Switching (RMS): The system maintains a pool of $M$ independently initialized sub-models. During inference, one model is randomly selected to process each input, introducing a layer of stochasticity that complicates gradient-based attacks.

By adjusting both the number of models ($M$) and the training budget ($\epsilon_{train}$), AdvMS provides a flexible defense mechanism where robustness is derived from both robust weights and inference-time uncertainty.

Experimental Evaluation

The authors evaluated AdvMS on standard benchmarks (MNIST and CIFAR-10) against a variety of attacks, including FGSM, PGD, and CW-PGD. Crucially, they also tested against Expectation Over Transformation (EOT), an adaptive attack designed to bypass randomized defenses by averaging gradients across multiple transformations.

AdvMS (Switch + Adv. Train) consistently outperforms standalone methods across various attack types and scenarios, including adaptive EOT attacks.

As shown in the evaluation results, the combination of switching and adversarial training (AdvMS) consistently yields lower Attack Success Rates (ASR) than either method used in isolation. Even under white-box and EOT conditions, the synergy between robust weights and model diversification provides a more resilient shield than traditional single-source defenses.

Trade-offs and Efficiency

A key advantage of AdvMS is its ability to optimize the trade-off between natural accuracy and adversarial robustness. Traditional AT often requires a significant sacrifice in accuracy to achieve high security. AdvMS, however, can achieve similar or better security levels with much higher natural accuracy by increasing the number of models ($M$) instead of solely relying on aggressive training budgets.

The relationship between Attack Success Rate and Test Accuracy shows that increasing the number of models (M) allows for better robustness with less impact on natural accuracy.

For instance, on CIFAR-10, AdvMS with $M=5$ models can reduce the ASR to approximately 25% with less than a 3% drop in natural accuracy. Achieving the same level of protection with standalone AT would result in a staggering 15% drop in accuracy. This "efficiency in accuracy" makes AdvMS a compelling choice for real-world applications where maintaining high performance on clean data is critical.

Conclusion

AdvMS demonstrates that "defense-in-depth" through diversification is a powerful strategy for securing DNNs. While the primary cost of AdvMS is increased memory overhead (storing $M$ models), it provides a tunable framework that can be adapted to specific resource constraints. Future work may explore using diverse sub-model architectures to further enhance the difficulty for adaptive attackers, moving beyond simple weight diversification.

Summary updated

BibTeX
@inproceedings{wang2020advms,
  author = {Xiao Wang and Siyue Wang and Pin-Yu Chen and Xue Lin and Peter Chin},
  title = {{AdvMS: A Multi-Source Multi-Cost Defense Against Adversarial Attacks}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2020},
  url = {https://openreview.net/forum?id=G8ZR-QuLcPI},
}
Figure