atlas

Research map / Time series / Foundation models for time series

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

ICLR 2024 · Time series › Foundation models for time series · approach: LLM-based time series forecasting · 36 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes TEMPO, a GPT-2-based time series forecaster that decomposes input into trend, seasonal and residual components and adds semi-soft prompts, evaluated in a many-to-one zero-shot setting.

Problem

Time series forecasting with general-purpose pre-trained models that generalize zero-shot to unseen datasets, while capturing trend and seasonality patterns and leveraging contextual text.

Approach

Combine STL-style trend/seasonal/residual decomposition (each mapped to GPT tokens with learnable decomposition) with a semi-soft prompt (hard text template projected into learnable prompt vectors) on a GPT-2 backbone, adapting via LoRA and training on pooled source datasets; forecasts are the sum of component predictions.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use TEMPO's decomposition and prompt-based pretrained GPT-2 instead of the compared forecasting baselinesZero-shot long-term forecasting · ECL, Traffic, Weather, ETTm1, ETTm2, ETTh1, and ETTh2MSE: 0.216 vs 0.223; 0.503 vs 0.554; 0.282 vs 0.338; 0.501 vs 0.555; 0.280 vs 0.289; 0.428 vs 0.428; 0.361 vs 0.382Helped
Use TEMPO with contextual text embeddings and time-series inputsTEMPO · EBITDA sectors CC, CD, Ind, RE and GDELT events 11, 17, 19SMAPE: 32.27/33.48 vs 32.65/33.83; 25.9/26.25 vs 26.34/26.62; 26.7/27.42 vs 27.17/27.98; 29.46/30.11 vs 29.63/30.48; 38.77 vs 3Helped
Use TEMPO for self-supervised representation learning, then fine-tune with 5% in-domain dataTEMPO · Weather (unseen-domain forecasting, Avg.)MSE: 0.304 vs 0.328Helped
Remove prompt design (ablation)TEMPO · Zero-shot forecasting across reported datasetsMSE and MAEHurt
Remove decomposition and prompt design (ablation)TEMPO · Zero-shot forecasting across reported datasetsMSE and MAEHurt
Remove decomposition-loss alignment (ablation)TEMPO · Zero-shot forecasting across reported datasetsMSE and MAEHurt
Use prompt design without decomposition (ablation)TEMPO · Zero-shot forecasting across reported datasetsMSE and MAEHurt

Surprising findings

Limitations

Experimental setup

Datasets: ETTh1 ETTh2 ETTm1 ETTm2 Weather Electricity Traffic GDELT TETS (S&P 500 EBITDA with ChatGPT-generated summaries)

Benchmarks: ETTh1 ETTh2 ETTm1 ETTm2 Weather Electricity Traffic TETS GDELT

Metrics: MSE MAE SMAPE

Baselines: GPT2 T5 BERT LLaMA PatchTST TimesNet FEDformer ETSformer Informer DLinear Reformer TimeGPT

Builds on: GPT-2 PatchTST N-BEATS L2P DualPrompt

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy