Sundial: A Family of Highly Capable Time Series Foundation Models

Yong Liu, Guo Qin, Zhiyuan Shi, Zhi Chen, Caiyin Yang +3 more
2/2/2025
cs.LG

Official code: thuml/Sundial (226 stars, Apache-2.0, last commit 2025-09-12).

Abstract

We introduce Sundial, a family of native, flexible, and scalable time series foundation models. To predict the next-patch's distribution, we propose a TimeFlow Loss based on flow-matching, which facilitates native pre-training of Transformers on continuous-valued time series without discrete tokenization. Conditioned on arbitrary-length time series, our models are pre-trained without specifying any prior distribution and can generate multiple probable predictions, achieving more flexibility in representation learning than using parametric densities. Towards time series foundation models, we leverage minimal but crucial adaptations of Transformers and curate TimeBench with one trillion time points, comprising mostly real-world datasets and synthetic data. By mitigating mode collapse via TimeFlow Loss, we pre-train a family of Sundial models on TimeBench, which achieve unprecedented model capacity and generalization performance. In addition to excellent scalability, Sundial achieves state-of-the-art results on both point and probabilistic forecasting benchmarks with a just-in-time inference speed, i.e., making zero-shot predictions within a few milliseconds. We believe that Sundial's pioneering generative forecasting capability can improve model reliability in real-world decision-making. Code is available at: https://github.com/thuml/Sundial.

View on arXivView PDF

Code Implementations(1)

thuml/SundialOfficial100%
Apache-2.0

About model release for "Sundial: A Family of Highly Capable Time Series Foundation Models" (ICML 2025 Oral)

22617May 14, 20251 years agoApache-2.0
generative-modelslarge-time-series-modeltime-seriestime-series-foundation-modelstransformer

Similar Papers

Cite this paper

@article{liu2025sundial,
  title  = {Sundial: A Family of Highly Capable Time Series Foundation Models},
  author = {Yong Liu and Guo Qin and Zhiyuan Shi and Zhi Chen and Caiyin Yang and Xiangdong Huang and Jianmin Wang and Mingsheng Long},
  year   = {2025},
  eprint = {2502.00816},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.00816v3},
  journal = {ICML 2025 2025}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2502.00816.svg)](https://codeofpaper.com/paper/2502.00816)

Discussion