Skip to main content
QUICK REVIEW

[Paper Review] FreDF: Learning to Forecast in the Frequency Domain

Hao Wang, Licheng Pan|arXiv (Cornell University)|Feb 4, 2024
Neural Networks and ApplicationsComputer Science7 citations
TL;DR

FreDF enhances direct forecast by forecasting in the frequency domain to mitigate label autocorrelation, improving performance across multiple forecast models and tasks.

ABSTRACT

Time series modeling presents unique challenges due to autocorrelation in both historical data and future sequences. While current research predominantly addresses autocorrelation within historical data, the correlations among future labels are often overlooked. Specifically, modern forecasting models primarily adhere to the Direct Forecast (DF) paradigm, generating multi-step forecasts independently and disregarding label autocorrelation over time. In this work, we demonstrate that the learning objective of DF is biased in the presence of label autocorrelation. To address this issue, we propose the Frequency-enhanced Direct Forecast (FreDF), which mitigates label autocorrelation by learning to forecast in the frequency domain, thereby reducing estimation bias. Our experiments show that FreDF significantly outperforms existing state-of-the-art methods and is compatible with a variety of forecast models. Code is available at https://github.com/Master-PLC/FreDF.

Motivation & Objective

  • Identify the impact of label autocorrelation neglected by direct forecast (DF) in multi-step forecasting.
  • Propose a frequency-domain forecasting paradigm (FreDF) to align DF with label autocorrelation.
  • Show FreDF is model- and transform-agnostic and compatible with various forecast architectures.
  • Demonstrate FreDF’s effectiveness across long-term, short-term, and imputation tasks across diverse datasets.

Proposed method

  • Transform the label sequence into a frequency-domain representation F = F(Y) using a domain transform (e.g., Fourier transform).
  • Train with a dual loss that combines time-domain forecast loss and frequency-domain alignment loss: L_alpha = alpha * L_feq + (1 - alpha) * L_tmp.
  • Use orthogonal basis representations in the frequency domain to reduce label autocorrelation effects.
  • Require minimal changes to existing DF pipelines; FreDF is compatible with models like Transformers and MLPs and transforms like FFT-based or polynomial bases.
  • Empirically ablate the contributions of temporal vs frequency losses and compare against strong baselines across datasets.

Experimental results

Research questions

  • RQ1Does label autocorrelation in the forecast horizon degrade DF-based forecasting, and can frequency-domain forecasting mitigate it?
  • RQ2Can FreDF improve predictive accuracy across diverse datasets and forecast models without extensive architectural changes?
  • RQ3How do temporal and frequency-domain losses compare in contributing to performance, and what role do amplitude vs phase play?
  • RQ4Is FreDF robust to different domain transforms beyond Fourier (e.g., Legendre, Chebyshev) and to multivariate FFT implementations?

Key findings

  • FreDF substantially improves DF-based forecasting across long-term and short-term tasks, often surpassing state-of-the-art baselines.
  • Transforming Y to the frequency domain reduces label autocorrelation effects, aligning with the conditional independence assumption of DF.
  • Both amplitude and phase alignment in the frequency domain matter, with phase alignment being particularly crucial.
  • FreDF generalizes across multiple backbone models (e.g., iTransformer, Autoformer, Transformer) and different transforms, including FFT-based and Legendre bases.
  • Learning in the frequency domain offers strong sample efficiency, achieving comparable performance with only 30% of training data.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.