Abstract The application of machine learning and deep learning, including the wide use of non-ensemble, conventional neural networks (CoNN), for predicting various phenomena has become very popular in recent years thanks to the efficiencies and the abilities of these techniques to find relationships in data without human intervention. However, certain CoNN setups may not work on some datasets, especially if the parameters passed to it, including model parameters and hyperparameters, are arguably arbitrary in nature and need to continuously be updated with the need to retrain the model. This concern can be partially alleviated by employing committees of neural networks that are identical in terms of input features and architectures, initialized randomly, and "vote" on the decisions made by the committees as a whole. Yet, it is possible for the committee members to "agree" on identical sets of weights and biases for all nodes and edges. Members of these committees also cannot be expanded to accommodate new features and entire committees must therefore be retrained in order to do so. We propose the Random Hivemind (RH) approach, which helps to alleviate this concern by having multiple neural network estimators make decisions based on random permutations of features and prescribing a method to determine the weight of the decision of each individual estimator. The effectiveness of RH is demonstrated through experimentation in the predictions of hazardous Solar Energetic Particle (SEP) events by comparing it to that of using both CoNNs and the aforementioned setup of committees. Our results demonstrate that RH, while having a comparable or better performance than the CoNN and a Committee-based approach, demonstrates a lesser score spread for the individual experiments, and shows promising results with respect to capturing almost every single flare instance leading to SEPs.
Introduction
Predicting Solar Energetic Particle (SEP) events is a high-stakes "needle in a haystack" problem. These bursts of radiation from the sun can wreak havoc on satellite electronics, disrupt power grids, and endanger astronauts and airline crews. While deep learning is frequently used for these predictions, standard Conventional Neural Networks (CoNNs) face significant hurdles, primarily due to extreme class imbalance and model rigidity.
In typical solar datasets, SEP events are incredibly rare. Standard models often struggle to learn from such sparse "positive" data, often leading to biased solutions. Furthermore, standard networks are often "black boxes" with arbitrary hyperparameters. If a researcher wishes to add a new data feature, they usually must retrain the entire model from scratch. While "committees" of identical networks offer some improvement, they often converge on identical, suboptimal weights.
Methods: The Random Hivemind Architecture
The researchers introduced the Random Hivemind (RH), an ensemble approach inspired by Random Forests but applied to Deep Learning. The core innovation lies in how the ensemble is constructed and how individual "votes" are aggregated.
Key components of the RH approach include:
- Feature Down-selection: Instead of giving every network in the ensemble all the data, each "member" of the hivemind is assigned a random permutation of features. This forces individual networks to specialize and prevents the ensemble from converging on a single biased view.
- Weighted Consensus: Not all votes are equal. The RH calculates a score for each feature using $\chi^2$ statistics and mutual information gain. A network's vote is then weighted based on the total "importance" of the features it was assigned.
- Dynamic Hyperparameters: The RH automatically adjusts the learning rate and the number of training epochs for each individual estimator based on the importance of its assigned features. This prevents networks with "weak" features from overfitting or dominating the consensus.
Datasets and Feature Space
The study utilized a legacy dataset of solar flare properties derived from the GOES (Geostationary Operational Environmental Satellite) network, covering the period from 2002 to 2017. The dataset included 18,311 solar flares, but only 64 of these resulted in an SEP event—a ratio of roughly 1:285.
Input features included 12 parameters per flare, such as peak X-ray flux, plasma temperature, emission measure, flare duration, and solar disk coordinates. As shown in the feature distributions, SEP events (marked in red) tend to cluster in specific regions of the parameter space (e.g., higher temperatures and peak fluxes), yet they remain heavily outnumbered by non-SEP flares.
Key Results and Insights
The RH v2 model, which utilized a larger set of features, emerged as the clear winner across almost all performance metrics:
- Recall (Sensitivity): RH v2 achieved a median recall of 0.985, meaning it caught nearly 99% of SEP events. For comparison, the standard CoNN achieved 0.949.
- True Skill Score (TSS): RH v2 scored 0.944, significantly outperforming the CoNN’s 0.906. TSS is a critical metric for imbalanced data as it accounts for both hits and false alarms.
- Stability Over Luck: One of the most significant findings was the reduction in "score spread." Standard neural networks can be "lucky" or "unlucky" depending on their random initialization. The RH approach showed much tighter performance clusters across 50 different experiments, making it more dependable for operational use.
By forcing different networks to look at different "views" of the data (feature subsets), the ensemble avoids the trap where all members make the same mistake. This "feature bagging" makes the model much more robust to noise and provides a more reliable "all-clear" forecast.
Limitations and Future Work
The primary limitation is the small sample size of SEP events (only 64). While the results are statistically robust across many trials, the absolute number of events is low, which is a perennial problem in heliophysics. Additionally, while the RH is excellent at catching events (high recall), it still produces a fair number of false alarms—about ten for every one true SEP event. Future work will focus on refining feature selection and exploring different neural architectures within the hivemind to reduce these false positives without sacrificing the near-perfect detection rate.
Summary updated