TL;DR
SeisLM is a self-supervised foundation model for raw seismic waveforms that adapts the masked contrastive learning approach of Wav2Vec 2.0 to seismology. By pretraining on millions of unlabeled continuous waveforms, SeisLM learns general representations of Earth vibrations that transfer remarkably well to downstream seismological tasks—consistently outperforming supervised baselines, especially when labeled data is scarce.
What Problem Does This Paper Address?
Seismology is sitting on petabytes of openly available, recorded ground-motion data from global seismic station networks. However, most machine-learning efforts in the domain still rely on narrow, hand-labeled datasets for supervised tasks like earthquake detection and arrival phase picking. While recent works attempted foundation-style models for seismology, they still required event labels or relied on seismic imaging rather than continuous time series.
SeisLM bridges this gap by bringing true self-supervised learning—the paradigm behind BERT, GPT, and Wav2Vec 2.0—to raw, single-station, 3-component seismic time series, unlocking the vast ocean of unannotated waveform data.
Methods
SeisLM adapts an encoder-only masked reconstruction pipeline heavily inspired by audio modeling (specifically Wav2Vec 2.0):
- 1D ConvNet Downsampler: Takes 3-channel waveforms (East–West, North–South, Up–Down normalized to 100 Hz), filters high-frequency noise, and downsamples sequence length to lower the computational complexity of self-attention.
- Vector Quantization (VQ): Continuous convolutional features are discretized into discrete latent targets using Gumbel-Softmax vector quantization over codebooks. To mitigate initial training collapse and codebook underutilization, the authors apply a dimension-corrected temperature re-parameterization ($\tau := \tau' \sqrt{n_q}$).
- Masked Transformer Encoder: Random spans of convolutional features (6.5% starting probability, 10 consecutive time steps) are replaced with a learnable mask token. A pre-norm Transformer encoder processes the unmasked and masked sequence with grouped convolutional relative position embeddings.
- Contrastive & Diversity Objectives: The model is trained via an InfoNCE-style contrastive loss, maximizing cosine similarity between the Transformer’s contextual output at masked steps and the corresponding quantized representation against $K=100$ negative distractors, combined with a codevector entropy/diversity loss.
- Model Variants: Two sizes are evaluated—SeisLM-base (6 blocks, 11.4M parameters) and SeisLM-large (12 blocks, 90.7M parameters).
Datasets
- Pretraining: Combined unannotated training splits of eight open-source datasets accessible via the SeisBench framework: ETHZ, INSTANCE, Iquique, STEAD, GEOFON, MLAAPDE, PNW, and OBST2024 (over 4.7 million traces spanning regional, teleseismic, and ocean-bottom stations).
- Finetuning & Downstream Evaluation:
- Phase-Picking Benchmark: Evaluated on ETHZ (low-data: ~22k traces), GEOFON (medium: ~161k traces), and STEAD (high-data: >1M traces) across three tasks: event detection, phase identification (P- vs. S-waves), and onset arrival regression.
- Foreshock–Aftershock Classification: A 9-class temporal sequence classification task using recordings from the NRCA station around the 2016 $M_w$ 6.5 Norcia mainshock in central Italy.
Key Insights and Ideas
- Emergent Waveform Semantics Without Labels: A 2D t-SNE projection of averaged trace embeddings shows that self-supervised pretraining naturally organizes the latent space into distinct clusters of earthquakes vs. background noise without ever seeing a single label.
- Extreme Data Efficiency: The pretraining advantage is most dramatic in low-data regimes. Fine-tuning SeisLM on only 5% of labeled data often matches or exceeds baseline models trained on significantly larger portions of the dataset.
- Temporal Coherence in Errors: When classifying foreshock/aftershock phases, SeisLM's confusion matrix errors primarily scatter along neighboring temporal bins (e.g., confusing FEQ2 with FEQ3), demonstrating that the model learns continuous physical fault evolution rather than random spurious correlations.
Key Results
- Phase Picking & Detection: Pretrained SeisLM consistently beat the supervised benchmark standard, PhaseNet, in Area Under the Curve (AUC) for event detection and phase identification, as well as Root Mean Square Error (RMSE) for onset time regression. The gap widened dramatically when using smaller subsets (5%–20%) of training data.
- Foreshock–Aftershock Classification:
- Baseline 7-layer ConvNet: 58.33% accuracy
- SeisLM-base: 65.11% accuracy
- SeisLM-large: 74.22% accuracy (a ~16% absolute accuracy improvement).
Limitations and Future Work
- Single-Station Assumption: The current architecture models single-station waveforms in isolation, ignoring multi-station network array correlations critical to seismological localization and catalog generation.
- Pre-selection Bias: Pretraining data consisted of curated snippets (containing higher ratios of earthquakes and interesting signals than raw continuous recording streams).
- Lack of Scaling Laws: The authors note that compute-optimal scaling laws (like Chinchilla in NLP) are yet to be discovered for seismic waveform foundation models.
Summary updated