Affine-Image Propagation for Tight and Scalable Neural Network Verification
Organizations: University of Illinois at Urbana–Champaign
Abstract
While bound propagation methods are highly effective for certifying neural networks against adversaries, tight and scalable verification for adversaries remains a significant open challenge. Existing methods incur geometric loss by enclosing preactivation sets in elementwise intervals or axis-aligned ellipsoids, and functional loss by restricting the linear bounds constructed over those domains. Consequently, tight verification is currently restricted to Lipschitz-regularized networks where these approximations are accurate. In this paper, we introduce affine-image SDP-CROWN, a novel bound propagation method that better approximates preactivation domains using affine-image constraints and jointly optimizes the linear bound to adapt to the resulting domain. To bypass the prohibitive computational cost of dense semidefinite constraints required by the affine-image representation, we replace them with scaled diagonal-dominance conditions, allowing a GPU-accelerated implementation. Our method preserves the bound propagation recursion and can be integrated with branch-and-bound. On five MNIST and CIFAR-10 non-Lipschitz-regularized networks, our method improves verified accuracy over state-of-the-art methods by 17% to 57.5%. With branch-and-bound, these improvements increase to between 27% and 63.5%.
Figures & tables
| Network | Upper Bound | Affine-Image SDP-CROWN + BaB | Affine-Image SDP-CROWN | Original SDP-CROWN | BICCOS | -CROWN | -CROWN | LipNaive |
|---|---|---|---|---|---|---|---|---|
| Lipschitz-regularized / Small Lipschitz-constant Networks | ||||||||
| MNIST Models | ||||||||
| MLP | 50.5% | 49.5% (8.36s) | 44% (2.10s) | 32.5% (1.93s) | 40.5% (57.51s) | 39% (48.87s) | 1.5% (1.38s) | 29% (0.02s) |
| ConvSmall | 84.5% | 84.5% (1.91s) | 84% (1.81s) | 81.5% (5.15s) | 17% (128.72s) | 16.5% (124.74s) | 0% (2.39s) | 77.5% (0.10s) |
| ConvLarge | 84% | 82.5% (7.36s) | 82.5% (5.05s) | 79.5% (32.71s) | 0% (150.00s) | 0% (150.00s) | 0% (8.21s) | 77% (1.00s) |
| CIFAR-10 Models | ||||||||
Appendix figures & tables3 assets
Supplementary material from the paper’s appendix.
Appendix
| Model name | Model structure | Accuracy | Lipschitz |
| Small Lipschitz-constant networks | |||
| MNIST Models | |||
| MLP (MNIST) | Linear(784, 100) - Linear(100, 100) - Linear(100, 10) | 79% | 0.98 |
| ConvSmall (MNIST) | Conv(1, 16, 4, 2, 1) - Conv(16, 32, 4, 2, 1) - Linear(1568, 100) - Linear(100, 10) | 87.5% | 1.14 |
| ConvLarge (MNIST) | Conv(1, 32, 3, 1, 1) - Conv(32, 32, 4, 2, 1) - Conv(32, 64, 3, 1, 1) - Conv(64, 64, 4, 2, 1) - Linear(3136, 512) - Linear(512, 512) - Linear(512, 10) | 89.5% | 1.21 |
| CIFAR-10 Models | |||
Neural Network Verification
Neural network verification develops methods to prove whether networks satisfy properties such as robustness, safety, and bounded output behavior.
See all 146 papers