Defects and Inconsistencies in Solar Flare Data Sources: Implications for Machine Learning Forecasting

Ke Hu, Kevin Jin, V. K. Verma, Weihao Liu, W. B. Manchester, Lulu Zhao, T. I. Gombosi, Yang ChenarXiv 2025 · DOI

Abstract

Machine learning models for forecasting solar flares have been trained and evaluated using a variety of data sources, including Space Weather Prediction Center (SWPC) operational and science-quality data. Typically, data from these sources is minimally processed before being used to train and validate a forecasting model. However, predictive performance can be affected if defects and inconsistencies between these data sources are ignored. For a set of commonly used data sources, along with the software that queries and outputs processed data, we identify their defects and inconsistencies, quantify their extent, and show how they can affect predictions from data-driven machine-learning forecasting models. We also outline procedures for fixing these issues or at least mitigating their impacts. Finally, based on thorough comparisons of the effects of data sources on the trained forecasting model's predictive skill scores, we offer recommendations for using different data products in operational forecasting.

Introduction

Solar flare forecasting is essential for safeguarding critical infrastructure, such as satellites and power grids. While machine learning (ML) has become the primary tool for these predictions, researchers often treat data from sources like the Space Weather Prediction Center (SWPC) as "plug-and-play" without accounting for underlying inconsistencies. A significant gap exists between operational data used in real-time and science-quality data reprocessed for accuracy. These sources frequently disagree on flare intensity, timing, and location. If an ML model is trained on biased or inconsistent data, its real-world performance—particularly across different phases of the 11-year solar cycle—becomes unreliable. This study maps these "data traps" and provides a reproducible pipeline to mitigate their impact.

Methodology and Data Integration

The researchers conducted a rigorous data audit and benchmarking study. They compared three major flare lists: SWPC-FTP (operational), NCEI Science-Quality, and the SolarSoft/SSW catalog. A key challenge identified was that science-quality data often lacks "Active Region" (AR) numbers, which are necessary to link a flare to the magnetic predictor data. To address this, the authors developed a spatial augmentation method to match flare coordinates to AR locations using Euclidean distance.

Overview of the solar flare forecasting pipeline using multi-modal predictors for binary classification and regression.

The forecasting models utilized two main types of predictors:

  • SHARP Parameters: Summary statistics of solar magnetic fields (Definitive vs. Near-Real-Time versions).
  • SDO/AIA & HMI Images: Multi-wavelength solar imagery.

Two model architectures were benchmarked: a Deep Learning LSTM (Long Short-Term Memory) network and a Logistic Regression baseline.

Data Discrepancies and the "Information Loss" Paradox

A major finding is the 0.7 scaling bias in operational data. Before December 2019, SWPC applied a 0.7 scaling factor to X-ray flux for backward compatibility. While science-quality data removes this, the popular SSW catalog often inherits it, leading to a ~42% difference in the threshold for "M-class" flares.

Furthermore, the study highlights an "Information Loss" paradox. While science-quality data is more accurate, the lack of AR numbers in standard logs means nearly 28% of flares cannot be linked to predictors. This loss of training data can cause models trained on "cleaner" science data to underperform compared to those trained on "dirtier" but more complete operational data.

Cumulative flare intensity over time across different catalogs, illustrating the significant data loss when Active Region (AR) metadata is missing.

Experimental Results

The impact of data quality varies with the solar cycle. During the solar minimum (2020–2021), models trained on operational labels (SWPC-FTP) significantly outperformed those using science labels, achieving a True Skill Statistic (TSS) of 0.37 vs. 0.15 for Logistic Regression. This underscores how missing metadata in "clean" science data can cripple model performance.

Other key observations include:

  • Model Robustness: LSTMs proved more stable than Logistic Regression across various forecasting windows (6, 12, and 24 hours), showing better resilience to label and predictor variations.
  • Limb Effects: Data quality degrades near the solar disk's edge (the limb), where images become blurry and skewed, introducing noise that many models fail to filter.
  • NRT vs. Definitive Features: Near-Real-Time (NRT) magnetic data is noisier than "Definitive" data available a week later, leading to higher performance variability in models trained on NRT data.

Conclusion

The study demonstrates that data defects in solar flare catalogs are not merely academic concerns but have tangible impacts on ML model performance. Even with spatial augmentation, a persistent "dark spot" remains where 28% of science-quality flares lack AR numbers.

The authors recommend moving toward continuous regression (predicting exact X-ray flux) rather than binary classification to avoid arbitrary class boundaries sensitive to scaling inconsistencies. Adopting a reproducible data-processing pipeline is crucial for the community to ensure fair comparisons and more reliable operational forecasting.

Summary updated

Abstract

Machine learning models for forecasting solar flares have been trained and evaluated using a variety of data sources, including Space Weather Prediction Center (SWPC) operational and science-quality data. Typically, data from these sources is minimally processed before being used to train and validate a forecasting model. However, predictive performance can be affected if defects and inconsistencies between these data sources are ignored. For a set of commonly used data sources, along with the software that queries and outputs processed data, we identify their defects and inconsistencies, quantify their extent, and show how they can affect predictions from data-driven machine-learning forecasting models. We also outline procedures for fixing these issues or at least mitigating their impacts. Finally, based on thorough comparisons of the effects of data sources on the trained forecasting model's predictive skill scores, we offer recommendations for using different data products in operational forecasting.
BibTeX
@misc{hu2025defects,
  author = {Ke Hu and Kevin Jin and V. K. Verma and Weihao Liu and W. B. Manchester and Lulu Zhao and T. I. Gombosi and Yang Chen},
  title = {{Defects and Inconsistencies in Solar Flare Data Sources: Implications for Machine Learning Forecasting}},
  year = {2025},
  eprint = {2512.13417},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2512.13417},
  howpublished = {arXiv},
}

Loading related content...

Figure