Chordal Sparsity for Lipschitz Constant Estimation of Deep Neural Networks

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Xue, Anton, Lindemann, Lars, Robey, Alexander, Hassani, Hamed, Pappas, George J., Alur, Rajeev
Format: Preprint
Published: 2022
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916082285019136
author Xue, Anton
Lindemann, Lars
Robey, Alexander
Hassani, Hamed
Pappas, George J.
Alur, Rajeev
author_facet Xue, Anton
Lindemann, Lars
Robey, Alexander
Hassani, Hamed
Pappas, George J.
Alur, Rajeev
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2204_00846
institution arXiv
publishDate 2022
record_format arxiv
spellingShingle Chordal Sparsity for Lipschitz Constant Estimation of Deep Neural Networks
Xue, Anton
Lindemann, Lars
Robey, Alexander
Hassani, Hamed
Pappas, George J.
Alur, Rajeev
Machine Learning
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.
title Chordal Sparsity for Lipschitz Constant Estimation of Deep Neural Networks
topic Machine Learning
url https://arxiv.org/abs/2204.00846