Contractivity of neural ODEs: an eigenvalue optimization problem
Abstract
We propose a novel methodology to solve a key eigenvalue optimization problem which arises in the contractivity analysis of neural ODEs. When looking at contractivity properties of a one layer weight-tied neural ODE (with , is a given matrix, denotes an activation function and for a vector , has to be interpreted entry-wise), we are led to study the logarithmic norm of a set of products of type , where is a diagonal matrix such that . Specifically, given a real number (usually ), the problem consists in finding the largest positive interval such that the logarithmic norm for all diagonal matrices with . We propose a two-level nested methodology: an inner level where, for a given , we compute an optimizer by a gradient system approach, and an outer level where we tune so that the value is reached by . We extend the proposed two-level approach to the general multilayer, and possibly time-dependent, case and we propose several numerical examples to illustrate its behaviour, including its stabilizing performance on a one-layer neural ODE applied to the classification of the MNIST handwritten digits dataset.
Keywords
Cite
@article{arxiv.2402.13092,
title = {Contractivity of neural ODEs: an eigenvalue optimization problem},
author = {Nicola Guglielmi and Arturo De Marinis and Anton Savostianov and Francesco Tudisco},
journal= {arXiv preprint arXiv:2402.13092},
year = {2024}
}
Comments
26 pages, 6 figures, 4 tables