Consistency Regularization for Certified Robustness of Smoothed Classifiers

Jongheon Jeong, Jinwoo Shin
6/7/2020
cs.LGstat.ML

Official code: jh-jeong/smoothing-consistency (35 stars, Python, MIT, last commit 2021-01-11).

Abstract

A recent technique of randomized smoothing has shown that the worst-case (adversarial) $\ell_2$-robustness can be transformed into the average-case Gaussian-robustness by "smoothing" a classifier, i.e., by considering the averaged prediction over Gaussian noise. In this paradigm, one should rethink the notion of adversarial robustness in terms of generalization ability of a classifier under noisy observations.

Show full abstract

We found that the trade-off between accuracy and certified robustness of smoothed classifiers can be greatly controlled by simply regularizing the prediction consistency over noise. This relationship allows us to design a robust training objective without approximating a non-existing smoothed classifier, e.g., via soft smoothing. Our experiments under various deep neural network architectures and datasets show that the "certified" $\ell_2$-robustness can be dramatically improved with the proposed regularization, even achieving better or comparable results to the state-of-the-art approaches with significantly less training costs and hyperparameters.

View on arXivView PDF

Code Implementations(1)

MIT

Code for the paper "Consistency Regularization for Certified Robustness of Smoothed Classifiers" (NeurIPS 2020)

354PythonJun 7, 20205 years agoMIT
adversarial-defenseadversarial-machine-learningdeep-learningneurips2020randomized-smoothing+1 more

Similar Papers

Cite this paper

@article{jeong2020consistency,
  title  = {Consistency Regularization for Certified Robustness of Smoothed Classifiers},
  author = {Jongheon Jeong and Jinwoo Shin},
  year   = {2020},
  eprint = {2006.04062},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2006.04062}
}

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

Discussion