Towards Verifying Robustness of Neural Networks Against Semantic Perturbations

Jeet Mohapatra, Tsui-Wei, Weng, Pin-Yu Chen, Sijia Liu +1 more
12/19/2019
cs.LGstat.ML

Official code: JeetMo/Semantify-NN (4 stars, Python, MIT, last commit 2020-06-15).

Abstract

Verifying robustness of neural networks given a specified threat model is a fundamental yet challenging task. While current verification methods mainly focus on the $\ell_p$-norm threat model of the input instances, robustness verification against semantic adversarial attacks inducing large $\ell_p$-norm perturbations, such as color shifting and lighting adjustment, are beyond their capacity.

Show full abstract

To bridge this gap, we propose \textit{Semantify-NN}, a model-agnostic and generic robustness verification approach against semantic perturbations for neural networks. By simply inserting our proposed \textit{semantic perturbation layers} (SP-layers) to the input layer of any given model, \textit{Semantify-NN} is model-agnostic, and any $\ell_p$-norm based verification tools can be used to verify the model robustness against semantic perturbations. We illustrate the principles of designing the SP-layers and provide examples including semantic perturbations to image classification in the space of hue, saturation, lightness, brightness, contrast and rotation, respectively. In addition, an efficient refinement technique is proposed to further significantly improve the semantic certificate. Experiments on various network architectures and different datasets demonstrate the superior verification performance of \textit{Semantify-NN} over $\ell_p$-norm-based verification frameworks that naively convert semantic perturbation to $\ell_p$-norm. The results show that \textit{Semantify-NN} can support robustness verification against a wide range of semantic perturbations. Code available https://github.com/JeetMo/Semantify-NN

View on arXivView PDF

Code Implementations(1)

MIT

Code for "Towards Verifying Robustness Of Neural Networks Against A Family Of Semantic Perturbations" (CVPR '20)

43PythonApr 24, 20206 years agoMIT

Similar Papers

Cite this paper

@article{mohapatra2019towards,
  title  = {Towards Verifying Robustness of Neural Networks Against Semantic Perturbations},
  author = {Jeet Mohapatra and Tsui-Wei and Weng and Pin-Yu Chen and Sijia Liu and Luca Daniel},
  year   = {2019},
  eprint = {1912.09533},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1912.09533}
}

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

Discussion