Unlocking Deterministic Robustness Certification on ImageNet

Kai Hu, Andy Zou, Zifan Wang, Klas Leino, Matt Fredrikson
1/29/2023
cs.LGcs.CV

Official code: klasleino/gloro (31 stars, MIT, last commit 2025-08-07). 1 more implementation below.

Abstract

Despite the promise of Lipschitz-based methods for provably-robust deep learning with deterministic guarantees, current state-of-the-art results are limited to feed-forward Convolutional Networks (ConvNets) on low-dimensional data, such as CIFAR-10. This paper investigates strategies for expanding certifiably robust training to larger, deeper models. A key challenge in certifying deep networks is efficient calculation of the Lipschitz bound for residual blocks found in ResNet and ViT architectures. We show that fast ways of bounding the Lipschitz constant for conventional ResNets are loose, and show how to address this by designing a new residual block, leading to the \emph{Linear ResNet} (LiResNet) architecture. We then introduce \emph{Efficient Margin MAximization} (EMMA), a loss function that stabilizes robust training by simultaneously penalizing worst-case adversarial examples from \emph{all} classes. Together, these contributions yield new \emph{state-of-the-art} robust accuracy on CIFAR-10/100 and Tiny-ImageNet under $\ell_2$ perturbations. Moreover, for the first time, we are able to scale up fast deterministic robustness guarantees to ImageNet, demonstrating that this approach to robust learning can be applied to real-world applications. We release our code on Github: \url{https://github.com/klasleino/gloro}.

View on arXivView PDF

Code Implementations(2)

klasleino/gloroOfficial100%
MIT

Library for training globally-robust neural networks.

317PythonFeb 10, 20211 years agoMIT
hukkai/liresnetCommunity100%
MIT

[NeurIPS 2023] and [ICLR 2024] for robustness certification.

102Shell, PythonOct 4, 20231 years agoMIT

Similar Papers

Cite this paper

@article{hu2023unlocking,
  title  = {Unlocking Deterministic Robustness Certification on ImageNet},
  author = {Kai Hu and Andy Zou and Zifan Wang and Klas Leino and Matt Fredrikson},
  year   = {2023},
  eprint = {2301.12549},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2301.12549v3},
  journal = {NEURIPS 2023 2023}
}

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

Discussion