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

Tight Certification of Adversarially Trained Neural Networks via Nonconvex Low-Rank Semidefinite Relaxations

Hong-Ming Chiu, Richard Y. Zhang

Introduction

In the realm of AI security, adversarial training is the gold standard for producing robust neural network models. By training networks on "poisoned" examples, models learn to resist small, malicious perturbations. However, empirical robustness is often not enough; high-stakes applications require formal certification—a mathematical guarantee that no small perturbation can alter the model's prediction.

Historically, researchers have faced a severe trade-off when attempting to certify these networks. Linear Programming (LP) methods are computationally efficient but notoriously "loose," often failing to certify models that are genuinely robust due to a theoretical "convex relaxation barrier." Conversely, Semidefinite Programming (SDP) provides much tighter bounds but is computationally intractable for standard networks, requiring optimization over $n^2$ variables (where $n$ is the number of neurons). This paper introduces a novel approach that achieves the tightness of SDP with efficiency closer to LP.

The Burer-Monteiro (BM) Certification Method

To break through the convex relaxation barrier, the authors propose a technique based on Burer-Monteiro (BM) certification, which utilizes a nonconvex low-rank restriction of the standard SDP relaxation.

Core Innovations

  • Low-Rank Factorization: Instead of optimizing a massive $n \times n$ matrix, the SDP matrix is factorized into a rectangular $n \times r$ matrix, where $r$ is a small rank (typically $r \le 10$). This drastically reduces the variable count from $O(n^2)$ to $O(nr)$.
  • Global Optimality: Nonconvex problems are typically plagued by local minima. However, the authors mathematically prove that for this specific formulation, any local minimum satisfying certain conditions is guaranteed to be the global minimum.
  • Rank-Lifting Algorithm: If the solver stalls at a saddle point, a "rank-lifting" procedure calculates an eigenvector to find a direction of improvement, increments the rank $r$, and continues until a zero duality gap is achieved.
  • BM-Full: By incorporating layer-wise preactivation bounds, the authors create "BM-Full," a strengthened version of the method that maintains tightness even in deeper networks.

Experimental Setup

The method was evaluated on the MNIST dataset using three distinct model variants:

  1. NOR-MNIST: A standard, normally trained control model.
  2. ADV-MNIST: A robust model trained using Projected Gradient Descent (PGD) attacks.
  3. LPD-MNIST: A model trained using adversarial polytope perturbations.

Key Results and Insights

The BM approach demonstrates a significant leap over previous state-of-the-art verifiers, proving that nonconvexity is a feature, not a bug. By shifting to a nonconvex formulation, the method successfully bypasses the convex relaxation barrier.

  • Unprecedented Tightness: On the ADV-MNIST model (with an $\ell_2$ attack radius of 1.0), PGD attacks demonstrated an empirical robustness of 77.4%. While standard LP methods certified a dismal 20.9% and top-tier verifiers like $\alpha, \beta$-CROWN reached 67.2%, the new BM-Full method certified 76.2%—nearly closing the gap between empirical and certified robustness.
  • Low Rank Suffices: A surprising insight is that a very low rank ($r \le 10$) is sufficient to reduce the duality gap to near zero, meaning complex high-rank matrices are unnecessary to capture the network's decision boundary geometry.
  • Computational Efficiency: Although the BM approach is roughly 5-10x slower than simple LP baselines, it remains polynomial in time complexity and is orders of magnitude faster than full SDP solvers.

Limitations and Future Directions

Despite its success, the BM method faces challenges common to relaxation techniques. The certification "gap" still grows as neural networks become deeper (e.g., scaling from 4 to 9 layers). Additionally, solving the nonconvex problem requires high-performance nonlinear solvers (like Knitro), introducing computational overhead compared to linear-time verifiers used in industry.

Future work will explore using the BM method recursively to calculate tighter preactivation bounds. This could help preserve certification tightness in much deeper, industrial-scale architectures, paving the way for universally verifiable robust AI.

Summary updated

BibTeX
@inproceedings{chiu2023tight,
  author = {Hong-Ming Chiu and Richard Y. Zhang},
  title = {{Tight Certification of Adversarially Trained Neural Networks via Nonconvex Low-Rank Semidefinite Relaxations}},
  booktitle = {International Conference on Machine Learning},
  year = {2023},
  url = {https://openreview.net/forum?id=L77GHxvccF},
}
Figure