Skip to main content
QUICK REVIEW

[Paper Review] SeisLM: a Foundation Model for Seismic Waveforms

Tianlin Liu, Jannes Münchmeyer|arXiv (Cornell University)|Oct 21, 2024
Seismology and Earthquake StudiesComputer Science3 citations
TL;DR

SeisLM is a self-supervised foundation model for seismic waveforms, pre-trained on unlabeled global earthquake data using a contrastive loss, enabling it to learn generalizable seismic features. When fine-tuned, it outperforms task-specific models across multiple seismological tasks—especially in low-data regimes—demonstrating the power of self-supervised pretraining for seismic data analysis.

ABSTRACT

We introduce the Seismic Language Model (SeisLM), a foundational model designed to analyze seismic waveforms -- signals generated by Earth's vibrations such as the ones originating from earthquakes. SeisLM is pretrained on a large collection of open-source seismic datasets using a self-supervised contrastive loss, akin to BERT in language modeling. This approach allows the model to learn general seismic waveform patterns from unlabeled data without being tied to specific downstream tasks. When fine-tuned, SeisLM excels in seismological tasks like event detection, phase-picking, onset time regression, and foreshock-aftershock classification. The code has been made publicly available on https://github.com/liutianlin0121/seisLM.

Motivation & Objective

  • To develop a general-purpose foundation model for seismic waveforms that leverages large-scale unlabeled data, similar to BERT in NLP.
  • To overcome the limitations of task-specific models that rely heavily on labeled datasets, which are expensive and time-consuming to produce.
  • To explore whether self-supervised pretraining on massive unlabeled seismic datasets can yield features that generalize across diverse seismological tasks.
  • To evaluate the model's performance on downstream tasks such as event detection, phase picking, onset time regression, and foreshock–aftershock classification.
  • To demonstrate that pretraining on unlabeled data significantly improves performance, especially when labeled data is scarce.

Proposed method

  • Pretrain a transformer-based encoder-only architecture (SeisLM) on a large collection of open-source, unlabeled seismic waveforms using a contrastive self-supervised learning objective.
  • Use a contrastive loss function similar to Wav2Vec2 and BERT, which encourages the model to learn meaningful representations by contrasting positive and negative pairs of waveform segments.
  • Fine-tune the pretrained SeisLM on downstream tasks by adding task-specific heads (e.g., classification or regression heads) on top of the frozen or partially fine-tuned encoder.
  • Train the model on multiple datasets including the STEAD dataset and the foreshock–aftershock dataset from the 2016 Norcia earthquake, using standard training and evaluation protocols.
  • Apply data augmentation techniques such as time masking and frequency masking to improve robustness during pretraining.
  • Use global average pooling and a linear head for classification tasks, and regression heads for onset time prediction, with end-to-end fine-tuning.
Figure 1: Illustration of the self-supervised learning of Seismic Language Model (SeisLM). A ConvNet encodes raw 3-channel seismic waveforms from a single station into a feature sequence. The model then follows two paths. In the lower path, we apply random masking to these waveform features before p
Figure 1: Illustration of the self-supervised learning of Seismic Language Model (SeisLM). A ConvNet encodes raw 3-channel seismic waveforms from a single station into a feature sequence. The model then follows two paths. In the lower path, we apply random masking to these waveform features before p

Experimental results

Research questions

  • RQ1Can self-supervised pretraining on large-scale unlabeled seismic waveforms lead to generalizable representations that improve performance across diverse seismological tasks?
  • RQ2How does the performance of SeisLM compare to task-specific models when fine-tuned on downstream tasks like event detection and phase picking?
  • RQ3Does the self-supervised pretraining of SeisLM provide a significant advantage in low-data regimes, where labeled data is limited?
  • RQ4Can the learned features from SeisLM distinguish between noise and earthquake waveforms in an interpretable way?
  • RQ5To what extent can SeisLM detect subtle seismic changes preceding and following major earthquakes, such as in foreshock–aftershock sequences?

Key findings

  • SeisLM achieves state-of-the-art performance on event detection, phase picking, and onset time regression tasks, outperforming task-specific models when fine-tuned on limited labeled data.
  • The model’s self-supervised features clearly group into distinct clusters for noise and earthquake waveforms, indicating interpretable and meaningful representation learning.
  • Pretrained SeisLM models achieve near-perfect performance on the STEAD dataset when sufficient labeled data is available, but the performance gap over randomly initialized models is most pronounced in low-data regimes.
  • On the phase identification task, SeisLM-large outperforms SeisLM-base, and both significantly surpass randomly initialized models, especially in low-data scenarios.
  • In foreshock–aftershock classification, SeisLM’s fine-tuned model achieves higher accuracy than the baseline 7-layer ConvNet, with confusion matrices showing that errors are temporally proximate, suggesting consistent temporal modeling.
  • The results support the hypothesis that seismic waveforms contain detectable changes in fault or source properties before and after major earthquakes, which SeisLM can effectively capture.
Figure 2: Pretraining loss of SeisLM.
Figure 2: Pretraining loss of SeisLM.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.