Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Fredformer: Frequency Debiased Transformer for Time Series Forecasting

About

The Transformer model has shown leading performance in time series forecasting. Nevertheless, in some complex scenarios, it tends to learn low-frequency features in the data and overlook high-frequency features, showing a frequency bias. This bias prevents the model from accurately capturing important high-frequency data features. In this paper, we undertook empirical analyses to understand this bias and discovered that frequency bias results from the model disproportionately focusing on frequency features with higher energy. Based on our analysis, we formulate this bias and propose Fredformer, a Transformer-based framework designed to mitigate frequency bias by learning features equally across different frequency bands. This approach prevents the model from overlooking lower amplitude features important for accurate forecasting. Extensive experiments show the effectiveness of our proposed approach, which can outperform other baselines in different real-world time-series datasets. Furthermore, we introduce a lightweight variant of the Fredformer with an attention matrix approximation, which achieves comparable performance but with much fewer parameters and lower computation costs. The code is available at: https://github.com/chenzRG/Fredformer

Xihao Piao, Zheng Chen, Taichi Murayama, Yasuko Matsubara, Yasushi Sakurai• 2024

Related benchmarks

TaskDatasetResultRank
Long-term forecastingETTm1
MSE0.384
184
Multivariate Time-series ForecastingETTh2 (test)
MSE0.293
171
Multivariate Time-series ForecastingETTh1 (test)
MSE0.435
134
Traffic ForecastingMETR-LA
MAE0.369
127
Multivariate Time-series ForecastingWeather (test)
MSE0.246
124
Multivariate Time-series ForecastingECL (test)
MSE0.175
77
ForecastingS&P 500
MAE0.286
76
Multivariate Time-series ForecastingETTm1 (test)
MSE0.384
67
Long-term forecastingExchange
MSE0.333
46
Multivariate Time-series ForecastingTraffic (test)--
36
Showing 10 of 35 rows

Other info

Code

Follow for update