Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Non-stationary Transformers: Exploring the Stationarity in Time Series Forecasting

About

Transformers have shown great power in time series forecasting due to their global-range modeling ability. However, their performance can degenerate terribly on non-stationary real-world data in which the joint distribution changes over time. Previous studies primarily adopt stationarization to attenuate the non-stationarity of original series for better predictability. But the stationarized series deprived of inherent non-stationarity can be less instructive for real-world bursty events forecasting. This problem, termed over-stationarization in this paper, leads Transformers to generate indistinguishable temporal attentions for different series and impedes the predictive capability of deep models. To tackle the dilemma between series predictability and model capability, we propose Non-stationary Transformers as a generic framework with two interdependent modules: Series Stationarization and De-stationary Attention. Concretely, Series Stationarization unifies the statistics of each input and converts the output with restored statistics for better predictability. To address the over-stationarization problem, De-stationary Attention is devised to recover the intrinsic non-stationary information into temporal dependencies by approximating distinguishable attentions learned from raw series. Our Non-stationary Transformers framework consistently boosts mainstream Transformers by a large margin, which reduces MSE by 49.43% on Transformer, 47.34% on Informer, and 46.89% on Reformer, making them the state-of-the-art in time series forecasting. Code is available at this repository: https://github.com/thuml/Nonstationary_Transformers.

Yong Liu, Haixu Wu, Jianmin Wang, Mingsheng Long• 2022

Related benchmarks

TaskDatasetResultRank
Multivariate ForecastingETTh1
MSE0.57
909
Time Series ForecastingETTh1
MSE0.513
869
Time Series ForecastingETTh2
MSE0.47
796
Multivariate Time-series ForecastingETTm1
MSE0.386
742
Long-term time-series forecastingETTh1
MAE0.491
600
Multivariate Time-series ForecastingETTm2
MSE0.306
593
Time Series ForecastingETTm2
MSE0.192
552
Long-term time-series forecastingWeather
MSE0.173
527
Multivariate long-term forecastingETTh1
MSE0.547
509
Long-term forecastingETTh1
MSE0.57
500
Showing 10 of 316 rows
...

Other info

Code

Follow for update