Abstract
Conventional deep models have achieved unprecedented success in time series forecasting. However, facing the challenge of cross-domain generalization, existing studies utilize statistical prior as prompt engineering fails under the huge distribution shift among various domains. In this paper, a novel time series generalization diffusion model (TimeControl) that pioneers the Domain-Fusion paradigm, systematically integrating information from multiple time series domains into a unified generative process via diffusion models. Unlike the autoregressive models that capture the conditional probabilities of the prediction horizon to the historical sequence, we use the diffusion denoising process to model the mixed distribution of the cross-domain data and generate the prediction sequence for the target domain directly utilizing conditional sampling. The proposed TimeControl contains three pivotal designs: (1) The condition network captures the multi-scale fluctuation patterns from the observation sequence, which are utilized as context representations to guide the denoising network to generate the prediction sequence; (2) Adapter-based fine-tuning strategy, the multi-domain universal representation learned in the pretraining stage is utilized for downstream tasks in target domains; (3) A novel hybrid architecture is designed to align the observation and prediction spaces, enabling TimeControl to generate prediction sequences of arbitrary lengths with flexibility. We conduct extensive experiments on mainstream 49 benchmarks and 30 baselines, and the TimeControl outperforms existing baselines on all data domains, exhibiting superior zero-shot generalization ability.
Introduction
Time series forecasting is critical across numerous sectors, including energy management, traffic control, and financial analysis. Despite the success of deep learning models, cross-domain generalization remains a significant hurdle. Models trained on specific domains often struggle when deployed in new environments due to substantial distribution shifts—variations in periodicity, frequency, and noise levels.
Existing "unified" models frequently treat multi-domain data as a simple collection, leading to "domain confusion" where universal temporal patterns are obscured by domain-specific noise. Furthermore, the recent trend of using Large Language Models (LLMs) for time series can suffer from "concept drift," as the semantic space of natural language does not always align with numerical temporal data. To address these issues, the authors propose TimeControl, a diffusion-based foundation model designed for robust cross-domain generalization through a "Domain Fusion" paradigm.
Methodology: The TimeControl Framework
TimeControl leverages the generative power of diffusion models to model the integrated distribution of multi-domain time series data. Instead of predicting point-by-point, it generates the entire prediction sequence by denoising from Gaussian noise, guided by historical observations.
Multi-Scale Condition-Denoising (MCD)
The core of TimeControl is a dual-network structure: a Condition Net and a Denoising Net. The Condition Net, utilizing a U-Net-like architecture, extracts multi-scale temporal features from the input observation. Shallow layers capture broad trends, while deeper layers identify high-frequency cycles. These features serve as context to guide the Denoising Net during the generative process.
Adapter-Based Fine-Tuning and Guidance
To facilitate efficient adaptation to downstream domains, TimeControl employs an adapter-based strategy. During fine-tuning, the pre-trained weights of the Condition and Denoising Nets are frozen, and only the lightweight adapter modules are updated. Additionally, Generation-Style Guidance (GSG) allows the model to balance between strictly following historical context and exploring the learned universal distribution, ensuring causal consistency and stability during inference.
Flexible-Length Architecture
TimeControl addresses the challenge of varying sequence lengths through a hybrid architecture. By employing $1 \times 1$ Conv1D layers to align tokens between the observation and prediction spaces, the model can handle input and output sequences of arbitrary lengths, providing significant flexibility for diverse forecasting tasks without the constraints of fixed-window architectures.
Experimental Evaluation
The performance of TimeControl was evaluated across 49 benchmarks against 30 baseline models. The experimental setup included pre-training on 39 datasets from the Monash repository and testing on 10 mainstream benchmarks from the Time Series Forecasting Benchmark (TFB), such as ETT, Electricity, and Traffic.
Key Results
- Zero-Shot Performance: TimeControl demonstrated exceptional zero-shot generalization, reducing average Mean Squared Error (MSE) by 14.2% to 27.6% compared to leading foundation models like Moirai and GPT4TS.
- Fine-Tuning Superiority: When fine-tuned on target domains, TimeControl outperformed specialized models like TimeLLM and LLM4TS by approximately 18% to 22%.
- Efficiency: By utilizing the DDIM algorithm for inference, TimeControl achieved a 71.9% reduction in memory overhead and significantly faster inference speeds compared to LLM-based alternatives.
Conclusion
TimeControl introduces a powerful "Domain Fusion" approach to time series forecasting, successfully bridging the gap between diverse data domains. By combining multi-scale conditional guidance with a flexible diffusion-based architecture, it sets a new standard for zero-shot generalization. Future work will explore scaling the model to even larger datasets and extending the framework to related tasks such as anomaly detection and classification.
Summary updated