On the Perils of Cascading Robust Classifiers

Ravi Mangal, Zifan Wang, Chi Zhang, Klas Leino, Corina Pasareanu +1 more
6/1/2022
cs.LG

Official code: TristaChi/ensembleKW (2 stars, Python, MIT, last commit 2022-11-17).

Abstract

Ensembling certifiably robust neural networks is a promising approach for improving the \emph{certified robust accuracy} of neural models. Black-box ensembles that assume only query-access to the constituent models (and their robustness certifiers) during prediction are particularly attractive due to their modular structure.

Show full abstract

Cascading ensembles are a popular instance of black-box ensembles that appear to improve certified robust accuracies in practice. However, we show that the robustness certifier used by a cascading ensemble is unsound. That is, when a cascading ensemble is certified as locally robust at an input $x$ (with respect to $ε$), there can be inputs $x'$ in the $ε$-ball centered at $x$, such that the cascade's prediction at $x'$ is different from $x$ and thus the ensemble is not locally robust. Our theoretical findings are accompanied by empirical results that further demonstrate this unsoundness. We present \emph{cascade attack} (CasA), an adversarial attack against cascading ensembles, and show that: (1) there exists an adversarial input for up to 88\% of the samples where the ensemble claims to be certifiably robust and accurate; and (2) the accuracy of a cascading ensemble under our attack is as low as 11\% when it claims to be certifiably robust and accurate on 97\% of the test set. Our work reveals a critical pitfall of cascading certifiably robust models by showing that the seemingly beneficial strategy of cascading can actually hurt the robustness of the resulting ensemble. Our code is available at \url{https://github.com/TristaChi/ensembleKW}.

View on arXivView PDF

Code Implementations(1)

MIT

Code implementing the experiments in paper "On the Perils of Cascading Robust Classifiers"

20Python, ShellMay 2, 20224 years agoMIT

Similar Papers

Cite this paper

@article{mangal2022perils,
  title  = {On the Perils of Cascading Robust Classifiers},
  author = {Ravi Mangal and Zifan Wang and Chi Zhang and Klas Leino and Corina Pasareanu and Matt Fredrikson},
  year   = {2022},
  eprint = {2206.00278},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2206.00278}
}

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/2206.00278.svg)](https://codeofpaper.com/paper/2206.00278)

Discussion