A New Loss Function for Enhancing Peak Prediction in Time Series Data with High Variability

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.

Authors

Institutions

Publication Details

Journal
Forecasting
Published
2025-12-03
DOI
https://doi.org/10.3390/forecast7040075
Citations
1
Primary Topic
Forecasting Techniques and Applications
Type
article
Field-Weighted Citation Impact
2.11
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A New Loss Function for Enhancing Peak Prediction in Time Series Data with High Variability

Jun Wang, Shaoping Xiao, Zhaoan Wang, Soheyla Tofighi et al.
1 citations
Forecasting
Forecasting Techniques and Applications
2.11
article

A New Loss Function for Enhancing Peak Prediction in Time Series Data with High Variability

Jun Wang, Shaoping Xiao, Zhaoan Wang, Soheyla Tofighi, Mahan Hajiabbasi Somehsaraie
article en
1 citations

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.

ForecastingVol. 7(4)
University of Iowa (US)
Openalex Percentile: Top 9%
Forecasting Techniques and Applications
2.11
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

A New Loss Function for Enhancing Peak Prediction in Time Series Data with High Variability — Jun Wang, Shaoping Xiao, et al. · Forecasting (2025) | TGRS Research Map | TGRS