Comparative Analysis of Machine Learning Models for Earthquake Prediction: Evaluating LSTM and Logistic Regression Using Seismic and Metadata Features
Abstract
Being able to predict an earthquake in advance ensures that meaningful steps are taken to mitigate a disaster and manage its impacts on human life and infrastructure. The aim of this research is to utilize machine learning algorithms to fully automate the detection of early signs of a potential earthquake using real-time streaming data for seismic analysis. The study compares the performance of modern deep learning techniques (LSTM, CNN) with that of older, more established statistical techniques like Logistic regression, KNN, and Decision trees for the prediction of seismic activities. Unlike the traditional method which relies only on primary wave signals as the sole input, it integrates associated earthquake metadata to enhance forecast precision and expedite alarm issuance. Also included in this work is an automated alert system that has the capability to autonomously and instantly generate messages and dispatch them through a specified communication port, thereby guaranteeing that sensitive populations are alerted in a timely and effective manner. The experiments illustrate that machine learning techniques are capable of accurately detecting the signatures of seismic activity and providing prompt reliable warnings. This research also highlights the importance of integrating artificial intelligence-based prediction models to disaster management systems to improve the level of response to emergencies. The emerging data-driven systems for issuing early warning alerts can enhance earthquake prediction and disaster management, thus improving the current position of technology. This research proves its feasibility.
References
R. Allen and A. Stogaitis. 2022. The Growth of Earthquake Early Warning Systems. Science (2022).
M. H. A. Banna, M. M. Islam, M. N. B. Bhuiyan, and M. M. H. Bhuiyan. 2020. Application of Artificial Intelligence in Predicting Earthquakes: State-of-the-Art and Future Challenges. IEEE Access 8 (2020), 192881–192900.
A. Amiran, A. Nikoohemat, M. Heydari, and A. Ghaffarianhoseini. 2024. AI-Based Model for Site-Selecting Earthquake Emergency Shelters. Scientific Reports (2024).
N. L. Rane, P. C. Patil, and P. R. Patil. 2024. Artificial Intelligence for Enhancing Resilience. Journal of Artificial Intelligence 5, 2 (2024), 1–33.
S. A. Kumar, A. Kumar, A. Dhanraj, and A. Thakur. 2021. Earthquake Prediction using Machine Learning. International Research Journal of Engineering and Technology (IRJET) 8, 5 (May 2021), 3105–3110.
Jing Jia and Wenjie Ye. 2023. Deep learning for earthquake disaster assessment: objects, data, models, stages, challenges, and opportunities. Remote Sensing 15, 16 (2023), 4098.
Shiya Mer, Shatakshi Saxena, and Arun Singh Pundir. 2024. Unveiling Earthquake Dynamics: A Comprehensive Data Analytics and LSTM-Based Prediction Model for Enhanced Seismic Forecasting. In Proceedings of the 2024 IEEE 5th India Council International Subsections Conference (INDISCON). IEEE, 1–6.
A. Berhich, F. Z. Belouadha, and M. I. Kabbaj. 2021. LSTM-based earthquake prediction: enhanced time feature and data representation. International Journal of High Performance Systems Architecture 10, 1 (2021), 1–11.
H. Mai. 2023. Developing Deep Learning Tools in Earthquake Detection and Phase Picking. Doctoral dissertation, Université d'Ottawa/University of Ottawa.
T. Rohith. 2024. Prediction of big earthquake excitations using logistic regression and comparison with K-nearest neighbour. In Proceedings of the AIP Conference 3193, 1. AIP Publishing.
Y. Pouresmaeil, S. Afroogh, and J. Jiao. 2025. Mapping out AI Functions in Intelligent Disaster Management and AI-Caused Disasters. arXiv preprint arXiv:2502.16644.
Mustafa Abdul Salam, Lobna Ibrahim, and Diaa Salama Abdelminaam. 2021. Earthquake prediction using hybrid machine learning techniques. International Journal of Advanced Computer Science and Applications 12, 5 (2021), 654–665.
R. M. Wu, N. Shafiabady, H. Zhang, H. Lu, E. Gide, J. Liu, and C. F. B. Charbonnier. 2024. Comparative study of ten machine learning algorithms for short-term forecasting in gas warning systems. Scientific Reports 14, 1 (2024), 21969.
W.-Y. Liao, E.-J. Lee, D.-Y. Chen, P. Chen, D. Mu, and Y.-M. Wu. 2022. RED-PAN: Real-Time Earthquake Detection and Phase-Picking with Multitask Attention Network. IEEE Transactions on Geoscience and Remote Sensing 60 (2022), 1–13.
T. J. Roy, M. A. Mahmood, and D. Roy. 2021. A Machine Learning Model to Predict Earthquake Utilizing Neural Network.
O. Peña-Cáceres, A. Tavara-Ramos, T. Correa-Calle, and M. More-More. 2024. WhatsApp-Based Cloud Service Chatbot Application for Emergencies or Disasters. Journal of Advances in Information Technology (JAIT) 15, 3 (2024), 435–445.
O. Peña-Cáceres, A. Tavara-Ramos, T. Correa-Calle, and M. More-More. 2024. Integral Chatbot Solution for Efficient Incident Management and Emergency or Disaster Response: Optimizing Communication and Coordination. TEM Journal 13, 1 (Feb. 2024), 50–61.
G. Airlangga. 2025. Machine Learning for Tsunami Prediction: A Comparative Analysis of Ensemble and Deep Learning Models. Kesatria: Jurnal Penerapan Sistem Informasi (Komputer dan Manajemen) 6, 1 (2025), 302–311.
J. Bayless and N. A. Abrahamson. 2019. Summary of the BA18 Ground-Motion Model for Fourier Amplitude Spectra for Crustal Earthquakes in California. Bulletin of the Seismological Society of America 109, 5 (2019), 2088–2105.
R. Allen and A. Stogaitis. 2022. The Growth of Earthquake Early Warning Systems. Science (2022).
Downloads
Published
Issue
Section
License
Copyright (c) 2025 International Journal of Sustainable Development Through AI, ML and IoT

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.