[Paper Review] FECAM: Frequency Enhanced Channel Attention Mechanism for Time Series Forecasting
This paper proposes FECAM, a Frequency Enhanced Channel Attention Mechanism based on Discrete Cosine Transform (DCT) to improve time series forecasting by modeling frequency-domain dependencies across channels. Unlike Fourier Transform, DCT avoids Gibbs phenomenon and enables efficient energy compaction, leading to state-of-the-art performance across six real-world datasets with minimal computational overhead and just a few lines of code integration into existing models like Transformers, LSTM, and Informer.
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. 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.
Motivation & Objective
- To address the limitation of mainstream time series models in capturing frequency-domain patterns, especially low-frequency components rich in real-world data.
- To overcome the Gibbs phenomenon inherent in Fourier Transform-based frequency modeling, which introduces high-frequency noise at signal boundaries.
- To design a general-purpose, lightweight module that enhances existing models like Transformers, LSTM, and Informer with improved frequency-aware representation learning.
- To achieve state-of-the-art performance across diverse real-world time series benchmarks with minimal computational cost.
Proposed method
- Proposes a Frequency Enhanced Channel Attention Mechanism (FECAM) that leverages Discrete Cosine Transform (DCT) to model frequency-domain dependencies across channels.
- Uses DCT instead of Fourier Transform to avoid Gibbs phenomenon, ensuring smoother boundary approximations and eliminating high-frequency noise.
- Applies learned channel weights to emphasize important frequencies per channel, enabling joint modeling of inter-channel and intra-frequency relationships.
- Integrates FECAM as a plug-in module into existing architectures like Transformers, Informer, and LSTM with minimal architectural changes.
- Employs energy compaction properties of DCT to reconstruct signals efficiently using fewer frequency components.
- Uses a projection layer in the final FECAM variant to reduce parameters and mitigate overfitting, improving generalization.
Experimental results
Research questions
- RQ1Can frequency-domain modeling improve the predictive accuracy of mainstream time series forecasting models?
- RQ2Does replacing Fourier Transform with Discrete Cosine Transform reduce Gibbs phenomenon and improve boundary approximation in time series forecasting?
- RQ3Can a frequency-aware attention mechanism generalize across diverse architectures like Transformers, LSTM, and Informer?
- RQ4How does the energy compaction property of DCT compare to DFT in reconstructing time series signals with fewer components?
- RQ5To what extent does FECAM improve performance on real-world datasets with varying frequency content?
Key findings
- FECAM achieves state-of-the-art performance on six real-world time series datasets, including ETTm2, Exchange, and Weather.
- The method reduces MSE by 35.99% on LSTM, 10.01% on Reformer, 8.71% on Informer, 8.29% on Autoformer, and 8.06% on Transformer.
- On datasets with strong low-frequency energy (e.g., ETTm2, Weather), FECAM delivers the largest performance gains, while gains are smaller on the traffic dataset with less dominant low-frequency content.
- Visualization confirms that FECAM effectively learns meaningful frequency-channel attention patterns, outperforming standard attention mechanisms in capturing frequency-aware representations.
- The DCT-based reconstruction outperforms DFT in energy compaction, requiring fewer components to achieve comparable or better signal fidelity.
- The FECAM module is highly generalizable and can be integrated into existing models with just a few lines of code, maintaining low computational overhead.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.