Evolving Multi-Scale Normalization for Time Series Forecasting under Distribution Shifts

Dalin Qin, Yehui Li, Weiqi Chen, Zhaoyang Zhu, Qingsong Wen, Liang Sun, Pierre Pinson, Yi Wang · DOI

Introduction

In time series forecasting, predicting variables like electricity loads or financial indices is complicated by distribution shift—where the statistical properties of data change over time. For instance, seasonal weather variations can drastically alter electricity usage patterns, making models trained on past data obsolete. Existing normalization techniques often fail due to two primary gaps: scale blindness, where they ignore multi-layered temporal dynamics (e.g., hourly vs. weekly shifts), and static mapping, where the relationship between inputs and outputs ($P(Y|X)$) is assumed to be constant despite gradual real-time evolution.

Methodology

The proposed Evolving Multi-Scale Normalization (EvoMSN) framework addresses these gaps through a model-agnostic approach consisting of three core components:

  1. Multi-Scale Slicing & Normalization: Utilizing Fast Fourier Transform (FFT), the framework identifies dominant periodicities to slice time series into windows of varying temporal resolutions. Each slice is normalized independently to provide the model with stationarized views across scales.
  2. Statistics Prediction & Adaptive Ensembling: A lightweight module forecasts future mean and variance. The final output is generated by an "Adaptive Ensemble" that weights predictions from different scales based on their local amplitude.
  3. Evolving Bi-Level Optimization: To handle online learning, EvoMSN employs a two-stage strategy: offline pre-training followed by an online alternating update. This allows the statistics predictor and the forecasting backbone to collaboratively adapt to shifting distributions as new data arrives.
The EvoMSN framework architecture, illustrating the multi-scale slicing process, the statistics prediction module, and the bi-level optimization strategy for online updates.

Experimental Evaluation

EvoMSN was evaluated across several diverse, real-world datasets, including:

  • ETT (Electricity Transformer Temperature): High-frequency (15-min/hourly) data.
  • Electricity & Exchange: Hourly load data and daily currency rates.
  • Traffic & Weather: Hourly road occupancy and meteorological indicators.
  • M5 Competition: Low-frequency daily retail sales.
  • Large Traffic: A massive dataset from 716 sensors in San Diego.

Results and Discussion

EvoMSN demonstrated significant performance gains across all benchmarks. When integrated with the TimesNet backbone, it achieved Mean Squared Error (MSE) reductions of 55.09% on Weather, 31.74% on Electricity, and 11.30% on Exchange datasets. Compared to other online learning strategies like FSNet, EvoMSN-TCN showed improvements of approximately 63-65% across various horizons.

Qualitative results showing EvoMSN's ability to track the true data distribution compared to standard online baselines on the Electricity, Exchange, and ETTm1 datasets.

Key insights from the study highlight that modeling distribution shifts across multiple scales prevents "over-stationarization," where useful local information is lost. Furthermore, the framework's model-agnostic nature allows it to enhance various architectures, including DLinear, Transformers (PatchTST), and CNNs (TimesNet).

Conclusion

While EvoMSN effectively tracks shifting distributions, its reliance on FFT for periodicity and its current focus on first- and second-order moments (mean and variance) present opportunities for future work. Expanding the model to handle higher-order moments or more irregular cycles could further improve robustness in highly chaotic environments.

Summary updated

BibTeX
@misc{qin2024evolving,
  author = {Dalin Qin and Yehui Li and Weiqi Chen and Zhaoyang Zhu and Qingsong Wen and Liang Sun and Pierre Pinson and Yi Wang},
  title = {{Evolving Multi-Scale Normalization for Time Series Forecasting under Distribution Shifts}},
  year = {2024},
  eprint = {2409.19718},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2409.19718},
}
Figure