Certified Robustness via Sparse Second-Order Cone Relaxations
Organizations: Toronto Metropolitan University · University of Minnesota Twin Cities · Johns Hopkins University · Augusta University ·
Abstract
Certified robustness is critical for deploying neural networks in safety-sensitive settings, but computing exact certificates typically requires solving nonconvex optimization problems. Practical verifiers use convex relaxations: linear programming (LP) relaxations are scalable but often too conservative, whereas semidefinite programming (SDP) relaxations can be substantially tighter but are computationally expensive. We introduce a hierarchy of second-order cone programming (SOCP) relaxations that provide stronger certificates than LP while avoiding the cost of global positive-semidefinite constraints. Our construction combines convex-hull relaxations of ReLU activations, selective McCormick lifting over certified variable bounds, and second-order cone constraints induced by 2-by-2 principal minors. Adding these constraints progressively yields a monotone hierarchy of increasingly tight bounds with a controllable computation-tightness trade-off. On fully connected and convolutional networks on MNIST and CIFAR-10, SOCP-based verification improves certified robust accuracy over LP-based verification and is competitive with alpha,beta-CROWN, while remaining orders of magnitude faster than SDP-based verification. These results position selective second-order constraints as a practical middle ground between scalable LP-based and tight SDP-based certification. Finally, we introduce class-optimized robust evaluation (CORE), which applies tighter relaxations only to target classes not certified by cheaper ones. On the fully connected MNIST benchmark, CORE variants match SDP-cert's certified robust accuracy while reducing average verification time by up to 86.30%.
Figures & tables
| Dataset | Training Method | Clean | SOCP-cert | -CROWN | PGD | ||
|---|---|---|---|---|---|---|---|
| MNIST | IBP | 0.1 | 0.1 | 99.00% | 88.33% | 87.33% | 88.67% |
| CROWN-IBP | 0.1 | 0.1 | 97.67% | 94.33% | 93.67% | 94.67% | |
| DeepPoly | 0.1 | 0.1 | 98.00% | 94.67% | 93.33% | 94.67% | |
| Dual-WK | 0.1 | 0.1 | 82.00% | 69.67% | 70.00% | 72.33% | |
| MNIST | CROWN-IBP | 0.1 | 0.15 | 97.67% | 8.00% | N/A | 32.00% |
| DeepPoly | 0.1 | 0.15 | 98.00% | 7.33% | N/A | 34.33% |
| Verifier | RA | Time (min) | Reduction |
|---|---|---|---|
| SDP-cert | 86.15% | 328.98 | – |
| SOCP-cert | 52.31% | 0.31 | 99.90% |
| LP-cert | 12.31% | – | – |
| CRV-FSR1 | 86.15% | 168.33 | 48.83% |
| CRV-FSR2 | 86.15% | 91.86 | 72.08% |
| CORE | 86.15% | 70.61 | 78.54% |
Appendix figures & tables1 asset
Supplementary material from the paper’s appendix.
Appendix
| Dataset | Training method | Clean | SOCP-cert | -CROWN | PGD | ||
|---|---|---|---|---|---|---|---|
| MNIST | IBP | 0.3 | 0.2 | 99.00 | 83.33 | 81.67 | 86.00 |
| CROWN-IBP | 0.3 | 0.2 | 97.67 | 88.33 | 87.33 | 90.00 | |
| DeepPoly | 0.3 | 0.2 | 98.00 | 88.00 | 86.67 | 90.33 | |
| Dual-WK | 0.3 | 0.2 | 82.00 | 61.67 | 61.00 | 62.67 |