Semidefinite Relaxations for Neural Network Robustness Certification

This direction is no longer present in the current build. Its last version stays readable and citable here.

Version 1 of 131 papers53 conceptsfrozen 2026-10-04

Neural networks are notoriously fragile, often susceptible to tiny, adversarial perturbations that flip their predictions. To deploy these models in safety-critical systems, we need more than empirical testing; we need formal certification—a mathematical proof that no perturbation within a certain range can change the model's output.

The challenge lies in the "relaxation gap." Exact verification is computationally exhaustive (NP-hard), while fast approximations like Interval Bound Propagation (IBP) are often too "loose" to prove anything useful for deep models. A growing body of research suggests that Semidefinite Programming (SDP) provides the ideal middle ground, offering significantly tighter bounds by capturing the complex correlations between neurons that simpler methods ignore.

The Geometry of the Relaxation Gap

To certify a network, we must bound its output given a range of inputs. Most efficient verifiers use linear relaxations: they wrap the non-linear activation functions (like ReLU) in linear envelopes. However, as Manfred Morari and George J. Pappas argue in their work on DeepSDP, linear methods treat neurons as largely independent. This independence creates a "relaxation gap"—a space where the math says an error might occur, even if the actual network is perfectly safe.

SDP closes this gap by using Quadratic Constraints (QCs). Instead of just bounding a neuron's value between a minimum and maximum, QCs describe the relationship between the input and output of an activation function as a quadratic inequality. This allows the verifier to account for inter-neuron dependencies, resulting in a much tighter hull around the network's possible behaviors.

Overcoming the Scalability Barrier

Historically, SDP was considered a "theoretical" tool for neural networks because standard solvers (like interior-point methods) scale poorly, often requiring $O(n^4)$ memory. This made them unusable for anything larger than a tiny toy network.

A major breakthrough came from reformulating the problem. Sumanth Dathathri and colleagues demonstrated that by viewing the dual of the SDP as a first-order optimization problem, memory requirements could be slashed to $O(n)$. This shift allows for the certification of "verification-agnostic" networks—models not specifically trained to be easy to prove—which linear methods typically fail to verify.

Building on this, Zi Wang and Bin Hu introduced LipDiff, which transforms the estimation of a network's Lipschitz constant (a measure of smoothness) into an eigenvalue optimization problem. By leveraging GPU acceleration and autodiff frameworks, they scaled high-precision sensitivity analysis to architectures as large as AlexNet.

Low-Rank Factorization and the Burer-Monteiro Trick

Even with first-order methods, the sheer number of variables in a full semidefinite matrix can be overwhelming. Hong-Ming Chiu and Richard Y. Zhang addressed this by applying nonconvex low-rank relaxations.

By factorizing the large decision matrix into a product of smaller, rectangular matrices (the Burer-Monteiro approach), they reduced the variable count from quadratic to linear relative to the number of neurons. This technique effectively bypasses the "convex relaxation barrier," producing certification bounds that almost perfectly match the results of empirical adversarial attacks. Their work shows that we can achieve near-exact verification without the exponential cost of combinatorial solvers.

Integrating SDP into Modern Verifiers

The most recent frontier involves hybridizing SDP's tightness with the speed of linear bound propagation. Huan Zhang and Hong-Ming Chiu developed SDP-CROWN, a framework that derives linear bounds from the dual of an SDP relaxation.

The intuition is elegant: by adding just one trainable parameter per layer to capture inter-neuron correlations, SDP-CROWN can be integrated into existing backpropagation-based verifiers. This allows for the efficient calculation of tight lower bounds on models with millions of parameters, boosting verified accuracy on large-scale convolutional networks from near-zero to over 60% in seconds.

Beyond Robustness: Stability and Optimization

While much of this research focuses on adversarial defense, the implications extend to control systems and combinatorial optimization. Navid Hashemi and Mahyar Fazlyab have used incremental quadratic constraints to prove the stability of neural-network-based controllers. Meanwhile, Morris Yau and Stefanie Jegelka have shown that Graph Neural Networks can learn to produce certificates for hard optimization problems that rival the quality of traditional SDP solvers at a fraction of the time.

By moving from simple interval arithmetic to the rich geometric language of semidefinite programming, the field is closing the gap between what neural networks can do and what we can mathematically prove they will do.

Papers in this version

History & citationVersion 1 · 2026-10-04

No longer present in the current build · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_semidefinite_relaxations_for_neural_netw_4a259769,
  title = {Semidefinite Relaxations for Neural Network Robustness Certification},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/semidefinite-relaxations-for-neural-network-robustness-certification/rdr_4a2597693e1d4b3bb01db387512c0f8d},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-30},
}

This exact version (version 1, frozen text):

@misc{lacuna_semidefinite_relaxations_for_neural_netw_4a259769_v1,
  title = {Semidefinite Relaxations for Neural Network Robustness Certification},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/semidefinite-relaxations-for-neural-network-robustness-certification/rdr_4a2597693e1d4b3bb01db387512c0f8d/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-30},
}