Flow Matching with Gaussian Process Priors for Probabilistic Time Series Forecasting
Marcel Kollovieh, Marten Lienen, David Lüdke, Leo Schwinn, Stephan Günnemann
TL;DR
This work addresses the challenge of non-i.i.d. priors in probabilistic time-series forecasting by introducing TSFlow, a conditional flow matching model that embeds Gaussian Process priors into the prior $q_0$ to better match temporal structure with the data distribution $q_1$. It integrates MBOT to form data–prior couplings and enables conditional prior sampling and guidance-based conditioning, bridging unconditional generation with probabilistic forecasting. The main contributions are (i) TSFlow with GP priors using SE, OU, and PE kernels, (ii) conditional prior sampling via Langevin dynamics and ALD-based likelihoods, (iii) guided generation to condition generation on observed histories, and (iv) a GP-regression extension for conditional modeling, all validated on eight real-world datasets where TSFlow often achieves state-of-the-art results while requiring fewer neural function evaluations. These results demonstrate improved generative quality and flexible probabilistic forecasting, offering practical benefits for downstream tasks and broader applicability to time-series modeling.
Abstract
Recent advancements in generative modeling, particularly diffusion models, have opened new directions for time series modeling, achieving state-of-the-art performance in forecasting and synthesis. However, the reliance of diffusion-based models on a simple, fixed prior complicates the generative process since the data and prior distributions differ significantly. We introduce TSFlow, a conditional flow matching (CFM) model for time series combining Gaussian processes, optimal transport paths, and data-dependent prior distributions. By incorporating (conditional) Gaussian processes, TSFlow aligns the prior distribution more closely with the temporal structure of the data, enhancing both unconditional and conditional generation. Furthermore, we propose conditional prior sampling to enable probabilistic forecasting with an unconditionally trained model. In our experimental evaluation on eight real-world datasets, we demonstrate the generative capabilities of TSFlow, producing high-quality unconditional samples. Finally, we show that both conditionally and unconditionally trained models achieve competitive results across multiple forecasting benchmarks.
