Chordal Sparsity for Lipschitz Constant Estimation of Deep Neural Networks
Anton Xue, Lars Lindemann, Alexander Robey, Hamed Hassani, George J. Pappas, Rajeev Alur
TL;DR
This work addresses the computational bottleneck of Lipschitz constant estimation for deep neural networks by leveraging chordal sparsity to decompose the large semidefinite constraint in LipSDP into many smaller constraints, yielding Chordal-LipSDP. The authors characterize the sparsity pattern via a tunable parameter $\tau$, prove that the chordal decomposition is equivalent to the original LipSDP (preserving the bound $L \le (\gamma_\ell^\star)^{1/2}$), and demonstrate substantial scalability improvements on deep networks with controllable bound tightening. Empirical results show faster runtimes for deeper networks and that increasing $\tau$ yields significantly tighter Lipschitz estimates without large performance penalties. The method preserves accuracy while enabling scalable robustness certificates, and the authors provide open-source implementation for broader adoption.
Abstract
Lipschitz constants of neural networks allow for guarantees of robustness in image classification, safety in controller design, and generalizability beyond the training data. As calculating Lipschitz constants is NP-hard, techniques for estimating Lipschitz constants must navigate the trade-off between scalability and accuracy. In this work, we significantly push the scalability frontier of a semidefinite programming technique known as LipSDP while achieving zero accuracy loss. We first show that LipSDP has chordal sparsity, which allows us to derive a chordally sparse formulation that we call Chordal-LipSDP. The key benefit is that the main computational bottleneck of LipSDP, a large semidefinite constraint, is now decomposed into an equivalent collection of smaller ones: allowing Chordal-LipSDP to outperform LipSDP particularly as the network depth grows. Moreover, our formulation uses a tunable sparsity parameter that enables one to gain tighter estimates without incurring a significant computational cost. We illustrate the scalability of our approach through extensive numerical experiments.
