atlas

Research map / Time series / Foundation models for time series

Multi-Patch Prediction: Adapting Language Models for Time Series Representation Learning

ICML 2024 · Time series › Foundation models for time series · approach: LLM-based time series forecasting · 5 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.

Adapts GPT-2 for time series via two-stage training (causal next-patch continual pre-training, then multi-patch prediction fine-tuning with a shared patch-wise linear decoder) and evaluates on forecasting, few-shot, and anomaly detection.

Problem

Adapting pretrained LLMs to produce general-purpose time-series representations; existing contrastive and mask-and-reconstruction methods misalign with forecasting and LLM pretraining, and sequence-level decoders overfit.

Approach

Reframe time-series forecasting as self-supervised multi-patch prediction: first continually pretrain a causal LLM with next-patch prediction, then fine-tune only layer norms and position embeddings for multi-patch prediction, decoding each patch independently with a shared patch-level linear layer instead of a sequence-level head.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add causal next-patch continual pre-training (stage 1) (ablation)aLLM4TS · ETTh1 ablationMSE: 0.413 -> 0.460 when removedHelped
Use patch-wise decoder instead of sequence-level decoder (ablation)aLLM4TS · ETTh1 ablationMSE: 0.413 -> 0.455 when sequence-level decoder usedHelped
Add position-aware attention mask in stage 2 (ablation)aLLM4TS · ETTh1 ablationMSE: 0.413 -> 0.443 when removedHelped
Use GPT-2 pretrained weights instead of random init (ablation)aLLM4TS · ETTh1 ablation (6 layers)MSE: 0.413 -> 0.437 when random initHelped
Use 6 GPT-2 layers instead of 3 or 9/12 (ablation)aLLM4TS · ETTh1 ablationMSE: 3 layers 0.437, 9 layers 0.452, 12 layers 0.580 vs 6 layers 0.413Mixed
Replace masking-based pre-training with next-patch pre-training (Sta1 vs Masking+Sta2) (ablation)aLLM4TS representation learning · ETTh1 representation learningMSE: Average decline over 13.5% for masking variantsHelped
Adopt aLLM4TS vs GPT4TS on long-term forecasting (average over horizons)aLLM4TS · Long-term forecastingMSE: average 9.71% improvement over GPT4TSHelped
Patch-wise decoder with sequence-level baseline comparison on M4aLLM4TS · M4 short-term forecastingSMAPE: 11.950 vs TimesNet 11.829Mixed
Use aLLM4TS pipeline in few-shot forecasting (5% data)aLLM4TS · Few-shot ETT 5%MSE: 0.425 vs GPT4TS 0.465Helped

Surprising findings

Limitations

Experimental setup

Datasets: Weather Traffic Electricity ILI ETTh1 ETTh2 ETTm1 ETTm2 M4 SMD MSL SMAP

Benchmarks: ETTh1 ETTh2 ILI Weather Traffic Electricity M4 ETT few-shot (5%) SMD MSL SMAP SWaT

Metrics: MSE MAE SMAPE F1-score

Baselines: GPT4TS Time-LLM PatchTST DLinear TimesNet FEDformer Autoformer N-HiTS N-BEATS TS2Vec

Builds on: GPT4TS PatchTST Time-LLM

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