OLMA: One Loss for More Accurate Time Series Forecasting

Tianyi Shi, Meng Zhu, Yue Chen, Siyang Zheng, Fengxi Su, Jin Huang, Changrui Ren, Zhicheng Zhao · DOI

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:

  1. 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.
  2. 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.
Entropy comparison across datasets showing reduction after DFT in most cases.

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

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, that is, the model performs well in learning certain frequency bands but poorly in others, thus restricting the overall forecasting performance. To address the first challenge, we prove a theorem that there exists a unitary transformation that can reduce the marginal entropy of multiple correlated Gaussian processes, thereby providing guidance for reducing the lower bound of forecasting error. Furthermore, experiments confirm that Discrete Fourier Transform (DFT) can reduce the entropy in the majority of scenarios. Correspondingly, to alleviate the frequency bias, we jointly introduce supervision in the frequency domain along the temporal dimension through DFT and Discrete Wavelet Transform (DWT). This supervision-side strategy is highly general and can be seamlessly integrated into any supervised learning method. Moreover, we propose a novel loss function named OLMA, which utilizes the frequency domain transformation across both channel and temporal dimensions to enhance forecasting. Finally, the experimental results on multiple datasets demonstrate the effectiveness of OLMA in addressing the above two challenges and the resulting improvement in forecasting accuracy. The results also indicate that the perspectives of entropy and frequency bias provide a new and feasible research direction for time series forecasting. The code is available at: https://github.com/Yuyun1011/OLMA-One-Loss-for-More-Accurate-Time-Series-Forecasting.
BibTeX
@misc{shi2025olma,
  author = {Tianyi Shi and Meng Zhu and Yue Chen and Siyang Zheng and Fengxi Su and Jin Huang and Changrui Ren and Zhicheng Zhao},
  title = {{OLMA: One Loss for More Accurate Time Series Forecasting}},
  year = {2025},
  eprint = {2505.11567},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2505.11567},
}
Figure