1-Lipschitz Neural Networks are more expressive with N-Activations
You are an author of this paper, . Is this page accurate?
You approved this page.
Thanks. We will fix this and let you know.
Abstract
A crucial property for achieving secure, trustworthy and interpretable deep learning systems is their robustness: small changes to a system's inputs should not result in large changes to its outputs. Mathematically, this means one strives for networks with a small Lipschitz constant. Several recent works have focused on how to construct such Lipschitz networks, typically by imposing constraints on the weight matrices. In this work, we study an orthogonal aspect, namely the role of the activation function. We show that commonly used activation functions, such as MaxMin, as well as all piece-wise linear ones with two segments unnecessarily restrict the class of representable functions, even in the simplest one-dimensional setting. We furthermore introduce the new N-activation function that is provably more expressive than currently popular activation functions. We provide code at https://github.com/berndprach/NActivation.
Empirical ResultsBrowse all benchmarks →
| Benchmark | Method | Metric | Score | Protocol / Evidence |
|---|---|---|---|---|
| CIFAR-100 | NActivation | Certified Robust Accuracy | 30.6%+0.2 vs baseline | split: test · layer=AOLSource quoteL643: NActivation │ 43.2% │ 30.6% │ 20.9% │ 14.1% │ 2.1% |
| TinyImageNet · Tiny ImageNet | NActivation | Certified Robust Accuracy | 20.9%+0.1 vs baseline | split: test · layer=AOLSource quoteL652: NActivation │ 30.8% │ 20.9% │ 13.5% │ 9.1% │ 1.1% |
Reported baseline / comparator measurements (3)
| Benchmark | Method | Metric | Score | Protocol / Evidence |
|---|---|---|---|---|
| CIFAR-10 | MaxMin baseline | Certified Robust Accuracy | 62.2% | split: test · layer=CPLSource quoteL636: \multirow{2}{*}{CIFAR-10} │ \multirow{2}{*}{CPL} │ MaxMin │ 74.9% │ 62.2% │ 47.9% │ 35.2% │ 4.0% |
| CIFAR-100 | MaxMin baseline | Certified Robust Accuracy | 30.4% | split: test · layer=AOLSource quoteL642: \multirow{2}{*}{CIFAR-100} │ \multirow{2}{*}{AOL} │ MaxMin │ 43.1% │ 30.4% │ 20.7% │ 14.0% │ 2.1% |
| TinyImageNet · Tiny ImageNet | MaxMin baseline | Certified Robust Accuracy | 20.8% | split: test · layer=AOLSource quoteL651: \multirow{2}{*}{Tiny ImageNet} │ \multirow{2}{*}{AOL} │ MaxMin │ 30.4% │ 20.8% │ 13.6% │ 9.0% │ 1.0% |
BibTeX
@misc{prach2023lipschitz,
author = {Bernd Prach and Christoph H. Lampert},
title = {{1-Lipschitz Neural Networks are more expressive with N-Activations}},
year = {2023},
eprint = {2311.06103},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2311.06103},
}Ask Althea to put this paper to the test.
Loading related content...