Abstract
The number of wind farms and amount of wind power production in Europe, both on- and offshore, have increased rapidly in the past years. To ensure grid stability and on-time (re)scheduling of maintenance tasks and to mitigate fees in energy trading, accurate predictions of wind speed and wind power are needed. Particularly, accurate predictions of extreme wind speed events are of high importance to wind farm operators as timely knowledge of these can both prevent damages and offer economic preparedness. This work explores the possibility of adapting a deep convolutional recurrent neural network (RNN)-based regression model to the spatio-temporal prediction of extreme wind speed events in the short to medium range (12 h lead time in 1 h intervals) through the manipulation of the loss function. To this end, a multi-layered convolutional long short-term memory (ConvLSTM) network is adapted with a variety of imbalanced regression loss functions that have been proposed in the literature: inversely weighted, linearly weighted and squared error-relevance area (SERA) loss. Forecast performance is investigated for various intensity thresholds of extreme events, and a comparison is made with the commonly used mean squared error (MSE) and mean absolute error (MAE) loss. The results indicate the inverse weighting method to most effectively shift the forecast distribution towards the extreme tail, thereby increasing the number of forecasted events in the extreme ranges, considerably boosting the hit rate and reducing the root-mean-squared error (RMSE) in those ranges. The results also show, however, that such improvements are invariably accompanied by a pay-off in terms of increased overcasting and false alarm ratio, which increase both with lead time and intensity threshold. The inverse weighting method most effectively balances this trade-off, with the weighted MAE loss scoring slightly better than the weighted MSE loss. It is concluded that the inversely weighted loss provides an effective way to adapt deep learning to the task of imbalanced spatio-temporal regression and its application to the forecasting of extreme wind speed events in the short to medium range.
Introduction
As Europe transitions toward renewable energy, the ability to forecast extreme wind events has become critical for grid stability and infrastructure safety. However, standard machine learning models often struggle with "regression to the mean." Because extreme events are rare, standard loss functions like Mean Squared Error (MSE) tend to penalize large errors on rare events less than small errors on frequent ones, leading to a significant under-prediction bias for high-impact storms.
Methodology: ConvLSTM and Imbalanced Loss
This study utilizes a Convolutional Long Short-Term Memory (ConvLSTM) network to handle the spatio-temporal nature of wind data. By combining convolutions for spatial feature extraction with LSTM units for temporal dependencies, the model can track the evolution of weather patterns over time.
To address the data imbalance, the researchers tested specialized loss functions designed to prioritize the "tails" of the wind speed distribution:
- Inversely Weighted Loss: Assigns higher weights to rare, high-velocity events based on their scarcity in the training set.
- Linearly Weighted Loss: Gradually increases the importance of events as they become more extreme.
- Squared Error-Relevance Area (SERA) Loss: Uses a relevance function to define and prioritize critical prediction ranges.
Data and Regional Analysis
The model was trained using 42 years of hourly ERA5 reanalysis data, focusing on a 64x64 grid over Central Europe. The target variable is scalar wind speed at the 1000 hPa pressure level, which approximates the hub height of modern wind turbines.
As shown in the spatial statistics above, wind intensity is highly non-uniform, with the highest speeds concentrated in offshore regions. To account for this, the authors defined "extreme" events based on local percentiles rather than a fixed global threshold. This ensures the model learns to identify significant deviations from the norm at any given coordinate.
Key Results and Discussion
The Inversely Weighted MAE (W-MAE_inv) emerged as the most effective approach. It successfully shifted the model's prediction distribution toward the extreme tail, resulting in:
- Higher Hit Rates: A significant increase in correctly forecasted extreme events compared to standard MSE/MAE models.
- Reduced Error in Extremes: The lowest Root-Mean-Squared Error (RMSE) specifically within the 95th to 99.9th percentile ranges.
- Managed Trade-offs: While improving the hit rate inevitably increases the False Alarm Ratio (FAR), the inverse weighting method provided the most balanced performance, avoiding the excessive over-prediction seen with the SERA loss function.
Conclusion
Adapting deep learning models through inversely weighted loss functions offers a robust solution for forecasting rare, high-impact wind events. While a trade-off between hit rate and false alarms remains, this approach provides wind farm operators with a more reliable early-warning tool for short-to-medium range planning. Future research will explore incorporating additional meteorological variables like pressure and temperature to further enhance predictive accuracy.
Summary updated