Skip to content

AdvMS: A multi-source multi-cost defense method against adversarial attacks

AdvMS: A Multi-source Multi-cost Defense Against Adversarial Attacks

arXiv· arXiv:2002.08439· ICASSP 2020· Xiao Wang, Siyue Wang, Pin-Yu Chen, Xue Lin, Peter ChinBoston University; Northeastern University; IBM ResearchIndexed by this site · 16 days ago· Originally publishedDefenses

Quick read

Defenses

Based on the paper PDF (AI-generated); refer to the original

The authors propose the multi-source multi-cost defense AdvMS (adversarial training + random model switching), stating that it outperforms using either component alone under white-box and EOT attacks on CIFAR-10/MNIST.

Threat modelThe attacker's goal is to use FGSM, PGD and CW-PGD to generate L∞-norm-constrained adversarial examples that cause the model to misclassify; under the white-box setting the attacker knows all information about the target model; EOT (Expectation Over Transformation) adaptive attacks are also tested, using the expectation of random gradients against randomized defenses; the victim system is a CNN classifier on MNIST/CIFAR-10.

Questions
Existing adversarial defenses are mostly single-source single-cost: robustness gains tend to saturate as the defense strengthens, and the cost is concentrated in a single factor (such as test accuracy), making it easy to exceed an acceptable range. The authors aim to study combined defenses with multiple sources and multiple costs to break through this limitation.
Methods
Proposes AdvMS (Adversarially Trained Model Switching): M submodels with identical structure and different random initializations, each adversarially trained, form a model pool; at inference, one is randomly activated each round; the defense sources are the adversarially trained parameters and randomness, and the costs are test accuracy and memory.
Experiments and results
White-box and EOT attacks with FGSM, PGD and CW-PGD on CIFAR-10 and MNIST; the authors state that AdvMS's ASR is lower than adversarial training or model switching alone under all attack settings; with M=5, ASR drops from 100% to about 25% while test accuracy drops by less than 3%.
Limitations and future work
The paper does not specifically discuss limitations. The experiments cover only two datasets, MNIST and CIFAR-10, and the CNN architectures listed in Table 1; the attacks are FGSM, PGD, CW-PGD, and EOT; the paper does not report the number of attack iterations, the number of repeated experiments, or statistical significance tests.
Experimental setupBase model (MNIST)、Base model (CIFAR-10) · MNIST、CIFAR-10 · ASR、test accuracy
Evaluated models
Base model (MNIST)Base model (CIFAR-10)
Benchmarks
MNISTCIFAR-10
Metrics
ASRtest accuracy
AI summaryResearchers propose a multi-source multi-cost defense scheme, AdvMS, combining two mainstream methods—adversarial training and stochastic model switching—to defend against adversarial attacks on deep neural networks. The authors state that its multi-source property alleviates the problem of robustness gains plateauing as defenses are continuously strengthened, while its multi-cost property supports flexible adjustment of cost combinations among different factors to suit practical constraints and needs. The scheme targets safety-critical domains such as malware detection and autonomous driving.

Researchers propose a multi-source multi-cost defense scheme, AdvMS, combining two mainstream methods—adversarial training and stochastic model switching—to defend against adversarial attacks on deep neural networks. The authors state that its multi-source property alleviates the problem of robustness gains plateauing as defenses are continuously strengthened, while its multi-cost property supports flexible adjustment of cost combinations among different factors to suit practical constraints and needs. The scheme targets safety-critical domains such as malware detection and autonomous driving.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    The authors argue that single-source single-cost defenses suffer from robustness saturation and cost concentration, and propose the multi-source multi-cost defense AdvMS.

    Core problem: how to design an adversarial defense that breaks through the single-source single-cost limitation, so that robustness gains do not saturate and costs can be distributed across multiple factors.

    • Problem setting: deep neural networks are already used in safety-critical domains such as malware detection and autonomous driving, but adversarial examples (generated by gradient attacks such as FGSM, PGD, CW, and EAD) can easily mislead high-accuracy models; the authors believe this requires designing effective and efficient defense mechanisms.
    • Shortcomings of existing methods: the authors point out that existing defenses are mostly single-source (robustness comes from only one mechanism) and single-cost (robustness is traded only against one cost); as the defense strengthens, robustness gains diminish (performance plateau), and a single cost factor easily exceeds the practically tolerable range, making the defense infeasible; increasing the training perturbation in adversarial training harms clean-example accuracy.
    • Core hypothesis: the authors expect that combining defense components with different source-cost pairings into a complex defense can alleviate performance saturation and flexibly distribute costs among multiple cost factors.
    • Proposed in the paper: a multi-source multi-cost defense, AdvMS (Adversarially Trained Model Switching), combining adversarial training and random model switching; the defense sources are adversarially trained parameters and randomness, and the cost factors are test accuracy and memory consumption.
    • Threat model:
      • Attacker goal: apply L∞-norm-bounded perturbations to inputs to make the model misclassify; the attack methods are FGSM, PGD, and CW-PGD.
      • Attacker knowledge: white-box setting, where the attacker knows all information about the target model.
      • Adaptive attack: EOT (Expectation Over Transformation), using the expectation of stochastic gradients against randomized defenses.
      • Victim system: CNN image classifiers on MNIST and CIFAR-10 (Table 1 architecture).
  2. What related research exists?

    Related work is divided into four groups: adversarial attacks, adversarial training, randomized defenses, and detection-based defenses; AdvMS is built directly on adversarial training and model switching.

    Adversarial attacks

    • Gradient attacks: FGSM (Goodfellow et al., 2015), PGD (Madry et al., 2018), CW attack (Carlini & Wagner, 2017), EAD (Chen et al., 2017)—generate adversarial examples based on gradients; these are the attack methods used in this paper.
    • Physical-world attacks: the adversarial T-shirt of Kurakin et al. (2016) and Xu et al. (2019), and Athalye et al. (2017)—cited by the authors to show that adversarial examples persist in the physical world and under multiple viewpoints.
    • EOT (Athalye et al., 2018): an adaptive attack against randomized defenses, using the expectation of stochastic gradients; this paper uses it to evaluate AdvMS.

    Adversarial training

    • Madry et al. (2017/2018): adds adversarial examples with correct labels to training to improve worst-case robustness; the authors call it one of the most popular defenses in the literature; its cost is a drop in test accuracy on clean examples, and it is one of the two building components of this paper.

    Randomization and ensemble defenses

    • Random model switching (Zhou et al., 2018; MtDeep of Sengupta et al., 2018): uses a set of parallel submodels with different random initializations and switches the active model at runtime; it does not reduce test accuracy but increases inference-time memory, and is the other component of this paper.
    • Other randomized defenses: random activation pruning of Dhillon et al. (2018), random self-ensemble of Liu et al. (2017), defensive dropout of Wang et al. (2018), hierarchical random switching of Wang et al. (2019)—the paper only cites and lists them.

    Detection and input-processing defenses

    • Adversarial example detection: Grosse et al. (2017), Metzen et al. (2017); input transformation: JPEG compression of Das et al. (2018); pruning and logits enhancement of Wang et al. (2018). The authors point out that such methods have inference-time costs such as false input rejection.

    Baselines and positioning: the experimental baselines are adversarial training alone (Madry et al.) and random model switching alone (Zhou et al. / Sengupta et al.), and the benchmarks are MNIST and CIFAR-10. The authors position AdvMS as a multi-source multi-cost complex defense that inherits the advantages of both, and cite the views of Su et al. (2018) and Tsipras et al. (2019) that the robustness-accuracy trade-off may be an inherent property as background.

  3. How does the paper address this problem?

    AdvMS forms a pool of M submodels with different initializations, each adversarially trained, and randomly activates one at inference; there are two sources and two costs.

    Overall idea: following the authors' proposed multi-source multi-cost design principle, combine adversarial training (source: adversarially trained parameters; cost: test accuracy) and random model switching (source: randomness; cost: memory consumption) into the composite defense AdvMS, so that the two components continue to improve robustness on top of each other.

    Conceptual definitions: source and cost

    • source (defense source): the surface that performs the defensive effect, e.g., the weights learned in adversarial training.
    • cost: the performance factor sacrificed by the defense, e.g., adversarial training costs clean-sample test accuracy, and a larger training perturbation can be traded for stronger defense.
    • Drawbacks of single-source single-cost: the robustness gain saturates as the defense strengthens; a single cost factor easily exceeds an acceptable range.

    Design principles of multi-source multi-cost

    • Different sources: the components need different defense sources, otherwise entangled mechanisms may cause performance degradation.
    • Different costs: the components need different cost factors, avoiding trading robustness for a single factor that leads to diminishing marginal returns, and allowing flexible combination of costs across multiple factors.

    Construction steps of AdvMS

    1. Initialization and training: randomly initialize M sub-models of the same architecture, and adversarially train each with the same training setting (ε_train) and training data.
    2. Build the model pool: save all M adversarially trained models to form a pool of parallel sub-models.
    3. Random activation: add a randomization scheme that randomly activates one sub-model from the pool at each round of inference, with the activated model continuously switching over time.
    • Sources and costs: the two defense sources are adversarially trained parameters and randomness; the two cost factors are test accuracy and memory consumption.

    Evaluation approach

    • Metric: attack success rate (ASR); the lower the ASR, the stronger the defense; test accuracy and memory (determined by M) are also examined.
    • Attacks: FGSM, PGD, CW-PGD, at multiple strengths (controlled by the L∞ norm ε of the perturbation), conducted under white-box and EOT settings respectively.
    • Analysis variables: ε_train (the L∞ distortion of the adversarial examples used for training) and M (the number of switched sub-models), which control the strength of the two defense components respectively; in Fig.5, points on the same curve have the same M (same memory), and points with the same marker have the same ε_train (similar test accuracy).
  4. What experiments did the paper conduct?

    White-box and EOT attacks with FGSM/PGD/CW-PGD on CIFAR-10/MNIST; the authors state that AdvMS outperforms both individual components across the board.

    Experimental setup

    • Subjects under test: AdvMS and its two building components—adversarial training (Madry et al.) and random model switching (Zhou et al. / Sengupta et al.)—all implemented on the same base model.
    • Base architecture: one CNN each for MNIST and CIFAR-10 (Table 1: MNIST is 32/32/64/64-channel convolutions + a 200-unit fully connected layer; CIFAR-10 is 64/64/128/128-channel convolutions + a 256-unit fully connected layer; both have 10-class output). The paper does not give model names.
    • Datasets: CIFAR-10 and MNIST; the paper does not state the sample sizes used.
    • Attacks: FGSM, PGD, CW-PGD, at multiple L∞ strengths; white-box and EOT settings; in Fig.5, ε_attack = 8/255, EOT samples n=10.
    • Metrics: ASR (lower is better), test accuracy, memory consumption (determined by M).
    • Not reported: number of attack iterations, number of repetitions, statistical significance tests, review method (this experiment is classification-correctness judgment and requires no review model).

    Main results

    The main results are given as ASR curves in Fig.1 (CIFAR-10) and Fig.2 (MNIST); the converted text does not include the numerical values in the figures, so only the authors' conclusions can be relayed:

    ComparisonAttack settingConclusion reported by the authors (according to Fig.1, Fig.2)
    AdvMS vs adversarial training, model switchingCIFAR-10, FGSM/PGD/CW-PGD, white-box and EOTThe authors claim AdvMS has better defense performance under all attack settings
    Same as aboveMNIST, same attacksThe authors claim the conclusion is the same
    Same as aboveStronger attacks (PGD, CW-PGD)The authors claim that at equal attack strength, model switching and adversarial training are less effective, and AdvMS's advantage is larger
    • The authors claim that AdvMS's relative advantage under strong attacks comes from the multi-source combination; the paper does not give specific ASR values for Fig.1/Fig.2 in the text.

    Quantitative analysis of component strength (Fig.3, Fig.4)

    • Varying ε_train (Fig.3, fixed M, CIFAR-10, PGD white-box and EOT): the larger ε_train, the stronger AdvMS's resistance; the gap from no adversarial training to ε_train = 2/255 is large, and further increasing ε_train yields saturating gains.
    • Varying M (Fig.4, fixed ε_train, CIFAR-10, PGD): the larger M, the stronger the defense; the gain from M = 1 (deterministic model) to M = 2 is large, and further increasing M yields diminishing marginal gains.
    • The authors' interpretation: these two saturation phenomena are exactly the performance saturation problem of single-source defenses, and the authors believe this validates the necessity of multi-source defenses.

    Robustness-accuracy and robustness-memory trade-offs (Fig.5)

    • What was measured: ASR-test accuracy curves for different combinations of ε_train and M on CIFAR-10 under PGD (ε_attack = 8/255) white-box and EOT (n=10) settings.
    • Results: increasing M shifts the curves toward the lower right (a better robustness-accuracy trade-off); AdvMS M = 5 can reduce ASR from 100% to about 25%, with test accuracy dropping by less than 3%, whereas the authors claim that achieving the same defense effect with adversarial training alone requires sacrificing 15% test accuracy.
    • The authors' interpretation: increasing ε_train can lower ASR and improve the robustness-memory trade-off; the slope on the left side of the curves becomes smaller, corresponding to the aforementioned defense-gain saturation problem.

    Other ablations and analyses

    • The paper has no ablations other than the three groups of experiments above; all experiments are conducted on CIFAR-10 (Fig.1, 3, 4, 5) and MNIST (Fig.2).
    • Negative/exceptional phenomena: robustness gains saturate as ε_train increases (Fig.3); marginal defense gains diminish as M increases (Fig.4); the authors give no further explanation of the causes of saturation.
  5. What are some points that can be further explored?

    The paper does not specifically discuss limitations; the experiments cover only two datasets, one CNN architecture, and three attacks plus their EOT variants.

    Limitations and future directions noted by the authors

    • The paper does not specifically discuss limitations, nor does it have a Future Work section; the Conclusion (Section 4) only summarizes the advantages of AdvMS over single-source single-cost defenses, and does not list shortcomings or future plans.

    Scope of experimental coverage

    • Datasets: only MNIST and CIFAR-10 (Section 3.1).
    • Model architectures: only the two CNNs listed in Table 1 (with fixed channel counts per layer and fixed numbers of fully connected units); the paper does not report experiments on other architectures.
    • Attacks: FGSM, PGD, and CW-PGD, each under white-box and EOT settings; Fig.5 uses only PGD (ε_attack = 8/255, EOT n=10).
    • Parameter ranges: ε_train analyzed at 2/255, 4/255, 6/255 (Fig.3 legend); M analyzed from 1 to 5 (Fig.4, Fig.5).
    • Not reported in the paper: the number of attack iterations and query budget, the number of experimental repetitions, statistical significance tests, training hyperparameter details (other than ε_train), and the trade-off curves on MNIST (Fig.5 is CIFAR-10 only).
  6. Summarize the main content of the paper

    AdvMS combines adversarial training and random model switching into a multi-source multi-cost defense, which the authors state outperforms either component alone on two datasets.

    An adversarial defense paper: addressing the problems that single-source single-cost defenses have saturating robustness gains and concentrate cost in a single factor, it proposes the multi-source multi-cost defense AdvMS.

    • Problem: the authors argue that existing defenses mostly tie robustness to one mechanism and trade it for one cost, so robustness tends to saturate as the defense strengthens, and a single cost (e.g., test accuracy) easily exceeds an acceptable range.
    • Method: AdvMS forms a pool of M sub-models of the same architecture with different random initializations, each adversarially trained (strength ε_train), and randomly activates one at each round of inference; the defense sources are adversarially trained parameters and randomness, and the costs are test accuracy and memory consumption.
    • Result one: on CIFAR-10 and MNIST, against white-box and EOT attacks by FGSM, PGD and CW-PGD, the authors state that AdvMS's ASR is lower than adversarial training or model switching alone under all attack settings, with a larger advantage under strong attacks (Fig.1, Fig.2; specific values are not given in the text).
    • Result two: fixing M and increasing ε_train, or fixing ε_train and increasing M, both continue to improve robustness, but increasing each alone saturates the gain (Fig.3, Fig.4); the authors consider this to confirm the value of multi-source combination.
    • Result three: on CIFAR-10 under PGD (ε_attack = 8/255), AdvMS with M = 5 reduces ASR from 100% to about 25%, with test accuracy dropping by less than 3%; the authors state that achieving the same effect with adversarial training alone requires sacrificing 15% test accuracy (Fig.5).
    • Authors' conclusion: AdvMS can be embedded into typical DNN training pipelines, mitigates performance saturation compared with single-source single-cost defenses, and provides a more flexible trade-off among robustness, test accuracy and memory that can be adjusted to system requirements.

Related papers

Show 3 more papers
Read originalICASSP 2020