atlas

Research map / Time series / Long-term forecasting

Linear Transformers as VAR Models: Aligning Autoregressive Attention Mechanisms with Autoregressive Forecasting

ICML 2025 · Time series › Long-term forecasting · approach: Attention for time series forecasting · 0 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.

Shows that linear attention layers can be read as dynamic VAR models, rearranges MLP/attention/residual flow so stacked linear attention stays VAR-aligned, and proposes SAMoVAR, a linear Transformer for multivariate time series forecasting.

Problem

Deep autoregressive Transformers for time series forecasting structurally mismatch the autoregressive/VAR generative process, which obscures the VAR structure in linear attention and hurts interpretability and generalization.

Approach

A single linear attention layer is a dynamic VAR with keys as observations and outer products of value and query as weights; by reordering MLP, attention, and residual/input-output flow, stacked linear attention layers yield a mixture of VAR weights over temporal influence paths (SAMoVAR), with ARX patch tokenization and RMSNorm on queries and values.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use SAMoVAR instead of the strongest reported baselineMultivariate TSF models · Weather, Solar, ETTh1, ETTm1, ETTm2, PEMS03, PEMS04, PEMS08MSE: 0.217 -> 0.214 (Weather); 0.189 -> 0.184 (Solar); 0.419 -> 0.401 (ETTh1); 0.346 -> 0.339 (ETTm1); 0.243 -> 0.240 (ETTm2)Helped
Use SAMoVAR instead of CATSMultivariate TSF models · ETTh2; TrafficMSE: 0.320 -> 0.324 (ETTh2); 0.385 -> 0.391 (Traffic)Hurt
Add key projection weights W_k (ablation)SAMoVAR · ETTh1 and ETTm1MSE: 0.401 -> 0.413 (ETTh1); 0.339 -> 0.346 (ETTm1)Hurt
Remove inverse output matrix D^-1 (ablation)SAMoVAR · ETTh1 and ETTm1MSE: 0.401 -> 0.409 (ETTh1); 0.339 -> 0.344 (ETTm1)Hurt
Remove RMSNorm from queries and values (ablation)SAMoVAR · ETTh1 and ETTm1MSE: 0.401 -> 0.421 (ETTh1); 0.339 -> 0.350 (ETTm1)Hurt
Increase attention heads while reducing head dimension (ablation)SAMoVAR · ETTh1 and ETTm1MSE: ETTh1: 0.401 -> 0.406 -> 0.412 -> 0.413; ETTm1: 0.339 -> 0.342 -> 0.343 -> 0.344Hurt
Use one attention layer instead of three (ablation)SAMoVAR · ETTh1 and ETTm1MSE: 0.401 -> 0.420 (ETTh1); 0.339 -> 0.346 (ETTm1)Hurt
Increase attention depth from three to four layers (ablation)SAMoVAR · ETTh1 and ETTm1MSE: 0.401 -> 0.404 (ETTh1); 0.339 -> 0.345 (ETTm1)Mixed

Surprising findings

Limitations

Experimental setup

Datasets: Weather Solar Electricity (ECL) ETTh1 ETTh2 ETTm1 ETTm2 Traffic PEMS03 PEMS04 PEMS08 synthetic random VAR(p)

Benchmarks: Weather Solar ECL ETTh1 ETTh2 ETTm1 ETTm2 Traffic PEMS03 PEMS04 PEMS08

Metrics: MSE MAE average rank

Baselines: LinTrans FixedVAR CATS iTransformer FITS PatchTST DLinear Encformer

Builds on: linear attention PatchTST RevIN VARX

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