A New Loss Function for Enhancing Peak Prediction in Time Series Data with High Variability
Mahan Hajiabbasi Somehsaraie, Soheyla Tofighi, Zhaoan Wang, Jun Wang, Shaoping Xiao
University of Iowa
Key points
From the paper's conclusion- The results consistently demonstrated that EP loss significantly mitigates peak prediction errors compared to conventional loss functions, highlighting its potential for highly variable time series applications.
Abstract
Time series models are considered among the most intricate models in machine learning. Due to sharp temporal variations, time series models normally fall short in predicting the peaks or local minima accurately. To overcome this challenge, we proposed a novel custom loss function, Enhanced Peak (EP) loss, specifically designed to pinpoint peaks and troughs in time series models, to address underestimations and overestimations in the forecasting process. EP loss applies an adaptive penalty when prediction errors exceed a specified threshold, encouraging the model to focus more effectively on these regions. To evaluate the effectiveness and versatility of EP loss, the loss function was tested on three highly variable datasets: NOx emissions, streamflow measurements, and gold price, implementing Gated Recurrent Unit and Transformer-based models. The results consistently demonstrated that EP loss significantly mitigates peak prediction errors compared to conventional loss functions, highlighting its potential for highly variable time series applications.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Multi-Lead-Time Daily Streamflow Forecasting via Out-of-Fold Residual Correction and Flood-Peak-Aware Soft-Gated Dual-Expert Fusion: A Case Study at Yichang Station in the Upper Yangtze RiverWater · 2026
- Peak-Aware Short-Term Load Forecasting Across Distribution Grid Aggregation LevelsarXiv · 2026
- CARE: A Lightweight Plug-in Gated Correction and Uncertainty-aware Module for Long-term Time Series ForecastingarXiv · 2026
- MSAFP-Net: An Adaptive Fusion-Driven Multi-Scale Neural Network for Peak Production Forecasting in Gas WellsMathematics · 2026
- FARR: Forecast-Aware Residual Refinement with Matched Endpoint Evidence for Long-Horizon Time-Series ForecastingarXiv · 2026
- PathFM: Fast Generative Forecasting of Multivariate TrajectoriesarXiv · 2026