Confidence-aware Training of Smoothed Classifiers for Certified Robustness

Jongheon Jeong, Seojin Kim, Jinwoo Shin
12/18/2022
cs.LGcs.AI

Official code: alinlab/smoothing-catrs (9 stars, Python, MIT, last commit 2023-01-19).

Abstract

Any classifier can be "smoothed out" under Gaussian noise to build a new classifier that is provably robust to $\ell_2$-adversarial perturbations, viz., by averaging its predictions over the noise via randomized smoothing. Under the smoothed classifiers, the fundamental trade-off between accuracy and (adversarial) robustness has been well evidenced in the literature: i.e., increasing the robustness of a classifier for an input can be at the expense of decreased accuracy for some other inputs.

Show full abstract

In this paper, we propose a simple training method leveraging this trade-off to obtain robust smoothed classifiers, in particular, through a sample-wise control of robustness over the training samples. We make this control feasible by using "accuracy under Gaussian noise" as an easy-to-compute proxy of adversarial robustness for an input. Specifically, we differentiate the training objective depending on this proxy to filter out samples that are unlikely to benefit from the worst-case (adversarial) objective. Our experiments show that the proposed method, despite its simplicity, consistently exhibits improved certified robustness upon state-of-the-art training methods. Somewhat surprisingly, we find these improvements persist even for other notions of robustness, e.g., to various types of common corruptions.

View on arXivView PDF

Code Implementations(1)

MIT

Code for the paper "Confidence-aware Training of Smoothed Classifiers for Certified Robustness" (AAAI 2023)

91PythonNov 27, 20223 years agoMIT

Similar Papers

Cite this paper

@article{jeong2022confidenceaware,
  title  = {Confidence-aware Training of Smoothed Classifiers for Certified Robustness},
  author = {Jongheon Jeong and Seojin Kim and Jinwoo Shin},
  year   = {2022},
  eprint = {2212.09000},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2212.09000}
}

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

Discussion