[Paper Review] On the Tightness of Semidefinite Relaxations for Certifying Robustness to Adversarial Examples
This paper introduces a geometric framework to analyze the tightness of semidefinite programming (SDP) relaxations for certifying robustness in ReLU neural networks. It proves that the SDP relaxation is exact (i.e., yields globally optimal adversarial perturbations) for single-hidden-layer networks under mild conditions, and explains why it becomes conservative in deeper networks by analyzing the projection of a point onto a nonconvex hyperboloid.
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.
Motivation & Objective
- To understand when semidefinite programming (SDP) relaxations of ReLU activations yield exact robustness certificates.
- To address the gap between conservative and exact robustness certification in deep neural networks.
- To develop a geometric method for determining whether an SDP relaxation is tight, i.e., whether it achieves global optimality in adversarial attack problems.
- To explain why SDP-based certificates are often conservative in deep networks despite being less conservative than prior methods.
Proposed method
- The paper formulates the adversarial attack problem as a least-squares optimization and decomposes it into a sequence of nonconvex projection problems.
- It models the final relaxation step as the nonconvex projection of a point onto a hyperboloid in high-dimensional space.
- Tightness of the SDP relaxation is determined by whether this projection lies on the major axis of the hyperboloid.
- The method uses rank-2 Burer-Monteiro factorization to solve the nonconvex problem efficiently and detect global optimality via zero residual in the non-orthogonal component.
- It applies theoretical results from matrix completion and low-rank optimization to prove that exact solutions correspond to rank-1 solutions in the factorized space.
- The approach is validated using both interior-point methods and a custom rank-2 Burer-Monteiro algorithm with multiple random restarts.
Experimental results
Research questions
- RQ1Under what geometric conditions is the SDP relaxation of the ReLU activation function tight for adversarial robustness certification?
- RQ2Why is the SDP-based certificate less conservative than prior methods, and when does it fail to be exact?
- RQ3Can the tightness of the SDP relaxation be characterized by the position of a projected point relative to a hyperboloid’s major axis?
- RQ4Is the SDP relaxation exact for single-hidden-layer ReLU networks under mild assumptions on the network weights and biases?
- RQ5What explains the increased conservatism of the SDP certificate in deep networks with multiple hidden layers?
Key findings
- The SDP relaxation is exact for single-hidden-layer ReLU networks under mild assumptions, as the projection of the optimal point lies on the major axis of the hyperboloid.
- The relaxation is tight if and only if the solution to the nonconvex projection problem lies on the major axis of the hyperboloid.
- For deeper networks, the projection typically does not lie on the major axis, explaining the observed conservatism of the SDP certificate.
- Empirical results confirm that the rank-2 Burer-Monteiro algorithm consistently converges to rank-1 solutions when the SDP relaxation is tight, indicating global optimality.
- When the relaxation is loose, the algorithm often converges to solutions with non-zero non-orthogonal components, signaling suboptimality.
- The geometric characterization provides a theoretical explanation for the practical performance gap between single- and multi-layer networks in SDP-based robustness certification.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.