Sundial: A Family of Highly Capable Time Series Foundation Models

Yong Liu, Guo Qin, Zhiyuan Shi, Zhi Chen, Caiyin Yang, Xiangdong Huang, Jianmin Wang, Mingsheng Long

Introduction

Time series forecasting is inherently non-deterministic; for any given historical sequence, multiple probable futures exist. Traditional deep learning models often struggle to capture this uncertainty effectively. Many existing foundation models, such as TimesFM, rely on fixed parametric distributions (e.g., Gaussian), which can lead to "mode collapse" or over-smoothed predictions when applied to massive, heterogeneous datasets. Alternatively, models like Chronos treat time series as a "foreign language" by quantizing continuous values into discrete tokens. While flexible, this discretization is often coarse-grained and computationally expensive, resulting in long sequences that are difficult to process efficiently.

Methodology

Sundial addresses these limitations by introducing a "native" continuous approach to time series foundation modeling. It utilizes a decoder-only Transformer architecture characterized by two primary innovations:

  1. Native Patch Tokenization: Instead of discrete binning, Sundial divides the series into patches and embeds them as continuous vectors. This preserves numerical precision and significantly reduces sequence length compared to point-wise models.
  2. TimeFlow Loss: This is a generative objective based on flow-matching. Rather than predicting a single point or a fixed distribution, the model learns a "velocity field" that transforms simple Gaussian noise into the complex, multi-modal distribution of the next time-patch.
Comparison of time series foundation model paradigms, highlighting Sundial's generative approach relative to parametric and language-modeling alternatives.

During inference, Sundial generates probabilistic forecasts by "flowing" random noise toward realistic predictions. This process is highly efficient because the model reuses the lookback representation from the Transformer for all noise samples, allowing for rapid generation of quantiles and medians.

Training and Data

To build a robust foundation model, the authors curated TimeBench, a massive dataset containing 1 trillion time points. The dataset is highly diverse, comprising real-world data from finance, IoT, and healthcare (ECG), with a substantial portion (nearly 40%) derived from ERA5 meteorological data. A small fraction of synthetic data was also included to enhance pattern diversity and model robustness.

Key Results

Sundial demonstrates impressive scalability and state-of-the-art zero-shot performance across major benchmarks:

  • Zero-Shot Accuracy: On the TSLib benchmark, Sundial-Large achieved a 7.57% reduction in MSE compared to the previous state-of-the-art, Time-MoE.
  • Probabilistic Excellence: In the GIFT-Eval benchmark, Sundial ranked 1st in MASE (point accuracy) and 2nd in CRPS (distribution accuracy).
  • Inference Efficiency: Sundial provides a significant practical advantage, achieving a 35x inference speedup over Chronos. This makes high-quality generative probabilistic forecasting viable for real-time applications.
Average inference time (ms) comparison, demonstrating Sundial's efficiency relative to other pre-trained foundation models and statistical methods.

Discussion and Future Work

Sundial represents a major step toward native continuous foundation models for time series. However, the authors note that like all generative models, it can occasionally produce "hallucinated" patterns that may not be physically grounded. Future research directions include improving performance on extremely high-frequency data and extending the pre-training to native multivariate contexts to explicitly model correlations between multiple variables.

Summary updated

BibTeX
@inproceedings{liu2025sundial,
  author = {Yong Liu and Guo Qin and Zhiyuan Shi and Zhi Chen and Caiyin Yang and Xiangdong Huang and Jianmin Wang and Mingsheng Long},
  title = {{Sundial: A Family of Highly Capable Time Series Foundation Models}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=LO7ciRpjI5},
}
Figure