MultiRobustBench: Benchmarking Robustness Against Multiple Attacks

Sihui Dai, Saeed Mahloujifar, Chong Xiang, Vikash Sehwag, Pin-Yu Chen, Prateek Mittal

TL;DR

While machine learning models are becoming increasingly robust to specific, known adversarial attacks, they remain startlingly vulnerable when faced with a diverse array of threats. This paper introduces MultiRobustBench, a unified framework and leaderboard that evaluates models against 180 different attack variations, revealing that current defenses still perform worse than random guessing against worst-case unforeseen attacks.

What Problem Does This Paper Address?

Most research in adversarial robustness follows a "single-threat" paradigm: a researcher picks a specific constraint (like an $\ell_\infty$ perturbation) and tries to make a model resistant to it. However, in the real world, an adversary isn't restricted to a single mathematical norm. They might use spatial transformations, color shifts, or JPEG compression artifacts—often types the defender never anticipated.

The authors identify a major gap: there is no standardized way to measure how well a model handles multiple, diverse, and unforeseen attacks. Existing studies use different subsets of attacks and varying strengths, making it impossible to compare progress across the field.

Methods

The authors propose a formal Adversarial Game Framework for multi-attack robustness. The core innovation is the concept of knowledge sets:

  • $K$: The set of all possible attacks the environment might throw at the model.
  • $K_{learner}$: The subset of attacks the defender actually knows about and uses during training.

This allows them to categorize defenses into "Full Knowledge" (training on everything), "Partial Knowledge" (training on some), and "No Knowledge" (training on none). To measure performance within this game, they introduce two new metrics:

  1. Competitiveness Ratio (CR): This measures how close a model's robust accuracy is to the "best possible" model specifically trained for that attack. It can be calculated as an average ($CR_{ind-avg}$) or for the worst-case scenario ($CR_{ind-worst}$).
  2. Stability Constant (SC): This measures how gracefully a model’s performance degrades as an attack gets stronger. A low SC means the model doesn't suddenly "break" when an attack's intensity increases slightly.

Datasets and Benchmark

The paper introduces MultiRobustBench, a comprehensive leaderboard (available at multirobustbench.github.io).

MultiRobustBench Leaderboard Snapshot
  • Dataset: The current benchmark focuses on CIFAR-10.
  • The Attacks: They evaluate models against 9 distinct attack types:
  • Standard $\ell_p$ norms ($\ell_1, \ell_2, \ell_\infty$).
  • Spatial transformations (StAdv).
  • Color changes (ReColor).
  • Unforeseen attacks (Elastic, Linf JPEG, L1 JPEG).
  • Perceptual attacks (LPIPS-based).
  • Scale: Each attack is tested at 20 different strengths, totaling 180 attacks per model. They evaluated 16 state-of-the-art defended models.

Key Insights and Ideas

Performance across average and worst-case scenarios, and by attack type
  • The "Worst-Case" Wall: While some models achieve decent average robustness ($CR_{ind-avg}$ up to ~68%), the worst-case performance is abysmal. The highest $CR_{ind-worst}$ was only ~3.3, meaning every single model tested performed worse than random guessing against at least one type of attack in the benchmark.
  • The Overfitting Trap: Larger models (like ResNet-101) often perform worse on the benchmark than smaller ones (ResNet-18). This suggests that massive models tend to overfit to the specific attacks they saw during training, losing the ability to generalize to "unforeseen" attack types.
  • Training Time Trade-offs: Interestingly, as models train longer, their average robustness usually improves, but their worst-case robustness often decreases. The model becomes a specialist in its training attacks but a novice against everything else.
  • Hardest Attacks: As seen in the breakdown of average CR by attack type, spatial perturbations (like Elastic and StAdv) remain the most difficult to defend against, even for models specifically designed for multi-attack robustness.

Key Results

  • Average vs. Worst-case: There is a massive gap between average-case and worst-case robustness. Most existing defenses have made progress on the former, but the latter remains a "big open problem."
  • Synthetic Data: Incorporating 1 million synthetic images (using DDPMs) significantly boosted average robustness (achieving a SOTA $CR_{ind-avg}$ of 69.14) but did almost nothing to improve worst-case stability.
  • Leaderboard Findings: The top-performing models for average robustness were those trained on unions of $\ell_p$ attacks or using perceptual adversarial training (PAT). However, no single model dominated across all metrics.

Limitations and Future Work

  • Computational Cost: Running 180 attacks per model is extremely expensive. The authors had to limit the benchmark to CIFAR-10 and use optimized versions of attacks (like apgd-t) to make it feasible.
  • Dataset Diversity: The current leaderboard is limited to CIFAR-10. Expanding to larger datasets like ImageNet is a necessary next step but will require even more efficient evaluation techniques.
  • White-box Assumption: The benchmark primarily uses white-box attacks (where the attacker knows the model's gradients). It may not accurately reflect the robustness of models that use non-differentiable components or "gradient masking."

The authors hope MultiRobustBench will shift the community's focus from "beating $\ell_\infty$" to creating models that are truly, broadly robust.

Summary updated

BibTeX
@inproceedings{dai2023multirobustbench,
  author = {Sihui Dai and Saeed Mahloujifar and Chong Xiang and Vikash Sehwag and Pin-Yu Chen and Prateek Mittal},
  title = {{MultiRobustBench: Benchmarking Robustness Against Multiple Attacks}},
  booktitle = {International Conference on Machine Learning},
  year = {2023},
  url = {https://openreview.net/forum?id=OrEBRJW4nr},
}
Figure