Seasoning Model Soups for Robustness to Adversarial and Natural Distribution Shifts

Francesco Croce, Sylvestre-Alvise Rebuffi, Evan Shelhamer, Sven Gowal
2/20/2023
cs.LGcs.CV

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Adversarial training is widely used to make classifiers robust to a specific threat or adversary, such as $\ell_p$-norm bounded perturbations of a given $p$-norm. However, existing methods for training classifiers robust to multiple threats require knowledge of all attacks during training and remain vulnerable to unseen distribution shifts. In this work, we describe how to obtain adversarially-robust model soups (i.e., linear combinations of parameters) that smoothly trade-off robustness to different $\ell_p$-norm bounded adversaries. We demonstrate that such soups allow us to control the type and level of robustness, and can achieve robustness to all threats without jointly training on all of them. In some cases, the resulting model soups are more robust to a given $\ell_p$-norm adversary than the constituent model specialized against that same adversary. Finally, we show that adversarially-robust model soups can be a viable tool to adapt to distribution shifts from a few examples.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{croce2023seasoning,
  title  = {Seasoning Model Soups for Robustness to Adversarial and Natural Distribution Shifts},
  author = {Francesco Croce and Sylvestre-Alvise Rebuffi and Evan Shelhamer and Sven Gowal},
  year   = {2023},
  eprint = {2302.10164},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2302.10164v1},
  journal = {CVPR 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2302.10164.svg)](https://codeofpaper.com/paper/2302.10164)

Discussion