Most machine learning architectures treat time series as discrete sequences—ordered lists of values where the gap between observations is assumed to be constant. However, real-world data rarely follows a perfect grid. In clinical settings, a patient’s vitals might be recorded every hour, then every six hours, then not at all for two days. In finance, trades occur at millisecond intervals or minutes apart.
When we force these "messy" signals into discrete-time models like RNNs or standard Transformers, we lose the temporal context inherent in the gaps. A new research direction has emerged to solve this by treating time series not as sequences, but as continuous-time paths. By modeling the underlying dynamics that exist between observations, these methods allow for "anytime" inference and robust handling of missing data.
The Failure of the Discrete Grid
Standard sequence models assume that the transition from one state to the next is a fixed step. As noted by Xiangjie Kong and colleagues in their survey of deep time series forecasting, this assumption collapses when sampling is non-uniform. If an RNN processes two observations separated by one minute and then two observations separated by one week, it applies the same transformation regardless of the elapsed time, unless we manually inject time-delta features.
This mismatch is particularly acute in high-stakes domains. For instance, Weijian Li and Jiebo Luo demonstrate that predicting medication status in Parkinson’s patients requires accounting for the highly irregular intervals of smartphone sensor data. Relying on fixed-grid discretization in these cases introduces biases that can obscure the true physiological signal.
Modeling Change via Differential Equations
The most prominent solution to this problem is the use of Neural Ordinary Differential Equations (Neural ODEs). Instead of learning a mapping from $h_t$ to $h_{t+1}$, these models learn a function that describes the rate of change of the hidden state: $dh/dt = f(h, t)$.
To find the state at any arbitrary time $T$, the model integrates this function from the last known observation. This allows the model to naturally "evolve" its internal state over the exact duration of the gap.
- Stochastic Dynamics: Stav Belogolovsky and Shie Mannor introduced NESDE (Continuous Forecasting via Neural Eigen Decomposition of Stochastic Dynamics), which uses spectral decomposition to handle noise and irregular intervals more efficiently than standard ODE solvers.
- Path Dependency: Real-world processes often depend on their entire history, not just the current state. Florian Krach and Josef Teichmann developed Path-Dependent Neural Jump ODEs (PD-NJ-ODE) (Optimal Estimation of Generic Dynamics by Path-Dependent Neural Jump ODEs), which use mathematical "signatures" to summarize the history of a continuous path, allowing the model to handle non-Markovian dynamics.
Time as a Coordinate: Implicit Neural Representations
A parallel approach moves away from state-evolution entirely, treating time as a direct input coordinate. This is known as Implicit Neural Representation (INR). In this framework, a neural network learns a function $g(t) = x$, where $t$ is a continuous timestamp and $x$ is the value of the signal.
Elizabeth Fons and Yousef El-Laham pioneered this with HyperTime (HyperTime: Implicit Neural Representation for Time Series), showing that signals can be reconstructed and imputed by treating them as continuous functions. Similarly, Gerald Woo and Chenghao Liu developed DeepTime (Learning Deep Time-index Models for Time Series Forecasting), a meta-learning framework that predicts future values directly from time indices. Because these models take $t$ as a continuous variable, they are natively indifferent to whether the training data was sampled every second or every hour.
Bridging the Gap with State Space Models
While Neural ODEs are mathematically elegant, they are often slow to train because they require numerical solvers. A recent breakthrough involves Structured State Space Models (S4), which provide a bridge between continuous-time differential equations and efficient discrete-time convolutions.
Linqi Zhou and Michael Poli introduced LS4 (Deep Latent State Space Models for Time-Series Generation), which represents latent dynamics through a convolutional lens. This approach achieves a 100x speedup over traditional Neural ODEs while maintaining the ability to model "stiff" dynamical systems—those with sudden, sharp transitions that typically break continuous solvers.
Why It Works: The Intuition of Continuity
The core intuition behind this research direction is that the world does not stop between observations.
By shifting the inductive bias of our models from "next-item-in-a-list" to "evolution-of-a-system," we gain several advantages:
- Natural Imputation: Missing values are no longer a special case; they are simply points on the continuous path that haven't been observed yet.
- Resolution Independence: A model trained on hourly data can, in theory, be queried for a prediction at the half-hour mark without retraining.
- Causal Clarity: As shown by Georg Manten and Cristopher Salvi (Signature Kernel Conditional Independence Tests), continuous-time frameworks allow for more robust causal discovery by leveraging the "arrow of time" in stochastic differential equations, even when interactions are path-dependent.
As these continuous-time frameworks become more computationally efficient—through methods like Rough Transformers (Fernando Moreno-Pino, /paper/art_dc960aac7d7846b4bc17560bc2b82172)—they are likely to replace discrete sequence models in any domain where time is not a mere index, but a physical dimension.