Autoformer: Decomposition Transformers with Auto-Correlation for Long-Term Series Forecasting
About
Extending the forecasting time is a critical demand for real applications, such as extreme weather early warning and long-term energy consumption planning. This paper studies the long-term forecasting problem of time series. Prior Transformer-based models adopt various self-attention mechanisms to discover the long-range dependencies. However, intricate temporal patterns of the long-term future prohibit the model from finding reliable dependencies. Also, Transformers have to adopt the sparse versions of point-wise self-attentions for long series efficiency, resulting in the information utilization bottleneck. Going beyond Transformers, we design Autoformer as a novel decomposition architecture with an Auto-Correlation mechanism. We break with the pre-processing convention of series decomposition and renovate it as a basic inner block of deep models. This design empowers Autoformer with progressive decomposition capacities for complex time series. Further, inspired by the stochastic process theory, we design the Auto-Correlation mechanism based on the series periodicity, which conducts the dependencies discovery and representation aggregation at the sub-series level. Auto-Correlation outperforms self-attention in both efficiency and accuracy. In long-term forecasting, Autoformer yields state-of-the-art accuracy, with a 38% relative improvement on six benchmarks, covering five practical applications: energy, traffic, economics, weather and disease. Code is available at this repository: \url{https://github.com/thuml/Autoformer}.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Multivariate Forecasting | ETTh1 | MSE0.3991 | 645 | |
| Time Series Forecasting | ETTh1 | MSE0.144 | 601 | |
| Time Series Forecasting | ETTh2 | MSE0.338 | 438 | |
| Multivariate Time-series Forecasting | ETTm1 | MSE0.408 | 433 | |
| Time Series Forecasting | ETTm2 | MSE0.218 | 382 | |
| Long-term time-series forecasting | ETTh1 | MAE0.382 | 351 | |
| Long-term time-series forecasting | Weather | MSE0.054 | 348 | |
| Multivariate long-term forecasting | ETTh1 | MSE0.435 | 344 | |
| Multivariate Forecasting | ETTh2 | MSE0.25 | 341 | |
| Time Series Forecasting | ETTm1 | MSE0.056 | 334 |