[Paper Review] Modeling Temporal Data as Continuous Functions with Stochastic Process Diffusion
This paper proposes a denoising diffusion model that treats temporal data as continuous functions by modeling noise addition and removal in function space using stochastic processes. It enables probabilistic forecasting, imputation, and neural process modeling for irregularly-sampled time series, outperforming baselines on synthetic and real-world datasets with improved uncertainty calibration and smoothness.
Temporal data such as time series can be viewed as discretized measurements of the underlying function. To build a generative model for such data we have to model the stochastic process that governs it. We propose a solution by defining the denoising diffusion model in the function space which also allows us to naturally handle irregularly-sampled observations. The forward process gradually adds noise to functions, preserving their continuity, while the learned reverse process removes the noise and returns functions as new samples. To this end, we define suitable noise sources and introduce novel denoising and score-matching models. We show how our method can be used for multivariate probabilistic forecasting and imputation, and how our model can be interpreted as a neural process.
Motivation & Objective
- To model irregularly-sampled time series as continuous functions rather than discrete points.
- To develop a generative model that preserves function continuity during noise addition and denoising.
- To enable multivariate probabilistic forecasting and missing data imputation using function-space diffusion.
- To interpret the model as a neural process for conditional function generation.
- To improve uncertainty estimation and smoothness in time series modeling compared to prior methods.
Proposed method
- The forward process adds noise to entire functions using stochastic processes (e.g., Gaussian or Ornstein-Uhlenbeck), preserving continuity.
- The reverse process learns to denoise functions from pure noise back to data-distributed functions via a score-matching objective.
- Noise is added via a time-dependent stochastic process, with the final noisy function distributed as a known stochastic process.
- The model uses a denoising U-Net architecture conditioned on time and context points to predict noise at each step.
- The training objective is derived from a variational lower bound on the likelihood, adapted for function-space diffusion.
- Sampling is performed by starting from a prior stochastic process sample and iteratively denoising using the learned reverse process.
Experimental results
Research questions
- RQ1Can a diffusion model be effectively defined in function space to generate continuous-time time series with proper uncertainty quantification?
- RQ2How can stochastic processes be used as noise sources to maintain function continuity during the noising process?
- RQ3Can the proposed method outperform existing models in probabilistic forecasting and imputation on irregularly-sampled time series?
- RQ4How does the model’s performance vary with different kernel choices in the underlying stochastic process?
- RQ5Can the model be interpreted as a neural process, enabling conditional function generation from observed context points?
Key findings
- The model achieves a quantile loss of 0.737 on synthetic GP data, outperforming the true GP baseline (0.845), indicating accurate uncertainty capture.
- On the PhysioNet dataset, the model reduces imputation RMSE by 4.2% on average (0.498 vs. 0.520 at 10% missingness), with statistical significance.
- The model produces smooth, plausible function samples that reflect the true underlying process, especially when using RBF or OU kernels.
- The model generalizes well to extrapolation, with mean and variance behavior matching that of a GP, even when activation functions saturate.
- The model’s uncertainty estimates are more accurate than those of the attentive neural process, which fails to capture correct uncertainty patterns.
- The method maintains correct marginal distributions regardless of kernel smoothness, while noise process parameters control sample smoothness.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.