同一枚硬币的两面:通过同伦延拓连接深度平衡模型与神经常微分方程
Two Sides of The Same Coin: Bridging Deep Equilibrium Models and Neural ODEs via Homotopy Continuation
AI总结:
本文通过同伦延拓建立DEQs与Neural ODEs的联系,提出新隐式模型HomoODE,兼具高精度与稳定性,并在图像分类任务中超越现有隐式模型。
摘要:
深度平衡模型(DEQs)和神经常微分方程(Neural ODEs)是隐式模型的两个分支,因其优越的性能和低内存消耗而取得了显著成功。尽管两者都是隐式模型,但DEQs和Neural ODEs源自不同的数学表述。受同伦延拓的启发,我们在这两种模型之间建立了联系,并说明它们实际上是同一枚硬币的两面。同伦延拓是一种基于相应常微分方程求解非线性方程组的经典方法。基于这一联系,我们提出了一种新的隐式模型HomoODE,它继承了DEQs的高精度特性和Neural ODEs的稳定性特性。与DEQs在前向传播中通过牛顿法显式求解平衡点发现问题不同,HomoODE通过同伦延拓使用改进的Neural ODE隐式求解平衡点发现问题。此外,我们开发了一种带有共享可学习初始点的HomoODE加速方法。值得注意的是,我们的模型还提供了对增强神经常微分方程(Augmented Neural ODEs)为何有效这一问题的更好理解,只要将增强部分视为待求的平衡点即可。多个图像分类任务的综合实验表明,HomoODE在准确性和内存消耗方面均优于现有的隐式模型。
英文摘要:
Deep Equilibrium Models (DEQs) and Neural Ordinary Differential Equations (Neural ODEs) are two branches of implicit models that have achieved remarkable success owing to their superior performance and low memory consumption. While both are implicit models, DEQs and Neural ODEs are derived from different mathematical formulations. Inspired by homotopy continuation, we establish a connection between these two models and illustrate that they are actually two sides of the same coin. Homotopy continuation is a classical method of solving nonlinear equations based on a corresponding ODE. Given this connection, we proposed a new implicit model called HomoODE that inherits the property of high accuracy from DEQs and the property of stability from Neural ODEs. Unlike DEQs, which explicitly solve an equilibrium-point-finding problem via Newton's methods in the forward pass, HomoODE solves the equilibrium-point-finding problem implicitly using a modified Neural ODE via homotopy continuation. Further, we developed an acceleration method for HomoODE with a shared learnable initial point. It is worth noting that our model also provides a better understanding of why Augmented Neural ODEs work as long as the augmented part is regarded as the equilibrium point to find. Comprehensive experiments with several image classification tasks demonstrate that HomoODE surpasses existing implicit models in terms of both accuracy and memory consumption.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。