Papers
Topics
Authors
Recent
Search
2000 character limit reached

Contractivity of neural ODEs: an eigenvalue optimization problem

Published 20 Feb 2024 in math.NA, cs.NA, and math.OC | (2402.13092v3)

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 u˙(t)=σ(Au(t)+b)\dot{u}(t)=\sigma(Au(t)+b) (with u,b∈R<sup>nu,b \in {\mathbb R}<sup>n, AA is a given n×nn \times n matrix, σ:R→R\sigma : {\mathbb R} \to {\mathbb R} denotes an activation function and for a vector z∈R<sup>nz \in {\mathbb R}<sup>n, σ(z)∈R<sup>n\sigma(z) \in {\mathbb R}<sup>n has to be interpreted entry-wise), we are led to study the logarithmic norm of a set of products of type DAD A, where DD is a diagonal matrix such that ${\mathrm{diag}}(D) \in \sigma&#39;({\mathbb R}<sup>n)$. Specifically, given a real number cc (usually c=0c=0), the problem consists in finding the largest positive interval I⊆[0,∞)\text{I}\subseteq \mathbb [0,\infty) such that the logarithmic norm μ(DA)≤c\mu(DA) \le c for all diagonal matrices DD with Dii∈ID_{ii}\in \text{I}. We propose a two-level nested methodology: an inner level where, for a given I\text{I}, we compute an optimizer D<sup>⋆(I)D<sup>\star(\text{I}) by a gradient system approach, and an outer level where we tune I\text{I} so that the value cc is reached by μ(D<sup>⋆(I)A)\mu(D<sup>\star(\text{I})A). We extend the proposed two-level approach to the general multilayer, and possibly time-dependent, case u˙(t)=σ(Ak(t)…σ(A1(t)u(t)+b1(t))…+bk(t))\dot{u}(t) = \sigma( A_k(t) \ldots \sigma ( A_{1}(t) u(t) + b_{1}(t) ) \ldots + b_{k}(t) ) 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.

Citations (2)

Summary

No one has generated a summary of this paper yet.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Continue Learning

We haven't generated follow-up questions for this paper yet.