{"title":"Earthquake Magnitude Detection: Leveraging Machine Learning with Metaheuristics for Feature Selection and Dimensionality Reduction","authors":"Rishita Dhulipalla, Shweta Vincent","doi":"10.1016/j.rines.2025.100145","DOIUrl":null,"url":null,"abstract":"<div><div>The rapid and accurate estimation of earthquake magnitude is a cornerstone of effective early warning and hazard mitigation strategies. This study systematically evaluates the efficacy—Particle Swarm Optimization (PSO), Grey Wolf Optimizer (GWO), and Whale Optimization Algorithm (WOA)—as feature selection wrappers for improving earthquake magnitude prediction. Four distinct ML models were benchmarked: Random Forest (RF), Light Gradient Boosting Machine (LightGBM), Support Vector Machine (SVM), and Decision Tree (DT). These models were trained and evaluated on a seismic dataset comprising 1000 events characterized by 598 features. Model performance was rigorously assessed using Mean Squared Error (MSE), Mean Absolute Error (MAE), the Coefficient of Determination (<span><math><msup><mrow><mi>R</mi></mrow><mrow><mn>2</mn></mrow></msup></math></span>), feature reduction rates, and total execution time. The results demonstrate that integrating a metaheuristic feature selection approach can yield substantial performance gains. The PSO-optimized Random Forest model achieved the best overall performance, with an MSE of 0.0284 and an <span><math><msup><mrow><mi>R</mi></mrow><mrow><mn>2</mn></mrow></msup></math></span> of 0.8547, representing a 23.8 % improvement in MSE over its baseline. Feature selection proved to be a critical enabler for the SVM, transforming it from a non-performing model (<span><math><msup><mrow><mi>R</mi></mrow><mrow><mn>2</mn></mrow></msup></math></span>= −0.1716) into a viable predictor, with the PSO-optimized variant achieving an <span><math><msup><mrow><mi>R</mi></mrow><mrow><mn>2</mn></mrow></msup></math></span> of 0.6517. The findings conclude that a PSO-based feature selection wrapper offers a robust and highly effective method for enhancing the accuracy and computational efficiency of advanced ML models for seismic analysis.</div></div>","PeriodicalId":101084,"journal":{"name":"Results in Earth Sciences","volume":"3 ","pages":"Article 100145"},"PeriodicalIF":0.0000,"publicationDate":"2025-12-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Results in Earth Sciences","FirstCategoryId":"1085","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S2211714825000871","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2025/11/29 0:00:00","PubModel":"Epub","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
The rapid and accurate estimation of earthquake magnitude is a cornerstone of effective early warning and hazard mitigation strategies. This study systematically evaluates the efficacy—Particle Swarm Optimization (PSO), Grey Wolf Optimizer (GWO), and Whale Optimization Algorithm (WOA)—as feature selection wrappers for improving earthquake magnitude prediction. Four distinct ML models were benchmarked: Random Forest (RF), Light Gradient Boosting Machine (LightGBM), Support Vector Machine (SVM), and Decision Tree (DT). These models were trained and evaluated on a seismic dataset comprising 1000 events characterized by 598 features. Model performance was rigorously assessed using Mean Squared Error (MSE), Mean Absolute Error (MAE), the Coefficient of Determination (), feature reduction rates, and total execution time. The results demonstrate that integrating a metaheuristic feature selection approach can yield substantial performance gains. The PSO-optimized Random Forest model achieved the best overall performance, with an MSE of 0.0284 and an of 0.8547, representing a 23.8 % improvement in MSE over its baseline. Feature selection proved to be a critical enabler for the SVM, transforming it from a non-performing model (= −0.1716) into a viable predictor, with the PSO-optimized variant achieving an of 0.6517. The findings conclude that a PSO-based feature selection wrapper offers a robust and highly effective method for enhancing the accuracy and computational efficiency of advanced ML models for seismic analysis.