Neural ODEs
What it is
Replaces discrete layers with a continuous vector field integrated by a solver, giving an ODE as the model.
When to use it
Irregularly sampled time series, continuous-depth models, and physics-constrained dynamics.
Caveats
Training and inference are slow because each forward pass runs a numerical ODE solver, and the cost grows as the learned dynamics become stiff. Plain neural ODEs cannot represent some functions without adding extra dimensions, and adjoint gradients can be inaccurate.
Key ideas
- Treats depth as continuous: a network defines the derivative of the hidden state
- An ODE solver computes the output, trading accuracy for compute
- The adjoint method gives gradients with constant memory
- Handles irregularly sampled time series naturally
Related architectures
Original paper
Neural Ordinary Differential Equations (2018, arXiv)