Earthquake Early Warning (EEW) systems are crucial in reducing the dangers associated with earthquakes. This paper delves into the realm of EEWs, focusing on rapidly determining earthquake magnitudes (EMs). Traditional methods for swift magnitude categorization often grapple with challenges such as data disparity and cumbersome processes. Our research introduces an innovative EEW model, employing a 7-second seismic waveform record from three different components provided by the China Earthquake Network Center (CENC). This empirical, quantitative study pioneers a method combining dilated convolutional techniques with a novel mutual learningbased artificial bee colony (ML-ABC) algorithm and reinforcement learning (RL) for EM classification. The proposed model utilizes an ensemble of convolutional neural networks (CNNs) to simultaneously extract feature vectors from input images, which are then amalgamated for classification. To address the imbalances in the dataset, we implement an RLbased algorithm, conceptualizing the training process as a series of decisions with individual samples representing distinct states.
Within this framework, the network operates as an agent, receiving rewards or penalties based on its precision in distinguishing between the minority and majority classes.A key innovation in our approach is the initial weight pre-training using the ML-ABC method. This technique dynamically optimizes the "food source" for candidates, integrating mutual learning elements related to the initial weights. Extensive experiments were carried out on the selected dataset to ascertain the most effective parameter values, including the reward function. The findings demonstrate the superiority of our proposed model over other evaluated methods, highlighting its potential as a robust tool for EM classification in seismology. This research provides valuable insights for both seismologists and developers of EEW systems, offering a novel, efficient approach to earthquake magnitude determination.