Abstract
Seismic monitoring is critical for earthquake early warning and public safety, yet developing universal models remains challenging due to the heterogeneity of seismic data. We present SeisMoLLM, the first foundation model for seismic monitoring that leverages cross-modal transfer from a pre-trained Large Language Model (GPT-2). By "reprogramming" the LLM to process seismic waveforms as sequences, SeisMoLLM achieves state-of-the-art performance across five key monitoring tasks: phase picking, back-azimuth estimation, epicentral distance, magnitude estimation, and first-motion polarity. Our results demonstrate that SeisMoLLM not only provides superior accuracy but also maintains high inference speeds and exceptional few-shot generalization capabilities.
Introduction
Real-time detection and analysis of earthquakes are vital for mitigating seismic risk. While deep learning has significantly advanced the field, existing models are typically "specialists" optimized for single tasks and require extensive labeled datasets. The development of a "foundation model" for seismology is hindered by the diversity of sensor types, sampling rates, and geological conditions. SeisMoLLM addresses this by investigating whether the sequence-modeling capabilities of Large Language Models (LLMs), trained on vast text corpora, can be effectively transferred to seismic waveforms.
Methodology
SeisMoLLM treats seismic waveforms as a sequence of tokens, analogous to words in natural language. The architecture is designed to bridge the gap between continuous seismic signals and the discrete-like sequence processing of an LLM.
The framework consists of four primary components:
- Multi-Scale Convolutional Embedder: This module extracts local, fine-grained features from raw waveforms at multiple scales, ensuring that both high-frequency arrivals and lower-frequency trends are captured.
- Latent Patching: To optimize computational efficiency, the model aggregates convolutional features into shorter sequences. This reduces the input length by a factor of 64, allowing the model to handle long seismic traces effectively.
- Pre-trained LLM Backbone: A frozen GPT-2 (12-layer version) serves as the core sequence model. The researchers employ Low-Rank Adaptation (LoRA) to fine-tune approximately 10% of the parameters, enabling the model to adapt to the seismic domain while preserving its inherent sequence-modeling priors.
- Task-Specific Output Heads: Simple linear layers are appended to the backbone to perform regression and classification for the five target monitoring tasks.
Datasets and Evaluation
The model was rigorously evaluated on two large-scale benchmarks:
- STEAD (Stanford Earthquake Data Set): Contains over 1 million global earthquake waveforms recorded at 100 Hz.
- DiTing: Comprises 2.7 million waveforms from China, recorded at 50 Hz, characterized by a higher prevalence of low signal-to-noise ratio data.
Results and Discussion
SeisMoLLM demonstrated exceptional performance, achieving the best results in 36 out of 43 evaluated metrics across both datasets.
Performance Highlights
- Location and Direction: In back-azimuth estimation—a notoriously difficult task from single-station data—SeisMoLLM reduced the Mean Absolute Error (MAE) by 53% on the STEAD dataset compared to previous state-of-the-art models.
- Magnitude Estimation: The model achieved high reliability in energy estimation, with R² values ranging between 0.93 and 0.95.
- Efficiency and Speed: Despite the complexity of the LLM backbone, the latent patching approach allows SeisMoLLM to achieve inference times of 7–8 milliseconds per trace. This represents a 1.5x to 3.8x speedup over many specialized, lightweight architectures.
- Few-Shot Generalization: SeisMoLLM exhibits remarkable data efficiency. When trained on only 10% of the available data, it still outperformed several baseline models trained on the full datasets.
Conclusion
SeisMoLLM proves that pre-trained LLMs possess a "universal" sequence prior that can be successfully repurposed for seismic monitoring. While the model excels at regression tasks, future work will focus on improving dense prediction tasks like phase picking, which currently face resolution bottlenecks due to the patching mechanism. The success of this cross-modal transfer suggests a promising path forward for developing multi-modal foundation models in the geosciences.
Summary updated