Differencing the Diffusion Trajectory toward Uncertain Components for Time Series Forecasting

Chen Su, Yuanhe Tian, Yan Song

TL;DR

Standard diffusion models destroy and rebuild every aspect of a signal equally—wasting precious capacity re-learning smooth trends that are already obvious from the past. DiffDiff reshapes the diffusion trajectory itself to progressively erase predictable trends while preserving unpredictable, rapid fluctuations, letting a single end-to-end model focus its generative firepower exactly where uncertainty actually lives.

What Problem Does This Paper Address?

When predicting the future of a time series—like tomorrow’s wind power or currency exchange rates—not all parts of the future are equally mysterious. Smooth, slowly varying trends and baseline levels are heavily anchored by recent history. The real uncertainty lives in the jagged, high-frequency fluctuations that history cannot easily extrapolate.

Denoising diffusion models are fantastic at capturing complex probabilities, but out of the box, they are blind to this asymmetry. A standard "isotropic" diffusion process adds uniform Gaussian noise across the board, forcing the neural network to spend just as much effort reconstructing obvious baselines as it does modeling volatile dynamics. Some recent methods try to fix this by bolting on an external pre-processing step—like subtracting a deterministic trend forecast before running diffusion on the leftovers. However, once that boundary is frozen, any errors from the trend predictor get permanently baked into the pipeline. Can we instead teach the diffusion trajectory itself what is predictable and what isn't?

Methods

DiffDiff (Differencing Diffusion) embeds predictability awareness directly into a single, end-to-end diffusion process via two complementary innovations:

Figure 1: Overall architecture of DIFFDIFF. Top: the differencing forward process gradually shifts the clean target x0 toward its differenced structure under the step-dependent operator At, and the deterministic reverse step recovers xs from the denoiser prediction ˆx0. Bottom: the stage-adaptive conditional denoiser encodes both the value-domain history xhist and its first-order differences ∆xhist, fuses them through a sigmoid gate conditioned on the diffusion timestep, and outputs the value- domain prediction along with auxiliary statistics for instance denormalization.
  • Progressive Differencing Forward Process: Instead of simply scaling down the clean future signal while adding Gaussian noise, DiffDiff applies a step-dependent linear operator $\mathbf{A}_t$ that gradually blends the signal toward its second-order difference (discrete local curvature, $z_s - 2z_{s-1} + z_{s-2}$). Early in the forward chain, the state looks like the raw target; later in the chain, level and linear trends are stripped away, leaving local changes salient against the noise. Crucially, as the signal scales to zero at the final step $T$, the terminal state still converges to standard Gaussian noise $\mathcal{N}(\mathbf{0}, \mathbf{I})$, maintaining drop-in compatibility with fast, off-the-shelf DDIM samplers. (To avoid losing curvature right at the boundary between past and future, the target includes a short overlapping "label window" from the end of the history).
  • Stage-Adaptive Conditional Denoiser: Because the noisy intermediate state gradually forgets its absolute level and trend, the denoiser needs a way to get them back. DiffDiff feeds the observed history through two parallel MLP branches: one reading raw values ($\mathbf{x}_{\text{hist}}$) and one reading first-order velocity ($\Delta\mathbf{x}_{\text{hist}}$). A sigmoid gate—conditioned on the diffusion timestep—dynamically blends these two views before passing them to a lightweight residual MLP backbone.

Datasets

No new datasets were introduced. The authors evaluated DiffDiff on seven standard, publicly available time series benchmarks spanning diverse domains and behaviors: Electricity, ETTm2, Exchange Rate, Traffic, Solar-Energy, Weather, and Wind (using a 96-step lookback window to predict horizons of 96, 192, 336, and 720 steps).

Key Insights and Ideas

  • Frequency selectivity equals predictability selectivity: By stripping out additive noise and inspecting what signal remains along the chain, the authors show that $\mathbf{A}_t$ acts as a progressive high-pass structural filter. Comparing signal components against how easily they can be linearly predicted from history ($R^2$), DiffDiff flips the correlation between predictability and corruption aggressiveness from $0$ (in standard DDPM) to $+0.76$ on Wind and $+0.58$ on Exchange Rate halfway through the chain. It literally spends its corruption budget on what history already knows.
Figure 2: Reshaping of the corruption trajectory by the differencing forward process. Top: Per- frequency power spectral density (PSD) ratio of DIFFDIFF to the standard isotropic forward at three diffusion progresses on electricity, with values above (below) unity marking enhanced (attenuated) bands. Bottom: Retained energy fraction of the window mean and the first- and second- order increments under each forward path along the diffusion progress on solar.
  • The conditioning gate discovers distinct data regimes on its own: Without explicit supervision, the timestep-adaptive gate learns three distinct behaviors across datasets:
Learned gate activation across diffusion timesteps for all seven benchmarks.

For strongly periodic series (Electricity, Traffic), the gate stays wide open ($>0.5$) from start to finish. For smoother or regime-shifting series (ETTm2, Exchange Rate, Weather), it stays quiet early on and swings open late in the low-SNR stages when raw value cues vanish. And for highly stochastic series (Solar, Wind), it suppresses the difference branch entirely to avoid injecting noise.

  • Getting the marginals right doesn't mean the trajectories look real: Competing models can produce points with the right overall amplitude distribution while still generating wildly unrealistic step-to-step jitters. Preserving differential structure during diffusion forces the model to organize its predictions into coherent temporal dynamics.

Key Results

  • Overall Forecasting: Across 84 total evaluation settings (7 datasets $\times$ 4 horizons $\times$ 3 metrics: MSE, MAE, and CRPS), DiffDiff takes first place in 53 settings against six diffusion baselines (CSDI, TMDM, TimeDiff, NsDiff, MA-TSD, and D3U).
  • Ablations: Controlled ablations confirm that the differencing forward process does the heavy lifting, while the stage-adaptive denoiser becomes critical at the longest horizon ($H=720$), where DiffDiff sweeps all 21 out of 21 metric cells among the ablated variants.
  • Distributional Fidelity: Evaluating the structural realism of generated paths across all datasets, DiffDiff achieves a median Log-PSD (spectral) RMSE of 0.280 (vs. 0.968–1.334 for baselines) and slashes the second-order-difference Wasserstein distance to 0.786—more than two orders of magnitude better than TMDM (133.35) and NsDiff (96.06).

Limitations and Future Work

While the authors do not include a dedicated limitations section, their empirical analysis highlights a clear boundary condition: on datasets dominated by a persistent regime mean (such as Solar at shorter horizons $H \le 336$ or Exchange Rate at $H=720$), there is very little high-frequency or differential structure left for the second-order differencing operator to exploit, allowing prior-centering baselines like TMDM to occasionally edge ahead. Future extensions are not explicitly discussed in the main text.

Summary updated

Abstract

Diffusion models have become a widely used framework for probabilistic time series forecasting, modeling the distribution of future values given an observed history. In time series forecasting, however, the future continues the observed history, creating an asymmetry the standard diffusion process leaves unaddressed, with slowly-varying content largely determined by the observed continuity while higher-frequency dynamics carry most of the residual uncertainty. Existing diffusion-based forecasters decouple this asymmetry through an external rule before generation, leaving the corruption trajectory blind to which parts of the target the history can already anchor. We propose DiffDiff, a diffusion framework that embeds this predictability asymmetry into the diffusion trajectory itself, so that a single end-to-end diffusion process becomes aware of which parts of the target the history can already anchor. DiffDiff makes the forward operator step-dependent so that the noisy intermediate state progressively shifts from the target itself toward its second-order differenced structure, while a conditioning pathway supplies the denoiser with both value-domain and differential history information balanced by a stage-adaptive gate at each diffusion step. The terminal distribution approaches a standard Gaussian, preserving compatibility with existing samplers. On seven benchmarks across four prediction horizons, DiffDiff outperforms six diffusion baselines, while our analyses show that its trajectory reallocates modeling effort according to history predictability and improves distributional fidelity.
BibTeX
@inproceedings{su2026differencing,
  author = {Chen Su and Yuanhe Tian and Yan Song},
  title = {{Differencing the Diffusion Trajectory toward Uncertain Components for Time Series Forecasting}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=EQ3rr1gzcl},
}
Figure