journal article·2026-01-11Open access

Constructing Artificial Features with Grammatical Evolution for Earthquake Prediction

Constantina Kopitsa, Glykeria Kyrou, Vasileios Charilogis, Ioannis G. Tsoulos

Applied Sciences· Volume 16· Issue 2

Abstract

Earthquakes are the result of the dynamic processes occurring beneath the Earth’s crust; specifically, the movement and interaction of tectonic/lithospheric plates. When one plate shifts relative to another, stress accumulates and is eventually released as seismic energy. This process is continuous and unstoppable. This phenomenon is well recognized in the Mediterranean region, where significant seismic activity arises from the northward convergence (4–10 mm per year) of the African plate relative to the Eurasian plate along a complex plate boundary. Consequently, our research will focus on the Mediterranean region, specifically examining seismic activity from 1990 to 2015 within the latitude range of 33–44° and longitude range of 17–44°. These geographical coordinates encompass 28 seismic zones, with the most active areas being Turkey and Greece. In this paper, we applied Grammatical Evolution for artificial feature construction in earthquake prediction, evaluated against machine learning approaches including MLP(GEN), MLP(PSO), SVM, and NNC. Experiments showed that feature construction (FC) achieved the best performance, with a mean error of 9.05% and overall accuracy of 91%, outperforming SVM. Further analysis revealed that a single constructed feature Nf=1 yielded the lowest average error (8.21%), while varying the number of generations indicated that Ng=200 provided an effective balance between computational cost and predictive accuracy. These findings confirm the efficiency of FC in enhancing earthquake prediction models through artificial feature construction. Our results, as will be discussed in greater detail within the research, yield an average error of approximately 9%, corresponding to an overall accuracy of 91%.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Earthquake Detection and Analysis · earthquake and tectonic studies · Seismology and Earthquake Studies

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Department of Informatics and Telecommunications, University of Ioannina, 45500 Ioannina, Greece

Funding

European Union

References (100+)

Show source-provided references
1. United Nations Office for Disaster Risk Reduction (UNDRR) (2026, January 07). Sendai Framework Terminology on Disaster Risk Reduction. Resilience. Available online: https://www.undrr.org/drr-glossary/terminology.
2. Nakamura, Y. (1984). Development of Earthquake Early-Warning System for the Shinkansen, Some Recent Earthquake Engineering Research and Practice in Japan, The Japanese National Committee of the International Association for Earthquake Engineering.
3. Nakamura, Y. (1988, January 2–9). On the urgent earthquake detection and alarm system (UrEDAS). Proceedings of the 9th World Conference on Earthquake Engineering, Tokyo, Japan.
4. Mexico City seismic alert system10.1785/gssrl.66.6.42 ↗
5. Earthquake early warning in Japan: Warning the general public and future prospects10.1785/gssrl.80.5.717 ↗
6. (2025, November 14). Earthquake Early Warning System (Japan). Wikipedia, Available online: https://en.wikipedia.org/wiki/Earthquake_Early_Warning_(Japan).
7. An early warning system for Bucharest10.1785/gssrl.70.2.161 ↗
8. Alcik, H., Ozel, O., Apaydin, N., and Erdik, M. (2009). A study on warning algorithms for Istanbul earthquake early warning system. Geophys. Res. Lett., 36.10.1029/2008GL036659 ↗
9. Satriano, C., Elia, L., Martino, C., Lancieri, M., Zollo, A., and Iannaccone, G. (2009, January 14–18). The Earthquake Early Warning System for Southern Italy: Concepts, Capabilities and Future Perspectives. Proceedings of the AGU Fall Meeting Abstracts, San Francisco, CA, USA.
10. ShakeAlert (2025, November 15). US Geological Survey, Earthquake Hazards Program, Available online: https://earthquake.usgs.gov/data/shakealert/.
11. ShakeAlert (2025, November 15). Earthquake Early Warning (EEW) System. Available online: https://www.shakealert.org/.
12. Zollo, A., Festa, G., Emolo, A., and Colombelli, S. (2015). Source characterization for earthquake early warning. Encyclopedia of Earthquake Engineering, Springer.10.1007/978-3-642-35344-4_244 ↗
13. Kopitsa, C., Tsoulos, I.G., and Charilogis, V. (2025). Predicting the Magnitude of Earthquakes Using Grammatical Evolution. Algorithms, 18.10.3390/a18070405 ↗
14. (2025, November 16). Earthquake App. Available online: https://earthquake.app/#banner_1.
15. (2025, November 16). Android Earthquake Alert System. Available online: https://crisisresponse.google/android-early-earthquake-warnings.
16. (2025, November 16). Greece Earthquakes. Available online: https://play.google.com/store/apps/details?id=com.greek.Earthquake&pli=1.
17. (2025, November 16). Earthquake Network. Available online: https://sismo.app/.
18. Generation of artificial earthquakes10.1061/JMCEA3.0000448 ↗
19. A probabilistic neural network for earthquake magnitude prediction10.1016/j.neunet.2009.05.003 ↗
20. A seismic-based feature extraction algorithm for robust ground target classification10.1109/LSP.2012.2209870 ↗
21. Determining the best set of seismicity indicators to predict earthquakes. Two case studies: Chile and the Iberian Peninsula10.1016/j.knosys.2013.06.011 ↗
22. Schmidt, L., Hegde, C., Indyk, P., Lu, L., Chi, X., and Hohl, D. (2015, January 19–24). Seismic feature extraction using Steiner tree methods. Proceedings of the 2015 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), Brisbane, Australia.10.1109/ICASSP.2015.7178250 ↗
23. A BP artificial neural network model for earthquake magnitude prediction in Himalayas, India10.4236/cs.2016.711294 ↗
24. A sensitivity study of seismicity indicators in supervised learning to improve earthquake prediction10.1016/j.knosys.2016.02.014 ↗
25. Asim, K.M., Idris, A., Iqbal, T., and Martínez-Álvarez, F. (2018). Earthquake prediction model using support vector regressor and hybrid neural networks. PLoS ONE, 13.10.1371/journal.pone.0199004 ↗
26. Detecting real earthquakes using artificial earthquakes: On the use of synthetic waveforms in matched-filter earthquake detection10.1029/2018GL079872 ↗
27. Okada, A., and Kaneda, Y. (2018, January 19–21). Neural network learning: Crustal state estimation method from time-series data. Proceedings of the 2018 International Conference on Control, Artificial Intelligence, Robotics Optimization (ICCAIRO), Prague, Czech Republic.10.1109/ICCAIRO.2018.00031 ↗
28. Determining neuronal number in each hidden layer using earthquake catalogues as training data in training an embedded back propagation neural network for predicting earthquake magnitude10.1109/ACCESS.2018.2870189 ↗
29. Precursory pattern based feature extraction techniques for earthquake prediction10.1109/ACCESS.2019.2902224 ↗
30. Artificial neural networks as emerging tools for earthquake detection
31. Continuous wavelet transformation of seismic data for feature extraction10.1007/s42452-020-03618-w ↗
32. Bamer, F., Thaler, D., Stoffel, M., and Markert, B. (2021). A monte carlo simulation approach in non-linear structural dynamics using convolutional neural networks. Front. Built Environ., 7.10.3389/fbuil.2021.679488 ↗
33. Using artificial intelligence methods to classify different seismic events
34. An automated earthquake classification model based on a new butterfly pattern using seismic signals10.1016/j.eswa.2023.122079 ↗
35. Sinha, D.K., and Kulkarni, S. (2025, January 6–7). Advancing Seismic Prediction through Machine Learning: A Comprehensive Review of the Transformative Impact of Feature Engineering. Proceedings of the 2025 International Conference on Emerging Trends in Industry 4.0 Technologies (ICETI4T), Navi Mumbai, India.10.1109/ICETI4T63625.2025.11132281 ↗
36. Machine Learning-Based Earthquake Prediction: Feature Engineering and Model Performance Using Synthetic Seismic Data
37. Grammatical evolution
38. Kramer, O. (2017). Genetic algorithms. Genetic Algorithm Essentials, Springer International Publishing.10.1007/978-3-319-52156-5 ↗
39. Backus, J.W. (1959). The Syntax and the Semantics of the Proposed International Algebraic Language of the Zurich ACM-GAMM Conference, International Business Machines Corp.
40. Ryan, C., Collins, J.J., and Neill, M.O. (1998, January 14–15). Grammatical evolution: Evolving programs for an arbitrary language. Proceedings of the European Conference on Genetic Programming, Paris, France.10.1007/BFb0055930 ↗
41. O’Neill, M., and Ryan, C. (1999, January 26–27). Evolving multi-line compilable C programs. Proceedings of the European Conference on Genetic Programming, Göteborg, Sweden.10.1007/3-540-48885-5_7 ↗
42. Brabazon, A., and O’Neill, M. (2006). Credit classification using grammatical evolution. Informatica, 30.
43. Şen, S., and Clark, J.A. (2009, January 16–19). A grammatical evolution approach to intrusion detection on mobile ad hoc networks. Proceedings of the Second ACM Conference on Wireless Network Security, Zurich, Switzerland.10.1145/1514274.1514289 ↗
44. Improvement of remote monitoring on water quality in a subtropical reservoir by incorporating grammatical evolution with parallel genetic algorithms into satellite imagery10.1016/j.watres.2007.07.014 ↗
45. Modeling glycemia in humans by means of grammatical evolution10.1016/j.asoc.2013.11.006 ↗
46. Tavares, J., and Pereira, F.B. (2012, January 11–13). Automatic design of ant algorithms with grammatical evolution. Proceedings of the European Conference on Genetic Programming, Malaga, Spain.10.1007/978-3-642-29139-5_18 ↗
47. Runtime data center temperature prediction using grammatical evolution techniques10.1016/j.asoc.2016.07.042 ↗
48. Grammatical evolution: Solving trigonometric identities
49. de la Puente, A.O., Alfonso, R.S., and Moreno, M.A. (2002, January 22–25). Automatic composition of music by means of grammatical evolution. Proceedings of the 2002 Conference on APL: Array Processing Languages: Lore, Problems, and Applications, Madrid, Spain.10.1145/602231.602249 ↗
50. Optimization of neural networks through grammatical evolution and a genetic algorithm10.1016/j.eswa.2016.03.012 ↗
51. Modular grammatical evolution for the generation of artificial neural networks10.1162/evco_a_00302 ↗
52. Constant creation in grammatical evolution10.1504/IJICA.2007.013399 ↗
53. Galván-López, E., Swafford, J.M., O’Neill, M., and Brabazon, A. (2010, January 7–9). Evolving a ms. pacman controller using grammatical evolution. Proceedings of the European Conference on the Applications of Evolutionary Computation, Istanbul, Turkey.10.1007/978-3-642-12239-2_17 ↗
54. Shaker, N., Nicolau, M., Yannakakis, G.N., Togelius, J., and O’neill, M. (2012, January 11–14). Evolving levels for super mario bros using grammatical evolution. Proceedings of the 2012 IEEE Conference on Computational Intelligence and Games (CIG), Granada, Spain.10.1109/CIG.2012.6374170 ↗
55. Particle swarm grammatical evolution for energy demand estimation10.1002/ese3.568 ↗
56. Grammatical evolution hyper-heuristic for combinatorial optimization problems10.1109/TEVC.2013.2281527 ↗
57. Design of a cryptographically secure pseudo random number generator with grammatical evolution10.1038/s41598-022-11613-x ↗
58. Multi-objective grammatical evolution of decision trees for mobile marketing user conversion prediction10.1016/j.eswa.2020.114287 ↗
59. Automatic design of analog electronic circuits using grammatical evolution10.1016/j.asoc.2017.09.036 ↗
60. Tsoulos, I.G., Tzallas, A., and Karvounis, E. (2023). Constructing the Bounds for Neural Network Training Using Grammatical Evolution. Computers, 12.10.20944/preprints202310.0274.v1 ↗
61. RbfCon: Construct Radial Basis Function Neural Networks with Grammatical Evolution10.3390/software3040027 ↗
62. Magnitude and energy of earthquakes10.1038/176795a0 ↗
63. Wang, X., Zhong, Z., Yao, Y., Li, Z., Zhou, S., Jiang, C., and Jia, K. (2023). Small Earthquakes Can Help Predict Large Earthquakes: A Machine Learning Perspective. Appl. Sci., 13.10.3390/app13116424 ↗
64. Rapid earthquake magnitude classification using single station data based on the machine learning
65. State-of-the-art in artificial neural network applications: A survey10.1016/j.heliyon.2018.e00938 ↗
66. A Comprehensive Overview of Artificial Neural Networks: Evolution, Architectures, and Applications
67. Optimization of solar systems using artificial neural-networks and genetic algorithms10.1016/S0306-2619(03)00153-3 ↗
68. Neural networks optimization through genetic algorithm searches: A review10.18576/amis/110602 ↗
69. Naturally selecting solutions: The use of genetic algorithms in bioinformatics10.4161/bioe.23041 ↗
70. Medical image segmentation using genetic algorithms10.1109/TITB.2008.2007301 ↗
71. The applications of genetic algorithms in medicine10.5001/omj.2015.82 ↗
72. Application of multi-objective genetic algorithms for optimization of energy, economics and environmental life cycle assessment in oilseed production10.1016/j.jclepro.2016.03.075 ↗
73. Multi-physics coupling model parameter identification of lithium-ion battery based on data driven method and genetic algorithm10.1016/j.energy.2024.134120 ↗
74. Particle swarm optimization algorithm: An overview10.1007/s00500-016-2474-6 ↗
75. A review of particle swarm optimization10.1007/s40031-018-0323-y ↗
76. Meissner, M., Schmuker, M., and Schneider, G. (2006). Optimized Particle Swarm Optimization (OPSO) and its application to artificial neural network training. BMC Bioinform., 7.10.1186/1471-2105-7-125 ↗
77. Designing artificial neural networks using particle swarm optimization algorithms10.1155/2015/369298 ↗
78. Economic optimization of business administration resources: Multi-objective scheduling method based on improved PSO
79. A Markov decision optimization of medical service resources for two-class patient queues in emergency departments via particle swarm optimization algorithm10.1038/s41598-025-86158-w ↗
80. Bio-Digital Catalyst Design: Generative Deep Learning for Multi-Objective Optimization and Chemical Insights in CO2 Methanation10.1021/acscatal.5c02227 ↗
81. Kumar, T.R., Nandhini, T.J., Jumaniyazova, I., Abdulla, H., Jumaniyozov, Y., and Bhatt, V. (2025, January 29–31). Swarm Robotics for Search and Rescue Operations in Disaster Zones Using Particle Swarm Optimization (PSO) Algorithms. Proceedings of the 2025 International Conference on Networks and Cryptology (NETCRYPT), New Delhi, India.10.1109/NETCRYPT65877.2025.11102388 ↗
82. MPSO-CD: A Multi-objective Particle Swarm Optimization Community Detection Method for Identifying Disease Modules10.1109/TCBBIO.2025.3558805 ↗
83. Suthaharan, S. (2016). Support vector machine. Machine Learning Models and Algorithms for Big Data Classification: Thinking with Examples for Effective Learning, Springer.10.1007/978-1-4899-7641-3 ↗
84. Wang, Q. (2022, January 24–26). Support vector machine algorithm in machine learning. Proceedings of the 2022 IEEE International Conference on Artificial Intelligence and Computer Applications (ICAICA), Dalian, China.10.1109/ICAICA54878.2022.9844516 ↗
85. Hybrid technique using singular value decomposition (SVD) and support vector machine (SVM) approach for earthquake prediction10.1109/JSTARS.2014.2321972 ↗
86. Asaly, S., Gottlieb, L.A., Inbar, N., and Reuveni, Y. (2022). Using support vector machine (SVM) with GPS ionospheric TEC estimations to potentially predict earthquake events. Remote Sens., 14.10.3390/rs14122822 ↗
87. The efficacy of support vector machines (SVM) in robust determination of earthquake early warning magnitudes in central Japan10.1007/s12040-013-0346-3 ↗
88. Mahata, K., Sengupta, S., Biswas, M., Ghosh, S., Banerjee, A.K., Pati, S.K., and Mal, C. (2025). Application of Machine Learning in Bioinformatics: Capture and Interpret Biological Data. Machine Learning in Biomedical and Health Informatics, Apple Academic Press.10.1201/9781774919552-13 ↗
89. Manimaran, P., Vignesh, R., Vignesh, B., and Thilak, G. (2025, January 11–13). Enhanced Prediction of Lung Cancer Stages using SVM and Medical Imaging. Proceedings of the 2025 International Conference on Electronics and Renewable Systems (ICEARS), Tuticorin, India.
90. Kazi, K.S.L. (2025). Machine learning-driven internet of medical things (ML-IoMT)-based healthcare monitoring system. Responsible AI for Digital Health and Medical Analytics, IGI Global Scientific Publishing.10.4018/979-8-3693-6294-5.ch003 ↗
91. Support vector machine for prediction of the electronic factors of a Schottky configuration interlaid with pure PVC and doped by Sm2O3 nanoparticles10.1002/aelm.202400624 ↗
92. KPCA-based fault detection and diagnosis model for the chemical and volume control system in nuclear power plants10.1016/j.anucene.2024.110973 ↗
93. Neural network construction and training using grammatical evolution10.1016/j.neucom.2008.01.017 ↗
94. Location of amide I mode of vibration in computed data utilizing constructed neural networks10.1016/j.eswa.2009.04.065 ↗
95. Solving differential equations with constructed neural networks10.1016/j.neucom.2008.12.004 ↗
96. Tsoulos, I.G., Mitsi, G., Stavrakoudis, A., and Papapetropoulos, S. (2019). Application of machine learning in a Parkinson’s disease digital biomarker dataset using neural network construction (NNC) methodology discriminates patient motor status. Front. ICT, 6.10.3389/fict.2019.00010 ↗
97. Performance and early drop prediction for higher education students using machine learning10.1016/j.eswa.2023.120079 ↗
98. Toki, E.I., Pange, J., Tatsis, G., Plachouras, K., and Tsoulos, I.G. (2024). Utilizing Constructed Neural Networks for Autism Screening. Appl. Sci., 14.10.3390/app14073053 ↗
99. Selecting and constructing features using grammatical evolution10.1016/j.patrec.2008.02.007 ↗
100. Novel approach for fetal heart rate classification introducing grammatical evolution10.1016/j.bspc.2007.05.003 ↗