NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Overcoming the Convex Relaxation Barrier for Neural Network Verification via Nonconvex Low-Rank Semidefinite Relaxations

Hong-Ming Chiu, Richard Y. Zhang

Abstract

Adversarial training is well-known to produce high-quality neural network models that are empirically robust against adversarial perturbations. Nevertheless, once a model has been adversarially trained, one often desires a certification that the model is truly robust against all future attacks. Unfortunately, when faced with adversarially trained models, all existing approaches have significant trouble making certifications that are strong enough to be practically useful. Linear programming (LP) techniques in particular face a "convex relaxation barrier" that prevent them from making high-quality certifications, even after refinement with mixed-integer linear programming (MILP) and branch-and-bound (BnB) techniques. In this paper, we propose a nonconvex certification technique, based on a low-rank restriction of a semidefinite programming (SDP) relaxation. The nonconvex relaxation makes strong certifications comparable to much more expensive SDP methods, while optimizing over dramatically fewer variables comparable to much weaker LP methods. Despite nonconvexity, we show how off-the-shelf local optimization algorithms can be used to achieve and to certify global optimality in polynomial time. Our experiments find that the nonconvex relaxation almost completely closes the gap towards exact certification of adversarially trained models.

Introduction

In the field of deep learning, adversarial training has become the standard for developing models robust to small, malicious perturbations. However, while these models demonstrate empirical robustness, providing a formal mathematical certification of that robustness remains a significant challenge. Current certification tools primarily rely on Linear Programming (LP) relaxations. While computationally efficient, these methods are limited by a "convex relaxation barrier"—a point where the approximation becomes too loose to prove the actual robustness of the model. Conversely, Semidefinite Programming (SDP) provides much tighter bounds but is computationally inaccessible for practical networks due to its $O(n^6)$ runtime complexity.

Methodology: Nonconvex Low-Rank Relaxations

This paper introduces a novel approach to bridge this gap: a nonconvex low-rank SDP relaxation based on the Burer-Monteiro (BM) method.

  1. Low-Rank Factorization: The method factorizes the large $n \times n$ matrix $X$ into $X = UU^T$, where $U$ is an $(n+1) \times r$ matrix. By selecting a small rank (e.g., $r \le 10$), the number of variables is reduced to $O(nr)$, allowing the problem to scale linearly with the number of neurons.
  2. Global Optimality: The authors demonstrate that under a mild "nonzero preactivation" condition, local optimization algorithms (such as knitro or fmincon) can reach and certify global optimality in polynomial time, despite the nonconvex nature of the problem.
  3. Rank Lifting: To avoid potential saddle points, a "lifting" technique is employed to increase the rank $r$ and identify directions for further improvement.
  4. BM-Full: An enhanced version, BM-Full, incorporates layer-wise preactivation bounds to achieve even tighter certifications.

Experimental Setup

The proposed method was evaluated using the MNIST dataset under three training conditions:

  • NOR-MNIST: A standard, normally trained model.
  • ADV-MNIST: A model trained using the PGD adversarial training method (Madry et al.).
  • LPD-MNIST: A model trained via adversarial polytope perturbation (Wong & Kolter). The researchers also tested the method's performance on deeper architectures, including multi-layer perceptrons (MLP) with up to 9 hidden layers.

Key Results and Discussion

The core insight of this work is that the "convex relaxation barrier" is a limitation of linear approximations rather than an inherent property of the models. By utilizing a low-rank SDP, the method captures nonlinear neuron relationships that LP-based methods overlook.

Comparison of certification methods against the convex relaxation barrier. BM-Full (this work) significantly outperforms LP-based methods and nearly reaches the empirical upper bound.

As illustrated in Figure 1, on an adversarially trained MNIST model, standard LP verifiers could only certify a robustness of 20.9%. Even advanced tools like the $\alpha, \beta$-CROWN verifier reached only 67.2%. The BM-Full method, however, certified 76.2%, nearly matching the empirical upper bound of 77.4% found by PGD attacks.

Detailed robustness certification results and computation times across different MNIST training regimes and perturbation radii.

Detailed results in Table 1 (Figure 6) show that while the low-rank approach is 5–10 times slower than the fastest LP methods, it remains orders of magnitude faster than traditional SDP solvers. Furthermore, the method maintains its effectiveness as network depth increases, whereas basic BM methods begin to lose tightness beyond 6 layers.

Conclusion

The nonconvex low-rank SDP relaxation provides a practical and powerful tool for neural network verification, effectively breaking the convex relaxation barrier. While computational overhead remains higher than specialized LP tools, the significant gain in certification tightness makes it a compelling choice for high-stakes applications. Future work will focus on scaling these techniques to large-scale convolutional networks like ImageNet.

Summary updated

BibTeX
@inproceedings{chiu2023overcoming,
  author = {Hong-Ming Chiu and Richard Y. Zhang},
  title = {{Overcoming the Convex Relaxation Barrier for Neural Network Verification via Nonconvex Low-Rank Semidefinite Relaxations}},
  booktitle = {International Conference on Machine Learning},
  year = {2023},
  url = {https://openreview.net/forum?id=L77GHxvccF},
}
Figure