Generative Pre-Trained Diffusion Paradigm for Zero-Shot Time Series Forecasting

Jiarui Yang, Tao Dai, Naiqi Li, Junxi Wu, Peiyuan Liu, Jinmin Li, Jigang Bao, Haigang Zhang, Shutao XiaarXiv 2024 · DOI

Abstract

Traditional time series forecasting models often struggle with distribution shifts and fixed input-output constraints. This paper proposes the Generative Pre-Trained Diffusion (GPD) paradigm, which reframes forecasting as a generative task. By treating historical data as "prompts" to guide a pre-trained diffusion model, GPD achieves superior zero-shot performance and flexibility across diverse domains. Unlike recent trends that repurpose Large Language Models (LLMs) for time series, GPD operates natively within the temporal modality, avoiding cross-modal biases and achieving significant performance gains over both traditional deep learning and LLM-based baselines.

Introduction

Time series forecasting (TSF) is a cornerstone of decision-making in sectors ranging from finance to healthcare. However, conventional deep learning models are frequently "brittle," requiring fixed look-back and prediction windows and failing to generalize when faced with concept drift—changes in the underlying data distribution over time.

To address these limitations, recent research has explored using Large Language Models (LLMs) as foundation models for time series. While promising, these cross-modal approaches often introduce biases by mapping numerical data into text spaces. The Generative Pre-Trained Diffusion (GPD) paradigm seeks a more robust solution by building a foundation model specifically for the time series modality using a pure generative diffusion approach.

Methodology

The GPD paradigm introduces an unconditional multivariate time series generator that leverages the statistical priors of a pre-trained diffusion model. Unlike previous diffusion models for time series that required external predictors (like RNNs) for initial estimates, GPD is self-contained.

Comparison of time series forecasting paradigms: (a) Deep Model, (b) Unified LLM, and (c) the proposed Unified Diffusion Paradigm.

Key Technical Components

  • MLP Diffusion Network: The architecture utilizes a straightforward network of concatenated MLP blocks with skip connections. This design choice avoids the performance biases often introduced by overly complex backbones.
  • Zero-Shot Prompting via Sampling: During the reverse diffusion process, historical data is used as a "prompt." By injecting known ground-truth data into the sampling steps, the model ensures the generated future sequence remains statistically aligned with the past.
  • Tuning-Free Inference: GPD does not require fine-tuning for specific downstream tasks. It generates future data points based on the general statistical patterns learned during its large-scale pre-training.
  • Channel-Independent Modeling: To handle diverse features across different domains, GPD treats individual variables (channels) independently, a technique that has proven effective in models like PatchTST.

Experimental Evaluation

The model's robustness was tested across 9 real-world benchmarks, including the Electricity Transformer Temperature (ETT) subsets, as well as mainstream datasets for Electricity, Weather, Traffic, and Exchange rates. These benchmarks encompass a wide variety of lengths, features, and distributions, providing a rigorous environment for testing zero-shot generalization.

Results and Discussion

GPD demonstrates state-of-the-art (SOTA) performance, rivaling or exceeding both specialized deep models (e.g., PatchTST) and LLM-based foundation models (e.g., GPT4TS, TimeLLM).

Performance comparison across cross-domain applicability, zero-shot learning, and long-term forecasting metrics.

Key Findings

  • Quantitative Gains: GPD achieved a 15.6% improvement in comprehensive performance over the deep model paradigm (PatchTST) and a 10.8% improvement over the LLM-based paradigm (GPT4TS) in specific benchmarks.
  • Zero-Shot Superiority: In experiments where the model was trained on one dataset and tested on another, GPD significantly outperformed competitors. In the "1st Count" metric (the number of times a model achieved the best performance), GPD tied for the lead, demonstrating exceptional cross-domain applicability.
  • Operational Flexibility: Unlike traditional models locked into specific window sizes, GPD can accommodate any historical length and generate any future length within its maximum modeling window, making it highly adaptable for real-world deployment.

Conclusion and Future Work

While GPD sets a new standard for zero-shot forecasting, it faces challenges common to diffusion models, specifically inference speed. The iterative nature of the denoising process makes it slower than end-to-end regression models. Future research will focus on scaling the architecture—potentially moving toward Transformer-based diffusion networks—and exploring multi-modal integration, such as using textual metadata to further refine the generative priors. Despite these challenges, GPD proves that treating time series as a native generative modality is a powerful path forward for foundation models in temporal forecasting.

Summary updated

BibTeX
@misc{yang2024generative,
  author = {Jiarui Yang and Tao Dai and Naiqi Li and Junxi Wu and Peiyuan Liu and Jinmin Li and Jigang Bao and Haigang Zhang and Shutao Xia},
  title = {{Generative Pre-Trained Diffusion Paradigm for Zero-Shot Time Series Forecasting}},
  year = {2024},
  eprint = {2406.02212},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2406.02212},
}
Figure