Globally-Robust Neural Networks

Klas Leino, Zifan Wang, Matt Fredrikson
2/16/2021
162 citations
cs.LGcs.CRstat.ML

Official code: klasleino/gloro (31 stars, Python, MIT, last commit 2025-08-07).

Abstract

The threat of adversarial examples has motivated work on training certifiably robust neural networks to facilitate efficient verification of local robustness at inference time. We formalize a notion of global robustness, which captures the operational properties of on-line local robustness certification while yielding a natural learning objective for robust training.

Show full abstract

We show that widely-used architectures can be easily adapted to this objective by incorporating efficient global Lipschitz bounds into the network, yielding certifiably-robust models by construction that achieve state-of-the-art verifiable accuracy. Notably, this approach requires significantly less time and memory than recent certifiable training methods, and leads to negligible costs when certifying points on-line; for example, our evaluation shows that it is possible to train a large robust Tiny-Imagenet model in a matter of hours. Our models effectively leverage inexpensive global Lipschitz bounds for real-time certification, despite prior suggestions that tighter local bounds are needed for good performance; we posit this is possible because our models are specifically trained to achieve tighter global bounds. Namely, we prove that the maximum achievable verifiable accuracy for a given dataset is not improved by using a local bound.

View on arXivView PDF

Code Implementations(1)

klasleino/gloroOfficial100%
MIT

Library for training globally-robust neural networks.

316PythonFeb 10, 20211 years agoMIT

Similar Papers

Cite this paper

@article{leino2021globallyrobust,
  title  = {Globally-Robust Neural Networks},
  author = {Klas Leino and Zifan Wang and Matt Fredrikson},
  year   = {2021},
  eprint = {2102.08452},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2102.08452}
}

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

Discussion