All families

Neural ODE

7 models. Fewest parameters first.

A Neural ODE does not specify a discrete sequence of hidden layers; a neural network parameterizes the derivative of the hidden state instead. The output is computed by a black-box differential equation solver, which evaluates the hidden-unit dynamics wherever it needs to in order to reach the desired accuracy. The paper's starting point is that the layer-by-layer updates of models such as residual networks can be seen as an Euler discretization of a continuous transformation.

Read more

In the paper's ODE-Net, the residual blocks of a small residual network are replaced by an ODESolve module. The number of function evaluations the solver requests in a single forward pass can be interpreted as an implicit number of layers. On MNIST, the paper finds that ODE-Nets can achieve around the same performance as the ResNet.

Training treats the ODE solver as a black box and computes gradients with the adjoint sensitivity method. That method solves a second, augmented ODE backwards in time and applies to all ODE solvers. The authors released a PyTorch implementation with GPU-based implementations of several standard ODE solvers. In the torchdiffeq library, the odeint_adjoint interface wraps odeint and uses only O(1) memory in exchange for solving an adjoint ODE in the backward call.

AI-written summary; not reviewed by a person. Corrections welcome.

Paper: Neural Ordinary Differential Equations

Filter and sort these in the model list