1-Lipschitz Layers Compared: Memory, Speed, and Certifiable Robustness
Abstract: The robustness of neural networks against input perturbations with bounded magnitude represents a serious concern in the deployment of deep learning models in safety-critical systems. Recently, the scientific community has focused on enhancing certifiable robustness guarantees by crafting 1-Lipschitz neural networks that leverage Lipschitz bounded dense and convolutional layers. Although different methods have been proposed in the literature to achieve this goal, understanding the performance of such methods is not straightforward, since different metrics can be relevant (e.g., training time, memory usage, accuracy, certifiable robustness) for different applications. For this reason, this work provides a thorough theoretical and empirical comparison between methods by evaluating them in terms of memory usage, speed, and certifiable robust accuracy. The paper also provides some guidelines and recommendations to support the user in selecting the methods that work best depending on the available resources. We provide code at https://github.com/berndprach/1LipschitzLayersCompared.
- Sorting out Lipschitz function approximation. In International Conference on Machine Learing (ICML), 2019.
- A unified algebraic perspective on Lipschitz neural networks. In International Conference on Learning Representations (ICLR), 2023.
- Evasion attacks against machine learning at test time. In Machine Learning and Knowledge Discovery in Databases, 2013.
- An iterative algorithm for computing the best estimate of an orthogonal matrix. SIAM Journal on Numerical Analysis, 1971.
- Robust-by-design classification via unitary-gradient neural networks. Proceedings of the AAAI Conference on Artificial Intelligence, 2023.
- (Certified!!) adversarial robustness for free! In International Conference on Learning Representations (ICLR), 2023.
- Arthur Cayley. About the algebraic structure of the orthogonal group and the other classical groups in a field of characteristic zero or a prime characteristic. Journal für die reine und angewandte Mathematik, 1846.
- Parseval networks: Improving robustness to adversarial examples. In International conference on machine learning, 2017.
- Certified adversarial robustness via randomized smoothing. In Proceedings of the 36th International Conference on Machine Learning, 2019.
- Randaugment: Practical automated data augmentation with a reduced search space. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition workshops, 2020.
- Imagenet: A large-scale hierarchical image database. In Conference on Computer Vision and Pattern Recognition (CVPR), 2009.
- Generalizable adversarial training via spectral normalization. In International Conference on Learning Representations, 2018.
- The convolution exponential and generalized Sylvester flows. In Advances in Neural Information Processing Systems, 2020.
- Controllable orthogonalization in training DNNs. In Conference on Computer Vision and Pattern Recognition (CVPR), 2020.
- Reluplex: An efficient SMT solver for verifying deep neural networks. In International conference on computer aided verification, 2017.
- Alex Krizhevsky. Learning multiple layers of features from tiny images. Technical report, 2009.
- Fast algorithms for convolutional neural networks. In Proceedings of the IEEE conference on computer vision and pattern recognition, 2016.
- Tiny imagenet visual recognition challenge. CS 231N, 2015.
- Globally-robust neural networks. In International Conference on Machine Learning, 2021.
- Cheap orthogonal constraints in neural networks: A simple parametrization of the orthogonal and unitary group. In International Conference on Machine Learing (ICML), 2019.
- Sok: Certified robustness for deep neural networks. In 2023 IEEE Symposium on Security and Privacy (SP), 2023.
- Preventing gradient attenuation in Lipschitz constrained convolutional networks. In Conference on Neural Information Processing Systems (NeurIPS), 2019.
- Orthogonal deep neural networks. IEEE Transactions on Pattern Analysis and Machine Intelligence, 2021.
- Certified robust models with slack control and large Lipschitz constants. arXiv preprint arXiv:2309.06166, 2023.
- A dynamical system perspective for Lipschitz neural networks. In International Conference on Machine Learing (ICML), 2022.
- Spectral normalization for generative adversarial networks. In International Conference on Learning Representations (ICLR), 2018.
- Pytorch: An imperative style, high-performance deep learning library. In Conference on Neural Information Processing Systems (NeurIPS). 2019.
- Almost-orthogonal layers for efficient general-purpose Lipschitz networks. In European Conference on Computer Vision (ECCV), 2022.
- Fantastic four: Differentiable bounds on singular values of convolution layers. In International Conference on Learning Representations (ICLR), 2021.
- Skew orthogonal convolutions. In International Conference on Machine Learing (ICML), 2021.
- Improved techniques for deterministic l2 robustness. Conference on Neural Information Processing Systems (NeurIPS), 2022.
- Super-convergence: Very fast training of neural networks using large learning rates. In Artificial intelligence and machine learning for multi-domain operations applications, 2019.
- Intriguing properties of neural networks. In International Conference on Learning Representations (ICLR), 2014.
- Orthogonalizing convolutional layers with the Cayley transform. In International Conference on Learning Representations (ICLR), 2021.
- Lipschitz-margin training: Scalable certification of perturbation invariance for deep neural networks. Conference on Neural Information Processing Systems (NeurIPS), 2018.
- Direct parameterization of Lipschitz-bounded deep networks. In International Conference on Machine Learing (ICML), 2023.
- Towards fast computation of certified robustness for relu networks. In International Conference on Machine Learing (ICML), 2018.
- Provable defenses against adversarial examples via the convex outer adversarial polytope. In International Conference on Machine Learing (ICML), 2018.
- Dynamical isometry and a mean field theory of CNNs: How to train 10,000-layer vanilla convolutional neural networks. In International Conference on Machine Learing (ICML), 2018.
- Lot: Layer-wise orthogonal training on improving l2 certified robustness. Conference on Neural Information Processing Systems (NeurIPS), 2022.
- Constructing orthogonal convolutions in an explicit manner. In International Conference on Learning Representations (ICLR), 2021.
Paper Prompts
Sign up for free to create and run prompts on this paper using GPT-5.
Top Community Prompts
Collections
Sign up for free to add this paper to one or more collections.