arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2302.10892cs.LGcs.AI
收藏

本征信息NeuralODEs:处理NeuralODEs的稳定性和收敛性问题

Eigen-informed NeuralODEs: Dealing with stability and convergence issues of NeuralODEs

Augsburg University(奥格斯堡大学)

Tobias Thummerer, Lars Mikelsons

摘要:

使用vanilla NeuralODE来建模大型和/或复杂系统通常会失败,原因有两个:稳定性和收敛性。NeuralODE能够描述稳定和不稳定的动态系统。选择合适的数值求解器并不简单,因为NeuralODE属性在训练过程中会发生变化。如果NeuralODE变得更加僵硬,则次优求解器可能需要执行非常小的求解器步骤,这会显著减慢训练过程。如果NeuralODE变得不稳定,数值求解器可能根本无法解决它,这将导致训练过程终止。通常,这是通过选择一个计算昂贵的求解器来解决的,该求解器对不稳定和僵硬的ODE是鲁棒的,但代价是显著降低了训练性能。另一方面,我们的方法允许强制执行适合特定求解器或应用相关边界条件的ODE属性。关于收敛行为,NeuralODE经常倾向于陷入局部最小值,特别是如果要学习的系统是高度动态的和/或在多个周期内振荡。由于局部最小值处的梯度消失,NeuralODE通常无法离开它并收敛到正确的解。我们提出了一种技术来添加知识的ODE属性的特征值的基础上-如(部分)稳定性,振荡能力,频率,阻尼和/或刚度-的NeuralODE的训练目标。我们在线性和非线性系统模型上验证了我们的方法,并表明所提出的训练过程对局部极小值,不稳定性和稀疏数据样本更具鲁棒性,并提高了训练收敛性和性能。

英文摘要:

Using vanilla NeuralODEs to model large and/or complex systems often fails due two reasons: Stability and convergence. NeuralODEs are capable of describing stable as well as instable dynamic systems. Selecting an appropriate numerical solver is not trivial, because NeuralODE properties change during training. If the NeuralODE becomes more stiff, a suboptimal solver may need to perform very small solver steps, which significantly slows down the training process. If the NeuralODE becomes to instable, the numerical solver might not be able to solve it at all, which causes the training process to terminate. Often, this is tackled by choosing a computational expensive solver that is robust to instable and stiff ODEs, but at the cost of a significantly decreased training performance. Our method on the other hand, allows to enforce ODE properties that fit a specific solver or application-related boundary conditions. Concerning the convergence behavior, NeuralODEs often tend to run into local minima, especially if the system to be learned is highly dynamic and/or oscillating over multiple periods. Because of the vanishing gradient at a local minimum, the NeuralODE is often not capable of leaving it and converge to the right solution. We present a technique to add knowledge of ODE properties based on eigenvalues - like (partly) stability, oscillation capability, frequency, damping and/or stiffness - to the training objective of a NeuralODE. We exemplify our method at a linear as well as a nonlinear system model and show, that the presented training process is far more robust against local minima, instabilities and sparse data samples and improves training convergence and performance.

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

↑