Towards Certifying L-infinity Robustness using Neural Networks with L-inf-dist Neurons

Bohang Zhang, Tianle Cai, Zhou Lu, Di He, Liwei Wang
2/10/2021
62 citations
cs.LGcs.AIcs.CR

Official code: zbh2047/L_inf-dist-net (41 stars, Python, last commit 2022-03-16).

Abstract

It is well-known that standard neural networks, even with a high classification accuracy, are vulnerable to small $\ell_\infty$-norm bounded adversarial perturbations. Although many attempts have been made, most previous works either can only provide empirical verification of the defense to a particular attack method, or can only develop a certified guarantee of the model robustness in limited scenarios.

Show full abstract

In this paper, we seek for a new approach to develop a theoretically principled neural network that inherently resists $\ell_\infty$ perturbations. In particular, we design a novel neuron that uses $\ell_\infty$-distance as its basic operation (which we call $\ell_\infty$-dist neuron), and show that any neural network constructed with $\ell_\infty$-dist neurons (called $\ell_{\infty}$-dist net) is naturally a 1-Lipschitz function with respect to $\ell_\infty$-norm. This directly provides a rigorous guarantee of the certified robustness based on the margin of prediction outputs. We then prove that such networks have enough expressive power to approximate any 1-Lipschitz function with robust generalization guarantee. We further provide a holistic training strategy that can greatly alleviate optimization difficulties. Experimental results show that using $\ell_{\infty}$-dist nets as basic building blocks, we consistently achieve state-of-the-art performance on commonly used datasets: 93.09% certified accuracy on MNIST ($ε=0.3$), 35.42% on CIFAR-10 ($ε=8/255$) and 16.31% on TinyImageNet ($ε=1/255$).

View on arXivView PDF

Code Implementations(1)

[ICML 2021] This is the official github repo for training L_inf dist nets with high certified accuracy.

416Python, CudaFeb 10, 20214 years ago
adversarial-robustnesscertified-defense-modelsl-inf-dist-net

Similar Papers

Cite this paper

@article{zhang2021towards,
  title  = {Towards Certifying L-infinity Robustness using Neural Networks with L-inf-dist Neurons},
  author = {Bohang Zhang and Tianle Cai and Zhou Lu and Di He and Liwei Wang},
  year   = {2021},
  eprint = {2102.05363},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2102.05363}
}

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

Discussion