Introduction
Deep learning models for time series forecasting (TSF) often struggle to balance global patterns, such as seasonality, with local dynamics like sudden trends. While Fourier-based methods have emerged as a way to denoise signals by operating in the frequency domain, existing approaches suffer from two critical flaws: inconsistent starting cycles and inconsistent series lengths.
Inconsistent starting cycles occur because most models process real and imaginary frequency components independently, ignoring the phase information that only emerges when fused with basis functions. Inconsistent series lengths arise because frequency definitions are relative to the observation window; if input and output lengths differ, the same coefficient represents different physical behaviors. Fourier Basis Mapping (FBM) addresses these by explicitly integrating Fourier basis functions (sines and cosines) into the learning process, mapping features in a joint "time-frequency" space.
The Fourier Basis Mapping Framework
The core innovation of FBM is the transition from treating the Discrete Fourier Transform (DFT) as a final destination to using it as a stepping stone for creating joint time-frequency features.
A frequency coefficient is essentially abstract until it is paired with a sine wave. By explicitly multiplying the real and imaginary parts of the frequency spectrum by orthogonal cosine and sine basis functions during the forward pass, FBM preserves temporal characteristics while making frequency information explicit. This "Fourier Basis Expansion" ensures the model does not have to "guess" phase or window-length scaling—it is built directly into the feature representation.
FBM is designed as a plug-and-play framework. The authors demonstrate its versatility through several variants:
- FBM-L (Linear): Enhances simple linear models.
- FBM-NL (MLP-based): Uses multi-layer perceptrons for mapping.
- FBM-NP (Transformer-based): Incorporates patching mechanisms within a Transformer backbone.
Synergetic Architecture: FBM-S
To fully leverage the time-frequency space, the authors introduced FBM-S, a specialized synergetic model designed to decompose time series into distinct components using three primary blocks.
- Seasonal Block: This block captures periodic patterns by applying a rolling window filter over Fourier features, effectively isolating sinusoidal characteristics.
- Trend Block: This component captures non-linear movements using MLP or Transformer backbones. It utilizes patching and multi-scale down-sampling to handle various temporal resolutions. Notably, the authors found that "patch centralization"—normalizing individual patches of time-frequency features—significantly improves robustness against distribution shifts.
- Interaction Block: Specifically designed for multivariate data, this block uses interaction masking to focus on short-term dependencies between different variables. This reflects the reality that variables often influence each other over short durations (e.g., localized traffic events) rather than through long-term coincidental correlations.
Experimental Evaluation
The FBM framework was evaluated across 12 diverse real-world datasets, including long-term forecasting (ETT, Electricity, Traffic, Weather, Exchange rate), short-term forecasting (PEMS traffic datasets), and univariate forecasting (M4).
Key findings include:
- State-of-the-Art Performance: FBM-S achieved superior results across nearly all tested horizons. For example, on the Traffic dataset, it significantly reduced Mean Squared Error (MSE) compared to previous leaders like PatchTST.
- Efficiency: Despite its sophisticated mapping, FBM-S is computationally efficient. In efficiency analyses on the PEMS08 dataset, it required fewer GFLOPs and less memory than heavyweights like TimesNet or FiLM, while being faster to train.
- Representation vs. Complexity: A major insight is that an FBM-enhanced linear model (FBM-L) can outperform complex deep neural networks. This suggests that the representation of the data in the time-frequency space is often more critical than the depth of the model itself.
Discussion and Conclusion
FBM demonstrates that explicitly pairing frequency coefficients with their basis functions provides a more stable foundation for deep learning. Unlike standard linear models (like NLinear), which often degrade as layers are added, FBM-based models actually improve with depth because the time-frequency features provide a consistent structural basis.
A primary limitation noted by the authors is the dependency on input sequence length; if the look-back window is too short to capture underlying periodicities, the meaningfulness of the Fourier basis functions is reduced. Future research aims to extend the FBM framework to other domains, such as anomaly detection and classification, where time-frequency localization is equally vital.
Summary updated