arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2402.13092math.NAcs.NAmath.OC
收藏

神经ODE的收缩性:一个特征值优化问题

Contractivity of neural ODEs: an eigenvalue optimization problem

Nicola Guglielmi, Arturo De Marinis, Anton Savostianov, Francesco Tudisco

AI总结:

本文提出一种双层嵌套方法解决神经ODE收缩性分析中的特征值优化问题,通过梯度系统计算优化器并调整区间使对数范数满足条件,并推广至多层情形,在MNIST数据集上验证了稳定化效果。

摘要:

我们提出了一种新颖的方法来解决神经ODE收缩性分析中出现的一个关键特征值优化问题。在考察单层权重绑定神经ODE $\dot{u}(t)=σ(Au(t)+b)$(其中 $u,b \in {\mathbb R}^n$,$A$ 是给定的 $n \times n$ 矩阵,$σ: {\mathbb R} \to {\mathbb R}$ 表示激活函数,且对于向量 $z \in {\mathbb R}^n$,$σ(z) \in {\mathbb R}^n$ 须按元素解释)的收缩性时,我们进而研究 $D A$ 类型乘积集合的对数范数,其中 $D$ 是对角矩阵,满足 ${\mathrm{diag}}(D) \in σ'({\mathbb R}^n)$。具体而言,给定实数 $c$(通常 $c=0$),问题在于寻找最大正区间 $\text{I}\subseteq \mathbb [0,\infty)$,使得对所有满足 $D_{ii}\in \text{I}$ 的对角矩阵 $D$,对数范数 $μ(DA) \le c$。我们提出了一种双层嵌套方法:在内层,对于给定的 $\text{I}$,通过梯度系统方法计算优化器 $D^\star(\text{I})$;在外层,调整 $\text{I}$ 使得 $μ(D^\star(\text{I})A)$ 达到值 $c$。我们将所提出的双层方法推广至一般的多层且可能依赖时间的情形 $\dot{u}(t) = σ( A_k(t) \ldots σ( A_{1}(t) u(t) + b_{1}(t) ) \ldots + b_{k}(t) )$,并提供了若干数值算例来展示其行为,包括其在应用于 MNIST 手写数字数据集分类的单层神经ODE上的稳定化表现。

英文摘要:

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 $\dot{u}(t)=σ(Au(t)+b)$ (with $u,b \in {\mathbb R}^n$, $A$ is a given $n \times n$ matrix, $σ: {\mathbb R} \to {\mathbb R}$ denotes an activation function and for a vector $z \in {\mathbb R}^n$, $σ(z) \in {\mathbb R}^n$ has to be interpreted entry-wise), we are led to study the logarithmic norm of a set of products of type $D A$, where $D$ is a diagonal matrix such that ${\mathrm{diag}}(D) \in σ'({\mathbb R}^n)$. Specifically, given a real number $c$ (usually $c=0$), the problem consists in finding the largest positive interval $\text{I}\subseteq \mathbb [0,\infty)$ such that the logarithmic norm $μ(DA) \le c$ for all diagonal matrices $D$ with $D_{ii}\in \text{I}$. We propose a two-level nested methodology: an inner level where, for a given $\text{I}$, we compute an optimizer $D^\star(\text{I})$ by a gradient system approach, and an outer level where we tune $\text{I}$ so that the value $c$ is reached by $μ(D^\star(\text{I})A)$. We extend the proposed two-level approach to the general multilayer, and possibly time-dependent, case $\dot{u}(t) = σ( A_k(t) \ldots σ( 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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑