atlas

Research map / Time series / Long-term forecasting

TimeXer: Empowering Transformers for Time Series Forecasting with Exogenous Variables

NeurIPS 2024 · Time series › Long-term forecasting · approach: Attention for time series forecasting · 199 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.

Proposes TimeXer, an unmodified canonical Transformer that embeds endogenous series as patch tokens plus a global token and exogenous series as variate tokens, combining patch-wise self-attention with variate-wise cross-attention for forecasting with exogenous variables.

Problem

Time series forecasting when external (exogenous) variables are available; existing deep models either treat all variables equally (multivariate) or ignore exogenous information, and struggle with misaligned, missing, or heterogeneous exogenous series.

Approach

Embed endogenous series at patch granularity with a learnable global token, and each exogenous series as a single variate token; apply self-attention over endogenous patches plus global token, and cross-attention from the global token to exogenous variate tokens, bridging granularities without modifying the Transformer.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use TimeXer instead of iTransformerEPF · EPF AVGMSE: 0.335 -> 0.307Helped
use TimeXer instead of iTransformermultivariate forecasting · TrafficMSE: 0.428 -> 0.466Hurt
add an endogenous global token (ablation)TimeXer · EPF AVGMSE: 0.316 -> 0.307Helped
use variate-level rather than patch-level exogenous embeddings (ablation)TimeXer · EPF AVGMSE: 0.312 -> 0.307Helped
use cross-attention instead of adding exogenous tokens to endogenous tokens (ablation)TimeXer · EPF AVGMSE: 0.329 -> 0.307Helped
use cross-attention instead of concatenating tokens (ablation)TimeXer · EPF AVGMSE: 0.312 -> 0.307Helped
use non-overlapping rather than overlapping endogenous patches (ablation)TimeXer · EPF AVGMSE: 0.316 -> 0.307Helped
use variate-level rather than patch-level exogenous embeddings (ablation)TimeXer · ETTh1 AvgMSE: 0.075 -> 0.073Helped
add an endogenous global token (ablation)TimeXer · ETTh1 AvgMSE: 0.076 -> 0.073Helped
add exogenous variate tokens to endogenous variate tokens (ablation)TimeXer · ETTh1 AvgMSE: 0.073 -> 0.078Hurt
concatenate exogenous variate and endogenous temporal tokens for self-attention (ablation)TimeXer · Traffic AvgMSE: 0.156 -> 0.149Helped
replace informative exogenous series with zero-filled series (ablation)TimeXer · EPF AVGMSE: 0.307 -> 0.330Hurt

Surprising findings

Limitations

Experimental setup

Datasets: EPF (NP, PJM, BE, FR, DE) ECL Weather ETTh1 ETTh2 ETTm1 ETTm2 Traffic ERA5 weather data (large-scale scalability study) NCEI hourly temperature (large-scale scalability study)

Benchmarks: EPF (NP, PJM, BE, FR, DE) ECL Weather ETTh1 ETTh2 ETTm1 ETTm2 Traffic

Metrics: MSE MAE

Baselines: iTransformer PatchTST Crossformer Autoformer TimesNet SCINet RLinear DLinear TiDE

Builds on: PatchTST iTransformer Vision Transformer

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