FreDF: Learning to Forecast in the Frequency Domain
Hao Wang, Licheng Pan, Zhichao Chen, Degui Yang, Sen Zhang, Yifei Yang, Xinggao Liu, Haoxuan Li, Dacheng Tao
TL;DR
FreDF addresses the bias in the Direct Forecast objective arising from label autocorrelation by learning forecasts in the frequency domain. It aligns forecast and label sequences via a differentiable FFT-based loss, while preserving the Direct Forecast paradigm and maintaining model-agnostic applicability. The approach is supported by theory showing decorrelation of frequency components as $T\to\infty$ and by extensive experiments across datasets and backbones that demonstrate consistent performance gains. FreDF offers a practical, plug-in improvement for time-series forecasting, enhancing accuracy and robustness without sacrificing sample efficiency. The work also points to future directions in adopting alternative orthogonal bases and extending the method to broader signal-processing contexts.
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.
