TL;DR
Predicting the far-off future—whether in power grids, financial markets, or weather—requires knowing not just what is most likely to happen, but how uncertain we should be about it. ToLD (Tokenized Truncated Latent Diffusion) marries the lightning-fast speed of one-shot Variational Autoencoders (VAEs) with the rich uncertainty modeling of diffusion models. The result is a time-series forecaster that generates well-calibrated, long-term probabilistic predictions in just a few milliseconds—orders of magnitude faster than standard diffusion approaches.
What Problem Does This Paper Address?
When forecasting far into the future (Long-Term Time Series Forecasting, or LTSF), a single deterministic line on a graph isn't enough; decision-makers need calibrated uncertainty bounds. Crucially, real-world uncertainty is heteroscedastic—meaning how wildly the future might swing depends heavily on the historical context (think of predicting wind power during a calm summer afternoon versus an approaching hurricane).
Generative models are great at capturing complex uncertainty by generating multiple plausible future scenarios, but practitioners currently face a frustrating trade-off:
- Diffusion models produce expressive, realistic distributions of future trajectories, but they rely on dozens or hundreds of iterative denoising steps. When you need long horizons and hundreds of samples to map out probabilities, inference becomes prohibitively slow.
- One-shot models (like VAEs) decode the entire future in a single, cheap pass. However, their simple latent spaces often fail to capture complex, multi-modal, or heavy-tailed uncertainties.
ToLD bridges this gap, aiming for the holy grail of deployment: expressive, context-aware uncertainty without the latency penalty.
Methods
Instead of running a heavy diffusion process from scratch in the raw data space, ToLD uses a clever three-stage pipeline:
- Tokenized Conditional VAE Backbone (The Anchor): Given historical data for $C$ variables, a standard conditional VAE compresses each variable into its own compact latent token, learning a context-dependent mean and variance. A decoder can translate these tokens into a full future horizon in a single pass. Because each variable gets one token regardless of how far ahead you predict, computational complexity is decoupled from the forecast horizon length.
- Truncated Heteroscedastic Latent Diffusion (The Polish): Rather than starting from pure Gaussian noise and running $T$ denoising steps, ToLD initializes its latent state directly around the VAE's learned prior mean and runs only a tiny handful of deterministic DDIM refinement steps ($T' \ll T$, e.g., 2 steps). What’s novel here is how noise is handled: ToLD scales the diffusion noise directly by the VAE's context-dependent prior variance. This bakes non-stationary, scenario-specific uncertainty right into the diffusion dynamics.
- Test-Time Score Distillation (The Judge): When generating $K$ candidate futures, how do you pick the best point forecast? During training, you can cheat and look at the ground truth to see which sample had the lowest error. At test time, you fly blind. The authors train a lightweight "scorer" network via cross-entropy to mimic that training-time selection, allowing ToLD to rank and pick the sharpest trajectory at inference using only the input history and latent tokens.
Datasets
The authors evaluate ToLD on eight standard, real-world multivariate benchmarks spanning energy, finance, and meteorology (no new datasets are introduced):
- Electricity (ECL)
- ETT (Electricity Transformer Temperature): Four subsets (
ETTh1,ETTh2,ETTm1,ETTm2) - Exchange (EXG)
- Solar-Energy
- Weather
Key Insights and Ideas
- Don't diffuse time; diffuse variable tokens: By representing an entire time series variable as a single latent token, diffusion scales with the number of variables ($C$) rather than variables times horizon length ($H \times C$).
- Two steps are plenty if you start in the right neighborhood: Anchoring the diffusion process to a learned conditional prior means the model doesn't waste compute carving structure out of pure static. Sensitivity tests show that going beyond $T'=2$ refinement steps yields diminishing returns.
- Sample-invariant, horizon-invariant latency: Because refinement happens in a tiny latent space and decoding is a single parallel pass, generating 200 trajectory samples takes nearly the exact same wall-clock time as generating 1 sample—and predicting 720 steps ahead costs virtually the same as 96 steps.
Key Results
ToLD beats both specialized deterministic forecasters (like iTransformer, PatchTST, and TimePro) and probabilistic diffusion baselines (like CSDI, TimeGrad, and NsDiff):
- Accuracy & Uncertainty: Across benchmarks, ToLD achieves roughly a 4.3% improvement in MSE (point accuracy) and a massive 19.3% reduction in CRPS (Continuous Ranked Probability Score, which measures how tight and well-calibrated a predicted distribution is).
- Blistering Speed: On univariate
ETTh1(horizon $H=720$), ToLD runs in 5.25 ms for 1 sample and 6.71 ms for 200 samples. For comparison, CSDI takes 513.1 ms and autoregressive TimeGrad takes 6,724.1 ms—making ToLD ~75x to 1,000x faster.
Limitations and Future Work
Not discussed in the paper. (Note: An appendix is referenced in the text, which was not included in the provided ten-page main manuscript).
Summary updated