TEMPO: Prompt-based Generative Pre-trained Transformer for Time Series Forecasting

Defu Cao, Furong Jia, Sercan Ö. Arik, Tomas Pfister, Yixiang Zheng +2 more
2/12/2026

Official code: DC-research/TEMPO (142 stars, MIT, last commit 2025-02-23). 1 more implementation below.

Abstract

The past decade has witnessed significant advances in time series modeling with deep learning. While achieving state-of-the-art results, the best-performing architectures vary highly across applications and domains. Meanwhile, for natural language processing, the Generative Pre-trained Transformer (GPT) has demonstrated impressive performance via training one general-purpose model across various textual datasets. It is intriguing to explore whether GPT-type architectures can be effective for time series, capturing the intrinsic dynamic attributes and leading to significant accuracy improvements. In this paper, we propose a novel framework, TEMPO, that can effectively learn time series representations. We focus on utilizing two essential inductive biases of the time series task for pre-trained models: (i) decomposition of the complex interaction between trend, seasonal and residual components; and (ii) introducing the design of prompts to facilitate distribution adaptation in different types of time series. TEMPO expands the capability for dynamically modeling real-world temporal phenomena from data within diverse domains. Our experiments demonstrate the superior performance of TEMPO over state-of-the-art methods on zero shot setting for a number of time series benchmark datasets. This performance gain is observed not only in scenarios involving previously unseen datasets but also in scenarios with multi-modal inputs. This compelling finding highlights TEMPO's potential to constitute a foundational model-building framework.

View on arXivView PDF

Code Implementations(2)

MIT

The official code for "TEMPO: Prompt-based Generative Pre-trained Transformer for Time Series Forecasting (ICLR 2024)". TEMPO is one of the very first open source Time Series Foundation Models for forecasting task v1.0 version.

14220Shell, PythonApr 1, 20241 years agoMIT
forecastingforecasting-modelsforecasting-time-seriesfoundation-modelsgpt+7 more
MIT

Reproduction of the paper "TEMPO: Prompt-based Generative Pre-trained Transformer for Time Series Forecasting"

481Python, Jupyter NotebookJan 8, 20242 years agoMIT

Similar Papers

Cite this paper

@article{cao2026tempo,
  title  = {TEMPO: Prompt-based Generative Pre-trained Transformer for Time Series Forecasting},
  author = {Defu Cao and Furong Jia and Sercan Ö. Arik and Tomas Pfister and Yixiang Zheng and Wen Ye and Yan Liu},
  year   = {2026},
  eprint = {2310.04948},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2310.04948},
  journal = {ICLR 2023 2023}
}

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/2310.04948.svg)](https://codeofpaper.com/paper/2310.04948)

Discussion