Designing Stable Neural Networks using Convex Analysis and ODEs

Ferdia Sherry, Elena Celledoni, Matthias J. Ehrhardt, Davide Murari, Brynjulf Owren +1 more
6/29/2023
cs.LG

Official code: fsherry/non-expansive-odes (1 star, last commit 2024-12-30).

Abstract

Motivated by classical work on the numerical integration of ordinary differential equations we present a ResNet-styled neural network architecture that encodes non-expansive (1-Lipschitz) operators, as long as the spectral norms of the weights are appropriately constrained. This is to be contrasted with the ordinary ResNet architecture which, even if the spectral norms of the weights are constrained, has a Lipschitz constant that, in the worst case, grows exponentially with the depth of the network. Further analysis of the proposed architecture shows that the spectral norms of the weights can be further constrained to ensure that the network is an averaged operator, making it a natural candidate for a learned denoiser in Plug-and-Play algorithms. Using a novel adaptive way of enforcing the spectral norm constraints, we show that, even with these constraints, it is possible to train performant networks. The proposed architecture is applied to the problem of adversarially robust image classification, to image denoising, and finally to the inverse problem of deblurring.

View on arXivView PDF

Code Implementations(1)

10PythonJun 29, 20231 years ago

Similar Papers

Cite this paper

@article{sherry2023designing,
  title  = {Designing Stable Neural Networks using Convex Analysis and ODEs},
  author = {Ferdia Sherry and Elena Celledoni and Matthias J. Ehrhardt and Davide Murari and Brynjulf Owren and Carola-Bibiane Schönlieb},
  year   = {2023},
  eprint = {2306.17332},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2306.17332v2}
}

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

Discussion