arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2007.15386cs.LGstat.ML
收藏

ResNet终究还是ResNet?神经ODE及其数值求解

ResNet After All? Neural ODEs and Their Numerical Solution

Bosch Center for Artificial Intelligence(博世人工智能中心);University of Tübingen(图宾根大学);MPI for Intelligent Systems(马克斯·普朗克智能系统研究所)

Katharina Ott, Prateek Katiyar, Philipp Hennig, Michael Tiemann

AI总结:

本文指出训练好的神经ODE模型实际依赖于训练时的数值求解方法,若离散化过粗会导致更换求解器时性能骤降,破坏了ODE概念,为此提出一种在训练期间自适应调整步长的算法以确保生成有效的ODE。

摘要:

最近提出的神经常微分方程(ODE)框架的一个关键吸引力在于,它似乎提供了离散残差神经网络的连续时间扩展。然而,正如我们在此所展示的,训练好的神经ODE模型实际上依赖于训练期间使用的具体数值方法。如果训练好的模型理应是源自ODE生成的流,那么应该可以在不损失性能的情况下,选择另一个具有相同或更小数值误差的数值求解器。我们观察到,如果训练依赖于离散化过于粗糙的求解器,那么使用另一个具有相同或更小数值误差的求解器进行测试会导致准确率急剧下降。在这种情况下,向量场与数值方法的组合不能被解释为源自ODE生成的流,这可以说对神经ODE概念构成了致命的破坏。然而,我们观察到存在一个临界步长,超过该步长训练会产生有效的ODE向量场。我们提出了一种方法,在训练期间监测ODE求解器的行为以自适应调整其步长,旨在确保生成有效的ODE,同时避免不必要地增加计算成本。我们在一个常见基准数据集以及一个合成数据集上验证了这种自适应算法。

英文摘要:

A key appeal of the recently proposed Neural Ordinary Differential Equation (ODE) framework is that it seems to provide a continuous-time extension of discrete residual neural networks. As we show herein, though, trained Neural ODE models actually depend on the specific numerical method used during training. If the trained model is supposed to be a flow generated from an ODE, it should be possible to choose another numerical solver with equal or smaller numerical error without loss of performance. We observe that if training relies on a solver with overly coarse discretization, then testing with another solver of equal or smaller numerical error results in a sharp drop in accuracy. In such cases, the combination of vector field and numerical method cannot be interpreted as a flow generated from an ODE, which arguably poses a fatal breakdown of the Neural ODE concept. We observe, however, that there exists a critical step size beyond which the training yields a valid ODE vector field. We propose a method that monitors the behavior of the ODE solver during training to adapt its step size, aiming to ensure a valid ODE without unnecessarily increasing computational cost. We verify this adaptation algorithm on a common bench mark dataset as well as a synthetic dataset.

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

↑