CLIP: Cheap Lipschitz Training of Neural Networks

Leon Bungert, René Raab, Tim Roith, Leo Schwinn, Daniel Tenbrinck
3/23/2021
cs.LGmath.OCstat.ML

Official code: TimRoith/CLIP (14 stars, Python, MIT, PyTorch, last commit 2024-09-23).

Abstract

Despite the large success of deep neural networks (DNN) in recent years, most neural networks still lack mathematical guarantees in terms of stability. For instance, DNNs are vulnerable to small or even imperceptible input perturbations, so called adversarial examples, that can cause false predictions.

Show full abstract

This instability can have severe consequences in applications which influence the health and safety of humans, e.g., biomedical imaging or autonomous driving. While bounding the Lipschitz constant of a neural network improves stability, most methods rely on restricting the Lipschitz constants of each layer which gives a poor bound for the actual Lipschitz constant. In this paper we investigate a variational regularization method named CLIP for controlling the Lipschitz constant of a neural network, which can easily be integrated into the training procedure. We mathematically analyze the proposed model, in particular discussing the impact of the chosen regularization parameter on the output of the network. Finally, we numerically evaluate our method on both a nonlinear regression problem and the MNIST and Fashion-MNIST classification databases, and compare our results with a weight regularization approach.

View on arXivView PDF

Code Implementations(1)

TimRoith/CLIPOfficial100%
PyTorchMIT

PyTorch Implementation of the CLIP Algorithm

143PythonMar 23, 20212 years agoMIT
cliplipschitz-regularizationneuronal-networkspytorch

Similar Papers

Cite this paper

@article{bungert2021clip,
  title  = {CLIP: Cheap Lipschitz Training of Neural Networks},
  author = {Leon Bungert and René Raab and Tim Roith and Leo Schwinn and Daniel Tenbrinck},
  year   = {2021},
  eprint = {2103.12531},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2103.12531}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2103.12531.svg)](https://codeofpaper.com/paper/2103.12531)

Discussion