Skip to main content
QUICK REVIEW

[Paper Review] TEMPO: Prompt-based Generative Pre-trained Transformer for Time Series Forecasting

Defu Cao, Furong Jia|arXiv (Cornell University)|Oct 8, 2023
Time Series Analysis and ForecastingComputer Science35 citations
TL;DR

TEMPO introduces a prompt-tuning, decomposed-trend/seasonality/time-series representation with a GPT backbone for cross-domain time series forecasting, achieving strong gains over SOTA on benchmarks.

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.

Motivation & Objective

  • Motivate the use of a foundation-model-like approach for time series forecasting to improve generalization across domains and modalities.
  • Leverage additive decomposition (trend, seasonality, residual) to guide representation learning and improve interpretability.
  • Introduce a prompt pool to adapt to non-stationary distributions and facilitate knowledge transfer across time series Tasks.
  • Demonstrate improved forecasting accuracy on multiple benchmarks and unseen domains, highlighting TEMPO as a potential foundational model for time series.

Proposed method

  • Decompose input time series into trend, seasonal, and residual components via STL decomposition.
  • Represent each component with time-series tokens and feed into a GPT-based backbone.
  • Use a shared pool of learnable prompts to retrieve top-K prompts based on similarity to the input, enabling adaptive knowledge recall.
  • Combine decomposed component predictions additively to form the final forecast.
  • Apply instance normalization per component and use Low-Rank Adaptation (LoRA) for efficient domain adaptation.

Experimental results

Research questions

  • RQ1Can a GPT-style transformer pre-trained on diverse data effectively forecast time series when supplied with decomposed trend, seasonality, and residual inputs?
  • RQ2Does a retrieval-based prompt pool improve robustness to non-stationarity and distribution shifts across domains?
  • RQ3Does decomposing time series and using a GAM-like interpretability framework help understand interactions among trend, seasonality, and residuals in forecast outputs?
  • RQ4How well does TEMPO generalize to unseen domains and multimodal/multivariate inputs compared to existing baselines?

Key findings

  • TEMPO surpasses state-of-the-art baselines on seven benchmark datasets for long-term forecasting across multiple prediction horizons.
  • On average, TEMPO achieves substantial MAE and MSE improvements versus PatchTST and other baselines, e.g., up to 62.87% MAE improvement at 96 steps and 35.59% at 192 steps compared to PatchTST.
  • TEMPO demonstrates strong cross-domain pre-training benefits, with average MAE improvements around 30.8% on unseen datasets.
  • A new multimodal time series dataset (TETS) shows TEMPO achieving notable SMAPE improvements with multi-modality inputs.
  • The model maintains robust performance on unseen domains and in few-shot settings, indicating potential as a foundational time series model.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.