In traditional deep learning, we think of a neural network as a sequence of discrete transformations. An input passes through layer one, then layer two, and so on, until it reaches the output. Mathematically, this looks like a series of steps: $h_{n+1} = h_n + f(h_n, \theta_n)$.
However, a growing body of research suggests that we should view these transformations not as discrete steps, but as a continuous flow. By treating the hidden state of a network as a trajectory in a dynamical system, we can model the world using the language of physics: Ordinary Differential Equations (ODEs).
From Discrete Layers to Continuous Flows
The shift from discrete to continuous modeling was popularized by Yulia Rubanova, David Duvenaud, and Tian Qi Chen in their work on Latent Ordinary Differential Equations. Instead of specifying a fixed number of layers, they proposed defining the derivative of the hidden state with respect to "depth" (or time):
$$\frac{dh(t)}{dt} = f(h(t), t, \theta)$$
In this view, "inference" is the process of solving an initial value problem. You start with your data at $t=0$ and use a numerical solver to evolve that state to some final time $T$. This perspective offers a profound advantage: the model becomes agnostic to the underlying time grid.
Solving the Problem of Irregular Data
The most immediate "killer app" for this approach is irregularly sampled time series. Standard Recurrent Neural Networks (RNNs) struggle when observations arrive at uneven intervals because they assume a constant "tick" of the clock.
By using continuous-time dynamics, models like ODE-RNN, developed by Zhuoran Xiao and Zhaoyang Zhang, can naturally evolve the hidden state over the exact duration between two observations. This has proven critical in high-stakes domains like medical drug-dosing, where Stav Belogolovsky and Shie Mannor used spectral decomposition in NESDE to handle noisy, sparse clinical data.
Lifting Trajectories to Increase Expressivity
While elegant, basic Neural ODEs have a mathematical limitation: trajectories in a vector field cannot cross. This means a standard Neural ODE cannot represent simple functions like $f(x) = -x$ if the path requires one value to "jump over" another in a single dimension.
To solve this, researchers introduced Augmented Neural ODEs (ANODEs). By adding extra "empty" dimensions to the state space, the model gains the ability to "lift" trajectories into a higher-dimensional space where they can pass one another without intersecting. This simple architectural change makes the models faster to train and significantly more expressive.
The Bottleneck: The Cost of Integration
The primary challenge holding back continuous-time models is computational overhead. Every forward pass requires a numerical solver (like Euler or Runge-Kutta) to take multiple internal steps to reach the solution. As noted by Pashupati Hegde and Samuel Kaski in their work on Differential GP flows, these iterations make training and inference significantly slower than standard feed-forward networks.
In fields like high-frequency trading, where Zijian Shi applied ODEs to Limit Order Books, or traffic forecasting, where Zheng Fang introduced STGODE, the trade-off between the accuracy of continuous modeling and the latency of numerical solvers remains a central tension.
The Frontier: Simulation-Free Training
To bypass the "solver bottleneck," a new wave of research is moving toward "simulation-free" training. Instead of solving the ODE at every training step, these methods attempt to match the model's velocity field directly to the data.
- Flow Matching: Xianglong Hou and Paris Perdikaris introduced the Continuous Flow Operator (CFO), which uses flow matching to learn PDE dynamics without ever running a solver during training.
- Fourier Methods: Xin Li and Qunxi Zhu developed Fourier Neural ODEs (FNODEs), which use spectral analysis to estimate gradients directly, achieving 10x speedups.
- Taylor Expansions: Cyrus Neary and Eric Goubault proposed TL-NODEs, which replace iterative solvers with fixed-order Taylor expansions and a learned correction network.
By treating neural networks as continuous dynamical systems, we gain a framework that is naturally robust to noise, capable of handling irregular data, and deeply grounded in the mathematical laws of the physical world. As we move toward more efficient, simulation-free training, these "liquid" architectures are poised to bridge the gap between static deep learning and the continuous flow of reality.