On the Tightness of Semidefinite Relaxations for Certifying Robustness to Adversarial Examples
Richard Y. Zhang
Abstract
The robustness of a neural network to adversarial examples can be provably certified by solving a convex relaxation. If the relaxation is loose, however, then the resulting certificate can be too conservative to be practically useful. Recently, a less conservative robustness certificate was proposed, based on a semidefinite programming (SDP) relaxation of the ReLU activation function. In this paper, we describe a geometric technique that determines whether this SDP certificate is exact, meaning whether it provides both a lower-bound on the size of the smallest adversarial perturbation, as well as a globally optimal perturbation that attains the lower-bound. Concretely, we show, for a least-squares restriction of the usual adversarial attack problem, that the SDP relaxation amounts to the nonconvex projection of a point onto a hyperbola. The resulting SDP certificate is exact if and only if the projection of the point lies on the major axis of the hyperbola. Using this geometric technique, we prove that the certificate is exact over a single hidden layer under mild assumptions, and explain why it is usually conservative for several hidden layers. We experimentally confirm our theoretical insights using a general-purpose interior-point method and a custom rank-2 Burer-Monteiro algorithm.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers6
- Prompt Certified Machine Unlearning with Randomized Gradient Smoothing and QuantizationZijie Zhang, Yang Zhou, Xin Zhao, Tianshi Che et al.NeurIPS 2022 · 56 citations
- Towards Better Understanding of Training Certifiably Robust Models against Adversarial ExamplesSungyoon Lee, Woojin Lee, Jinseong Park, Jaewook LeeNeurIPS 2021 · 27 citations
- Tight Neural Network Verification via Semidefinite Relaxations and Linear ReformulationsJianglin Lan, Yang Zheng, Alessio LomuscioAAAI 2022 · 22 citations
- On the Scalability and Memory Efficiency of Semidefinite Programs for Lipschitz Constant Estimation of Neural NetworksZi Wang, Bin Hu, Aaron J. Havens, Alexandre Araujo et al.ICLR 2024 · 20 citations
- Tight Certification of Adversarially Trained Neural Networks via Nonconvex Low-Rank Semidefinite RelaxationsHong-Ming Chiu, Richard Y. ZhangICML 2023 · 4 citations
Builds on2
Related papers
- Hierarchical Verification for Adversarial RobustnessCong Han Lim, Raquel Urtasun, Ersin YumerICML 2020 · 6 citations
- The Convex Relaxation Barrier, Revisited: Tightened Single-Neuron Relaxations for Neural Network VerificationChristian Tjandraatmadja, Ross Anderson, Joey Huchette, Will Ma et al.NeurIPS 2020 · 102 citations
- SOL: Sampling-based Optimal Linear bounding of arbitrary scalar functionsYuriy Biktairov, Jyotirmoy DeshmukhNeurIPS 2023 · 3 citations
- Semialgebraic Optimization for Lipschitz Constants of ReLU NetworksTong Chen, Jean B. Lasserre, Victor Magron, Edouard PauwelsNeurIPS 2020 · 51 citations
- Overcoming the Convex Barrier for Simplex InputsHarkirat Singh Behl, M. Pawan Kumar, Philip H. S. Torr, Krishnamurthy DvijothamNeurIPS 2021 · 7 citations
