[Paper Review] AutoTimes: Autoregressive Time Series Forecasters via Large Language Models
AutoTimes repurposes frozen large language models as autoregressive time series forecasters, enabling variable-length forecasting with token-wise prompting and multimodal capabilities without model updates.
Foundation models of time series have not been fully developed due to the limited availability of time series corpora and the underexploration of scalable pre-training. Based on the similar sequential formulation of time series and natural language, increasing research demonstrates the feasibility of leveraging large language models (LLM) for time series. Nevertheless, the inherent autoregressive property and decoder-only architecture of LLMs have not been fully considered, resulting in insufficient utilization of LLM abilities. To fully revitalize the general-purpose token transition and multi-step generation capability of large language models, we propose AutoTimes to repurpose LLMs as autoregressive time series forecasters, which projects time series into the embedding space of language tokens and autoregressively generates future predictions with arbitrary lengths. Compatible with any decoder-only LLMs, the consequent forecaster exhibits the flexibility of the lookback length and scalability with larger LLMs. Further, we formulate time series as prompts, extending the context for prediction beyond the lookback window, termed in-context forecasting. By introducing LLM-embedded textual timestamps, AutoTimes can utilize chronological information to align multivariate time series. Empirically, AutoTimes achieves state-of-the-art with 0.1% trainable parameters and over $5 imes$ training/inference speedup compared to advanced LLM-based forecasters. Code is available at this repository: https://github.com/thuml/AutoTimes.
Motivation & Objective
- Motivate foundation models for time series and the need for scalable pre-training.
- Propose a parameter-free repurposing of LLMs to act as autoregressive forecasters for time series.
- Align time series tokens with language model tokens to leverage LLM token transitions.
- Enable handling of arbitrary lookback/forecast lengths and multimodal prompting via token-wise prompts.
Proposed method
- Tokenize time series segments as language-like tokens and project them into the LLM embedding space using a SeriesTokenizer.
- Maintain a frozen Transformer backbone and train a lightweight time series tokenizer and detokenizer (roughly 0.1% of parameters).
- Use next-token prediction as the training objective to preserve autoregressive generation.
- Adopt token-wise prompting by incorporating per-segment textual covariates (timestamps) into the LLM prompt and aggregate via a last-token embedding.
- Combine series embedding and text embedding to form the input E_i for each segment: E_i = SE_i + TE_i.
- Demonstrate autoregressive forecasting with variable context lengths and RoPE-based context adaptability.
Experimental results
Research questions
- RQ1Can off-the-shelf autoregressive LLMs be used as time series forecasters without parameter updates?
- RQ2Does token-wise prompting with timestamps improve forecasting across varying horizons and modalities?
- RQ3Do repurposed LLM forecasters exhibit zero-shot generalization and in-context learning for time series, and how do they scale with model size?
- RQ4How does AutoTimes perform compared to state-of-the-art deep forecasters and other LLM4TS methods on long-, short-, and zero-shot forecasting tasks?
Key findings
- AutoTimes achieves competitive performance against state-of-the-art forecasters without training the LLMs and with minimal trainable parameters.
- The method supports variable lookback and forecast lengths via autoregressive generation, avoiding the need for horizon-specific training.
- Token-wise prompting with timestamps consistently improves forecasting across datasets and horizons.
- Zero-shot and in-context learning capabilities emerge for AutoTimes, especially when using target-domain time series as prompts.
- Scaling to larger LLMs and adding more time-series instructions/texts enhances performance and generality.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.