Introduction
Many real-world phenomena—from patient heart rates in a hospital to stock prices on an exchange—are continuous processes. However, we typically only observe them at sparse, irregular intervals. Modeling this "irregular time-series" data remains a major challenge in machine learning.
While Stochastic Differential Equations (SDEs) offer a mathematically elegant way to model continuous dynamics, existing SDE-based models suffer from two primary flaws. First, they often have limited representation power. Many models are restricted by the "Lipschitz property" of their neural networks or the mathematical constraints of Ito’s Lemma, meaning they struggle to represent common processes like Geometric Brownian Motion or complex non-Markovian dynamics. Second, they suffer from rigid inference. Previous variational methods often use a single, global SDE to approximate the posterior. This makes it difficult for the model to update its beliefs dynamically as new data points arrive, especially in online or long-sequence settings.
To address these issues, researchers have introduced Continuous Latent Process Flows (CLPF), a new generative framework that models complex, irregularly sampled time-series by combining the flexibility of SDEs with the expressive power of time-dependent Normalizing Flows.
The CLPF Architecture
The CLPF framework is built on two main components: a powerful generative model and a novel piecewise variational posterior.
In the generative model, an SDE describes the latent (hidden) dynamics of the system. This latent state then "drives" a time-dependent Normalizing Flow. By using a Normalizing Flow as a decoder rather than a simple linear layer, the model can capture much more complex, non-linear transformations of the underlying stochastic process.
This flow transforms a simple base process into a complex observable process. Notably, instead of using a standard Wiener process (random walk) whose variance grows infinitely over time, CLPF utilizes an Ornstein-Uhlenbeck (OU) process. The OU process has bounded variance, ensuring the model's uncertainty remains stable over long sequences.
Piecewise Variational Inference
To train the model effectively, the authors developed a new method to approximate the likelihood of the data. Instead of relying on one continuous SDE for the posterior, they construct it in "pieces."
At each observation, an RNN encoder updates the parameters of the posterior SDE. Breaking the variational posterior into segments allows the model to "reset" or adjust its trajectory every time it sees a new data point. This piecewise approach enables the model to be non-Markovian—its current state can depend on the entire history of observations, not just the immediate past, making it a much more natural fit for sequential information processing.
Experimental Results
The CLPF model was evaluated on a mix of synthetic and real-world benchmarks. Synthetic datasets included Geometric Brownian Motion (GBM), Linear SDE (LSDE), Continuous AR(4), and the Stochastic Lorenz Curve. Real-world datasets spanned physics simulations (Mujoco-Hopper), environmental sensor data (Beijing Air-Quality), and healthcare data (PTB Diagnostic Database).
CLPF consistently outperformed baselines like Latent SDE and Continuous-Time Flow Processes (CTFP) across almost all metrics. On synthetic data, CLPF achieved significantly lower Negative Log-Likelihood (NLL) than its competitors, particularly on complex processes like the Continuous AR(4) and the chaotic Lorenz curve.
Qualitatively, when generating sample trajectories on a dense time grid, CLPF produced paths that closely mirrored the ground truth, whereas standard models like the Variational RNN (VRNN) often failed to maintain the continuous structural properties of the data.
Limitations and Future Directions
While highly expressive, CLPF does have limitations. The model requires numerically solving two SDEs (one for the prior and one for the posterior), which can be computationally expensive compared to discrete-time models. Additionally, while the piecewise posterior is more flexible, the model still relies on variational approximations, and the tightness of the bound depends on the number of latent samples used during training.
Future work may explore the "universal approximation" properties of CLPF to determine the theoretical limits of the continuous stochastic processes it can represent. Extending the framework to handle non-stationary dynamics—where the underlying rules of the system change over time—also presents an exciting avenue for further research.
Summary updated