Time–Frequency Non-Stationary Modeling for Multivariate Time Series Forecasting

Haoyi Zhao, Yishan Jiang, Ji Chang, Jiqian Yang, Dawei Ma, Wenjun LvNeurIPS 2026

TL;DR

Real-world data streams—like power grids, web traffic, or weather—constantly change their statistical rules, a headache known as non-stationarity. While modern forecasting models look at both time and frequency patterns to predict the future, they often let noisy, erratic frequency glitches poison the whole forecast. This paper introduces TFNS, a framework that acts like a smart audio engineer: it scores the "credibility" of frequency patterns in real time, mutes the unstable static before mixing it with time-domain data, and maps out rock-solid long-term relationships across variables.

What Problem Does This Paper Address?

Imagine listening to an orchestra where the tempo keeps shifting and random instruments occasionally screech out of tune. That is multivariate time series (MTS) forecasting in the wild. Real-world signals suffer from dual non-stationarity: their statistical distributions shift over time (temporal drift), and their underlying periodic rhythms evolve or break down (spectral drift).

Recently, deep learning forecasters have combined time-domain analysis (tracking step-by-step values) with frequency-domain analysis (using Fourier transforms to spot overarching cycles). However, existing models have three blind spots:

  1. Naive trust in frequencies: They treat every local frequency spike as a meaningful pattern, even when it's just transient noise.
  2. Cross-contamination: When fusing time and frequency streams, they lack a "bouncer" at the door, allowing unstable spectral noise to corrupt clean temporal features.
  3. Spurious correlations: When figuring out how different variables affect each other (e.g., wind speed vs. temperature), they rely on noisy, short-term local correlations that fall apart over long prediction horizons.

Methods

To solve this, the authors propose TFNS (Time–Frequency Non-Stationary Modeling). Using standard patch-based embeddings and Fourier transforms as a foundation, TFNS splits the input into parallel time and frequency streams, guiding them through three novel, reliability-aware modules:

Figure 1: Illustration of the proposed TFNS framework. TFNS adopts a dual-stream time–frequency architecture, where SCE estimates local spectral credibility and purifies frequency representations, CGI performs reliability-aware bidirectional interaction between temporal and frequency streams, and SCG models stable cross-variable spectral relations before final fusion and prediction.
  • Spectral Credibility Estimator (SCE): Before doing any heavy modeling, SCE compares adjacent time patches to measure how wildly each frequency bin is drifting. It assigns a credibility score to every frequency—penalizing erratic, high-drift frequencies while giving a slight protective boost to foundational low-frequency trends. It keeps the top-$K$ most reliable frequencies and the zero-frequency (baseline trend) intact, while softly dimming the rest rather than deleting them completely.
  • Credibility-Gated Cross-Interaction (CGI): Next, the time and frequency streams trade notes using standard bidirectional cross-attention. What’s new is the safety valve: CGI uses the patch-level reliability score from SCE as a hard ceiling on how much frequency information is allowed to flow into the time stream. If a patch's spectrum is chaotic, the gate clamps shut to prevent contamination.
  • Spectral Cointegration Graph (SCG): Borrowing the concept of "cointegration" from econometrics (where noisy variables share a stable long-term tether), SCG builds a graph connecting all variables in the frequency domain. Crucially, it takes local patch-level relationships and calibrates them using a global Fourier transform of the entire historical window, preventing short-term drift from creating fake dependencies.

Finally, the refined time stream (processed via a standard Cross-Variable Transformer) and frequency stream are adaptively fused to make the final forecast.

Datasets

The authors evaluate TFNS exclusively on 11 existing, standard real-world benchmarks (no new datasets are introduced), chosen to span diverse domains and non-stationary behaviors:

  • Electricity & Energy: ETTh1, ETTh2, ETTm1, ETTm2, and Electricity.
  • Healthcare: ILI (influenza-like illness) and Covid-19.
  • Traffic & Web: Traffic (road occupancy) and Wike2000 (Wikipedia page views).
  • Environment & Finance: Weather and NN5 (banking cash withdrawals).

Key Insights and Ideas

  • Dimming beats deleting: In ablation studies, softly suppressing unreliable frequencies outperformed hard filtering. Even noisy background frequencies carry subtle context worth keeping at low volume.
  • Asymmetric protection is crucial: Unchecked two-way interaction hurts performance. Specifically, bounding the frequency-to-time update by spectral credibility proves that temporal representations are fragile and need protection from spectral drift.
  • Global context anchors local graphs: Looking at the spectrum of the entire input window acts as a conservative anchor, keeping variable-to-variable graphs from overreacting to sudden local spikes.
  • Always save the DC component: Explicitly preserving the zero-frequency component (the local average/baseline) is vital for keeping representations grounded during drastic distribution shifts.

Key Results

Tested against 10 state-of-the-art baselines (including DTAF, iTransformer, PatchTST, and TimeMixer) across multiple prediction horizons, TFNS dominates the leaderboard:

Figure 2: Model performance comparison in the time series forecasting task.
  • Overall Wins: Ranks 1st in 44 out of 55 MSE comparisons and 43 out of 55 MAE comparisons.
  • Beating Non-Stationary Specialists: Compared to DTAF (a recent, strong baseline built specifically for non-stationary data), TFNS cuts average MSE/MAE by 6.2% / 3.3% on NN5 and 2.3% / 2.8% on Wike2000.
  • Visual Alignment: Qualitative plots on erratic datasets like Covid-19 and Traffic show TFNS accurately tracking sharp peaks and sudden trend shifts where competing models lag, underestimate amplitudes, or over-smooth the signal.

Limitations and Future Work

The authors note that TFNS relies on several hyperparameters—such as input sequence length, patch length, and the number of CGI interaction blocks. While their chosen settings work well, the optimal setup naturally varies depending on how fast a dataset is sampled and how wildly it drifts. For future work, they suggest exploring adaptive hyperparameter selection so the model can automatically tune its own structural resolution on the fly.

Summary updated

BibTeX
@inproceedings{zhao2026timefrequency,
  author = {Haoyi Zhao and Yishan Jiang and Ji Chang and Jiqian Yang and Dawei Ma and Wenjun Lv},
  title = {{Time–Frequency Non-Stationary Modeling for Multivariate Time Series Forecasting}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=ToQ5pSsGvK},
}
Figure