LGAIJun 13, 2024

Fredformer: Frequency Debiased Transformer for Time Series Forecasting

arXiv:2406.09009v4106 citationsHas Code
Originality Incremental advance
AI Analysis

This addresses a specific problem in time series forecasting for practitioners, but it is incremental as it builds on existing Transformer frameworks.

The paper tackles frequency bias in Transformers for time series forecasting, where models overlook high-frequency features, and proposes Fredformer to learn features equally across frequency bands, achieving outperformance over baselines on real-world datasets.

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

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes