Skip to main content
QUICK REVIEW

[Paper Review] The Error is the Feature: how to Forecast Lightning using a Model Prediction Error

Christian Schön, Jens Dittrich|arXiv (Cornell University)|Nov 23, 2018
Meteorological Phenomena and SimulationsEarth and Planetary Sciences19 references10 citations
TL;DR

This paper proposes a novel lightning nowcasting method that uses the prediction error from optical flow algorithms applied to satellite images as a key feature for machine learning models. By treating motion estimation errors as indicators of convective activity, the approach achieves up to 96% accuracy in forecasting lightning within 15 minutes, with performance remaining above 83% for five-hour forecasts, though false positives remain a challenge for operational use.

ABSTRACT

Despite the progress within the last decades, weather forecasting is still a challenging and computationally expensive task. Current satellite-based approaches to predict thunderstorms are usually based on the analysis of the observed brightness temperatures in different spectral channels and emit a warning if a critical threshold is reached. Recent progress in data science however demonstrates that machine learning can be successfully applied to many research fields in science, especially in areas dealing with large datasets. We therefore present a new approach to the problem of predicting thunderstorms based on machine learning. The core idea of our work is to use the error of two-dimensional optical flow algorithms applied to images of meteorological satellites as a feature for machine learning models. We interpret that optical flow error as an indication of convection potentially leading to thunderstorms and lightning. To factor in spatial proximity we use various manual convolution steps. We also consider effects such as the time of day or the geographic location. We train different tree classifier models as well as a neural network to predict lightning within the next few hours (called nowcasting in meteorology) based on these features. In our evaluation section we compare the predictive power of the different models and the impact of different features on the classification result. Our results show a high accuracy of 96% for predictions over the next 15 minutes which slightly decreases with increasing forecast period but still remains above 83% for forecasts of up to five hours. The high false positive rate of nearly 6% however needs further investigation to allow for an operational use of our approach.

Motivation & Objective

  • To develop a new machine learning-based approach for short-term lightning prediction using satellite image data.
  • To investigate whether the error in optical flow predictions can serve as a meaningful feature for detecting convective development leading to thunderstorms.
  • To evaluate the performance of tree-based classifiers and neural networks in forecasting lightning using error-based and additional satellite-derived features.
  • To assess the impact of spatial convolution, channel diversity, and temporal features on model accuracy across forecast horizons from 15 minutes to five hours.
  • To address the high false positive rate observed in the model, which currently limits operational deployment.

Proposed method

  • The core method involves computing two-dimensional optical flow between consecutive satellite images to estimate motion, then using the residual error (difference between predicted and actual motion) as a proxy for vertical motion and convection.
  • These optical flow errors are processed through manual convolution layers with large kernel sizes to capture spatial patterns indicative of developing thunderstorms.
  • A comprehensive feature set is constructed, including optical flow error features, normalized across spectral channels, and additional meteorological features such as time of day and geographic location.
  • Tree-based models (Random Forest, XGBoost) and a fully connected feedforward neural network (with Leaky ReLU and sigmoid activation) are trained using binary cross-entropy loss and early stopping.
  • Features are normalized to [0,1] for neural network training, and data imbalance is managed by using a balanced test set, avoiding convolutional neural networks due to risk of overfitting to the majority class.
  • Model evaluation uses accuracy, AUC, and ROC curves across forecast offsets from 15 minutes to five hours, with results compared to prior work in the literature.

Experimental results

Research questions

  • RQ1Can the prediction error of optical flow algorithms on geostationary satellite images serve as a reliable indicator of convective development leading to lightning?
  • RQ2How do different spatial convolution strategies, particularly with large kernel sizes, affect the predictive performance of lightning nowcasting models?
  • RQ3To what extent do multi-spectral satellite channels and auxiliary features (e.g., time of day, location) improve model accuracy across varying forecast horizons?
  • RQ4How does the performance of tree-based models compare to deep neural networks in this low-data, high-imbalance setting?
  • RQ5Why does the false positive rate remain high despite strong overall accuracy, and how might this be mitigated?

Key findings

  • The best-performing model, a Random Forest (RF2), achieved 96% accuracy in predicting lightning within the next 15 minutes, with performance decreasing to 83.87% for a five-hour forecast.
  • The use of convolution with large kernel sizes significantly improved model accuracy, particularly for short-term forecasts, indicating the importance of capturing broad-scale atmospheric patterns.
  • Including non-error-based satellite features (e.g., brightness temperature differences) improved accuracy beyond error-only models, reaching the peak 96% for 15-minute forecasts.
  • The neural network (NN1) showed competitive performance, though it was outperformed by the Random Forest model, suggesting that tree-based models may be more robust in this high-imbalance, low-data regime.
  • The AUC for the RF2 model at a two-hour forecast offset was 0.94, indicating strong discriminative power, and significantly outperformed prior methods in terms of precision-recall balance.
  • Despite high accuracy, the false positive rate remained around 6%, which the authors identify as a key barrier to operational deployment and a focus for future work.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.