arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.09537math.NAcs.NA
收藏

用于内存高效深度学习的自适应高阶可逆积分器

Adaptive higher order reversible integrators for memory efficient deep learning

Sofya Maslovskaya, Sina Ober-Blöbaum, Christian Offen, Pranav Singh, Boris Wembe

AI总结:

针对 neural ODE 训练内存与不规则时间序列问题,提出支持自适应时间步长的高阶可逆积分方法,并在动力系统学习中验证其速度优势。

摘要:

网络深度在深度学习的有效性中起着至关重要的作用。然而,反向传播的内存需求随层数线性增长,这会在训练期间造成内存瓶颈。此外,深度网络通常无法处理以不规则间隔出现的时间序列数据。通过考虑基于 neural ODE 框架并结合允许可变时间步长的可逆积分方法的连续深度网络,可以解决这些问题。该方法的可逆性确保训练的内存需求与网络深度无关,而可变时间步长则是同化不规则间隔时间序列数据所必需的。然而,目前尚不存在具有这一特性的高阶可逆方法。当学习需要高水平精度,或由于 neural ODE 时间积分中的较大误差而必须使用较小时间步长时,高阶方法尤为重要,例如在 Kepler 系统和分子动力学等复杂动力系统的情境中。使用低阶方法时对小时间步长的需求会显著增加训练和推理的计算成本。在本工作中,我们提出了一种构造允许自适应时间步进的高阶可逆方法的途径。我们的数值测试表明,将其应用于学习动力系统任务时,在计算速度方面具有优势。

英文摘要:

The depth of networks plays a crucial role in the effectiveness of deep learning. However, the memory requirement for backpropagation scales linearly with the number of layers, which leads to memory bottlenecks during training. Moreover, deep networks are often unable to handle time-series data appearing at irregular intervals. These issues can be resolved by considering continuous-depth networks based on the neural ODE framework in combination with reversible integration methods that allow for variable time-steps. Reversibility of the method ensures that the memory requirement for training is independent of network depth, while variable time-steps are required for assimilating time-series data on irregular intervals. However, at present, there are no known higher-order reversible methods with this property. High-order methods are especially important when a high level of accuracy in learning is required or when small time-steps are necessary due to large errors in time integration of neural ODEs, for instance in context of complex dynamical systems such as Kepler systems and molecular dynamics. The requirement of small time-steps when using a low-order method can significantly increase the computational cost of training as well as inference. In this work, we present an approach for constructing high-order reversible methods that allow adaptive time-stepping. Our numerical tests show the advantages in computational speed when applied to the task of learning dynamical systems.

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

↑