Modeling Temporal Data as Continuous Functions with Stochastic Process Diffusion
Marin BilosKashif RasulAnderson SchneiderYuriy NevmyvakaStephan Günnemann
Proposes a function-space denoising diffusion framework that preserves temporal continuity using stochastic process noise, enabling effective generative modeling, probabilistic forecasting, and imputation for irregularly sampled time series.
Real-world time series data in healthcare, finance, and industrial operations is typically gathered at irregular or arbitrary intervals, yet it reflects physical systems that change smoothly and continuously over time. Generative diffusion models have demonstrated remarkable modeling capabilities in computer vision and audio, but traditional diffusion frameworks add independent noise to individual data points. This practice disrupts continuity across time, often generating jagged, discontinuous trajectories that struggle to capture the true underlying dynamics of continuous processes.
The article demonstrates a generative modeling framework that formulates diffusion over continuous function spaces rather than discrete vectors. It evaluates both fixed-step and continuous score-based formulations to naturally accommodate irregularly sampled temporal data for generative modeling, probabilistic forecasting, interpolation, and missing-value imputation.
The authors develop stochastic process diffusion by injecting temporally correlated noise functions—specifically Gaussian and Ornstein-Uhlenbeck processes—into the entire observed time series during the forward phase while training neural networks to reverse the process. The methodology was evaluated across six synthetic dynamical and chaotic systems alongside multiple real-world multivariate benchmarks, including the Electricity, Exchange, and Solar forecasting datasets and the PhysioNet medical record collection for missing-value imputation.
The evaluation yielded several key findings. In synthetic generative tests, a transformer-based discriminator was unable to distinguish between real data and trajectories generated by the proposed model, scoring near a random-chance accuracy of roughly 0.51, whereas competing models such as Latent ODEs and Continuous-Time Flow Processes were easily detected with discrimination accuracies reaching 0.73 to 1.0. In multivariate forecasting benchmarks, the method improved error metrics over autoregressive baselines—for example, reducing normalized root mean squared error on Electricity from 0.064 to 0.045—while predicting the entire forecast horizon in parallel rather than step-by-step. On medical imputation tasks with 50% and 90% missing values, injecting correlated stochastic noise significantly lowered reconstruction error compared to baseline diffusion with independent noise, confirming that continuous inductive biases enhance data recovery.
These findings indicate that treating temporal data as underlying continuous functions significantly enhances generation fidelity and uncertainty calibration without adding substantial computational overhead. Furthermore, predicting complete sequences simultaneously rather than autoregressively improves execution speed and hardware scaling, reducing operational risks and computational costs in deployment settings such as energy grid management and financial modeling.
Organizations handling irregular or noisy time series should consider adopting continuous stochastic process diffusion as a drop-in replacement for standard independent noise diffusion models. Teams implementing this architecture should prioritize network backbones that capture temporal dependencies, such as recurrent networks or transformers, as ablated models lacking temporal interaction fail to model function distributions accurately. Future engineering efforts should explore combining this approach with sparse Gaussian processes to maintain scalability when handling exceptionally long sequences.
The study's primary limitation stems from the computational cost of scaling full covariance matrix operations on extremely large sequences with thousands of observation points. While confidence in the experimental results is high across diverse benchmarks, practitioners should exercise care when selecting kernel hyperparameters, as matching the noise smoothness to the expected roughness of the target domain is essential for optimal curve generation.
- Paper: Score-Based Generative Modeling through Stochastic Differential Equations, Yang Song et al. (2021). Its continuous-time SDE formulation supplies the score-based diffusion framework that this paper adapts from vector data to continuous temporal functions.
- Paper: Denoising Diffusion Probabilistic Models, Jonathan Ho et al. (2020). Its foundational denoising diffusion setup clarifies the independent-noise baseline whose disruption of temporal continuity motivates this paper’s correlated-noise approach.
- Paper: Score-Based Diffusion Models in Function Space, Jae Hyun Lim 0001 et al. (2025). It generalizes score-based diffusion from continuous temporal functions to resolution-invariant function-space generation using neural operators.
