arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2109.14158cs.LGcs.SYeess.SYmath.OC
收藏

二阶神经网络ODE优化器

Second-Order Neural ODE Optimizer

Georgia Institute of Technology(佐治亚理工学院)

Guan-Horng Liu, Tianrong Chen, Evangelos A. Theodorou

摘要:

我们提出了一种新的二阶优化框架,用于训练新兴的深度连续时间模型,特别是神经常微分方程(Neural ODE)。由于他们的训练已经涉及昂贵的梯度计算,通过求解一个向后的ODE,推导出有效的二阶方法变得非常重要。尽管如此,受最近最优控制(OC)对训练深度网络的解释的启发,我们证明了一种特定的连续时间OC方法,称为差分编程,可以在相同的O(1)内存成本下推导高阶导数的后向ODE。我们进一步探讨了一个低秩表示的二阶导数,并表明,它导致有效的预处理更新与克罗内克为基础的因式分解的援助。由此产生的方法-命名为SNOpt -收敛速度远远快于挂钟时间的一阶基线,并且改进在各种应用中保持一致,例如图像分类,生成流和时间序列预测。我们的框架还支持直接架构优化,例如神经ODE的集成时间,具有二阶反馈策略,加强了OC视角作为分析深度学习优化的原则性工具。我们的代码可在https://github.com/ghliu/snopt上获得。

英文摘要:

We propose a novel second-order optimization framework for training the emerging deep continuous-time models, specifically the Neural Ordinary Differential Equations (Neural ODEs). Since their training already involves expensive gradient computation by solving a backward ODE, deriving efficient second-order methods becomes highly nontrivial. Nevertheless, inspired by the recent Optimal Control (OC) interpretation of training deep networks, we show that a specific continuous-time OC methodology, called Differential Programming, can be adopted to derive backward ODEs for higher-order derivatives at the same O(1) memory cost. We further explore a low-rank representation of the second-order derivatives and show that it leads to efficient preconditioned updates with the aid of Kronecker-based factorization. The resulting method -- named SNOpt -- converges much faster than first-order baselines in wall-clock time, and the improvement remains consistent across various applications, e.g. image classification, generative flow, and time-series prediction. Our framework also enables direct architecture optimization, such as the integration time of Neural ODEs, with second-order feedback policies, strengthening the OC perspective as a principled tool of analyzing optimization in deep learning. Our code is available at https://github.com/ghliu/snopt.

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

↑