Adaptive higher order reversible integrators for memory efficient deep learning

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Maslovskaya, Sofya, Ober-Blöbaum, Sina, Offen, Christian, Singh, Pranav, Wembe, Boris
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913697793835008
author Maslovskaya, Sofya
Ober-Blöbaum, Sina
Offen, Christian
Singh, Pranav
Wembe, Boris
author_facet Maslovskaya, Sofya
Ober-Blöbaum, Sina
Offen, Christian
Singh, Pranav
Wembe, Boris
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2410_09537
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Adaptive higher order reversible integrators for memory efficient deep learning
Maslovskaya, Sofya
Ober-Blöbaum, Sina
Offen, Christian
Singh, Pranav
Wembe, Boris
Numerical Analysis
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.
title Adaptive higher order reversible integrators for memory efficient deep learning
topic Numerical Analysis
url https://arxiv.org/abs/2410.09537