Large Language Models Are Zero-Shot Time Series Forecasters

By Nate Gruver, Marc Finzi, Shikai Qiu, Andrew Gordon Wilson. Neural Information Processing Systems, 2023

788 citations recorded by the source corpus.

By encoding time series as a string of numerical digits, we can frame time series forecasting as next-token prediction in text. Developing this approach, we find that large language models (LLMs) such as GPT-3 and LLaMA-2 can surprisingly zero-shot extrapolate time series at a level comparable to or exceeding the performance of purpose-built time series models trained on the downstream tasks. To facilitate this performance, we propose procedures for effectively tokenizing time series data and converting discrete distributions over tokens into highly flexible densities over continuous values. We argue the success of LLMs for time series stems from their ability to naturally represent multimodal distributions, in conjunction with biases for simplicity, and repetition, which align with the salient features in many time series, such as repeated seasonal trends. We also show how LLMs can naturally handle missing data without imputation through non-numerical text, accommodate textual side information, and answer questions to help explain predictions. While we find that increasing model size generally improves performance on time series, we show GPT-4 can perform worse than GPT-3 because of how it tokenizes numbers, and poor uncertainty calibration, which is likely the result of alignment interventions such as RLHF.

Subfields: Artificial Intelligence

View Paper: https://www.semanticscholar.org/paper/123acfbccca0460171b6b06a4012dbb991cde55b

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Silvio Savarese
  2. Doyen Sahoo
  3. Chenghao Liu
  4. Caiming Xiong
  5. Artur Dubrawski
  6. Rajat Sen
  7. Mononito Goswami
  8. Gerald Woo

Citations in the corpus