TL;DR
Can vision transformers pre-trained on natural images solve time series problems? This benchmark across 4 Large Vision Models (LVMs), 8 imaging methods, and 18 datasets shows that while LVMs excel at time series classification, their success in forecasting is nuanced: it relies heavily on pre-trained reconstruction decoders and period-aligned image encodings, while struggling with aperiodic data and long look-back windows.
What Problem Does This Paper Address?
Adapting Large Language Models (LLMs) to time series has become popular, but language models operate on discrete tokens. In contrast, time series data consists of continuous numerical values—much like continuous pixel intensities in images. Consequently, researchers have recently begun converting 1D/multivariate signals into 2D images to leverage foundation models like Vision Transformers (ViT, MAE).
However, prior work has not established whether and why cross-modal visual knowledge truly helps. Does an LVM actually capture temporal dynamics, or is it merely an oversized feature extractor? This paper systematically investigates how different LVM architectures, pre-training objectives, and time-to-image encoding techniques perform across both high-level semantic tasks (classification) and low-level numerical tasks (forecasting).
Methods
The authors evaluate four representative LVM architectures categorized along two axes:
- Pre-training Objective: Supervised (ViT, Swin) vs. Self-Supervised Masked Image Modeling (MAE, SimMIM).
- Attention Mechanism: Global Attention (ViT, MAE) vs. Window-Based Local Attention (Swin, SimMIM).
Signals are transformed into images using 8 distinct methods: Line Plots, Univariate Heatmaps (UVH), Multivariate Heatmaps (MVH), STFT, Continuous Wavelets, Filterbank spectrograms, Gramian Angular Fields (GAF), and Recurrence Plots (RP).
Time Series ──► Imaging (e.g., GAF, UVH) ──► Pre-trained LVM ──► Task Head
├── Linear Probe (Classification)
└── Decoder Reconstruction (Forecasting)
- Classification (TSC): Imaged inputs are processed by the pre-trained vision encoder, and patch embeddings are passed to a linear classification head.
- Forecasting (TSF): Evaluated either via an encoder with a linear projection head or by treating forecasting as masked patch reconstruction using LVM decoders (MAE/SimMIM) on pixel-preserving heatmaps (UVH/MVH).
- Probing & Controls: To verify if pre-trained weights matter, the authors test parameter-efficient fine-tuning (norm layers only vs. full fine-tuning), temporal perturbation tests (shuffling time steps), and simplified structural baselines (
w/o-LVMand single-attentionLVM2ATTN).
Datasets
The benchmark evaluates standard, widely accepted time series suites:
- Classification: 10 multivariate datasets from the UEA Archive (e.g., FaceDetection, Handwriting, SpokenArabicDigits, UWaveGestureLibrary).
- Forecasting: 8 standard datasets spanning energy, traffic, and healthcare (ETTh1/h2, ETTm1/m2, Weather, Illness, Traffic, and Electricity), plus two weak-periodicity datasets (Exchange, Solar) in the appendix.
Key Insights and Ideas
- Global beats Local Attention: Window-based models (Swin, SimMIM) underperform global attention models (ViT, MAE). Shifted-window attention relies on visual translation invariance (an object is the same regardless of position), which fails in time series where pixel positions map directly to specific timestamps or frequencies.
- Semantic (TSC) vs. Numerical (TSF) Divergence: Both supervised and self-supervised LVMs succeed at classification (with GAF encodings performing best). However, supervised LVMs stumble at forecasting; forecasting requires predicting continuous raw values, making self-supervised masked image autoencoders (MAE) with pixel reconstruction decoders necessary.
- The Decoder Dominates Forecasting: In self-supervised models, the pre-trained decoder contributes far more to forecasting accuracy than the encoder. In SimMIM, even though the linear decoder accounts for only 3.8% of total parameters, fine-tuning the decoder while re-initializing the encoder outperformed freezing the decoder.
- The Periodic "Copy-Paste" Bias: The best LVM forecaster (MAE + UVH) operates by folding time series into 2D periods. The authors mathematically prove and empirically demonstrate that MAE learns to "combine past periods." When the folding length shifts away from the true signal period ($L, 2L$), forecasting error spikes sharply into an M-shaped error curve.
- Context Bottlenecks: LVM forecasters plateau or degrade when look-back windows exceed ~1,000 steps due to fixed image resolution and bilinear interpolation discarding fine-grained temporal information.
Key Results
- Classification: ViT and MAE achieved 75.3% and 75.1% average accuracy across 10 UEA benchmarks, outperforming dedicated time series models like TimesNet (73.6%) and LLM-based GPT4TS (74.0%).
- Forecasting: MAE with UVH imaging outperformed strong baselines (including PatchTST, DLinear, and Time-LLM) in 28 out of 32 benchmark forecast settings. Fine-tuning just the normalization layers yielded the best results, preventing overfitting to continuous numerical values.
- Temporal Sensitivity: Shuffling all time steps caused dramatic performance drops (up to 242% increase in MSE on ETTm1), confirming that LVMs genuinely leverage temporal order rather than spurious static correlations.
- Compute Trade-off: While LVMs ran inference ~4× faster than GPT4TS on classification, image rendering overhead and large model footprints made MAE ~20× slower at inference than lightweight native models like PatchTST on forecasting.
Limitations and Future Work
- Weak Performance on Aperiodic Data: On datasets lacking strict cyclic patterns (e.g., Exchange rate, Illness), MAE lost its competitive edge to native models like PatchTST (winning only 12 vs. 29 settings).
- Encoder Underutilization: The pre-trained visual encoder contributes surprisingly little to forecasting compared to the decoder.
- Resolution Bottlenecks: Standard pre-trained image sizes ($224 \times 224$) constrain how much look-back history can be represented without aliasing or downsampling losses.
- Future Directions: Developing variable-resolution LVM architectures, reducing the periodic inductive bias of heatmap encodings, and blending cross-modal visual pre-training with native intra-modal time series pre-training.
Summary updated