Abstract
Time series forecasting faces two important but often overlooked challenges. Firstly, the inherent random noise in the time series labels sets a theoretical lower bound for the forecasting error, which is positively correlated with the entropy of the labels. Secondly, neural networks exhibit a frequency bias when modeling the state-space of time series, performing well in certain frequency bands but poorly in others. To address these, we propose a novel loss function named OLMA, which utilizes frequency domain transformations across both channel and temporal dimensions. We prove that unitary transformations like the Discrete Fourier Transform (DFT) can reduce marginal entropy, thereby lowering the error floor. Experimental results across multiple datasets demonstrate that OLMA effectively addresses these challenges, leading to significant improvements in forecasting accuracy across various state-of-the-art models.
Introduction
Time series forecasting is a critical task in many domains, yet it remains challenging due to inherent data noise and the limitations of neural network learning dynamics. Most research focuses on architectural innovations, but the authors of OLMA suggest a different path: optimizing the supervision signal. OLMA (One Loss for More Accurate forecasting) is a plug-and-play loss function designed to replace standard Mean Squared Error (MSE) by shifting supervision into the frequency domain.
Addressing the Entropy Floor and Frequency Bias
The paper identifies two primary hurdles in forecasting:
- The Entropy Floor: Random noise in labels creates a theoretical lower bound on error, tied to the entropy of the data. High entropy implies less predictability.
- Frequency Bias: Neural networks often suffer from "spectral bias," favoring high-frequency fluctuations over the slow-moving, low-frequency trends essential for long-term accuracy.
OLMA addresses these through two main components:
- Channel-wise DFT: By applying DFT across variables (channels), the method concentrates energy into specific frequency bands. The authors provide a mathematical proof that such unitary transformations can reduce the marginal entropy of correlated processes, effectively "tidying" the data for the model.
- Temporal-wise DFT & DWT: To mitigate frequency bias, transformations are applied along the time axis. Using both DFT (for global patterns) and Discrete Wavelet Transform (DWT, for localized patterns), the loss function ensures the model aligns with ground truth across the entire frequency spectrum.
As shown in the figure above, the Discrete Fourier Transform successfully reduces label entropy in the majority of benchmark scenarios, making the targets more learnable.
Experimental Results
The authors evaluated OLMA on nine public benchmark datasets (ETT subsets, Weather, Exchange, ILI, Electricity, and Traffic) using seven state-of-the-art models, including iTransformer, TimesNet, and DLinear.
Key findings include:
- Consistent Accuracy Gains: Replacing standard loss with OLMA consistently reduced MSE and MAE across nearly all models and datasets.
- Improved Trend Capture: Models trained with OLMA demonstrated a superior ability to capture long-term trends compared to those trained with standard MSE.
- Robustness: Ablation studies indicated that performance is stable across different weights for the channel and temporal components, simplifying deployment.
Discussion and Limitations
While OLMA proves highly effective, the "Electricity" (ECL) dataset presented a unique case. Due to highly intricate interactions between its 321 channels, the channel-wise DFT actually increased entropy, leading to more modest performance gains. This highlights that while DFT is a powerful tool, it may not be the optimal transformation for every possible data structure. Future work will focus on searching for minimal entropy representations and developing specialized solutions for difficult frequency bands.
Conclusion
OLMA offers a novel perspective on time series forecasting by focusing on the supervision side. By leveraging frequency domain transformations to reduce entropy and mitigate spectral bias, it provides a simple yet effective way to boost the performance of existing forecasting models without requiring architectural changes.
Summary updated