FECAM: Frequency Enhanced Channel Attention Mechanism for Time Series Forecasting

Maowei Jiang, Pengyu Zeng, Kai Wang, Huan Liu, Wenbo Chen +1 more
12/2/2022
cs.AIeess.SP
transformer-attention

Official code: Zero-coder/FECAM (154 stars, Jupyter Notebook, PyTorch, last commit 2023-09-09).

Abstract

Time series forecasting is a long-standing challenge due to the real-world information is in various scenario (e.g., energy, weather, traffic, economics, earthquake warning). However some mainstream forecasting model forecasting result is derailed dramatically from ground truth.

Show full abstract

We believe it's the reason that model's lacking ability of capturing frequency information which richly contains in real world datasets. At present, the mainstream frequency information extraction methods are Fourier transform(FT) based. However, use of FT is problematic due to Gibbs phenomenon. If the values on both sides of sequences differ significantly, oscillatory approximations are observed around both sides and high frequency noise will be introduced. Therefore We propose a novel frequency enhanced channel attention that adaptively modelling frequency interdependencies between channels based on Discrete Cosine Transform which would intrinsically avoid high frequency noise caused by problematic periodity during Fourier Transform, which is defined as Gibbs Phenomenon. We show that this network generalize extremely effectively across six real-world datasets and achieve state-of-the-art performance, we further demonstrate that frequency enhanced channel attention mechanism module can be flexibly applied to different networks. This module can improve the prediction ability of existing mainstream networks, which reduces 35.99% MSE on LSTM, 10.01% on Reformer, 8.71% on Informer, 8.29% on Autoformer, 8.06% on Transformer, etc., at a slight computational cost ,with just a few line of code. Our codes and data are available at https://github.com/Zero-coder/FECAM.

View on arXivView PDF

Code Implementations(1)

Zero-coder/FECAMOfficial100%
PyTorch

About Code release for "FECAM: Frequency Enhanced Channel Attention Mechanism for Time Series Forecasting" ⌚

15420Jupyter Notebook, PythonDec 1, 20223 years ago
deep-learningforecasting-modelfrequency-analysispythonpytorch+2 more

Similar Papers

Cite this paper

@article{jiang2022fecam,
  title  = {FECAM: Frequency Enhanced Channel Attention Mechanism for Time Series Forecasting},
  author = {Maowei Jiang and Pengyu Zeng and Kai Wang and Huan Liu and Wenbo Chen and Haoran Liu},
  year   = {2022},
  eprint = {2212.01209},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2212.01209}
}

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/2212.01209.svg)](https://codeofpaper.com/paper/2212.01209)

Discussion