FEDformer: Frequency Enhanced Decomposed Transformer for Long-term Series Forecasting

Tian Zhou, Ziqing Ma, Qingsong Wen, Xue Wang, Liang Sun +1 more
1/30/2022
cs.LGstat.ML

Official code: MAZiqing/FEDformer (816 stars, MIT, last commit 2023-08-16). 1 more implementation below.

Abstract

Although Transformer-based methods have significantly improved state-of-the-art results for long-term series forecasting, they are not only computationally expensive but more importantly, are unable to capture the global view of time series (e.g. overall trend). To address these problems, we propose to combine Transformer with the seasonal-trend decomposition method, in which the decomposition method captures the global profile of time series while Transformers capture more detailed structures. To further enhance the performance of Transformer for long-term prediction, we exploit the fact that most time series tend to have a sparse representation in well-known basis such as Fourier transform, and develop a frequency enhanced Transformer. Besides being more effective, the proposed method, termed as Frequency Enhanced Decomposed Transformer ({\bf FEDformer}), is more efficient than standard Transformer with a linear complexity to the sequence length. Our empirical studies with six benchmark datasets show that compared with state-of-the-art methods, FEDformer can reduce prediction error by $14.8\%$ and $22.6\%$ for multivariate and univariate time series, respectively. Code is publicly available at https://github.com/MAZiqing/FEDformer.

View on arXivView PDF

Code Implementations(2)

MAZiqing/FEDformerOfficial100%
MIT
816171Shell, PythonJan 24, 20223 years agoMIT
WenjieDu/PyPOTSCommunity100%
PyTorchBSD-3-Clause

A Python toolkit/library for reality-centric machine/deep learning & data mining on partially-observed time series, with 50+ SOTA neural network models for scientific analysis tasks (imputation, classification, clustering, forecasting, anomaly detection, cleaning) on incomplete industrial irregularly-sampled multivariate TS with NaN missing values

2,060190Shell, PythonMar 29, 20225 months agoBSD-3-Clause
anomaly-detectionclassificationclusteringdata-analysisdata-mining+10 more

Cite this paper

@article{zhou2022fedformer,
  title  = {FEDformer: Frequency Enhanced Decomposed Transformer for Long-term Series Forecasting},
  author = {Tian Zhou and Ziqing Ma and Qingsong Wen and Xue Wang and Liang Sun and Rong Jin},
  year   = {2022},
  eprint = {2201.12740},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2201.12740}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2201.12740.svg)](https://codeofpaper.com/paper/2201.12740)

Discussion