Skip to main content
QUICK REVIEW

[Paper Review] Are Language Models Actually Useful for Time Series Forecasting?

Mingtian Tan, Mike A. Merrill|arXiv (Cornell University)|Jun 22, 2024
Topic ModelingComputer Science24 citations
TL;DR

The study shows pretrained LLMs do not meaningfully improve time series forecasting; simple ablations and lightweight encoders match or exceed performance with far less compute.

ABSTRACT

Large language models (LLMs) are being applied to time series forecasting. But are language models actually useful for time series? In a series of ablation studies on three recent and popular LLM-based time series forecasting methods, we find that removing the LLM component or replacing it with a basic attention layer does not degrade forecasting performance -- in most cases, the results even improve! We also find that despite their significant computational cost, pretrained LLMs do no better than models trained from scratch, do not represent the sequential dependencies in time series, and do not assist in few-shot settings. Additionally, we explore time series encoders and find that patching and attention structures perform similarly to LLM-based forecasters.

Motivation & Objective

  • Evaluate the usefulness of pretrained LLMs for standard time series forecasting tasks across multiple datasets.
  • Compare LLM-based forecasters with simple ablations to determine if LLMs contribute beyond baseline components.
  • Assess computational costs of LLM-based methods versus ablations.
  • Investigate whether LLM pretraining transfers to time series forecasting performance.

Proposed method

  • Replicate three recent LLM-based forecasting methods on eight standard datasets.
  • Propose three ablations: remove LLM, replace with a random-attention layer, replace with a random transformer.
  • Evaluate ablations against original methods using MAE and MSE across multiple forecast horizons.
  • Analyze time-series encoders and identify effective alternatives like patching with attention.
  • Examine effects of input shuffling, few-shot performance, and LLM pretraining on forecasting.

Experimental results

Research questions

  • RQ1Do pretrained language models contribute to forecasting performance on standard time series tasks?
  • RQ2Are LLM-based forecasting methods worth their computational cost compared to ablations?
  • RQ3Does language model pretraining aid forecasting performance?
  • RQ4Do LLMs capture sequential dependencies in time series?
  • RQ5Do LLMs help in few-shot forecasting scenarios?

Key findings

  • Ablations (removing LLMs or replacing with simple blocks) often match or outperform Time-LLM, LLaTA, and OneFitsAll across datasets.
  • LLMs incur up to three orders of magnitude higher training and inference time with no clear accuracy gains.
  • Reinitializing LLM weights or shuffling input series shows no transfer of sequential modeling benefits from text to time series.
  • A simple patching+attention encoder (PAttn) or a lightweight transformer (LTrsf) can achieve forecasting performance similar to LLM-based forecasters.
  • In 10% data (few-shot) scenarios, ablations often outperform LLM-based methods.

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.