Training Certifiably Robust Neural Networks with Efficient Local Lipschitz Bounds
Yujia Huang, Huan Zhang, Yuanyuan Shi, J. Zico Kolter, Anima Anandkumar
摘要
Certified robustness is a desirable property for deep neural networks in safety-critical applications, and popular training algorithms can certify robustness of a neural network by computing a global bound on its Lipschitz constant. However, such a bound is often loose: it tends to over-regularize the neural network and degrade its natural accuracy. A tighter Lipschitz bound may provide a better tradeoff between natural and certified accuracy, but is generally hard to compute exactly due to non-convexity of the network. In this work, we propose an efficient and trainable local Lipschitz upper bound by considering the interactions between activation functions (e.g. ReLU) and weight matrices. Specifically, when computing the induced norm of a weight matrix, we eliminate the corresponding rows and columns where the activation function is guaranteed to be a constant in the neighborhood of each given data point, which provides a provably tighter bound than the global Lipschitz constant of the neural network. Our method can be used as a plug-in module to tighten the Lipschitz bound in many certifiable training algorithms. Furthermore, we propose to clip activation functions (e.g., ReLU and MaxMin) with a learnable upper threshold and a sparsity loss to assist the network to achieve an even tighter local Lipschitz bound. Experimentally, we show that our method consistently outperforms state-of-the-art methods in both clean and certified accuracy on MNIST, CIFAR-10 and TinyImageNet datasets with various network architectures.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 33 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Efficiently Computing Local Lipschitz Constants of Neural Networks via Bound Propagation 引用了 Exactly Computing the Local Lipschitz Constant of ReLU Networks
- Efficiently Computing Local Lipschitz Constants of Neural Networks via Bound Propagation 引用了 Fast and Complete: Enabling Complete Neural Network Verification with Rapid and Massively Parallel Incomplete Verifiers
- Efficiently Computing Local Lipschitz Constants of Neural Networks via Bound Propagation 引用了 Globally-Robust Neural Networks
- Efficiently Computing Local Lipschitz Constants of Neural Networks via Bound Propagation 引用了 Towards Stable and Efficient Training of Verifiably Robust Neural Networks
- On the Effectiveness of Lipschitz-Driven Rehearsal in Continual Learning 引用了 Exactly Computing the Local Lipschitz Constant of ReLU Networks
- On the Effectiveness of Lipschitz-Driven Rehearsal in Continual Learning 引用了 Globally-Robust Neural Networks
- Rethinking Lipschitz Neural Networks and Certified Robustness: A Boolean Function Perspective 引用了 Certified Robustness to Adversarial Examples with Differential Privacy
- Rethinking Lipschitz Neural Networks and Certified Robustness: A Boolean Function Perspective 引用了 Efficiently Computing Local Lipschitz Constants of Neural Networks via Bound Propagation
- Rethinking Lipschitz Neural Networks and Certified Robustness: A Boolean Function Perspective 引用了 Improved deterministic l2 robustness on CIFAR-10 and CIFAR-100
- Rethinking Lipschitz Neural Networks and Certified Robustness: A Boolean Function Perspective 引用了 Globally-Robust Neural Networks
- Rethinking Lipschitz Neural Networks and Certified Robustness: A Boolean Function Perspective 引用了 Towards Stable and Efficient Training of Verifiably Robust Neural Networks
- Fast and Complete: Enabling Complete Neural Network Verification with Rapid and Massively Parallel Incomplete Verifiers 引用了 Towards Stable and Efficient Training of Verifiably Robust Neural Networks
- A Dynamical System Perspective for Lipschitz Neural Networks 引用了 Certified Robustness to Adversarial Examples with Differential Privacy
- Improved deterministic l2 robustness on CIFAR-10 and CIFAR-100 引用了 Certified Robustness to Adversarial Examples with Differential Privacy
- Globally-Robust Neural Networks 引用了 Certified Robustness to Adversarial Examples with Differential Privacy
- Globally-Robust Neural Networks 引用了 Towards Stable and Efficient Training of Verifiably Robust Neural Networks
- Towards Stable and Efficient Training of Verifiably Robust Neural Networks 引用了 Certified Robustness to Adversarial Examples with Differential Privacy
引用它的顶会 Paper33
- Rethinking Lipschitz Neural Networks and Certified Robustness: A Boolean Function PerspectiveBohang Zhang, Du Jiang, Di He, Liwei WangNeurIPS 2022 · 88 次引用
- Improved deterministic l2 robustness on CIFAR-10 and CIFAR-100Sahil Singla, Surbhi Singla, Soheil FeiziICLR 2022 · 77 次引用
- Efficiently Computing Local Lipschitz Constants of Neural Networks via Bound PropagationZhouxing Shi, Yihan Wang, Huan Zhang, J. Zico Kolter 等NeurIPS 2022 · 73 次引用
- A Dynamical System Perspective for Lipschitz Neural NetworksLaurent Meunier, Blaise Delattre, Alexandre Araujo, Alexandre AllauzenICML 2022 · 69 次引用
- On the Effectiveness of Lipschitz-Driven Rehearsal in Continual LearningLorenzo Bonicelli, Matteo Boschini, Angelo Porrello, Concetto Spampinato 等NeurIPS 2022 · 64 次引用
它引用的 Paper7
- Certified Robustness to Adversarial Examples with Differential PrivacyMathias Lécuyer, Vaggelis Atlidakis, Roxana Geambasu, Daniel Hsu 等S&P 2019 · 1,022 次引用
- Towards Stable and Efficient Training of Verifiably Robust Neural NetworksHuan Zhang, Hongge Chen, Chaowei Xiao, Sven Gowal 等ICLR 2020 · 384 次引用
- Fast and Complete: Enabling Complete Neural Network Verification with Rapid and Massively Parallel Incomplete VerifiersKaidi Xu, Huan Zhang, Shiqi Wang, Yihan Wang 等ICLR 2021 · 250 次引用
- Exactly Computing the Local Lipschitz Constant of ReLU NetworksMatt Jordan, Alexandros G. DimakisNeurIPS 2020 · 156 次引用
- Globally-Robust Neural NetworksKlas Leino, Zifan Wang, Matt FredriksonICML 2021 · 150 次引用
相关 Paper
- Certified Robustness via Dynamic Margin Maximization and Improved Lipschitz RegularizationMahyar Fazlyab, Taha Entesari, Aniket Roy, Rama ChellappaNeurIPS 2023 · 26 次引用
- Understanding Certified Training with Interval Bound PropagationYuhao Mao, Mark Niklas Müller, Marc Fischer, Martin T. VechevICLR 2024 · 26 次引用
- Semialgebraic Optimization for Lipschitz Constants of ReLU NetworksTong Chen, Jean B. Lasserre, Victor Magron, Edouard PauwelsNeurIPS 2020 · 51 次引用
- Second-Order Provable Defenses against Adversarial AttacksSahil Singla, Soheil FeiziICML 2020 · 64 次引用
- Linearity Grafting: Relaxed Neuron Pruning Helps Certifiable RobustnessTianlong Chen, Huan Zhang, Zhenyu Zhang, Shiyu Chang 等ICML 2022 · 18 次引用
