Center Smoothing: Certified Robustness for Networks with Structured Outputs

Aounon Kumar, Tom Goldstein
2/19/2021
cs.LG

Official code: aounon/center-smoothing (8 stars, Python, MIT, last commit 2024-02-25).

Abstract

The study of provable adversarial robustness has mostly been limited to classification tasks and models with one-dimensional real-valued outputs. We extend the scope of certifiable robustness to problems with more general and structured outputs like sets, images, language, etc.

Show full abstract

We model the output space as a metric space under a distance/similarity function, such as intersection-over-union, perceptual similarity, total variation distance, etc. Such models are used in many machine learning problems like image segmentation, object detection, generative models, image/audio-to-text systems, etc. Based on a robustness technique called randomized smoothing, our $\textit{center smoothing}$ procedure can produce models with the guarantee that the change in the output, as measured by the distance metric, remains small for any norm-bounded adversarial perturbation of the input. We apply our method to create certifiably robust models with disparate output spaces - from sets to images - and show that it yields meaningful certificates without significantly degrading the performance of the base model. Code for our experiments is available at: https://github.com/aounon/center-smoothing.

View on arXivView PDF

Code Implementations(1)

MIT
80PythonJun 25, 20212 years agoMIT

Similar Papers

Cite this paper

@article{kumar2021center,
  title  = {Center Smoothing: Certified Robustness for Networks with Structured Outputs},
  author = {Aounon Kumar and Tom Goldstein},
  year   = {2021},
  eprint = {2102.09701},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2102.09701}
}

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

Discussion