Training robust neural networks using Lipschitz bounds

Patricia Pauli, Anne Koch, Julian Berberich, Paul Kohler, Frank Allgöwer
5/6/2020
cs.LGeess.SYmath.OC

Official code: p-kohler/Training-robust-neural-networks-using-Lipschitz-bounds (11 stars, Python, last commit 2026-11-12).

Abstract

Due to their susceptibility to adversarial perturbations, neural networks (NNs) are hardly used in safety-critical applications. One measure of robustness to such perturbations in the input is the Lipschitz constant of the input-output map defined by an NN.

Show full abstract

In this work, we propose a framework to train multi-layer NNs while at the same time encouraging robustness by keeping their Lipschitz constant small, thus addressing the robustness issue. More specifically, we design an optimization scheme based on the Alternating Direction Method of Multipliers that minimizes not only the training loss of an NN but also its Lipschitz constant resulting in a semidefinite programming based training procedure that promotes robustness. We design two versions of this training procedure. The first one includes a regularizer that penalizes an accurate upper bound on the Lipschitz constant. The second one allows to enforce a desired Lipschitz bound on the NN at all times during training. Finally, we provide two examples to show that the proposed framework successfully increases the robustness of NNs.

View on arXivView PDF

Code Implementations(1)

Here you can find the code for the paper "Training robust neural networks using Lipschitz bounds"

113Python, MATLABSep 11, 20202 weeks ago

Similar Papers

Cite this paper

@article{pauli2020training,
  title  = {Training robust neural networks using Lipschitz bounds},
  author = {Patricia Pauli and Anne Koch and Julian Berberich and Paul Kohler and Frank Allgöwer},
  year   = {2020},
  eprint = {2005.02929},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2005.02929}
}

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/2005.02929.svg)](https://codeofpaper.com/paper/2005.02929)

Discussion