cs.LGSep 26, 2025

Machine learning approaches to seismic event classification in the Ostrava region

Authors: Michael Skotnica, Marek Pecha, Jana Rušajová, Bohdan Rieznikov, Vít Wandrol, Markéta Rösnerová, Jaromír Knejzlík

Organizations: Institute of Geonics of the Czech Academy of Sciences, Ostrava, Czechia · Ullmanna, s.r.o., Opava, Czechia · VˇSB-Technical University of Ostrava, Czechia · Brno University of Technology, Czechia

Abstract

The north-eastern part of the Czech Republic, including the Czech part of the Upper Silesian Coal Basin, is among the most seismically active areas of the country. The seismic stations in the region record mining-induced events, which continue after the cessation of mining, natural earthquakes, which are rare but may originate in the same area, and quarry blasts. A rapid and reliable distinction between the three types is required for the routine evaluation of the continuously recorded data. We study their automatic discrimination with neural networks from short three-component windows starting one second before the P-wave onset. The main data set is the archive of the Seismic Polygon Frenštát (1992--2002), a triggered network whose records were recovered from the original format, cleaned with deterministic and learned quality checks and completed with automatically picked P-wave arrivals; it contains about 40,000 records of all three event types. Among five compared architectures, convolutional networks operating on short-time spectrograms outperform recurrent networks operating on magnitude spectra or on the raw waveform. The best model, EfficientNet-B0 applied to 24-s windows, reaches a macro-averaged F1 score of 0.96, and blasts and natural earthquakes are practically never confused with each other; class weighting and undersampling, the usual remedies for the strong class imbalance, lower the score. Finally, we examine the transfer to the station OKC, which monitors the region today with different instruments. A model trained on the archive alone fails on the modern records, whereas a single model trained on both data sets reaches a macro-F1 score of 0.96 on the archive and 0.92 on the modern station, where the accuracy is limited by the small number of catalogued natural earthquakes rather than by the model.

Figures & tables

Explore similar work

May 10, 2026

Real-Time Earthquake Magnitude Classification from Initial P-Waves: Models, Dataset, and Comparative Analysis for South Asia

Rapid earthquake magnitude estimation is crucial for effective early warning systems that can save lives and reduce economic damage. In this paper, we present a comprehensive study of magnitude classification using only the vertical component of the initial 7-second P-wave window from a single station. We compare six machine learning approaches that range from traditional models to state-of-the-art deep learning architectures. We also curated a novel dataset of 7,318 earthquake events in South Asia. The dataset was categorized into five Richter-scale classes: slight (3.0-3.9), light (4.0-4.9), moderate (5.0-5.9), strong (6.0-6.9) and severe (>= 7.0). Our experiments show that deep learning models substantially outperform traditional approaches. Our Transformer based architecture achieved 76.23% standard accuracy and 81.56% adaptive accuracy with 4.8 ms inference latency. The adaptive-accuracy metric is introduced for the inherent uncertainty in magnitude estimation of near class boundaries. These results indicate that the attention mechanisms in Transformers combined with adaptive classification effectively capture the temporal dynamics of seismic signals. The architectural advantage facilitates promising generalization to rare high-magnitude events, despite the inherent data scarcity characteristic of seismic catalogs. The adaptive accuracy provides a more realistic assessment of model performance, and the result suggests viability for real-time deployment.
Oct 12, 2026

Event-Centric Earthquake Monitoring with a Multi-Station Transformer

Earthquake catalogs underpin studies such as fault structure, earthquake processes and seismic hazard, and their value depends on being both complete and reliable. Machine learning has improved individual tasks of earthquake monitoring, but processing stations independently discards the consistency of arrivals across the network, and running tasks in sequence fragments the information describing each earthquake. We present EQNet2, a geometry-aware multi-station Transformer that jointly predicts phase arrivals, first-motion polarities, source location and magnitude, and the association of arrivals into events. On a Northern California test dataset and on continuous waveforms from Ridgecrest and the San Francisco Bay Area, EQNet2 recovers more weak arrivals, produces fewer false detections, and associates more picks into located events. Its learned attention links information across stations along time--distance patterns consistent with seismic moveout. As seismic networks grow denser, exploiting multi-station coherence and event-centric prediction offers a path to more complete and reliable catalogs.
Oct 27, 2026

Are Seismic Foundation Models More Than Glorified Feature Extractors?

Earthquake sequences are stochastic on two separated timescales: the seismic waves of any individual earthquake propagate over seconds to minutes, while the earthquakes themselves arrive as a sparse, self-exciting occurrence process, with inter-event intervals from seconds to months. Respecting both scales in one training objective is the open challenge. Foundation models (FMs) for seismic waveforms instead import their learning targets from audio and vision, where every target is computed from a single fixed-length window. Such a window holds one realization of the wave propagation (an earthquake trace), never the occurrence process that decides when earthquakes happen. We develop nine model designs sharing one Mamba encoder-decoder, trained on a fixed corpus of 3M windows, varying the self-supervised objective, quantization bottleneck and mixer; the two key comparisons are architecture-matched, varying the objective alone. Each checkpoint is evaluated frozen on three downstream tasks. Varying the target redistributes downstream skill rather than raising it, and no checkpoint wins everywhere. Adding masking pressure to our strongest classifier re-specializes it rather than making it a generalist: it gains 6.9 points of few-shot P-wave picking precision and loses 9.6 points of few-shot classification accuracy. By the standard imported from language and vision, these models are feature extractors rather than FMs. Controls on capacity, architecture, and domain proximity do not explain why skill moves rather than rises. Against task-specific baselines the advantage is regime-dependent: our checkpoints beat them few-shot on classification and ground-motion prediction, and trail them on full data. We argue the binding constraint is the target, and that settling the question requires a learning target defined across events, the timescale that makes seismicity stochastic in the first place.