Search papers, labs, and topics across Lattice.
This paper introduces ExLipBaB, a generalization of the LipBaB algorithm, for computing the exact Lipschitz constant of piecewise linear neural networks with $p$-norms. Existing exact methods are limited to ReLU networks, which have drawbacks for Lipschitz-constrained networks. ExLipBaB extends exact Lipschitz constant computation to networks with ReLU, LeakyReLU, GroupSort, MinMax, FullSort, and MaxPool activations, enabling benchmarking and robustness guarantees for small models.
Finally, an exact Lipschitz constant computation method handles GroupSort, MinMax, and FullSort activations, unlocking tighter robustness guarantees for architectures beyond ReLU networks.
It has been shown that a neural network's Lipschitz constant can be leveraged to derive robustness guarantees, to improve generalizability via regularization or even to construct invertible networks. Therefore, a number of methods varying in the tightness of their bounds and their computational cost have been developed to approximate the Lipschitz constant for different classes of networks. However, comparatively little research exists on methods for exact computation, which has been shown to be NP-hard. Nonetheless, there are applications where one might readily accept the computational cost of an exact method. These applications could include the benchmarking of new methods or the computation of robustness guarantees for small models on sensitive data. Unfortunately, existing exact algorithms restrict themselves to only ReLU-activated networks, which are known to come with severe downsides in the context of Lipschitz-constrained networks. We therefore propose a generalization of the LipBaB algorithm to compute exact Lipschitz constants for arbitrary piecewise linear neural networks and $p$-norms. With our method, networks may contain traditional activations like ReLU or LeakyReLU, activations like GroupSort or the related MinMax and FullSort, which have been of increasing interest in the context of Lipschitz constrained networks, or even other piecewise linear functions like MaxPool.