Skip to content

MultiRobustBench: an adversarial robustness benchmark for multiple attacksMultiRobustBench: Benchmarking Robustness Against Multiple Attacks

arXiv· arXiv:2302.10980· Sihui Dai, Saeed Mahloujifar, Chong Xiang, Vikash Sehwag, Pin-Yu Chen, Prateek MittalElectrical and Computer Engineering, Princeton University; IBM ResearchIndexed by this site · 27 days ago· Originally publishedSelected EvaluationSelectedAttention38

Quick read

Evaluation and benchmarks

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

The authors propose the multi-attack robustness benchmark MultiRobustBench, evaluating 16 defense models on CIFAR-10 with 9 attack types × 20 strength levels, and state that the worst-case CR of existing defenses is at most 3.30.

Questions
Existing adversarial robustness research mostly targets a single (usually ℓp-bounded) attack, whereas in practice attackers can use multiple or even unseen attacks; multi-attack robustness research lacks a unified evaluation framework, and different works use different attack sets and strengths, making comparison difficult.
Methods
The authors propose a unified multi-attack adversarial game framework, use the knowledge set Klearner to characterize the mismatch between training and test threat models, and propose two metrics: competitiveness ratio (CR, with average and worst-case variants) and stability constant (SC), on which they build the MultiRobustBench leaderboard.
Experiments and results
Evaluating 16 defenses on CIFAR-10 with 9 attack types × 20 strength levels: the highest average-case CRind-avg is 67.76, but the highest worst-case CRind-worst is only 3.30; the authors state that all existing defenses fall below random guessing under worst-case multi-attack; elastic and StAdv attacks are the hardest to defend against.
Limitations and future work
The authors note that evaluation runs are expensive and hard to scale to large architectures and large datasets such as ImageNet; the current leaderboard covers only 16 models on CIFAR-10, and the authors plan to include new defenses, new attacks, and more datasets.
Experimental setupMadry et al. (2018) (ℓ2)、Madry et al. (2018) (ℓ∞) et al. · MultiRobustBench、CIFAR-10 · CRind-avg、CRind-worst et al.
Threat model
At test time the attacker can use multiple attack types (possibly unseen during training); the evaluation includes 9 attack types (ℓ1/ℓ2/ℓ∞, ReColor, StAdv, elastic, L1 JPEG, Linf JPEG, LPIPS) at 20 strength levels each. None of the evaluated defenses were trained with all evaluation attacks, placing them in the partial knowledge or no knowledge setting; attacks are mostly white-box, requiring the model's forward pass to be deterministic and gradients to be nonzero.
Evaluated models
Madry et al. (2018) (ℓ2)Madry et al. (2018) (ℓ∞)Zhang et al. (2019) (ℓ2)Zhang et al. (2019) (ℓ∞)Rebuffi et al. (2021) (ℓ2)Rebuffi et al. (2021) (ℓ∞)Madaan et al. (2020) (no RST)Madaan et al. (2020) (RST)Tramèr & Boneh (2019) (AVG)Tramèr & Boneh (2019) (MAX)Maini et al. (2020)Dai et al. (2022) (ℓ2)Dai et al. (2022) (ℓ∞)Dai et al. (2022) (LPIPS)Laidlaw et al. (2021)Jin & Rinard (2020)ResNet-18ResNet-34ResNet-50ResNet-101
Benchmarks
MultiRobustBenchCIFAR-10
Metrics
CRind-avgCRind-worstStability Constant (SC)clean accuracyrobust accuracy
AI summaryand selection rationaleResearchers from Princeton University and IBM Research release the MultiRobustBench leaderboard, evaluating the multi-attack robustness of 16 defense models with 9 attack types and 20 attack strength levels, 180 attacks in total. The paper proposes two metrics, competitiveness ratio (CR) and stability constant (SC); the former measures the gap between a defense model and the best model for a single attack, and the latter measures the decline in robustness as attack strength varies. Evaluation results show that the average performance of existing defenses has improved, with CRind-avg reaching up to 67.76, but the worst-case CRind-worst reaches at most only 3.30, and all models perform worse than random guessing under the worst attack. By attack type, elastic attacks and StAdv spatial transformation attacks are the hardest to defend against, with single-type CRind-avg reaching at most only 38.48 and 50.35, respectively. Adding 1 million DDPM synthetic samples can raise CRind-avg to 69.14, but has little effect on worst-case robustness.

Researchers from Princeton University and IBM Research release the MultiRobustBench leaderboard, evaluating the multi-attack robustness of 16 defense models with 9 attack types and 20 attack strength levels, 180 attacks in total. The paper proposes two metrics, competitiveness ratio (CR) and stability constant (SC); the former measures the gap between a defense model and the best model for a single attack, and the latter measures the decline in robustness as attack strength varies. Evaluation results show that the average performance of existing defenses has improved, with CRind-avg reaching up to 67.76, but the worst-case CRind-worst reaches at most only 3.30, and all models perform worse than random guessing under the worst attack. By attack type, elastic attacks and StAdv spatial transformation attacks are the hardest to defend against, with single-type CRind-avg reaching at most only 38.48 and 50.35, respectively. Adding 1 million DDPM synthetic samples can raise CRind-avg to 69.14, but has little effect on worst-case robustness.

Why it was selectedThe benchmark evaluates 16 defense models with 9 attack types and 20 strength levels, 180 attacks in total, and finds that under the worst attack all models perform worse than random guessing.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    Robustness to multiple attacks lacks a unified evaluation framework; the authors propose the MultiRobustBench benchmark and the CR and SC metrics to standardize evaluation.

    Core problem: how to evaluate, in a unified and standardized way, the robustness of machine learning models to multiple test-time attacks (including attacks unseen during training).

    • Problem setting and importance: Safety-critical applications require models to be robust to test-time adversarial examples, while attackers may use multiple or even unforeseen attack types; most existing research defends only against a single (usually ℓp-bounded) attack.
    • Shortcomings of existing work: The authors state that existing works on robustness to multiple attacks use their own different small attack sets and attack strengths, with varying evaluation methods (reporting accuracy on different attack sets, or using custom metrics such as mUAR), and lack a standardized benchmark, hindering understanding of progress in this direction.
    • Core observation: Robustness evaluation needs to account for the mismatch between the training-time threat model and the test-time threat model; the authors use a "knowledge set" to characterize the defender's degree of knowledge about test-time attacks, thereby unifying "robustness to the union of known attacks" and "robustness to unseen attacks" into one framework.
    • What the paper proposes: A multiple-attack adversarial game framework; two metrics—competitiveness ratio (CR, with an average variant CRind-avg and a worst-case variant CRind-worst) and stability constant (SC); and the leaderboard MultiRobustBench, which on CIFAR-10 evaluates 16 defense models with 9 attack types at 20 strength levels each (180 attacks in total).
    • Evaluation setting (not an attack-defense threat model): This is a benchmark paper; the evaluated objects are 16 training-type defense models; the attack side consists of 9 attack types (ℓ1/ℓ2/ℓ∞, ReColor, StAdv, elastic, L1 JPEG, Linf JPEG, LPIPS), mainly white-box attacks, requiring evaluated models to have deterministic forward passes, nonzero gradients, and no optimization loops in the forward pass; none of the evaluated models was trained with all evaluated attacks, so they are in the partial or no knowledge setting.
  2. What related research exists?

    Related work falls into three groups: multi-attack defenses, adversarial robustness evaluation benchmarks, and single-attack robustness studies; the authors position their work as a unified framework and standardized leaderboard.

    Defenses for robustness to multiple attacks

    • Direction of the union of known attacks: Tramèr & Boneh (2019) proposed AVG/MAX training; Maini et al. (2020) proposed MSD (multiple steepest descent); Madaan et al. (2020) proposed SAT (stochastic adversarial training) plus a meta-noise generator; Croce & Hein (2020a) studied provable robustness to ℓp perturbations. These works use the same attack set for training and evaluation, which is a full knowledge setting.
    • Direction of unseen attacks: Laidlaw et al. (2021) proposed PAT (perceptual adversarial training, based on LPIPS); Dai et al. (2022) proposed variation regularization; Jin & Rinard (2020) proposed manifold regularization (no adversarial examples used, a no knowledge setting).
    • The authors state that these works study only specific instances of the multiple-attack problem and lack a unified evaluation framework.

    Adversarial robustness benchmarks

    • RobustBench (Croce et al., 2020): a standardized leaderboard evaluating ℓ∞ and ℓ2 robustness with AutoAttack.
    • CARBEN (Hsiung et al., 2022b): a benchmark evaluating combinations of ℓ∞ attacks with global spatial/color transformations. The authors criticize that its global transformations (hue, rotation, etc.) are weaker than per-pixel attacks such as StAdv and ReColor, and that it evaluates only at a single strength, so it is unclear to what extent its results reflect real robustness to multiple attacks.
    • mUAR (Kang et al., 2019): an unseen-attack robustness metric. The authors criticize that mUAR aggregates attack types with equal weight, which is biased by the inherent difficulty of each attack; this paper's CR weights by each attack's best accuracy and reduces to UAR for a single attack type.

    Single-attack robustness research

    • Adversarial training frameworks (Madry et al., 2018; Zhang et al., 2019; Gowal et al., 2020) and studies of influencing factors such as architecture scale, early stopping, and additional training data (Wu et al., 2021; Rice et al., 2020; Carmon et al., 2019; Rebuffi et al., 2021, etc.) mainly target ℓp attacks; the authors state that these conclusions may not hold in the multiple-attack setting.

    Positioning: The authors state that this paper unifies the above two research lines, "union of known attacks" and "unseen attacks", into one adversarial game framework, and provides metrics and a leaderboard to standardize evaluation of robustness to multiple attacks.

  3. How does the paper address this problem?

    Uses a knowledge set to uniformly model the multi-attack adversarial game, proposes the two metrics CR and SC, and builds a CIFAR-10 leaderboard on this basis.

    Overall approach: model multi-attack robustness as an adversarial game, use a knowledge set to characterize the defender's knowledge of test-time attacks; then design metrics CR (competitiveness ratio) and SC (stability constant) that aggregate per-attack accuracies into a single number, and build the leaderboard MultiRobustBench on this basis.

    Adversarial game framework and knowledge set

    • Perturbation functions and knowledge set: Define a perturbation function P_C that maps inputs to adversarial examples; the knowledge set Klearner is the set of perturbation functions available to the defender's learning algorithm, the test-time attack set is K, and |Klearner| ≤ |K|.
    • Three knowledge settings: K = Klearner is full knowledge (e.g., known ℓp union robustness); K ∩ Klearner = ∅ is no knowledge; K ∩ Klearner ≠ ∅ is partial knowledge (including the unseen attack problem). The authors consider partial knowledge more realistic than full/no knowledge for image classification.
    • Choice of multi-attack error errmulti: errmulti-exp takes the expectation over the attack distribution; errmulti-max takes the worst attack; errmulti-ind outputs an error vector for each attack, which can model "attack union robustness" and allow specifying trade-offs among attacks.

    Metrics: CR and SC

    • CR definition: CR(h; K) = 100 × (accmulti(h, K))/(acc∗multi(K)), i.e., the ratio (in percent) of the defense model's multi-attack accuracy to that of the best model in the hypothesis class.
    • Two variants: With errmulti-ind, CRind-avg takes the expectation of acc(h, P)/acc*(P) over attacks (assuming a uniform distribution), and CRind-worst takes the minimum; when K contains only different strengths of the same attack type, it is called single-CR.
    • SC definition: The maximum slope of accuracy change between pairs of attacks with similar strength (|s(P1) − s(P2)| ≤ α); the leaderboard uses α = 3%; the attack strength function is "the error of a ResNet-18 adversarially trained directly on that attack." A smaller SC means robustness changes more smoothly with attack difficulty.

    Leaderboard construction and evaluation pipeline

    • Attack set: 9 attack types at 20 strength levels each, 180 attacks in total: ℓ1/ℓ2/ℓ∞ (using the APGD-T and FAB-T subsets of AutoAttack to shorten evaluation time), ReColor, StAdv, elastic, L1 JPEG, Linf JPEG, LPIPS (the union of PPGD and LPA). Visualizations of weaker attacks such as affine/perspective warp, hue, saturation, brightness, contrast, snow, fog, and Gabor are also provided but not included in the ranking.
    • Approximation of acc*: For each attack, a ResNet-18 adversarially trained directly on that attack (robust accuracy averaged over 3 runs) approximates the optimal single-attack accuracy; the authors state that this way the metric can also capture gains from architecture improvements.
    • Leaderboard setup: Two leaderboards on CIFAR-10, ranked by CRind-avg (average case) and CRind-worst (worst case) respectively; 16 pretrained models are included, all training-time defenses, with training threat model one of ℓ2 (ϵ=0.5), ℓ∞ (ϵ=8/255), LPIPS (ϵ=1), or the union of ℓ1/ℓ2/ℓ∞.
    • Evaluation details (Appendix C): Non-ℓp, non-UAR attacks use 20 iterations (40 for LPIPS) to optimize adversarial examples; binary search finds the minimum perturbation that breaks each image, then robust accuracy at each ϵ is aggregated; when computing SC, Klearner is taken as the subset of attacks from ϵ=0 up to the ϵ used in that defense's training.
  4. What experiments did the paper conduct?

    On CIFAR-10, evaluates 16 defenses with 180 attacks: the highest average CR is 67.76, and the highest worst-case CR is only 3.30; also analyzes the effects of architecture, data, and training epochs.

    Experimental setup

    • Evaluated models: 16 training-time defenses, including PGD adversarial training (Madry et al., 2018, one each for ℓ2 and ℓ∞), TRADES (Zhang et al., 2019, one each for ℓ2 and ℓ∞), Rebuffi et al. (2021) (WRN-28-10, one each for ℓ2 and ℓ∞), Madaan et al. (2020) (one each with/without robust self-training), Tramèr & Boneh (2019) AVG and MAX, MSD (Maini et al., 2020), variation regularization (Dai et al., 2022, one each for ℓ∞/ℓ2/LPIPS), PAT (Laidlaw et al., 2021), manifold regularization (Jin & Rinard, 2020).
    • Benchmark and attacks: CIFAR-10; 9 attack types × 20 strength levels = 180 attacks (plus an attack-free term at ϵ=0 for computing CR).
    • Metrics: CRind-avg, CRind-worst, SC (α=3%), clean accuracy; acc* is approximated with an adversarially trained ResNet-18 (average of 3 runs).
    • Factor analysis experiments: The authors train ResNet-18/34/50/101 themselves, adversarially training with 3 threat models (LPIPS ϵ=0.5, ℓ∞ ϵ=8/255, ℓ2 ϵ=0.5), with 3 trials per group; extra data uses 1M DDPM synthetic samples (Gowal et al., 2021).
    • Note: In the factor analysis, ℓ∞/ℓ2 are evaluated with 10-step PGD and ℓ1 with APGD-CE, which differ from the leaderboard's APGD-T/FAB-T; the authors explicitly state that the CR scores in this section are not directly comparable to the leaderboard.

    Main results

    The main text does not give a complete numerical table for the 16 models (the complete leaderboard is on the website and in Figure 2, 3); key numbers that can be checked (Section 5.1):

    MetricHighest valueDescription (per Section 5.1)
    CRind-avg67.76Highest among the 16 defenses
    CRind-worst3.30Highest among the 16 defenses
    single-CRind-avg on elastic38.48Highest, achieved by rank 7 (Rebuffi et al., 2021, ℓ∞)
    single-CRind-avg on StAdv50.35Highest, achieved by rank 6 (Laidlaw et al., 2021)
    • The authors state: many defenses have high CRind-avg, but their CRind-worst is low, indicating that for every existing defense there exists an attack that can substantially reduce its accuracy (possibly outside Klearner); worst-case multi-attack robustness is an unsolved problem.
    • The authors state: CRind-avg is uncorrelated with clean accuracy—the models ranked 4, 5, 6 by CRind-avg (LPIPS threat model and no knowledge defenses) have the lowest clean accuracy; while the models with the highest CRind-worst have the lowest clean accuracy, and they are exactly the models ranked 4, 5, 6 by CRind-avg, so the authors believe there may be a trade-off between worst-case robustness and clean accuracy.
    • The authors state: elastic and StAdv attacks are generally the hardest to defend against, and the highest scores on these two attacks are not achieved by the top three by CRind-avg.

    Effect of architecture size (Figure 4, 9, 13, 16, 19)

    • What was measured: Training ResNet-18/34/50/101 under the LPIPS threat model (PAT), comparing CR and SC.
    • Results: Smaller architectures (ResNet-18, ResNet-34) generally have higher clean accuracy and CR than ResNet-50/101, and also lower SC on average; Appendix H.3.1/H.3.2 shows the same trend for ℓ∞ and ℓ2 training.
    • Authors' interpretation: The previous conclusion that "larger architectures improve ℓp robustness" does not always hold in the multi-attack setting; the authors believe small models generalize better to unseen attacks, while large models are more prone to overfitting to seen attack types. Exception: on StAdv and ReColor, larger architectures have higher CRind-worst instead (Figure 9).

    Effect of training epochs and extra data (Figure 5, 6, 10, 12)

    • Training epochs: Under LPIPS training, CRind-avg generally rises with epochs, but CRind-worst falls with epochs and SC rises; the authors find that except for elastic, the CRind-worst of each attack rises with epochs, i.e., the overall worst-case trend is dominated by elastic; adding elastic (ϵ=0.7) to training changes the curves little (Figure 11).
    • Extra data: After adding 1M DDPM data to ResNet-18 + PAT, clean accuracy rises from 66.71 to 82.62, and CRind-avg goes from 73.61 to a value other than 70.95—per the Figure 6(a) annotations, the clean accuracy for no extra and extra is 66.71/82.62 and CRind-avg is 73.61/70.95 as one set, coexisting with the main text's "adding data improves CRind-avg to 69.14"; the main text states that with added data CRind-avg reaches 69.14 (SOTA compared with other leaderboard models), and CRind-worst and SC are roughly comparable with and without extra data (1.3 vs. 1.14).
    • Exceptions (Appendix H.2.3): By attack, adding data decreases CRind-worst on StAdv and ReColor (in Figure 12, StAdv drops from 70.82 to 32.13, ReColor from 78.14 to 21.24); under ℓ2 training, adding data also decreases CRind-worst (Figure 17); whereas under ℓ1/ℓ2/ℓ∞ union SAT training, adding data instead increases CRind-worst (0.89 to 1.02, Figure 20).

    Other ablations and analyses

    • SC grouped by training threat model (Table 1): ℓ∞ group 457.71 (Rebuffi) to 2309.50 (Madry); ℓ2 group 904.71 (Dai) to 1110.00 (Madry); LPIPS group 4947.00 (Dai) and 5823.00 (Laidlaw); ℓ1/ℓ2/ℓ∞ union group 1494.00 (Madaan without RST) to 2502.00 (Tramèr AVG).
    • Stability of Dai et al. (2022): SC is lower than the corresponding baseline (Madry or Laidlaw) under all three threat models ℓ∞, ℓ2, LPIPS; the authors note that this defense was designed for stability (unforeseen generalization gap).
    • Comparison of CR variants (Appendix E): CRexp and CRmax scores are higher than CRind-avg/CRind-worst; the top three by CRexp are unchanged, and the top three set by CRmax is unchanged but the order is reversed; the leaderboard uses the errmulti-ind definition, which the authors say is more interpretable.
    • α sensitivity (Appendix C.2): Lowering α to 1% or increasing it generally does not affect SC, with the only exception being Jin & Rinard (2020) (Klearner contains no attacks), whose SC drops to 0 at α=1%, hence α=3% is used.
  5. What are some points that can be further explored?

    The authors note that evaluation is computationally expensive and covers only CIFAR-10, and plan to include new defenses, new attacks, and more datasets.

    Limitations and future directions noted by the authors

    • Expensive evaluation runs (Section 6): The authors state that the benchmark's runtime makes evaluation on large architectures and large-scale image datasets such as ImageNet computationally expensive; they believe future improvements in attack efficiency could improve the scalability of the evaluation pipeline.
    • Covers only CIFAR-10 (Section 6): The current leaderboard contains only CIFAR-10 evaluations, and the authors hope to add leaderboards for other image datasets in the future.
    • Continuous update plan (Section 6): The authors plan to update the leaderboard as new defenses appear (currently 16 models) and to incorporate new attack types and stronger attacks into the evaluation pipeline as they appear.
    • White-box evaluation prerequisite (Section 4.1): Evaluation requires the model's forward pass to be deterministic, gradients to be nonzero, and the forward pass to have no optimization loop; the authors note that because the attacks used are mostly white-box attacks, evaluation results may be inaccurate for models that do not meet these requirements.

    Experimental coverage

    • The evaluated defenses are 16 pretrained models, all training-time defenses, with training threat models limited to ℓ2 (ϵ=0.5), ℓ∞ (ϵ=8/255), LPIPS (ϵ=1), or the union of ℓ1/ℓ2/ℓ∞ (Section 4.2, Appendix D).
    • Attacks cover 9 types × 20 strength levels, 180 attacks in total (7 additional weaker attack types are only visualized and not included in the ranking); ℓp attacks use only the APGD-T and FAB-T subsets of AutoAttack (Section 4.1).
    • The dataset is CIFAR-10 only; acc* is approximated with ResNet-18, and the factor analysis tests only four architectures, ResNet-18/34/50/101 (Section 4.1, 5.2).
    • The factor analysis uses 3 trials per group; in that analysis ℓ∞/ℓ2 use 10-step PGD and ℓ1 uses APGD-CE, which differ from the leaderboard attacks, and the authors note that the CR scores in the two places are not directly comparable (Section 5.2).
    • The paper does not report a complete per-model CR table for the 16 leaderboard models (the main text gives only the highest values and individual single-CR values; the complete leaderboard is on the leaderboard website and in Figure 2, 3).
  6. Summarize the main content of the paper

    MultiRobustBench evaluates robustness to multiple attacks with a unified framework and the CR/SC metrics; the authors state that all existing defenses are below random guessing in the worst case.

    A benchmark paper on adversarial robustness to multiple attacks, proposing a unified evaluation framework and the leaderboard MultiRobustBench.

    • Problem to solve: Existing adversarial robustness research mostly targets a single attack, and works on defenses against multiple attacks each evaluate with different attack sets and strengths, lacking a standardized benchmark.
    • Method highlights: Uses the knowledge set Klearner to model the mismatch between training and test threat models as an adversarial game, distinguishing three settings: full/partial/no knowledge; proposes CR (the ratio of defense accuracy to the best single-attack accuracy, with two variants CRind-avg and CRind-worst) and SC (the maximum slope of robustness change when attack strengths are similar, α=3%); on CIFAR-10, evaluates 16 training-type defenses with 9 attack types × 20 strength levels (180 attacks).
    • Main results: The highest CRind-avg is 67.76, while the highest CRind-worst is only 3.30; the authors state that all existing defenses are below random guessing in the worst-case multiple-attack scenario; elastic and StAdv attacks are the hardest to defend against (highest single-CRind-avg of 38.48 and 50.35, respectively); smaller ResNet architectures generally outperform large architectures in CR and SC; adding 1M DDPM extra data raises PAT's CRind-avg to 69.14, but has little effect on CRind-worst and SC, and actually lowers CRind-worst on StAdv and ReColor; longer training gives higher CRind-avg but lower CRind-worst.
    • Authors' conclusions and implications: Known trends for single-attack robustness (such as larger architectures being better) may not hold in the multiple-attack setting; worst-case multiple-attack robustness is an open, unsolved problem, and the authors hope this benchmark advances research on robustness to multiple attacks.

Related papers

Show 3 more papers
Read originalarxiv.org