betaFeedback

WorksComputer Science

Deterministic Prediction as Global Velocity: Flow Matching for Probabilistic Time-Series Forecast

Abstract

Accurate uncertainty quantification is critical for many time series forecasting applications, and recent studies have increasingly adopted generative models to capture predictive uncertainty. Existing approaches often combine deterministic forecasting with generative modeling to improve predictive performance. However, their joint training is typically unstable because the deterministic model is embedded within the generative process, resulting in deep computational graphs and changing the probability transport path. In this work, we propose DV-Flow, a unified flow-matching formulation that incorporates the deterministic predictor as a parallel velocity component rather than as the endpoint of the transport path. This design enables stable end-to-end optimization while subsuming several existing formulations as special cases, allowing direct comparisons among them. Extensive experiments on six real-world datasets demonstrate that DV-Flow consistently improves probabilistic forecasting performance over strong baselines. Our code is available at https://github.com/tufts-ml/dv-flow-time-series.

Introduction

Time series forecasting plays a crucial role in domains such as finance, logistics, and healthcare [69]. Many downstream decision-making tasks built on forecasts require probabilistic quantification of future trajectories. From a modeling standpoint, this involves learning the conditional distribution of future time series given the past. Accordingly, many deterministic and probabilistic approaches were developed.

Deterministic forecasting models [33, 62, 68, 13, 5, 49, 37, 43, 32] are typically trained to minimize the squared prediction error and therefore approximate the conditional mean of the data distribution. These models excel at producing accurate point forecasts, but their characterization of predictive uncertainty can only come from a Gaussian assumption derived from the mean squared error.

Probabilistic models such as diffusion models [20, 21] and flow-matching frameworks [35, 59, 36] have demonstrated strong capabilities in modeling complex, high-dimensional distributions, and have been successfully applied to time series forecasting [47, 26, 57, 69, 23, 16, 28, 14]. Although these models enable sampling of diverse future trajectories and thus support full-trajectory uncertainty quantification, they are not explicitly designed to recover the conditional mean, which remains a central quantity for forecasting.

To leverage the complementary strengths of deterministic and probabilistic models, recent works have explored hybrid formulations that combine both components. Existing approaches typically fall into two categories. Two-stage methods [18, 64] first train a deterministic predictor and then fit a probabilistic model conditioned on its output. Although stable, such approaches forgo the potential benefits of joint optimization. Alternatively, several recent methods [51, 66, 31] (Li et al. 2025) pursue fully end-to-end training by incorporating the deterministic predictor directly into diffusion or flow-matching formulations. In these approaches, the deterministic model either defines a residual variable or serves as a prior state of the generative path.

A key consequence of the previous joint training designs is that the generative model takes the output of the deterministic predictor as part of its input when constructing the intermediate states of the flow or diffusion process, forming deep computational graphs and yielding a non-stationary regression task during joint optimization. Similar optimization challenges arising from moving targets have been widely recognized in reinforcement learning and adversarial learning [41, 19]. In addition, many existing end-to-end hybrid approaches optimize only the diffusion (or flow-matching) objective, updating both components without explicitly supervising the deterministic predictor, which may not learn the conditional mean and simply increases the network depth.

In this work, we propose a novel joint-training flow-matching formulation that absorbs the deterministic forecast into the flow-matching velocity as a global velocity component. Specifically, the deterministic forecast gives a global velocity direction, which depends only on the historical context. The original flow-matching velocity is then retained as the local velocity, which is state- and time-dependent and captures the complex distribution of the target time series. Moreover, we add an auxiliary loss that explicitly supervises the deterministic component to leverage the strength of the deterministic point forecaster, while the local velocity captures higher-order variability and uncertainty. This formulation preserves the strengths of both deterministic and probabilistic models and enables principled, stable end-to-end joint training, leading to improved forecast performance and more reliable uncertainty quantification.

We evaluate our model on six real-world benchmark datasets spanning diverse domains, including electricity consumption and stock prices, where reliable uncertainty quantification is critical for decision-making. Beyond comparisons with SOTA baselines, we identify a unified framework that captures existing hybrid formulations as special cases and conduct a systematic empirical study in a controlled experimental setting. This controlled comparison enables a direct assessment of how different hybrid formulations affect distribution fitting, velocity fitting, and optimization stability.

In summary, our work contributes to research on probabilistic forecasting of time series in three aspects:

  • We introduce a Dual Velocity flow matching framework (DV-Flow) that treats the deterministic predictor as a velocity component and thereby enables stable end-to-end joint training.

  • We analyze the decomposition of probabilistic forecasting into a center prediction and variance estimation through trajectory sampling.

  • We evaluate DV-Flow through controlled experiments and on real-world datasets, demonstrating that the proposed DV-Flow method exhibits stable training dynamics and improves forecast probabilistic distribution performance.

Related work

Deterministic forecasting models generate single-point predictions of future values from past observations without modeling uncertainty. Classical statistical approaches such as ARIMA [5] capture linear dependencies through autoregression, differencing, and moving averages. Recently, Transformer-based models achieve strong results by modeling long-range dependencies with attention, such as Temporal Fusion Transformer (TFT) [32], PatchTST [43], and iTransformer [37]. Probabilistic models forecast distributions rather than point estimates, enabling uncertainty quantification for risk-sensitive applications such as finance, supply chain, and healthcare. Early neural approaches like DeepAR [48] used RNNs to model conditional distributions across related series. More recent work leverages diffusion [20, 21] and flow-matching frameworks for probabilistic forecasting [16, 14]. Examples include TimeGrad [47], which introduces diffusion-based autoregression, Diffusion-TS [67], which captures seasonality and trends with Fourier-based objectives, TSDiff [27] which uses a self-guiding diffusion framework, and TSFlow [28], which applies flow matching with Gaussian Process priors.

To leverage the strength of both deterministic models and probabilistic models, several works have explored hybrid methods that combine them. D3^{3}U (Li et al., 2025) leverages a pretrained point forecasting model to predict the high-certainty part of the data and trains a separate diffusion model to learn the residual distribution. STVD [51] combines a deterministic downscaling component for a coarser prediction and a diffusion module to learn the residual error to add finer details. DiffCast [66] trains a global deterministic motion model and a local residual diffusion. CGFM [64] combines a pretrained deterministic model and a flow matching model to learn the residual. TMDM [31] leverages a deterministic transformer model to learn the expectation of future trajectory based on context, and uses it as the endpoint prior in the diffusion process. NsDiff [65] further generalizes this deterministic-as-prior formulation by pretraining conditional mean and variance estimators and using their predictions to define a context-dependent Gaussian endpoint and an uncertainty-aware noise schedule. These estimators are fixed during diffusion training, resulting in a cascaded alternative to joint end-to-end optimization. CasCast [18] combines a deterministic component and diffusion in a cascaded manner. It first trains a deterministic model, and then uses its prediction as condition in the downstream diffusion model.

Preliminaries

Flow matching. Let p∗(y)p^*(\mathbf{y}) over RD\mathbb{R}^D be the data distribution for a given training set Y\mathcal{Y}. Flow matching models aim to learn an implicit generative model that transforms a simple prior distribution pεp_\varepsilon, typically a standard Gaussian distribution, to the complex target data distribution. The implicit model is essentially an ODE defined by a vector field, which is learned by a neural network.

A typical setting of flow matching is Rectified Flow [36, 35], which defines the vector field with straight lines between data samples and random noise. Let y1∼p∗(y)\mathbf{y}^1 \sim p^*(\mathbf{y}) and y0=ϵ∼p0=N(0,I)\mathbf{y}^0 = \boldsymbol{\epsilon} \sim p^0 = \mathcal{N}(\mathbf{0},\mathbf{I}). For τ∼U[0,1]\tau\sim\mathcal{U}[0,1], yτ=τy1+(1−τ)y0\mathbf{y}^{\tau} = \tau\mathbf{y}^1 + (1-\tau)\mathbf{y}^0 forms a straight line between y1\mathbf{y}^1 and y0\mathbf{y}^0. At each location yτ\mathbf{y}^{\tau}, the vector field conditioned on two endpoints is u(yτ,τ∣(y0,y1))=y1−y0u(\mathbf{y}^{\tau},\tau\mid(\mathbf{y}^0,\mathbf{y}^1)) = \mathbf{y}^1-\mathbf{y}^0. The vector field v∗(yτ,τ)=Ey0,y1[u(yτ,τ∣(y0,y1))]v^*(\mathbf{y}^{\tau},\tau) = \mathbb{E}_{\mathbf{y}^0,\mathbf{y}^1}[u(\mathbf{y}^{\tau},\tau\mid(\mathbf{y}^0,\mathbf{y}^1))] by marginalizing over all pairs of (y0,y1)(\mathbf{y}^0,\mathbf{y}^1) is the ideal vector field that specifies the distribution p∗p^*. The vector field is learned by minimizing the following loss:

L=Eτ,y0,y1[∥vϕ(yτ,τ)−u(yτ,τ∣(y0,y1))∥2]=Eτ,y0,y1[∥vϕ(yτ,τ)−v∗(yτ,τ)∥2]+Eτ,y0,y1[∥v∗(yτ,τ)−u(yτ,τ∣(y0,y1))∥2].(1)\begin{aligned} L = \mathbb{E}_{\tau,\mathbf{y}^0,\mathbf{y}^1}\left[\left\|v_{\phi}(\mathbf{y}^{\tau},\tau)-u(\mathbf{y}^{\tau},\tau\mid(\mathbf{y}^0,\mathbf{y}^1))\right\|^2\right] \\ &= \mathbb{E}_{\tau,\mathbf{y}^0,\mathbf{y}^1}\left[\left\|v_{\phi}(\mathbf{y}^{\tau},\tau)-v^*(\mathbf{y}^{\tau},\tau)\right\|^2\right] + \mathbb{E}_{\tau,\mathbf{y}^0,\mathbf{y}^1}\left[\left\|v^*(\mathbf{y}^{\tau},\tau)-u(\mathbf{y}^{\tau},\tau\mid(\mathbf{y}^0,\mathbf{y}^1))\right\|^2\right]. \tag*{(1)} \end{aligned}

The training objective in the first line is easy to implement. It can be composed as the error in fitting the vector field and a constant term. The objective computed on a validation set can also be used to compare different models to measure how well they fit the target vector field.

With a trained vector field vϕ(yτ,τ)v_{\phi}(\mathbf{y}^{\tau},\tau), we can draw samples from the learned model by integrating through the ODE path:

y1=y0+∫τ=01vϕ(yτ,τ)dτ,y0∼p0.\mathbf{y}^1 = \mathbf{y}^0 + \int_{\tau=0}^{1}v_{\phi}(\mathbf{y}^{\tau},\tau)d\tau,\qquad\mathbf{y}^0 \sim p^0.

Generative models in time series forecasting. Consider a DD-dimensional multivariate time series sampled at time points indexed by t=1,…,Tt=1,\ldots,T. Given past observations x1:t0\mathbf{x}_{1:t_0}, where xt∈RD\mathbf{x}_t \in\mathbb{R}^D, time series forecasting aims to learn the conditional future data distribution p∗(yt0+1:T∣x1:t0)p^*(\mathbf{y}_{t_0+1:T}\mid\mathbf{x}_{1:t_0}). For simplicity of notation, we will omit the subscript timestamps and use y\mathbf{y} to represent yt0+1:T\mathbf{y}_{t_0+1:T} and x\mathbf{x} to represent x1:t0\mathbf{x}_{1:t_0} in the following sections. Diffusion and flow matching have been successfully applied to time series forecasting. To apply a generative model to the forecasting task, we set p∗(y∣x)p^{*}(\mathbf{y}|\mathbf{x}) as the target distribution, which is learned by a diffusion-based or flow-matching generative model specified by a neural network v(yτ,τ,x)v(\mathbf{y}^{\tau}, \tau, \mathbf{x}).

Unlike a typical generative task (e.g., image generation), previous observations x\mathbf{x} provide rich information about the target and require special treatment. Sending x\mathbf{x} to the neural network v(yτ,τ,x)v(\mathbf{y}^{\tau}, \tau, \mathbf{x}) is often not enough to extract all the information about y\mathbf{y}. An important approach is to train a deterministic predictive model fθ(x)f_\theta(\mathbf{x}) and let fθ(x)f_\theta(\mathbf{x}) contribute to the parameterization of v(yτ,τ,x)v(\mathbf{y}^{\tau}, \tau, \mathbf{x}).

Residual-based models such as D3^{3}U (Li et al., 2025), STVD [51] and DiffCast [66] first compute the residual rθ1=y−fθ(x)r_\theta^{1} = \mathbf{y} - f_\theta(\mathbf{x}) and then learn the distribution of rθ1r_\theta^{1} with a diffusion-based model, which is specified by the network vϕ(rθ1,τ,x)v_\phi(r_\theta^{1}, \tau, \mathbf{x}). In this approach, the neural network cannot see the pattern (e.g., the trend) in the original time series.

Deterministic-as-prior models such as TMDM [31] use a deterministic prediction to specify the noise distribution in the generative model, so the model transforms “informative” noise to the target distribution. It runs denoising starting from fθ(x)+ϵf_\theta(\mathbf{x}) + \epsilon.

Both types of models can be implemented in the flow-matching framework using similar parameterizations, which we will detail below.

Method

In this section, we introduce DV-Flow (Dual-Velocity Flow), a new hybrid flow-matching framework that combines global and local velocity fields for time series forecasting. In this method, we use the deterministic component as a velocity term rather than as an endpoint of the transport path.

We still use Gaussian noise ϵ\epsilon as the start of the ODE in the flow matching model, and p(y∣x)p(\mathbf{y}|\mathbf{x}) as the target distribution. In particular, we parameterize the velocity as:

vθ,ϕ(yτ,τ∣x)=fθ(x)+gϕ(yτ,τ,x),v_{\theta,\phi}(\mathbf{y}^{\tau}, \tau\mid\mathbf{x}) = f_\theta(\mathbf{x}) + g_\phi(\mathbf{y}^{\tau}, \tau, \mathbf{x}),

where fθ(x)f_\theta(\mathbf{x}) aims for a deterministic prediction, which can be interpreted as a constant velocity, and gϕg_\phi is the neural network for the local velocity. A visual demonstration can be found in Figure 1. With yτ=(1−τ)ϵ+τy\mathbf{y}^{\tau} = (1-\tau)\epsilon+ \tau\mathbf{y}, the loss function is:

Figure 1. (a) Proposed velocity combination framework. The orange distribution on the left is the random noise at τ=0\tau= 0, and the red distribution on the right is the target distribution at τ=1\tau= 1. Yellow dotted line shows that the deterministic model that predicts the target endpoint can also be interpreted as a global velocity from origin to the center of the target distribution. The velocity from ϵ\epsilon to y\mathbf{y} is decomposed into a global velocity and a local velocity. (b) Model architecture for DV-Flow. We removed the nested dependency between vϕv_\phi and fθf_\theta, and combine them in parallel.

L=Eϵ,y,x,τ[∥(y−ϵ)−vθ,ϕ(yτ,τ∣x)∥2].(2)\mathcal{L} = \mathbb{E}_{\epsilon,\mathbf{y},\mathbf{x},\tau}\left[\left\|(\mathbf{y}-\epsilon)-v_{\theta,\phi}(\mathbf{y}^{\tau},\tau\mid\mathbf{x})\right\|^{2}\right]. \tag*{(2)}

From the standard flow matching ([35]), the optimal vector field v∗(yτ,τ∣x)v_{*}(y^{\tau},\tau\mid x) for an input xx is

v∗(yτ,τ∣x)=Eϵ,y[y−ϵ∣yτ,x],(3)v_{*}(y^{\tau},\tau\mid x)=\mathbb{E}_{\epsilon,y}[y-\epsilon\mid y^{\tau},x], \tag*{(3)}

and the loss can be decomposed into L=D+C\mathcal{L}=D+C with

D=Eϵ,y,x,τ[∥vθ,ϕ(yτ,τ∣x)−v∗(yτ,τ∣x)∥2],C=Eϵ,y,x,τ[∥(y−ϵ)−v∗(yτ,τ∣x)∥2].(4)D=\mathbb{E}_{\epsilon,y,x,\tau}\left[\left\|v_{\theta,\phi}(y^{\tau},\tau\mid x)-v_{*}(y^{\tau},\tau\mid x)\right\|^{2}\right],\quad C=\mathbb{E}_{\epsilon,y,x,\tau}\left[\left\|(y-\epsilon)-v_{*}(y^{\tau},\tau\mid x)\right\|^{2}\right]. \tag*{(4)}

In this decomposition, the second term CC is a constant: it represents the difference between the marginal vector field and the conditional vector fields. Therefore, minimizing the loss is equivalent to minimizing the difference between the learned vector field vθ,ϕv_{\theta,\phi} and the true marginal vector field v∗v_{*}.

A comparison to other hybrid formulations. We present two alternative parameterizations that incorporate a deterministic forecasting component into the flow matching model. These approaches are adapted from existing diffusion-based forecasting methods and can be viewed as intermediate formulations bridging previous methods and the proposed approach.

In the first case, the model learns the distribution of the residual. Let r0=ϵr^{0}=\epsilon and r1=y−fθ(x)r^{1}=y-f_{\theta}(x). The expected vector field has the following relationship to the proposed method.

v∗r(rτ,τ∣x)=Eϵ,y[y−fθ(x)−ϵ∣rτ,x]=v∗(yτ,τ∣x)−fθ(x).v_{*}^{r}(r^{\tau},\tau\mid x)=\mathbb{E}_{\epsilon,y}[y-f_{\theta}(x)-\epsilon\mid r^{\tau},x]=v_{*}(y^{\tau},\tau\mid x)-f_{\theta}(x).

Here rτ=yτ−τfθ(x)r^{\tau}=y^{\tau}-\tau f_{\theta}(x). Suppose a neural network vr(rτ,τ,x)v^{r}(r^{\tau},\tau,x) is parameterized to fit v∗rv_{*}^{r}, then the training loss can still be decomposed into Dr+CD^{r}+C, with Dr=Eϵ,y,x,τ[∥vr(rτ,τ,x)−v∗r(rτ,τ∣x)∥2]D^{r}=\mathbb{E}_{\epsilon,y,x,\tau}\left[\left\|v^{r}(r^{\tau},\tau,x)-v_{*}^{r}(r^{\tau},\tau\mid x)\right\|^{2}\right], and the term CC being exactly the same as in equation 4.

It has an equivalent form vr,y(yτ,τ,x)=vr(rτ,τ,x)+fθ(x)v^{r,y}(y^{\tau},\tau,x)=v^{r}(r^{\tau},\tau,x)+f_{\theta}(x) with v∗v_{*} as the fitting target. Then we also have

Dr=Eϵ,y,x,τ[∥vr,y(yτ,τ,x)−v∗(yτ,τ∣x)∥2].D^{r}=\mathbb{E}_{\epsilon,y,x,\tau}\left[\left\|v^{r,y}(y^{\tau},\tau,x)-v_{*}(y^{\tau},\tau\mid x)\right\|^{2}\right].

When vr,y(yτ,τ,x)=vθ,ϕ(yτ,τ,x)v^{r,y}(y^{\tau},\tau,x)=v_{\theta,\phi}(y^{\tau},\tau,x), the model defined on the residuals has the same distribution as the previous model, and the learning objective is also the same.

In the second case, the noise is informative and contains the deterministic prediction h0=(fθ(x)+ϵ)\mathbf{h}^{0}=(f_{\theta}(x)+\epsilon) and h1=y\mathbf{h}^{1}=\mathbf{y}. In this case, the optimal vector field is

v∗h(hτ,τ∣x)=Eϵ,y[y−(fθ(x)+ϵ)∣hτ,x]=v∗(yτ,τ∣x)−fθ(x).v_{*}^{h}(h^{\tau},\tau\mid x)=\mathbb{E}_{\epsilon,y}[y-(f_{\theta}(x)+\epsilon)\mid h^{\tau},x]=v_{*}(y^{\tau},\tau\mid x)-f_{\theta}(x).

Here hτ=yτ+(1−τ)fθ(x)h^{\tau}=y^{\tau}+(1-\tau)f_{\theta}(x). The neural network vh(hτ,τ∣x)v^{h}(h^{\tau},\tau\mid x) in this setting has the same fitting target as vr(rτ,τ∣x)v^{r}(r^{\tau},\tau\mid x), although the input is different. The learning objective can be decomposed by Dh+CD^{h}+C, with the constant term CC the same as the other two cases. The equivalent form vh,y(yτ,τ,x)=vh(hτ,τ,x)+fθ(x)v^{h,y}(y^{\tau},\tau,x)=v^{h}(h^{\tau},\tau,x)+f_{\theta}(x) should fit v∗v_{*}, and DhD^{h} also measures the error between vh,yv^{h,y} and v∗v_{*}.

The three parameterizations are equivalent on the output side. However, they take different inputs and behave differently in model training. For parameterization vr(rτ,τ∣x)v^{r}(r^{\tau},\tau\mid x), the residual r1=y−fθ(x)r^{1}=y-f_{\theta}(x) depends on the output of the deterministic model. The same is true for vh(hτ,τ∣x)v^{h}(h^{\tau},\tau\mid x) where h0=ϵ+fθ(x)h^{0}=\epsilon+f_{\theta}(x). In both cases, the neural network that computes the vector field (vrv^{r} or vhv^{h}) is deeply coupled with fθf_{\theta}. If they are jointly trained, the updates of fθf_{\theta} continuously change the fitting targets of vrv^{r} or vhv^{h}, creating additional difficulties in the training procedure. Furthermore, fθf_{\theta} is not trained to make point-wise predictions, so it merely increases the depth of the network (vrv^{r} or vhv^{h}) for vector computation.

Since we can derive vθ,ϕv_{\theta,\phi}, vr,yv^{r,y}, and vh,yv^{h,y} from the three parameterizations, all of which fit v∗v_{*}, we can measure their fitting errors by comparing their learning objectives on a validation set. In our experiment, we examine how they behave differently in model training.

Joint training. In our new method, we jointly train the global and local velocity components in a combined objective:

L=Eϵ,y,x,τ[∥(y−ϵ)−(fθ(x)+gϕ(yτ,τ,x))∥2]+λEx,y[Lf(y,fθ(x))].(5)\mathcal{L}=\mathbb{E}_{\epsilon,y,x,\tau}\left[\left\|(y-\epsilon)-\left(f_{\theta}(x)+g_{\phi}(y^{\tau},\tau,x)\right)\right\|^{2}\right]+\lambda\mathbb{E}_{x,y}\left[\mathcal{L}_{f}(y,f_{\theta}(x))\right]. \tag*{(5)}

The point-wise loss term Lf(y,fθ(x))\mathcal{L}_{f}(y,f_{\theta}(x)) explicitly supervises the deterministic predictor. Common choices include MSE and MAE. When the conditional mean E[y∣x]\mathbb{E}[y\mid x] is in a location with a high probability density, training fθ(x)f_{\theta}(\mathbf{x}) towards the distribution mean helps to improve overall performance. However, when the mean is at a low-density location (e.g., in a bimodal distribution), it is not helpful for fθ(x)f_{\theta}(\mathbf{x}) to capture the mean. With our proposed parameterization method, the two neural networks fθ(x)f_{\theta}(\mathbf{x}) and gϕ(yτ,τ,x)g_{\phi}(\mathbf{y}^{\tau},\tau,\mathbf{x}) do not directly depend on each other, so the training is more stable than the other two methods.

Relationship with distribution fitting. We now study the proposed model from the perspective of mean-variance decomposition and inspect its relationship with predictive uncertainty.

Theorem 1. Let vθ,ϕv_{\theta,\phi} be the flow matching model defined in equation 4, and assume vθ,ϕv_{\theta,\phi} learns the true vector field v∗v_{*} for a given x\mathbf{x}. Let the time dependent vector field g′(r,τ)=gϕ(r+τfθ(x),τ,x)\mathbf{g}'(\mathbf{r},\tau)=g_{\phi}(\mathbf{r}+\tau f_{\theta}(\mathbf{x}),\tau,\mathbf{x}), then the ODE defined by g′\mathbf{g}' pushes the Gaussian noise ϵ\epsilon to the distribution with samples y−fθ(x)\mathbf{y}-f_{\theta}(\mathbf{x}). In particular, if fθ(x)=Ey[y∣x]f_{\theta}(\mathbf{x})=\mathbb{E}_{\mathbf{y}}[\mathbf{y}\mid\mathbf{x}], then the ODE defined by g′\mathbf{g}' pushes ϵ\epsilon to a zero-mean distribution. Alternatively, if fθ(x)f_{\theta}(\mathbf{x}) is a coordinate-wise conditional median of y\mathbf{y} given x\mathbf{x}, then the ODE defined by g′\mathbf{g}' pushes ϵ\epsilon to a residual distribution for which a coordinate-wise conditional median is zero.

Theorem 1 is better understood from the residual formulation. We provide the proof in the Appendix A. We can check the theorem with two simple cases. Suppose gϕ(yτ,τ,x)=0g_{\phi}(\mathbf{y}^{\tau},\tau,\mathbf{x})=0, when fθ(x)f_{\theta}(\mathbf{x}) is supervised with MSE loss, then:

E[y1∣x]=fθ(x),Var⁡[y1∣x]=I.(6)\mathbb{E}[\mathbf{y}^{1}\mid\mathbf{x}]=f_{\theta}(\mathbf{x}),\quad\operatorname{Var}[\mathbf{y}^{1}\mid\mathbf{x}]=\mathbf{I}. \tag*{(6)}

In this case, fθ(x)f_{\theta}(\mathbf{x}) carries the zero-mean noise to a new location without changing its variance. In a more complex case where gϕ(yτ,τ,x)=A(yτ−τfθ(x))g_{\phi}(\mathbf{y}^{\tau},\tau,\mathbf{x})=\mathbf{A}(\mathbf{y}^{\tau}-\tau f_{\theta}(\mathbf{x})), then gϕ(r,τ)=Arg_{\phi}(\mathbf{r},\tau)=\mathbf{A}\mathbf{r}, then:

E[y1∣x]=fθ(x),Var⁡[y1∣x]=eA(eA)T.(7)\mathbb{E}[\mathbf{y}^{1}\mid\mathbf{x}]=f_{\theta}(\mathbf{x}),\quad\operatorname{Var}[\mathbf{y}^{1}\mid\mathbf{x}]=e^{\mathbf{A}}(e^{\mathbf{A}})^{\mathsf{T}}. \tag*{(7)}

However, if the linear function is applied to yτ\mathbf{y}^{\tau}: gϕ(yτ,τ,x)=Ayτg_{\phi}(\mathbf{y}^{\tau},\tau,\mathbf{x})=\mathbf{A}\mathbf{y}^{\tau}, then gϕg_{\phi} affects both the mean transformation and the covariance propagation, while fθ(x)f_{\theta}(\mathbf{x}) contributes only to the mean through the linear response A−1(eA−I)fθ(x)\mathbf{A}^{-1}(e^{\mathbf{A}}-\mathbf{I})f_{\theta}(\mathbf{x}):

E[y1∣x]=A−1(eA−I)fθ(x),Var⁡[y1∣x]=eA(eA)T.(8)\mathbb{E}[\mathbf{y}^{1}\mid\mathbf{x}]=\mathbf{A}^{-1}(e^{\mathbf{A}}-\mathbf{I})f_{\theta}(\mathbf{x}),\quad\operatorname{Var}[\mathbf{y}^{1}\mid\mathbf{x}]=e^{\mathbf{A}}(e^{\mathbf{A}})^{\mathsf{T}}. \tag*{(8)}

When fθ(x)=Median⁡[y1∣x]f_{\theta}(\mathbf{x})=\operatorname{Median}[\mathbf{y}^{1}\mid\mathbf{x}], the two configurations of gϕg_{\phi} in equation 6 and equation 7 yield similar results, except that fθ(x)f_{\theta}(\mathbf{x}) becomes the median. All derivations are given in the Appendix A. With a complex neural network gϕg_{\phi}, the model can capture non-linear variances in the data and should perform better than a Gaussian model.

Model Architecture. In the task of time series forecasting, we adopt iTransformer [37] as the backbone network for both vϕ(yτ,τ,x)v_{\phi}(\mathbf{y}^{\tau},\tau,\mathbf{x}) and fθ(x)f_{\theta}(\mathbf{x}).

To better capture the correlation between neighboring steps, we sample noise ϵ\epsilon from a zero-mean Gaussian-process specified with Ornstein–Uhlenbeck (exponential) kernel K(t,t′)=exp⁡(−∣d∣l)K(t,t')=\exp\left(-\frac{|d|}{l}\right), where d=t−t′d=t-t' is the temporal lag and ll is a non-negative correlation-length hyperparameter.

Proper normalization is essential for stable training. We propose Seasonal-Adjusted Time-Adaptive Normalization (SATN), which first removes seasonal components from the data and then applies a time-dependent normalization scheme (yt=yt−x0σt)\left(\mathbf{y}_{t}=\frac{\mathbf{y}_{t}-\mathbf{x}_{0}}{\sigma_{t}}\right). Motivated by Brownian motion, we treat the last observation in the context window as the starting point of the forecasting trajectory and center the prediction window accordingly. Under this view, we assume that the residual variance grows with the forecasting horizon and normalize each time step using a linearly increasing variance

schedule estimated from the data. Figure 2 illustrates the residuals of the Electricity dataset after removing seasonality and centering the prediction window by the last observation in the context sequence. We observe that the residual variance increases monotonically with the forecasting horizon: predictions closer to the context window exhibit smaller deviations, while those farther away become progressively more dispersed. This behavior motivates our time-adaptive normalization strategy, which explicitly accounts for the growth of uncertainty over time. This transforms the prediction sequence into a process with approximately unit marginal variance, improving alignment with the Gaussian prior used in flow matching and mitigating variance disparities across time steps. Additional details are provided in Appendix § 16.

Residuals on the Electricity dataset

Figure 2. Residuals on the Electricity dataset after removing seasonality and centering by the last context observation. The variance increases with the forecasting horizon, motivating our time-adaptive normalization scheme.

In the sampling procedure, the integration is computed from the Dormand–Prince 45 [11] ODE solver. By solving Equation (9), we obtain a transformed sample y1y^1. This sample is then reverse scaled with SATN. A complete sampling procedure is summarized in Algorithm 2. Note that even though fθ(x)f_\theta(\mathbf{x}) is used at every step, since it is τ\tau-invariant, we only need to compute it once up front, and it can be treated as a fixed value in the integral. Therefore, adding the deterministic network does not slow down inference.

y^=fθ(x);y1=ϵ+∫τ=01vθ,ϕ(yτ,τ,x)dτ=ϵ+∫τ=01(y^+gϕ(yτ,τ,x))dτ(9)\hat{y}=f_\theta(\mathbf{x});\quad y^1=\epsilon+\int_{\tau=0}^{1}v_{\theta,\phi}(y^\tau,\tau,\mathbf{x})d\tau=\epsilon+\int_{\tau=0}^{1}\left(\hat{y}+g_\phi(y^\tau,\tau,\mathbf{x})\right)d\tau \tag*{(9)}

Experiments

In this section, we evaluate the ability of the proposed model to forecast time series and quantify uncertainty using datasets from real-world applications. In § 5.1 we compare DV-Flow with existing baselines, in § 5.2 we study different hybrid formulations under our unified framework, and in § 5.3 we investigate the effect of the point-wise loss term in the objective.

Datasets. We use six widely adopted multivariate benchmark datasets: five from GluonTS [1]—Electricity [12], Exchange [29], Traffic [12], Solar [29], KDDCup [53]—and one finance dataset consisting of minute-level log returns of 486 stocks from S&P 500 index. Dataset statistics can be found in Table 1. We use the standard train and test splits provided by GluonTS.

DatasetTimestepsChannelsFrequencyContextForecastSeasonal-window
Electricity5,833370Hour242424
Exchange6,0718Day303030
Traffic4,001963Hour242424
Solar7,009137Hour242424
KDDCup8,448270Hour242424
SP500255,840486Minute3030-

Table 1. Dataset Information.

Baselines. We compare our model against one traditional statistical model ARIMA [5], three deterministic models TFT [32], PatchTST [43], and iTransformer [37]; five probabilistic models: TimeGrad [47], Diffusion-TS [67], DeepAR [48], TSDiff [27], and TSFlow [28]; and two hybrid models: TMDM [31] and D3^3U (Li et al., 2025). To evaluate predictive probabilities, we sample 100 trajectories for each probabilistic model on the test set. We use 150 inference steps.

Implementation details. For both networks, the hidden dimensions are set to 1024, with 8 attention heads and 4 stacked attention layers. Models are trained using the AdamW optimizer (Loschilov, 2017), with a learning rate of 2e−42e^{-4} and a weight decay of 1e−51e^{-5}. For the local velocity network, the flow-matching time step τ\tau is encoded using Fourier positional embeddings [60] into R32\mathbb{R}^{32}, which is then appended to the input as an additional token in the transformer sequence. We use 8 workers on a single NVIDIA A100 GPU node for all experiments. Mean and standard deviation for all models are obtained from three independent runs. We use λ=0.3\lambda= 0.3 across all datasets for point-wise loss. We use the Dormand–Prince 45 ODE solver with an absolute tolerance of atol⁡=10−6\operatorname{atol} = 10^{-6} and a relative tolerance of rtol⁡=10−3\operatorname{rtol} = 10^{-3}.

Evaluation metrics. We use CRPS [40] to jointly assess the calibration and sharpness of the predictive distribution represented by the forecast samples. Following Rasul et al. [47], we use CRPS⁡sum=Et[CRPS⁡(F^sumt(⋅),∑i=1Dyi,t)]\operatorname{CRPS}_{\mathrm{sum}} = \mathbb{E}_t[\operatorname{CRPS}(\widehat{F}^{t}_{\mathrm{sum}}(\cdot), \sum_{i=1}^{D} y_{i,t})], which evaluates the predictive calibration and sharpness of the sum of each time series at each time step and then aggregates the CRPS values across time by averaging them. Here, F^sumt(⋅)\widehat{F}^{t}_{\mathrm{sum}}(\cdot) denotes the empirical cumulative distribution function (CDF) of the sum of the variables at time tt. The empirical CDF is computed from samples from the predictive model.

In this work, we propose a new evaluation metric Corr-CRPS⁡mean\operatorname{Corr\text{-}CRPS}_{\mathrm{mean}} that evaluates the uncertainty quantification of the correlation between time series, as the correlation is an important consideration in applications such as stock investment. Note that y∈R(T−t0)×D\mathbf{y} \in\mathbb{R}^{(T-t_0)\times D} denote the observed DD-dimensional time series in the future window. Let Corr⁡ij\operatorname{Corr}_{ij} denote the correlation between the ii-th and jj-th univariable time series in this time window. Here Corr⁡ij\operatorname{Corr}_{ij} can be viewed as a sample from the true distribution of correlation values. We then compute samples {Corr⁡^ijs:s=1,…,S}\{\widehat{\operatorname{Corr}}_{ij}^{s}:s=1,\ldots,S\} from forecasting samples and estimate the CDF F^ij(⋅)\widehat{F}_{ij}(\cdot) from these samples. The CRPS metric computed from Corr⁡ij\operatorname{Corr}_{ij} and F^ij(⋅)\widehat{F}_{ij}(\cdot) measures how well forecast samples capture uncertainty in the correlation between time series ii and jj. To obtain a single evaluation metric, we aggregate the CRPS over all ijij pairs and all y\mathbf{y} instances in the test set. Formally, Corr-CRPS⁡mean\operatorname{Corr\text{-}CRPS}_{\mathrm{mean}} is defined as the follow where nn indexes test instances:

Corr-CRPS⁡mean=2ND(D−1)∑n=1N∑i,jCRPS⁡(F^ij(n),Corr⁡ij(n)).\operatorname{Corr\text{-}CRPS}_{\mathrm{mean}} = \frac{2}{ND(D-1)} \sum_{n=1}^{N} \sum_{i,j} \operatorname{CRPS}\left(\widehat{F}_{ij}^{(n)}, \operatorname{Corr}_{ij}^{(n)}\right).

We further evaluate the quantile forecasts derived from the sampled predictive distributions. Following Lim et al. [32], we use qq-Risk, a normalized quantile-loss metric that evaluates the accuracy of the predicted conditional qq-quantile by penalizing underestimation and overestimation. We report q-Risk at q=0.9q = 0.9, denoted as Q90. Details of the metrics can be found in Appendix D.

Compare with existing baselines

In this section, we evaluate DV-Flow against the baseline methods with three metrics: CRPS on time series forecasts, CRPS on correlation among forecast time series dimensions, and quantile loss. In all tables, the best results are highlighted in bold, while the second best are underlined.

CRPSsum_{\mathrm{sum}}. First, we compare DV-Flow against baselines in terms of marginal distribution probability. Table 2 presents our main results on six datasets evaluated by CRPS⁡sum\operatorname{CRPS}_{\mathrm{sum}}. DV-Flow substantially outperforms the other common baselines on all six datasets. This robust performance is evident across diverse domains, from the highly periodic patterns in Electricity to the more stochastic behavior in Exchange-Rate, demonstrating the wide applicability of our method. Specifically, the significant advantage in CRPSsum_{\mathrm{sum}} indicates that DV-Flow fits the distribution the best, highlighting the effectiveness of our hybrid velocity formulation with stable joint training.

MethodElectricityExchangeTrafficSolarKDDCupSP500
ARIMA0.6058 ± 0.0000.0062 ± 0.0000.7265 ± 0.0000.5450 ± 0.0000.1111 ± 0.0001.0768 ± 0.000
TFT0.0276 ± 0.0010.0085 ± 0.0020.0582 ± 0.0260.9509 ± 0.3570.9375 ± 0.1100.8260 ± 0.072
PatchTST0.0231 ± 0.0050.0109 ± 0.0050.0906 ± 0.0220.8958 ± 0.0240.9228 ± 0.0650.9430 ± 0.012
iTransformer0.0228 ± 0.0020.0087 ± 0.0030.0689 ± 0.0170.9078 ± 0.0340.5902 ± 0.1810.8968 ± 0.106
DeepAR0.0373 ± 0.0120.0077 ± 0.0020.0434 ± 0.0040.4020 ± 0.0030.1600 ± 0.0660.9455 ± 0.020
Diffusion-TS0.0773 ± 0.0040.0090 ± 0.0030.5771 ± 0.0140.5447 ± 0.0240.4395 ± 0.1890.9063 ± 0.015
TimeGrad0.0206 ± 0.0010.0060 ± 0.0010.0440 ± 0.0060.3565 ± 0.0160.1165 ± 0.0330.9089 ± 0.003
TSDiff0.0490 ± 0.0000.0110 ± 0.0010.0980 ± 0.0020.3580 ± 0.0200.3778 ± 0.0370.9199 ± 0.012
TSFlow0.0239 ± 0.0000.0049 ± 0.0000.1307 ± 0.0010.3408 ± 0.0360.1179 ± 0.0280.9786 ± 0.047
TMDM0.0440 ± 0.0020.0047 ± 0.0000.0650 ± 0.0031.2461 ± 0.3910.1463 ± 0.0130.8705 ± 0.033
D³U0.0261 ± 0.0020.0059 ± 0.0010.0586 ± 0.0041.5622 ± 0.2960.1114 ± 0.0200.9750 ± 0.034
DV-Flow0.0197 ± 0.0000.0046 ± 0.0000.0386 ± 0.0050.3280 ± 0.0320.0578 ± 0.0010.7958 ± 0.018

Table 2. Test CRPS⁡sum↓\operatorname{CRPS}_{\mathrm{sum}} \downarrow

MethodElectricityExchangeTrafficSolarKDDCupSP500
TFT0.3769 ± 0.0291.1208 ± 0.1420.1356 ± 0.0010.1178 ± 0.0001.5412 ± 0.0521.2477 ± 0.299
PatchTST0.3115 ± 0.0130.8118 ± 0.0120.1834 ± 0.0120.8128 ± 0.0020.8203 ± 0.0040.7485 ± 0.001
iTransformer0.2144 ± 0.0030.0324 ± 0.0100.1741 ± 0.0520.8078 ± 0.0060.8173 ± 0.0090.7566 ± 0.000
DeepAR0.2242 ± 0.1070.7804 ± 0.0400.2724 ± 0.3430.2074 ± 0.0180.7160 ± 0.0040.7554 ± 0.000
Diffusion-TS0.2378 ± 0.0060.8183 ± 0.0210.2339 ± 0.0020.1049 ± 0.0071.3030 ± 0.1071.2116 ± 0.050
TimeGrad0.1965 ± 0.0060.6929 ± 0.0100.1274 ± 0.0090.0890 ± 0.0020.6900 ± 0.0460.7484 ± 0.001
TSDiff0.1616 ± 0.0010.7831 ± 0.1750.0767 ± 0.0020.0759 ± 0.0050.6818 ± 0.0220.7475 ± 0.004
TSFlow0.1824 ± 0.0000.6717 ± 0.0160.0917 ± 0.0000.0796 ± 0.0100.6589 ± 0.0180.7447 ± 0.002
TMDM1.2088 ± 0.4010.8092 ± 0.0420.4789 ± 0.3110.6877 ± 0.0460.7815 ± 0.0310.7528 ± 0.001
D³U0.2798 ± 0.0060.8367 ± 0.0170.1228 ± 0.0010.1056 ± 0.0130.7036 ± 0.0160.7376 ± 0.002
DV-Flow0.1761 ± 0.0020.6380 ± 0.0130.0934 ± 0.0030.0752 ± 0.0040.6544 ± 0.0070.6256 ± 0.002

Table 3. Testset Corr-CRPSmean_{\mathrm{mean}} ↓

Corr-CRPSmean_{\mathrm{mean}}. Our method achieves the best Corr-CRPSmean_{\mathrm{mean}} performance on 4 out of 6 datasets, demonstrating its strong ability to capture cross-dimensional dependency structures in multivariate forecasting. Unlike vanilla CRPSsum_{\mathrm{sum}}, which evaluates each dimension independently, Corr-CRPSmean_{\mathrm{mean}} explicitly measures whether the predicted samples preserve the correlation patterns observed in the ground truth. The consistent improvements across diverse datasets suggest that our model not only produces better marginal forecasts, but also better models the joint dynamics among variables. This is particularly important in applications such as finance and energy systems, where correlations between dimensions play a critical role in downstream decision-making.

Q90. We then compare DV-Flow against baselines in terms of quantile risk. The results are presented in Table 4, where DV-Flow demonstrates clear superiority over all baseline models. It ranks first on four of the six datasets and second best for the rest two. This result underscores the model’s capacity to capture 90% of future outcomes with tight and informative prediction intervals, avoiding overly conservative or overly wide uncertainty estimates. For this analysis, we re-evaluated all baselines using their official implementations to ensure a fair comparison; iTransformer’s configuration was specifically aligned with our backbone for consistency. Details in Appendix C

MethodElectricityExchangeTrafficSolarKDDCupSP500
TFT0.0566 ± 0.0150.0117 ± 0.0060.1516 ± 0.0230.2116 ± 0.0420.7132 ± 0.0120.5868 ± 0.028
PatchTST0.0407 ± 0.0020.0068 ± 0.0020.1150 ± 0.0100.4596 ± 0.0790.6739 ± 0.0560.5694 ± 0.029
iTransformer0.0350 ± 0.0010.0078 ± 0.0020.1273 ± 0.0180.3029 ± 0.0360.4976 ± 0.0440.5492 ± 0.004
DeepAR0.0380 ± 0.0030.0050 ± 0.0000.0911 ± 0.0010.3194 ± 0.0170.3992 ± 0.0740.5384 ± 0.008
Diffusion-TS0.1112 ± 0.0080.0258 ± 0.0040.8279 ± 0.0290.7985 ± 0.0600.4212 ± 0.0560.7122 ± 0.029
TimeGrad0.0412 ± 0.0040.0082 ± 0.0000.1120 ± 0.0210.2181 ± 0.0100.3048 ± 0.0360.5565 ± 0.005
TSDiff0.0403 ± 0.0030.0166 ± 0.0140.1411 ± 0.0040.2916 ± 0.0180.2804 ± 0.0430.5472 ± 0.013
TSFlow0.0329 ± 0.0000.0053 ± 0.0000.1454 ± 0.0010.1988 ± 0.0280.2859 ± 0.0080.5636 ± 0.037
TMDM0.1212 ± 0.0010.0101 ± 0.0220.3885 ± 0.0161.9536 ± 0.0660.4608 ± 0.0250.6723 ± 0.003
D³U0.0423 ± 0.0020.0058 ± 0.0010.1360 ± 0.0010.7703 ± 0.0900.2529 ± 0.0440.5898 ± 0.004
DV-Flow0.0348 ± 0.0020.0041 ± 0.0000.1054 ± 0.0030.1866 ± 0.0250.2054 ± 0.0070.5235 ± 0.008

Table 4. Testset Q90 ↓

Dissecting different hybrid formulations

In this section, we conduct a thorough investigation of different settings in flow matching for time series forecasting. We mainly consider the setup of the flow-matching model for learning the target distribution.

Across all three hybrid formulations, we use the same SATN preprocessing, Gaussian-process prior, two iTransformer networks, training budget, optimization settings, and point-wise auxiliary loss.

Distribution fitting. Table 5 compares the forecast performance across different hybrid formulations under a controlled environment, where DP denotes Deterministic-as-Prior, and subscripts (e.g., 0.3 or 0) indicate the weight λ\lambda assigned to the point-wise deterministic loss. We use λ=0.3\lambda= 0.3 to ensure a fair comparison with our proposed parameterization, and additionally consider λ=0\lambda= 0 to isolate the effect of the point-wise loss during training. Compared with Residual0.3_{0.3} and DP0.3_{0.3}, DV-Flow achieves the lowest CRPSsum_{\mathrm{sum}} on all six datasets and the lowest Q90 on five of the six datasets. Because the three formulations use identical architectures, preprocessing, priors, auxiliary losses, optimization settings, and training budgets, these improvements isolate the benefit of the proposed dual-velocity parameterization. Additional controlled experiments using standard normalization and an independent Gaussian prior are reported in Appendix § 12. Under these simplified settings, DV-Flow continues to outperform the residual-based and deterministic-as-prior formulations, providing further evidence that its advantage arises from the dual-velocity parameterization rather than the choice of normalization or prior.

DatasetMetricResidual0.3_{0.3}Residual0_0DP0.3_{0.3}DP0_0DV-Flow
ElectricityCRPSsum_{\mathrm{sum}}0.0326 ± 0.0160.0288 ± 0.0170.0239 ± 0.0010.0264 ± 0.0010.0197 ± 0.000
Q900.0410 ± 0.0090.0351 ± 0.0010.0367 ± 0.0020.0364 ± 0.0010.0348 ± 0.002
ExchangeCRPSsum_{\mathrm{sum}}0.0052 ± 0.0000.0052 ± 0.0000.0049 ± 0.0000.0049 ± 0.0010.0046 ± 0.000
Q900.0042 ± 0.0000.0043 ± 0.0000.0041 ± 0.0000.0041 ± 0.0010.0041 ± 0.000
TrafficCRPSsum_{\mathrm{sum}}0.0604 ± 0.0040.0665 ± 0.0280.0561 ± 0.0200.1204 ± 0.0210.0386 ± 0.005
Q900.1322 ± 0.0320.1151 ± 0.0120.1187 ± 0.0160.1762 ± 0.0310.1054 ± 0.003
SolarCRPSsum_{\mathrm{sum}}0.4298 ± 0.0690.4262 ± 0.0330.3467 ± 0.0380.3817 ± 0.0990.3280 ± 0.032
Q900.2427 ± 0.0490.2611 ± 0.1590.1750 ± 0.0050.2915 ± 0.1940.1866 ± 0.025
KDDCupCRPSsum_{\mathrm{sum}}0.0933 ± 0.0410.1045 ± 0.0200.0793 ± 0.0130.1046 ± 0.0280.0578 ± 0.001
Q900.2244 ± 0.0120.2338 ± 0.0090.2226 ± 0.0090.2278 ± 0.0100.2054 ± 0.007
SP500CRPSsum_{\mathrm{sum}}0.8139 ± 0.0330.8215 ± 0.0370.8326 ± 0.0310.8132 ± 0.0380.7958 ± 0.018
Q900.5253 ± 0.0050.5328 ± 0.0120.5278 ± 0.0030.5335 ± 0.0110.5235 ± 0.008

Table 5. Test set performance across hybrid formulations. ↓

Among the remaining hybrid variants, training with λ=0.3\lambda= 0.3 performs more competitively than λ=0\lambda= 0, further demonstrating that incorporating point-wise supervision for the deterministic predictor improves forecasting performance.

More broadly, the results reveal that end-to-end coupling alone is insufficient for strong performance; without point-wise deterministic anchoring or gradient control, previous hybrid formulations do not have an advantage over DV-Flow. This reinforces our theoretical analysis: stable hybrid modeling requires both a fixed probability path and a properly aligned deterministic component. DV-Flow uniquely satisfies these conditions, explaining its consistent dominance across datasets and metrics.

Velocity error. In this section, we investigate how effectively each hybrid formulation fits the velocity field. We have shown in § 4 that the velocity error can be directly compared across hybrid methods. We therefore analyze how different formulations affect the velocity error. We evaluate the velocity prediction error using the test sets of Electricity and Solar. We compute the learning objective from Eq. (5). As shown in Figure 3, DV-Flow achieves the lowest velocity error when the flow time τ\tau is small, demonstrating the effectiveness of the proposed hybrid formulation. Errors in the early stages of ODE integration accumulate over time, making accurate velocity estimation near the noise distribution especially important for maintaining trajectory quality throughout the generation process. By reducing initial trajectory deviations, the proposed DV-Flow method improves the fidelity of the final generated samples. Velocity-error plots for the remaining datasets are provided in Appendix § 13 and exhibit a similar pattern. In particular, DV-Flow consistently achieves lower velocity error near τ→0\tau\to0 than the residual-based and deterministic-as-prior formulations, providing further evidence that the proposed dual-velocity parameterization more accurately estimates the velocity field during the early stages of the generative trajectory.

Velocity error comparison plots for Electricity and Solar test sets

Figure 3. Velocity Error Comparison. We compare the RMSE of velocity predictions against ground truth on the test set for DV-Flow, residual-based, and deterministic-as-prior. While all three formulations converge as τ→1\tau\to1, DV-Flow (green) starts with the lowest velocity error when τ→0\tau\to0, demonstrating our formulation has an advantage when τ\tau is small.

Training stability. In this section, we empirically test the theoretical claim that state-dependent coupling in fully joint hybrid formulations leads to unstable training dynamics.

We evaluate training stability by measuring the trace of the gradient norm during training. In Figure 4, we compare DV-Flow, residual-based, and deterministic-as-prior variants for both λ=0.3\lambda= 0.3 (left) and λ=0\lambda= 0 (right). In both cases, residual-based and deterministic-as-prior exhibit large spikes in the gradient norm, whereas DV-Flow does not show such spikes. These sharp gradient spikes indicate optimization instability and support our hypothesis that nested coupling creates a deep computation graph, which leads to ill-conditioned gradients and unstable training. In contrast, the DV-Flow formulation avoids deep sequential coupling by placing the global and local velocities in parallel, resulting in stable gradient behavior without large spikes. Gradient-norm plots for the remaining datasets are provided in Appendix § 14 and exhibit a similar pattern. Across these datasets, the residual-based and deterministic-as-prior formulations show pronounced gradient spikes, whereas DV-Flow maintains substantially more stable gradient norms throughout training.

Figure 4. Gradient norm. On the left, we compare DV-Flow, the residual-based and deterministic-as-prior formulations with λ=0.3\lambda= 0.3. On the right, we repeat the comparison with λ=0\lambda= 0. In both settings, residual-based and deterministic-as-prior training exhibits large gradient spikes, whereas DV-Flow remains stable without large spikes.

Investigation of the effect of the point-wise loss

We now study the effect of the point-wise loss across different regularization strengths and loss functions.

The effect of point-wise loss in a toy example. We first study the proposed method on a toy dataset. We generate data from a Dirichlet distribution, where the input x=(x1,x2,x3)\mathbf{x} = (x_1, x_2, x_3) has three entries. For each sample, one component is selected uniformly at random and drawn from [3,4][3, 4], while the remaining two components are independently drawn from [1,2][1, 2]. We then sample a probability vector from a Dirichlet distribution parameterized by x\mathbf{x}, and define the target y=(y1,y2)\mathbf{y} = (y_1, y_2) as the first two entries of the sampled probability vector. The conditional distribution of y\mathbf{y} is fully determined by x\mathbf{x} and is known analytically.

We train our model using 1,024 (x,y)(\mathbf{x}, \mathbf{y}) training samples. After training, we generate samples of y\mathbf{y} conditioned on each x\mathbf{x} and compare the resulting distributions with the ground-truth distributions using the sliced Wasserstein distance, where a smaller value indicates better performance. Figure 5 presents the results for the first toy dataset, while an additional example is provided in Figure 12 in the appendix. In the first example, λ=100\lambda= 100 achieves the best results, although its improvement over the variant with a pre-trained fθf_\theta is relatively small. In contrast, for the second toy dataset in Appendix J, which poses a more challenging learning problem, setting λ=0\lambda= 0 yields significantly better performance than using a pre-trained fθf_\theta. Overall, our experiments do not reveal a universally optimal choice of λ\lambda. Treating λ\lambda as a tunable hyperparameter therefore appears to be a promising direction for further improving predictive performance.

Investigation of the effect of point-wise loss on a toy dataset

Figure 5. Investigation of the effect of point-wise loss on a toy dataset generated from a Dirichlet distribution.

Predictive samples and sliced Wasserstein distance for different values of $\lambda$

Figure 12. Investigation of the effect of point-wise loss on another toy dataset generated from Gaussian mixture models.

Strength of regularization from the point-wise loss. We compare three strategies: no-deterministic component, pre-train the deterministic component (λ=+∞\lambda= +\infty), and joint training without point-wise loss (λ=0\lambda= 0). For the no-deterministic configuration, we additionally evaluate a doubled-size neural network with a parameter count comparable to that of DV-Flow, in order to determine whether DV-Flow’s performance gains arise simply from increased model capacity. As shown in Table 6, DV-Flow outperforms all three formulations in terms of CRPSsum\mathrm{CRPS}_{\mathrm{sum}} across all datasets, and achieves the best Q90 on four out of five datasets, ranking second on the remaining one. This demonstrates that each component contributes to performance: the deterministic model improves the conditioning of context, joint training enables effective interaction between components, and the point-wise loss ensures proper alignment of the deterministic predictor.

MethodMetricElectricityExchangeTrafficSolarKDDCUP
No-deterministicCRPSsum\mathrm{CRPS}_{\mathrm{sum}}0.0218±0.0010.0218 \pm0.0010.0063±0.0020.0063 \pm0.0020.0747±0.0390.0747 \pm0.0390.3964±0.0520.3964 \pm0.0520.1052±0.0530.1052 \pm0.053
Q900.0349±0.0000.0349 \pm0.0000.0051±0.0010.0051 \pm0.0010.1247±0.0250.1247 \pm0.0250.16330.1633 ±0.010\pm0.0100.2261±0.0130.2261 \pm0.013
No-deterministic 2XCRPSsum\mathrm{CRPS}_{\mathrm{sum}}0.0291±0.0060.0291 \pm0.0060.0050±0.0000.0050 \pm0.0000.0492±0.0070.0492 \pm0.0070.4007±0.0230.4007 \pm0.0230.1213±0.0220.1213 \pm0.022
Q900.0411±0.0050.0411 \pm0.0050.0052±0.0010.0052 \pm0.0010.1070±0.0020.1070 \pm0.0020.2412±0.0920.2412 \pm0.0920.2312±0.0040.2312 \pm0.004
Pre-trainCRPSsum\mathrm{CRPS}_{\mathrm{sum}}0.0235±0.0020.0235 \pm0.0020.0053±0.0000.0053 \pm0.0000.0672±0.0100.0672 \pm0.0100.5119±0.0070.5119 \pm0.0070.2002±0.1370.2002 \pm0.137
Q900.0418±0.0040.0418 \pm0.0040.0042±0.0000.0042 \pm0.0000.1434±0.0060.1434 \pm0.0060.3317±0.0350.3317 \pm0.0350.2687±0.0220.2687 \pm0.022
λ=0\lambda= 0CRPSsum\mathrm{CRPS}_{\mathrm{sum}}0.0301±0.0000.0301 \pm0.0000.0054±0.0010.0054 \pm0.0010.0426±0.0080.0426 \pm0.0080.4006±0.1020.4006 \pm0.1020.1213±0.0220.1213 \pm0.022
Q900.0378±0.0020.0378 \pm0.0020.0043±0.0000.0043 \pm0.0000.1063±0.0040.1063 \pm0.0040.2590±0.1340.2590 \pm0.1340.2312±0.0040.2312 \pm0.004
DV-Flow/MSECRPSsum\mathrm{CRPS}_{\mathrm{sum}}0.0203±0.0020.0203 \pm0.0020.0047±0.0000.0047 \pm0.0000.0372±0.0040.0372 \pm0.0040.3318±0.0290.3318 \pm0.0290.1028±0.0140.1028 \pm0.014
Q900.0343±0.0020.0343 \pm0.0020.0039±0.0000.0039 \pm0.0000.1057±0.0020.1057 \pm0.0020.1963±0.0170.1963 \pm0.0170.2230±0.0070.2230 \pm0.007
DV-Flow/MAECRPSsum\mathrm{CRPS}_{\mathrm{sum}}0.0197±0.0000.0197 \pm0.0000.0046±0.0000.0046 \pm0.0000.0386±0.0050.0386 \pm0.0050.3280±0.0320.3280 \pm0.0320.0578±0.0010.0578 \pm0.001
Q900.0348±0.0020.0348 \pm0.0020.0041±0.0000.0041 \pm0.0000.1054±0.0030.1054 \pm0.0030.1866±0.0250.1866 \pm0.0250.2054±0.0070.2054 \pm0.007

Table 6. Test set performance across λ\lambda settings. ↓\downarrow

Choice of point-wise loss. We use MAE as the point-wise loss term in the objective function. As shown in [3, 56, 17], CRPS can be written as the following, where Z,Z′∼FZ, Z^{\prime} \sim F are independent samples and xx is the observation:

CRPS=EF∣Z−x∣−12EF∣Z−Z′∣.(10)\mathrm{CRPS} = \mathbb{E}_{F}|Z-x|-\frac{1}{2}\mathbb{E}_{F}|Z-Z^{\prime}|. \tag*{(10)}

It shows that MAE is closely aligned with the CRPS evaluation objective used in probabilistic forecasting. This formulation highlights CRPS as a distributional generalization of MAE: the first term corresponds to the expected absolute deviation from the observation, while the second term penalizes excessive dispersion. In the degenerate case where FF collapses to a point mass, CRPS reduces to MAE. Therefore, MAE provides a more natural auxiliary objective when the downstream goal is strong CRPS performance. Under this view, the deterministic model supplies a median-centered baseline forecast, while the flow component focuses on refining the predictive distribution around this baseline. Table 6 shows that training with MAE loss has an overall better CRPSsum\mathrm{CRPS}_{\mathrm{sum}} than training with MSE loss.

Furthermore, MAE supervision preserves skewness more effectively than MSE supervision on skewed data. We demonstrate it with the Electricity dataset, which exhibits large outliers during peak usage periods. As shown in Figure 6, the ℓ2\ell_{2} distance between the prediction mean and median decreases as λ\lambda increases under MSE training, while remaining relatively stable under MAE training.

Figure 6. ℓ2\ell_{2} distance between the prediction mean and median across various λ\lambda levels.

Ablation

To distinguish the contribution of the proposed dual-velocity parameterization from those of SATN and the Gaussian-process prior, we conduct a controlled incremental ablation. Starting from vanilla flow matching, we progressively introduce SATN, the Gaussian-process prior, and the dual-velocity parameterization. All configurations use the same backbone architecture, optimization settings, and training budget. As shown in Table 7, DV-Flow achieves the lowest CRPSsum\mathrm{CRPS}_{\mathrm{sum}} across all datasets, often by a substantial margin, and the lowest Q90 on four of the five datasets. Most importantly, the comparison between the complete DV-Flow model and vanilla flow matching with both SATN and the Gaussian-process prior differs only in the velocity parameterization. Therefore, the improvement between these configurations directly isolates the contribution of the proposed dual-velocity design, rather than attributing it to SATN or the Gaussian-process prior.

MethodMetricElectricityExchangeTrafficKDDCUPSP500
vanilla FMCRPSsum\mathrm{CRPS}_{\mathrm{sum}}0.0257 ± 0.0040.0065 ± 0.0000.0517 ± 0.0050.2426 ± 0.0890.8884 ± 0.051
Q900.0344 ± 0.0010.0059 ± 0.0000.1080 ± 0.0010.3461 ± 0.0590.5246 ± 0.005
vanilla FM + SATNCRPSsum\mathrm{CRPS}_{\mathrm{sum}}0.0259 ± 0.0030.0056 ± 0.0000.0546 ± 0.0060.1709 ± 0.0920.8838 ± 0.052
Q900.0396 ± 0.0050.0046 ± 0.0000.1204 ± 0.0150.2683 ± 0.0510.5258 ± 0.003
vanilla FM + SATN + GPCRPSsum\mathrm{CRPS}_{\mathrm{sum}}0.0247 ± 0.0030.0053 ± 0.0000.0461 ± 0.0110.1407 ± 0.0200.8560 ± 0.016
Q900.0368 ± 0.0020.0043 ± 0.0000.1065 ± 0.0020.2341 ± 0.0010.5382 ± 0.015
DV-FlowCRPSsum\mathrm{CRPS}_{\mathrm{sum}}0.0197 ± 0.0000.0046 ± 0.0000.0386 ± 0.0050.0578 ± 0.0010.7958 ± 0.018
Q900.0348 ± 0.0020.0041 ± 0.0000.1054 ± 0.0030.2054 ± 0.0070.5235 ± 0.008

Table 7. Ablation study on dual velocity ↓

Limitation

DV-Flow moderately increases the number of learnable parameters and the runtime during both training and forecasting. Adding the deterministic predictor increases the total parameter count of DV-Flow to approximately 1.3×1.3\times that of the corresponding single-network model. The training time per epoch is approximately 1.4×1.4\times that of the single-network model, 2.2×2.2\times that of representative probabilistic-only baselines, and 1.4×1.4\times that of other hybrid baselines. The peak GPU memory usage is approximately 1.14×1.14\times that of the single-network model and approximately the same as that of the hybrid baselines. DV-Flow requires approximately 1.1×1.1 \times the inference time of flow-based single-network baseline, and 2.1×2.1 \times that of the diffusion-based hybrid baselines. We use 100 function evaluations across all models for the inference time analysis. We use 100 function evaluations across all models for the inference time analysis.

Conclusion

We introduce DV-Flow, a hybrid flow-matching framework that incorporates a deterministic model as an additional velocity component, rather than treating it as the endpoint of the transport path. This design avoids deep computational graphs and preserves a fixed probability path, resulting in more stable and efficient end-to-end training. Empirically, DV-Flow consistently outperforms baseline methods across multiple benchmark datasets, improving both predictive performance and training stability in fully joint settings. The proposed dual-velocity parameterization may also extend to broader conditional-generation domains, which we leave for future work.

Impact Statement

This work aims to improve the reliability and stability of probabilistic time series forecasting, which may benefit decision-making in applications such as weather, energy, and finance, while sharing the same considerations regarding data bias and responsible deployment as other forecasting models.

Derivation of distribution learning with linear assumption

Theorem proof

Proof. Consider the DV-Flow ODE

dyτdτ=fθ(x)+gϕ(yτ,τ,x),y0=ϵ.(11)\frac{d\mathbf{y}^{\tau}}{d\tau}=f_{\theta}(\mathbf{x})+g_{\phi}(\mathbf{y}^{\tau},\tau,\mathbf{x}),\qquad\mathbf{y}^{0}=\boldsymbol{\epsilon}. \tag*{(11)}

Define the shifted residual coordinate

rτ=yτ−τfθ(x).(12)\mathbf{r}^{\tau}=\mathbf{y}^{\tau}-\tau f_{\theta}(\mathbf{x}). \tag*{(12)}

Since fθ(x)f_{\theta}(\mathbf{x}) is independent of τ\tau, differentiating both sides gives

drτdτ=dyτdτ−fθ(x).(13)\frac{d\mathbf{r}^{\tau}}{d\tau}=\frac{d\mathbf{y}^{\tau}}{d\tau}-f_{\theta}(\mathbf{x}). \tag*{(13)}

Substituting the DV-Flow ODE, we obtain

drτdτ=fθ(x)+gϕ(yτ,τ,x)−fθ(x)(14)\frac{d\mathbf{r}^{\tau}}{d\tau}=f_{\theta}(\mathbf{x})+g_{\phi}(\mathbf{y}^{\tau},\tau,\mathbf{x})-f_{\theta}(\mathbf{x}) \tag*{(14)}
=gϕ(yτ,τ,x).(15)= g_{\phi}(\mathbf{y}^{\tau},\tau,\mathbf{x}). \tag*{(15)}

Using yτ=rτ+τfθ(x)\mathbf{y}^{\tau}=\mathbf{r}^{\tau}+\tau f_{\theta}(\mathbf{x}), this becomes

drτdτ=gϕ(rτ+τfθ(x),τ,x).(16)\frac{d\mathbf{r}^{\tau}}{d\tau}=g_{\phi}(\mathbf{r}^{\tau}+\tau f_{\theta}(\mathbf{x}),\tau,\mathbf{x}). \tag*{(16)}

Let

g′(rτ,τ)=gϕ(rτ+τfθ(x),τ,x).(17)g^{\prime}(\mathbf{r}^{\tau},\tau)=g_{\phi}(\mathbf{r}^{\tau}+\tau f_{\theta}(\mathbf{x}),\tau,\mathbf{x}). \tag*{(17)}

Then the residual coordinate follows the ODE

drτdτ=g′(rτ,τ),r0=y0=ϵ.(18)\frac{d\mathbf{r}^{\tau}}{d\tau}=g^{\prime}(\mathbf{r}^{\tau},\tau),\qquad\mathbf{r}^{0}=\mathbf{y}^{0}=\boldsymbol{\epsilon}. \tag*{(18)}

At τ=1\tau=1, we have

r1=y1−fθ(x).(19)\mathbf{r}^{1}=\mathbf{y}^{1}-f_{\theta}(\mathbf{x}). \tag*{(19)}

Therefore, if the DV-Flow ODE transports ϵ\boldsymbol{\epsilon} to samples y1∼p(y∣x)\mathbf{y}^{1}\sim p(\mathbf{y}\mid\mathbf{x}), then the transformed ODE defined by g′g^{\prime} transports ϵ\boldsymbol{\epsilon} to samples

r1=y1−fθ(x).(20)\mathbf{r}^{1}=\mathbf{y}^{1}-f_{\theta}(\mathbf{x}). \tag*{(20)}

Equivalently, the terminal distribution of the residual-coordinate ODE is the distribution of y−fθ(x)\mathbf{y}-f_{\theta}(\mathbf{x}).

In particular, if

fθ(x)=E[y∣x],(21)f_{\theta}(\mathbf{x})=\mathbb{E}[\mathbf{y}\mid\mathbf{x}], \tag*{(21)}

then

E[r1∣x]=E[y−fθ(x)∣x]=E[y∣x]−fθ(x)=0.(22)\mathbb{E}[\mathbf{r}^{1}\mid\mathbf{x}]=\mathbb{E}[\mathbf{y}-f_{\theta}(\mathbf{x})\mid\mathbf{x}]=\mathbb{E}[\mathbf{y}\mid\mathbf{x}]-f_{\theta}(\mathbf{x})=0. \tag*{(22)}

Thus the ODE defined by g′g^{\prime} pushes Gaussian noise to a zero-mean residual distribution.

Alternatively, suppose that fθ(x)f_{\theta}(\mathbf{x}) is a coordinate-wise conditional median of y\mathbf{y} given x\mathbf{x}, i.e.,

fθ(x)=Med⁡(y∣x).(23)f_{\theta}(\mathbf{x})=\operatorname{Med}(\mathbf{y}\mid\mathbf{x}). \tag*{(23)}

By the translation equivariance of the median,

Med⁡(r1∣x)=Med⁡(y−fθ(x)∣x)=Med⁡(y∣x)−fθ(x)=0.(24)\begin{aligned} \operatorname{Med}(\mathbf{r}^{1}\mid\mathbf{x})=\operatorname{Med}(\mathbf{y}-f_{\theta}(\mathbf{x})\mid\mathbf{x}) \\ &=\operatorname{Med}(\mathbf{y}\mid\mathbf{x})-f_{\theta}(\mathbf{x})=0. \tag*{(24)} \end{aligned}

Thus, the ODE defined by g′g^{\prime} pushes Gaussian noise to a residual distribution for which zero is a coordinate-wise conditional median.

General linear form

Assume the prior is a standard Gaussian distribution yτ∼N(0,I)\mathbf{y}^{\tau} \sim\mathcal{N}(0,I), and the local velocity has a linear form: gϕ=A(τ)yτ+a(τ)g_{\phi} = A(\tau)\mathbf{y}^{\tau} + a(\tau). The ODE becomes: y˙τ=A(τ)yτ+a(τ)+fθ(x)\dot{\mathbf{y}}^{\tau} = A(\tau)\mathbf{y}^{\tau} + a(\tau) + f_{\theta}(\mathbf{x}). Consider the homogeneous part

y˙τ=A(τ)yτ\dot{\mathbf{y}}^{\tau} = A(\tau)\mathbf{y}^{\tau}

The solution is yτ=Φ(τ,s)ys\mathbf{y}^{\tau} = \Phi(\tau,s)\mathbf{y}^{s}, where ∂Φ(τ,s)∂τ=A(τ)Φ(τ,s)\frac{\partial\Phi(\tau,s)}{\partial\tau} = A(\tau)\Phi(\tau,s), and Φ(s,s)=I\Phi(s,s) = I. Now make an ansatz for some vector c(τ)\mathbf{c}(\tau):

yτ=Φ(τ,0)c(τ)(25)\mathbf{y}^{\tau} = \Phi(\tau,0)\mathbf{c}(\tau) \tag*{(25)}

If we differentiate the ansatz:

y˙τ=∂Φ(τ,0)∂τc(τ)+Φ(τ,0)c˙(τ)=A(τ)Φ(τ,0)c(τ)+Φ(τ,0)c˙(τ)=A(τ)xτ+Φ(τ,0)c˙(τ)(26)\begin{aligned} \dot{\mathbf{y}}^{\tau} &= \frac{\partial\Phi(\tau,0)}{\partial\tau}\mathbf{c}(\tau) + \Phi(\tau,0)\dot{\mathbf{c}}(\tau) \\ &= A(\tau)\Phi(\tau,0)\mathbf{c}(\tau) + \Phi(\tau,0)\dot{\mathbf{c}}(\tau) \\ &= A(\tau)\mathbf{x}^{\tau} + \Phi(\tau,0)\dot{\mathbf{c}}(\tau) \tag*{(26)} \end{aligned}

Compare with the original ODE y˙τ=A(τ)yτ+a(τ)+fθ(x)\dot{\mathbf{y}}^{\tau} = A(\tau)\mathbf{y}^{\tau} + a(\tau) + f_{\theta}(\mathbf{x}), we get Φ(τ,0)c˙(τ)=a(τ)+fθ(x)\Phi(\tau,0)\dot{\mathbf{c}}(\tau) = a(\tau) + f_{\theta}(\mathbf{x}). Therefore, c˙(τ)=Φ(τ,0)−1(a(τ)+fθ(x))=Φ(0,τ)(a(τ)+fθ(x))\dot{\mathbf{c}}(\tau) = \Phi(\tau,0)^{-1}(a(\tau) + f_{\theta}(\mathbf{x})) = \Phi(0,\tau)(a(\tau) + f_{\theta}(\mathbf{x})). Integrate for c(τ)\mathbf{c}(\tau):

c(τ)=c(0)+∫0τΦ(0,s)(a(s)+fθ(x)) ds(27)\mathbf{c}(\tau) = \mathbf{c}(0) + \int_{0}^{\tau} \Phi(0,s)(a(s) + f_{\theta}(\mathbf{x}))\,ds \tag*{(27)}

At τ=0\tau= 0, yτ=Φ(0,0)c(0)=Ic(0)=y0\mathbf{y}^{\tau} = \Phi(0,0)\mathbf{c}(0) = I\mathbf{c}(0) = \mathbf{y}^{0}, therefore, c(0)=y0\mathbf{c}(0) = \mathbf{y}^{0}. Back substitute Equation (25):

yτ=Φ(τ,0)c(τ)=Φ(τ,0)[y0+∫0τΦ(0,s)(a(s)+fθ(x)) ds]=Φ(τ,0)y0+∫0τΦ(τ,s)(a(s)+fθ(x)) ds(28)\begin{aligned} \mathbf{y}^{\tau} &= \Phi(\tau,0)\mathbf{c}(\tau) \\ &= \Phi(\tau,0)\left[\mathbf{y}^{0} + \int_{0}^{\tau} \Phi(0,s)(a(s) + f_{\theta}(\mathbf{x}))\,ds\right] \\ &= \Phi(\tau,0)\mathbf{y}^{0} + \int_{0}^{\tau} \Phi(\tau,s)(a(s) + f_{\theta}(\mathbf{x}))\,ds \tag*{(28)} \end{aligned}

For better understanding of Φ(τ,s)\Phi(\tau,s), according to the Peano-Baker series [2]:

Φ(τ,s)=I+∫sτA(ς)Φ(ς,s) dς=I+∫sτA(ς) dς+∫sτA(ς1)∫sς1A(ς2) dς1dς2+…=I+∑n=1∞In(τ)(29)\begin{aligned} \Phi(\tau,s) &= I + \int_{s}^{\tau} A(\varsigma)\Phi(\varsigma,s)\,d\varsigma\\ &= I + \int_{s}^{\tau} A(\varsigma)\,d\varsigma+ \int_{s}^{\tau} A(\varsigma_{1})\int_{s}^{\varsigma_{1}} A(\varsigma_{2})\,d\varsigma_{1}d\varsigma_{2} + \ldots\\ &= I + \sum_{n=1}^{\infty} \mathcal{I}_{n}(\tau) \tag*{(29)} \end{aligned}

Where

In(τ)=∫sτA(ς1)∫sς1A(ς2)⋯∫sςn−1A(ςn) dς1dς2…dςn\mathcal{I}_{n}(\tau) = \int_{s}^{\tau} A(\varsigma_{1})\int_{s}^{\varsigma_{1}} A(\varsigma_{2})\cdots\int_{s}^{\varsigma_{n-1}} A(\varsigma_{n})\,d\varsigma_{1}d\varsigma_{2}\ldots d\varsigma_{n}

According to Equation (28), y1=Φ(1,0)y0+∫01Φ(1,s)(a(s)+fθ(x)) ds\mathbf{y}^{1} = \Phi(1,0)\mathbf{y}^{0} + \int_{0}^{1} \Phi(1,s)(a(s) + f_{\theta}(\mathbf{x}))\,ds.

μ1=E[y1]=E[Φ(1,0)y0+∫01Φ(1,s)(a(s)+fθ(x)) ds]=Φ(1,0)E[y0]+∫01Φ(1,s)(a(s)+fθ(x)) ds=∫01Φ(1,s)(a(s)+fθ(x)) ds(30)\begin{aligned} \boldsymbol{\mu}^{1} &= \mathbb{E}[\mathbf{y}^{1}] \\ &= \mathbb{E}\left[\Phi(1,0)\mathbf{y}^{0} + \int_{0}^{1} \Phi(1,s)(a(s) + f_{\theta}(\mathbf{x}))\,ds\right] \\ &= \Phi(1,0)\mathbb{E}[\mathbf{y}^{0}] + \int_{0}^{1} \Phi(1,s)(a(s) + f_{\theta}(\mathbf{x}))\,ds \\ &= \int_{0}^{1} \Phi(1,s)(a(s) + f_{\theta}(\mathbf{x}))\,ds \tag*{(30)} \end{aligned}
Σ1=Var⁡(y1)=Var⁡(Φ(1,0)y0+∫01Φ(1,s)(a(s)+fθ(x)) ds)=Var⁡(Φ(1,0)y0)=Φ(1,0)IΦ(1,0)T\begin{aligned} \boldsymbol{\Sigma}^{1} &= \operatorname{Var}(\mathbf{y}^{1}) = \operatorname{Var}\left(\Phi(1,0)\mathbf{y}^{0} + \int_{0}^{1} \Phi(1,s)(a(s) + f_{\theta}(\mathbf{x}))\,ds\right) \\ &= \operatorname{Var}(\Phi(1,0)\mathbf{y}^{0}) = \Phi(1,0)I\Phi(1,0)^{T} \end{aligned}

Special Case of Constant A

For the special case where A(τ)≡AA(\tau) \equiv A is constant and a(τ)≡0a(\tau) \equiv0, solving the ODE ∂Φ(τ,s)∂τ=AΦ(τ,s)\frac{\partial\Phi(\tau,s)}{\partial\tau}=A\Phi(\tau,s) with initial condition Φ(s,s)=I\Phi(s,s)=I, we get Φ(τ,s)=eA(τ−s)\Phi(\tau,s)=e^{A(\tau-s)}. Therefore, Φ(1,s)=eA(1−s)\Phi(1,s)=e^{A(1-s)}, plug in Equation (30) we get:

μ1=∫01Φ(1,s)fθ(x) ds=fθ(x)∫01eA(1−s) ds=fθ(x)[A−1eA(1−s)]01=fθ(x)[−A−1−(−A−1)eA]=A−1(eA−I)fθ(x)(31)\begin{aligned} \mu_1 &= \int_0^1 \Phi(1,s)f_\theta(\mathbf{x})\,ds \\ &= f_\theta(\mathbf{x})\int_0^1 e^{A(1-s)}\,ds \\ &= f_\theta(\mathbf{x})\left[A^{-1}e^{A(1-s)}\right]_0^1 \\ &= f_\theta(\mathbf{x})\left[-A^{-1}-(-A^{-1})e^A\right] \\ &= A^{-1}(e^A-I)f_\theta(\mathbf{x}) \tag*{(31)} \end{aligned}

Here, the deterministic network fθ(x)f_\theta(\mathbf{x}) contributes only to the mean, while the covariance is entirely determined by the local velocity through AA. In particular, when AA has negative eigenvalues, the transformation eAe^A contracts the space, leading to a small covariance Σ1\mathbf{\Sigma}^1, where the rollouts of the prediction are centered around the mean.

Algorithms

Algorithm 1  Training

Require: data dist. p*; prior p₀ = 𝒩(0, K(t, t′)); noise σmin; gϕ; fθ; λ
1: 𝒳 ∼ p*
   ▷ full dataset
2: s ← calc_seasonality(𝒳)
3: σt ← calc_sigma(𝒳)
4: for i = 1, 2, . . . do
5: x, y ∼ p*(x); y⁰ ∼ p₀
6: x ← SATN(x, s, σ)
7: y ← SATN(y, s, σ)
8: τ ∼ 𝒰(0, 1)
9: yτ ← (1 − τ)y⁰ + τy
10: uτ ← ∂τyτ = y − y⁰
11: ℒ(θ, ϕ) ← {xref}`Eq 5`
12: θ, ϕ ← Update(θ, ϕ, ∇θ,ϕℒ)
13: end for
Algorithm 2  Sampling

Require: prior GP noise p₀ = 𝒩(0, K(t, t′)); trained local velocity net gϕ; trained deterministic net fθ; seasonal cycle s (from train set); scale σ (from train set), steps N
1: for i = 1, 2, . . . do
2: x ∼ p*(x); y⁰ ∼ p₀
3: x ← SATN(x, s, σ)
4: ŷ ← fθ(x)
5: v̂ ← gϕ + ŷ
6: ŷ¹ ← ODESolver(v̂, y⁰, [0, 1], N = 150;
   method = Dopri5, atol = 10⁻⁶, rtol = 10⁻³)
   ▷ Invert SATN normalization
7: y¹ ← σt ⊙ y¹ + xₜ⁰
8: y¹ ← add_seasonal(y¹, s)
9: end for

Baselines

For all uncertainty quantification experiments, we conduct our own evaluations of the baseline models. Specifically, we run the official implementations of TimeGrad, Diffusion-TS, TMDM and D3UD^3U using their released code and default settings. For DeepAR, TFT, PatchTST, and iTransformer, we use the implementations provided by GluonTS applying default hyperparameters, except for iTransformer. Since our model uses iTransformer as the backbone, we align the configuration and set the hidden size to 1024 for consistency.

Evaluation Metics

Following Lim et al. [32], q-Risk is defined as:

q-Risk⁡=2∑i=1D∑xi,t∈X~∑t=t0+1TQL(xi,t,x^i,t,q)∑i=1D∑xi,t∈X~∑t=t0+1T∣xi,t∣,QL(x,x^,q)=q(x−x^)++(1−q)(x^−x)+\operatorname{q\text{-}Risk} = \frac{2\sum_{i=1}^{D}\sum_{x_{i,t}\in\widetilde{\mathcal{X}}}\sum_{t=t_{0}+1}^{T} QL(x_{i,t},\hat{x}_{i,t},q)}{\sum_{i=1}^{D}\sum_{x_{i,t}\in\widetilde{\mathcal{X}}}\sum_{t=t_{0}+1}^{T} |x_{i,t}|}, \qquad QL(x,\hat{x},q) = q(x-\hat{x})_{+} + (1-q)(\hat{x}-x)_{+}

Where X~\widetilde{\mathcal{X}} is the test data space with MM samples, and qq is the quantile. We report q-Risk at q=0.9q = 0.9, denoted as Q90.

Additional Controlled Experiments

In order to study whether the advantage of the dual-velocity design depends on the simultaneous presence of SATN and the correlated GP prior, we conducted an additional controlled experiment in which both components were removed: (1) we replaced SATN with standard global normalization, using the global mean and standard deviation of each dimension calculated from the training set, and (2) we replaced the correlated GP prior with independent Gaussian noise. From Table 8, we can see that the advantage of the dual-velocity design remains present in the more simplified setting.

DatasetMetricResidual0.3_{0.3}DP0.3_{0.3}DV-Flow
ElectricityCRPSsum_{\mathrm{sum}}0.0309 ± 0.0070.0231 ± 0.020.0225 ± 0.003
Q900.0361 ± 0.0020.0334 ± 0.0030.0342 ± 0.001
ExchangeCRPSsum_{\mathrm{sum}}0.0106 ± 0.0030.0125 ± 0.0050.0053 ± 0.000
Q900.0154 ± 0.0100.0169 ± 0.0090.0077 ± 0.000
TrafficCRPSsum_{\mathrm{sum}}0.0475 ± 0.0020.0512 ± 0.0180.0397 ± 0.002
Q900.1153 ± 0.0040.1407 ± 0.0520.1094 ± 0.003
SolarCRPSsum_{\mathrm{sum}}0.4156 ± 0.0150.4045 ± 0.1490.3182 ± 0.054
Q900.2318 ± 0.0570.1727 ± 0.0050.1700 ± 0.004
KDDCupCRPSsum_{\mathrm{sum}}0.1948 ± 0.0510.1798 ± 0.0410.1718 ± 0.037
Q900.2797 ± 0.0330.3348 ± 0.0380.3309 ± 0.013
SP500CRPSsum_{\mathrm{sum}}0.8134 ± 0.0720.8480 ± 0.0580.7799 ± 0.018
Q900.5184 ± 0.0010.5232 ± 0.0040.5167 ± 0.007

Table 8. Test set performance across hybrid formulations. ↓

Velocity Error on Other Datasets

Figure 7 presents the velocity errors on the Traffic, Exchange Rate, KDD, and SP500 datasets. We observe a consistent pattern across all datasets except SP500: DV-Flow achieves lower velocity errors during the early stages of the trajectory. On SP500, the three variants exhibit comparable errors, although DV-Flow maintains a slight advantage throughout the entire trajectory.

Figure 7. Velocity Error Comparison. We compare the RMSE of velocity predictions against ground truth on the test set for DV-Flow, residual-based, and deterministic-as-prior. While all three formulations converge as τ→1\tau\to1, DV-Flow (green) starts with the lowest velocity error when τ→0\tau\to0, demonstrating our formulation has an advantage when τ\tau is small.

Gradient Norm on Other Datasets

Figure 8 presents the gradient norms on the additional datasets with λ=0.3\lambda= 0.3. Across all datasets, the residual-based and deterministic-as-prior formulations exhibit large gradient spikes, whereas DV-Flow maintains stable gradients without pronounced spikes.

Figure 8. Gradient norm. We compare DV-Flow, the residual-based and deterministic-as-prior formulations with λ=0.3\lambda= 0.3. In all datasets, residual-based and deterministic-as-prior training exhibits large gradient spikes, whereas DV-Flow remains stable without large spikes.

Visualization

In this section, we aim to gain a visual understanding of how DV-Flow generates its predictions and to examine the form of the resulting prediction bands. Figure 9 plots predictive intervals and the mean absolute deviation between our final predictions and the deterministic prediction for two datasets. Variability does not simply grow toward the end of the forecast window; instead, it mirrors the variance present in the training data. For electricity, variance is highest around 12:00–18:00 when demand peaks and lowest overnight (21:00–06:00). Our model reproduces these patterns, yielding predictive distributions that closely match the empirical variability.

Prediction intervals and MAE for Electricity and Traffic

Figure 9. Left: prediction interval; Right: MAE between the final prediction and deterministic prediction. Top: Electricity; Bottom: Traffic.

Seasonal-Adjusted Time-Adaptive Normalization

we design Seasonal-Adjusted Time-Adaptive Normalization (SATN). We remove seasonal components that do not require a learnable module directly from the data, allowing the forecasting model to focus on learning the remaining temporal dynamics. Let ss denote seasonality:

yt←yt−sty_t \leftarrow y_t - s_t

In typical continuous time series, residuals near the present—such as yt0+1y_{t_0+1}—tend to have a lower variance and are closer in value to the most recent observation xt0x_{t_0} (Figure 10 in Appendix, step 1, 3).

Figure 10. Data Normalization. Step 1: Assume the data follows Brownian motion after the last time step of the context window. Variance is smaller when close to the context window, and becomes bigger as time step increases. The data can be decomposed into two parts: the observation, and the variance. Step 2: Remove seasonal component. Step 3: Run time-adaptive normalization on the residual. At this point, the variance across all time steps are scaled to the same level.

We design our normalization method from the perspective of Brownian motion. Specifically, we assume that the residual sequence yy evolves similarly to a Brownian motion originating from the last step in the context window xt0x_{t_0}. Under this assumption, we normalize yy to resemble a Gaussian Process with approximately

unit marginal variance at each time step. This facilitates stable training and better alignment with the prior distribution used in flow matching.

We normalize y\mathbf{y} as follows:

yt←yt−xt0σt(32)\mathbf{y}_t \leftarrow\frac{\mathbf{y}_t-\mathbf{x}_{t_0}}{\sigma_t} \tag*{(32)}

σt\sigma_t is computed on the basis of the linear interpolation property of Brownian motion, where the variance grows proportionally with time: σt0+12=E[(y(t0+1)−xt0)2]\sigma_{t_0+1}^2=\mathbb{E}\left[(\mathbf{y}_{(t_0+1)}-\mathbf{x}_{t_0})^2\right], σT2=E[(yT−xt0)2]\sigma_T^2=\mathbb{E}\left[(\mathbf{y}_T-\mathbf{x}_{t_0})^2\right]. Usually σt0+12<σT2\sigma_{t_0+1}^2<\sigma_T^2. To ensure that the variance increases monotonically with tt, we estimate it using the following linear schedule σt2=(t−(t0+1))Δ+σ(t0+1)2\sigma_t^2=(t-(t_0+1))\Delta+\sigma_{(t_0+1)}^2, Δ=αT−(t0+1)(σT2−σ(t0+1)2)\Delta=\frac{\alpha}{T-(t_0+1)}(\sigma_T^2-\sigma_{(t_0+1)}^2) where α\alpha is a hyperparameter. All calculations are performed independently for each variable of the time series.

For the context input x1:t0\mathbf{x}_{1:t_0}, we normalize it similarly to the prediction window y\mathbf{y} to maintain consistency in scale throughout the sequence. Specifically, for each t<t0t<t_0, we compute xt←xt−xt0σt\mathbf{x}_t\leftarrow\frac{\mathbf{x}_t-\mathbf{x}_{t_0}}{\sigma_t}, σt2=t0−tt0−1E[(x1−xt0)2]\sigma_t^2=\frac{t_0-t}{t_0-1}\mathbb{E}\left[(\mathbf{x}_1-\mathbf{x}_{t_0})^2\right]. We encode the context sequence xt\mathbf{x}_t and the prediction sequence ytT\mathbf{y}_t^T separately and then concatenate the encoded E(xt)E(\mathbf{x}_t) from the context window and E(ytT)E(\mathbf{y}_t^T) from the prediction window into a single sequence, before running it through the transformer. The training algorithm can be found in Algorithm 1.

The seasonal component of the time series often captures dominant low-frequency structures. Let WW denote the seasonal cycle length, which can be inferred from the data’s periodicity. For example, in hourly time series with daily seasonality, W=24W=24. Define αt∈(1,…,w)\alpha_t\in(1,\ldots,w) as the position of time tt within its seasonal cycle. The seasonal mean at cycle position ww is computed as: uw=mean⁡({xt:αt=w})\mathbf{u}_w=\operatorname{mean}(\{\mathbf{x}_t:\alpha_t=w\}). We then define the deterministic seasonal estimate as: st=uαt\mathbf{s}_t=\mathbf{u}_{\alpha_t}. This simple, nonparametric method provides a robust seasonal baseline, allowing the generative model to focus on learning the residual distribution.

We represent the seasonal cycle as s∗∈RD×w\mathbf{s}^*\in\mathbb{R}^{D\times w}, where s∗\mathbf{s}^* is assumed to be drawn from a Gaussian distribution:

s∗∼N(μs,σmin⁡I)(33)\mathbf{s}^*\sim\mathcal{N}(\boldsymbol{\mu}_s,\sigma_{\min}I) \tag*{(33)}

When σmin⁡\sigma_{\min} approaches 0, the seasonal cycle s∗\mathbf{s}^* will be very close to its mean μs\boldsymbol{\mu}_s. We estimate s(t0+1):T\mathbf{s}_{(t_0+1):T} as the empirical mean of the seasonal cycle. Specifically, we select an arbitrary time step within the cycle window [1,w][1,w] and sample all corresponding data points X∈RD×w\mathbf{X}\in\mathbb{R}^{D\times w} from the training data that align with the chosen start position of the cycle window. For example, in hourly data, if hour 1 is chosen as the start of the cycle window, we extract all 24-length data points from different days that begin at hour 11. The mean μs\mu_s is then computed as μs=1N∑X\mu_s = \frac{1}{N}\sum\mathcal{X}, where NN is the total number of sampled data points.

After obtaining the seasonal cycle s∗\mathbf{s}^*, we perform adjustment and concatenation to reshape it to align with the current time series x\mathbf{x}. Suppose x\mathbf{x} starts at position mm and ends at position nn, where mm and nn are relative positions within the cycle window [1:w][1:w]. The adjustment involves shifting s∗\mathbf{s}^* such that the adjusted seasonal cycle sa\mathbf{s}^a is defined as sa=[s∗[m:];s∗[:m]]\mathbf{s}^a = [\mathbf{s}^*[m:];\mathbf{s}^*[:m]], where [;][;] denotes concatenation.

Let the length of x\mathbf{x} be ll. The time series x\mathbf{x} spans ⌊l/w⌋\lfloor l/w\rfloor full cycles, with an offset of l mod wl \bmod w steps. The final full seasonal effect is constructed by fist concatenating sa\mathbf{s}^a repeated ⌊l/w⌋\lfloor l/w\rfloor times to account for the full cycles, and then appending the first l mod wl \bmod w steps of sa\mathbf{s}^a to account for the remaining partial cycle. A visual illustration of this process can be found in Figure 11.

Figure 11. Top Left: Seasonal Cycle that starts at position 1 of the cycle window. Top Right: Current time series data that starts at position 14 of the cycle window, with 5 cycles and 10 offset steps. Bottom Left: Adjusted Seasonal Cycle that starts at position 14, same as the current time series. Bottom Right: Adjusted full seasonal effect on the current time series, which is the concatenation of 5 adjusted seasonal cycles and the first 10 steps from the adjusted seasonal cycle.

s=[⌊l/w⌋∗[sa];sa[:l mod w]]\mathbf{s} = [\lfloor l/w\rfloor* [\mathbf{s}^a];\mathbf{s}^a[: l \bmod w]]

More results on the toy dataset

In this toy dataset, x\mathbf{x} is a random vector uniformly sampled from [−1,1]3[-1,1]^3. We compute the centers of two Gaussian mixtures with μ1=W1x\mu_1 = \mathbf{W}_1\mathbf{x}, and μ2=dW2x∥W2x∥+μ1\mu_2 = d\frac{\mathbf{W}_2\mathbf{x}}{\lVert\mathbf{W}_2\mathbf{x}\rVert}+\mu_1. Here W1\mathbf{W}_1 and W2\mathbf{W}_2 are two parameters randomly initialized from a standard Gaussian distribution. Note that the distance between the two centers is always dd. Both mixtures have covariance II. The first mixture has weight 0.7, while the second mixture has weight 0.3. Therefore, x\mathbf{x} decides both the mean and variance of the predictive distribution. Compared with the first toy dataset, the covariance of the entire Gaussian mixture does not directly correspond to scale of x\mathbf{x}, therefore, it is harder to learn for the predictive model.

For both toy datasets, we train a DV-Flow model with a feedforward backbone, which has 3 hidden layers. The size of each hidden layer is fixed to 32. The model is trained with 1000 epochs as we can afford the computation. On each dataset, we test the model with 100 random runs. The performance is computed from the mean and variance from these runs.

On this toy dataset, we also compare predictive samples of yy for a single xx against the true predictive distribution. On this dataset, we see that λ=0\lambda= 0 gives much better performances than other λ\lambda choices. It is also much better than pre-training fθf_\theta with point-wise loss. It worth more investigation how the performances of different λ\lambda values are related to the distribution, but it is clear that the choice of λ\lambda is important to the model performance.

References

  1. [1]Alexander Alexandrov, Konstantinos Benidis, Michael Bohlke-Schneider, Valentin Flunkert, Jan Gasthaus, Tim Januschowski, Danielle C Maddix, Syama Rangapuram, David Salinas, Jasper Schulz, et al. Gluonts: Probabilistic time series models in python. arXiv preprint arXiv:1906.05264, 2019.arxiv.org/abs/1906.05264
  2. [2]Michael Baake and Ulrike Schlaegel. The peano-baker series. Proceedings of the Steklov Institute of Mathematics, 275(1):155–159, 2011.
  3. [3]Ludwig Baringhaus and Carsten Franz. On a new multivariate two-sample test. Journal of multivariate analysis, 88(1):190–206, 2004.DOI
  4. [5]George E. P. Box and Gwilym M. Jenkins. Time Series Analysis: Forecasting and Control. Holden-Day, 1st edition, 1970.
  5. [11]J. R. Dormand and P. J. Prince. A family of embedded runge-kutta formulae. Journal of Computational and Applied Mathematics, 6(1):19–26, 1980. doi: 10.1016/0771-050X(80)90013-3. URL https://www.sciencedirect.com/science/article/pii/0771050X80900133.DOI
  6. [12]Dheeru Dua and Efi Karra Taniskidou. Uci machine learning repository, 2017. URL http://archive.ics.uci.edu/ml.
  7. [13]Wei Fan, Shun Zheng, Xiaohan Yi, Wei Cao, Yanjie Fu, Jiang Bian, and Tie-Yan Liu. Depts: Deep expansion learning for periodic time series forecasting. arXiv preprint arXiv:2203.07681, 2022.arxiv.org/abs/2203.07681
  8. [14]Xinyao Fan, Yueying Wu, Chang Xu, Yuhao Huang, Weiqing Liu, and Jiang Bian. Mg-tsd: Multi-granularity time series diffusion models with guided learning process. arXiv preprint arXiv:2403.05751, 2024.arxiv.org/abs/2403.05751
  9. [16]Jiaxin Gao, Qinglong Cao, and Yuntian Chen. Auto-regressive moving diffusion models for time series forecasting. arXiv preprint arXiv:2412.09328, 2024.
  10. [17]Tilmann Gneiting and Adrian E Raftery. Strictly proper scoring rules, prediction, and estimation. Journal of the American Statistical Association, 102(477):359–378, 2007.
  11. [18]Junchao Gong, Lei Bai, Peng Ye, Wanghan Xu, Na Liu, Jianhua Dai, Xiaokang Yang, and Wanli Ouyang. Cascast: Skillful high-resolution precipitation nowcasting via cascaded modelling. arXiv preprint arXiv:2402.04290, 2024.arxiv.org/abs/2402.04290
  12. [19]Ian J Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Yoshua Bengio. Generative adversarial nets. Advances in neural information processing systems, 27, 2014.
  13. [20]Jonathan Ho, Ajay Jain, and Pieter Abbeel. Denoising diffusion probabilistic models. Advances in neural information processing systems, 33:6840–6851, 2020.arxiv.org/abs/2006.11239
  14. [21]Jonathan Ho, Tim Salimans, Alexey Gritsenko, William Chan, Mohammad Norouzi, and David J Fleet. Video diffusion models. Advances in Neural Information Processing Systems, 35:8633–8646, 2022.
  15. [23]Yang Hu, Xiao Wang, Lirong Wu, Huatian Zhang, Stan Z Li, Sheng Wang, and Tianlong Chen. Fm-ts: Flow matching for time series generation. arXiv preprint arXiv:2411.07506, 2024.
  16. [26]Gavin Kerrigan, Giosue Migliorini, and Padraic Smyth. Functional flow matching. In Sanjoy Dasgupta, Stephan Mandt, and Yingzhen Li (eds.), Proceedings of The 27th International Conference on Artificial Intelligence and Statistics, volume 238 of Proceedings of Machine Learning Research, pp. 3934–3942. PMLR, 02–04 May 2024b.arxiv.org/abs/2305.17209
  17. [27]Marcel Kollovieh, Abdul Fatir Ansari, Michael Bohlke-Schneider, Jasper Zschiegner, Hao Wang, and Yuyang Bernie Wang. Predict, refine, synthesize: Self-guiding diffusion models for probabilistic time series forecasting. Advances in Neural Information Processing Systems, 36, 2024a.arxiv.org/abs/2307.11494
  18. [28]Marcel Kollovieh, Marten Lienen, David Lüdke, Leo Schwinn, and Stephan Günnemann. Flow matching with gaussian process priors for probabilistic time series forecasting. arXiv preprint arXiv:2410.03024, 2024b.
  19. [29]Guokun Lai, Wei-Cheng Chang, Yiming Yang, and Hanxiao Liu. Modeling long-and short-term temporal patterns with deep neural networks. In The 41st international ACM SIGIR conference on research & development in information retrieval, pp. 95–104, 2018.
  20. [31]Yuxin Li, Wenchao Chen, Xinyue Hu, Bo Chen, Mingyuan Zhou, et al. Transformer-modulated diffusion models for probabilistic multivariate time series forecasting. In The Twelfth International Conference on Learning Representations, 2024.
  21. [32]Bryan Lim, Sercan Ö Arık, Nicolas Loeff, and Tomas Pfister. Temporal fusion transformers for interpretable multi-horizon time series forecasting. International Journal of Forecasting, 37(4):1748–1764, 2021.arxiv.org/abs/1912.09363
  22. [33]Shengsheng Lin, Weiwei Lin, Xinyi Hu, Wentai Wu, Ruichao Mo, and Haocheng Zhong. Cyclenet: enhancing time series forecasting through modeling periodic patterns. arXiv preprint arXiv:2409.18479, 2024a.arxiv.org/abs/2409.18479
  23. [35]Yaron Lipman, Ricky TQ Chen, Heli Ben-Hamu, Maximilian Nickel, and Matt Le. Flow matching for generative modeling. arXiv preprint arXiv:2210.02747, 2022.arxiv.org/abs/2210.02747
  24. [36]Xingchao Liu, Chengyue Gong, and Qiang Liu. Flow straight and fast: Learning to generate and transfer data with rectified flow. arXiv preprint arXiv:2209.03003, 2022.arxiv.org/abs/2209.03003
  25. [37]Yong Liu, Tengge Hu, Haoran Zhang, Haixu Wu, Shiyu Wang, Lintao Ma, and Mingsheng Long. iTransformer: Inverted transformers are effective for time series forecasting. arXiv preprint arXiv:2310.06625, 2023.arxiv.org/abs/2310.06625
  26. [40]James E Matheson and Robert L Winkler. Scoring rules for continuous probability distributions. Management science, 22(10):1087–1096, 1976.DOI
  27. [41]Volodymyr Mnih, Koray Kavukcuoglu, David Silver, Andrei A Rusu, Joel Veness, Marc G Bellemare, Alex Graves, Martin Riedmiller, Andreas K Fidjeland, Georg Ostrovski, et al. Human-level control through deep reinforcement learning. nature, 518(7540):529–533, 2015.DOI
  28. [43]Yuqi Nie, Nam H Nguyen, Phanwadee Sinthong, and Jayant Kalagnanam. A time series is worth 64 words: Long-term forecasting with transformers. arXiv preprint arXiv:2211.14730, 2022.arxiv.org/abs/2211.14730
  29. [47]Kashif Rasul, Calvin Seward, Ingmar Schuster, and Roland Vollgraf. Autoregressive denoising diffusion models for multivariate probabilistic time series forecasting. In International Conference on Machine Learning, pp. 8857–8868. PMLR, 2021.arxiv.org/abs/2101.12072
  30. [48]David Salinas, Valentin Flunkert, Jan Gasthaus, and Tim Januschowski. DeepAR: Probabilistic forecasting with autoregressive recurrent networks. International journal of forecasting, 36(3):1181–1191, 2020.arxiv.org/abs/1704.04110
  31. [49]Christopher A. Sims. Macroeconomics and reality. Econometrica, 48(1):1–48, 1980.DOI
  32. [51]Prakhar Srivastava, Ruihan Yang, Gavin Kerrigan, Gideon Dresdner, Jeremy McGibbon, Christopher S Bretherton, and Stephan Mandt. Precipitation downscaling with spatiotemporal video diffusion. Advances in Neural Information Processing Systems, 37:56374–56400, 2024.arxiv.org/abs/2312.06071
  33. [53]Salvatore Stolfo, Wei Fan, Wenke Lee, Andreas Prodromidis, and Philip Chan. Kdd cup 1999 data. https://doi.org/10.24432/C51C7N, 1999. UCI Machine Learning Repository.
  34. [56]Gabor J Szekely, Maria L Rizzo, et al. Hierarchical clustering via joint between-within distances: Extending ward’s minimum variance method. Journal of classification, 22(2):151–184, 2005.
  35. [57]Ella Tamir, Najwa Laabid, Markus Heinonen, Vikas Garg, and Arno Solin. Conditional flow matching for time series modelling. In ICML 2024 Workshop on Structured Probabilistic Inference & Generative Modeling, 2024. URL https://openreview.net/forum?id=Hq n4Aj7xrQ.
  36. [59]Alexander Tong, Nikolay Malkin, Guillaume Huguet, Yanlei Zhang, Jarrid Rector-Brooks, Kilian Fatras, Guy Wolf, and Yoshua Bengio. Improving and generalizing flow-based generative models with minibatch optimal transport. arXiv preprint arXiv:2302.00482, 2023.arxiv.org/abs/2302.00482
  37. [60]A Vaswani. Attention is all you need. Advances in Neural Information Processing Systems, 2017.arxiv.org/abs/1706.03762
  38. [62]Haixu Wu, Jiehui Xu, Jianmin Wang, and Mingsheng Long. Autoformer: Decomposition transformers with auto-correlation for long-term series forecasting. Advances in neural information processing systems, 34:22419–22430, 2021.arxiv.org/abs/2106.13008
  39. [64]Huibo Xu, Runlong Yu, Likang Wu, Xianquan Wang, and Qi Liu. Bridging the last mile of prediction: Enhancing time series forecasting with conditional guided flow matching. arXiv preprint arXiv:2507.07192, 2025.arxiv.org/abs/2507.07192
  40. [65]Weiwei Ye, Zhuopeng Xu, and Ning Gui. Non-stationary diffusion for probabilistic time series forecasting. arXiv preprint arXiv:2505.04278, 2025.arxiv.org/abs/2505.04278
  41. [66]Demin Yu, Xutao Li, Yunming Ye, Baoguan Zhang, Chuyao Luo, Kuai Dai, Rui Wang, and Xunlai Chen. Diffcast: A unified framework via residual diffusion for precipitation nowcasting. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 27758–27767, 2024.arxiv.org/abs/2312.06734
  42. [67]X Yuan and Y Qiao. Diffusion-ts: Interpretable diffusion for general time series generation. arXiv 2024. arXiv preprint arXiv:2403.01742, 2024.arxiv.org/abs/2403.01742
  43. [68]Ailing Zeng, Muxi Chen, Lei Zhang, and Qiang Xu. Are transformers effective for time series forecasting? In Proceedings of the AAAI conference on artificial intelligence, volume 37, pp. 11121–11128, 2023.arxiv.org/abs/2205.13504
  44. [69]Xi Zhang, Yuan Pu, Yuki Kawamura, Andrew Loza, Yoshua Bengio, Dennis L Shung, and Alexander Tong. Trajectory flow matching with applications to clinical time series modeling. arXiv preprint arXiv:2410.21154, 2024.arxiv.org/abs/2410.21154

Paper details

vlnc:W_8uz8yuab
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents