Abstract: Seismic wave generation creates labeled waveform datasets for source parameter inversion, subsurface analysis, and, notably, training artificial intelligence seismology models. Traditionally, seismic wave generation has been time-consuming, and artificial intelligence methods using Generative Adversarial Networks often struggle with authenticity and stability. This study presents the Seismic Wave Generator, a multi-conditional diffusion model with transformers. Diffusion models generate high-quality, diverse, and stable outputs with robust denoising capabilities. They offer superior theoretical foundations and greater control over the generation process compared to other models. Transformers excel in seismic wave processing by capturing long-range dependencies and spatial-temporal patterns, improving feature extraction and prediction accuracy compared to traditional models. To evaluate the realism of the generated waveforms, we trained downstream models on generated data and compared their performance with models trained on real seismic waveforms. The seismic phase-picking model trained on generative data achieved 99% recall and precision on real seismic waveforms. Furthermore, the magnitude estimation model reduced prediction bias from uneven training data. These findings suggest that diffusion-based generation models can address the challenge of limited regional labeled data and hold promise for bridging gaps in observational data in the future.
Introduction
Modern seismology increasingly relies on Artificial Intelligence (AI) for critical tasks such as phase picking—identifying the arrival of P-waves and S-waves—and earthquake magnitude estimation. However, these AI models require vast amounts of labeled data. A significant challenge arises because the Earth's subsurface velocity structure varies by region; a model trained on Californian data may perform poorly in other geological contexts. When local labeled data is sparse, researchers must simulate it. Traditional physics-based simulations are computationally expensive and require detailed subsurface knowledge. Previous generative AI approaches, like Generative Adversarial Networks (GANs), often suffer from instability and "mode collapse." This paper introduces the Seismic Wave Generator (SWaG), a multi-conditional Diffusion Transformer designed to synthesize high-quality, controllable seismic waveforms.
Methodology: The SWaG Architecture
SWaG utilizes a Diffusion Transformer (DiT) architecture, moving away from the adversarial training of GANs. The model learns by progressively adding Gaussian noise to real seismic waves and then training a neural network to reverse this process.
To handle the complexity of seismic data, SWaG employs several key components:
- Convolutional Encoders: These compress 3000-timestep, 3-component (East, North, Vertical) waveforms into manageable tokens for the Transformer.
- DiT Blocks: A stack of 28 blocks processes these tokens, capturing long-range dependencies.
- Multi-Conditioning: The model is conditioned on four specific parameters: Station ID, P-wave arrival time, S-wave arrival time, and Magnitude. This allows for precise "prompting" of synthetic seismic events.
Datasets and Transfer Learning
The model was pre-trained on the Stanford Earthquake Dataset (STEAD), using approximately 100,000 three-component waveforms. To demonstrate regional adaptability, the authors fine-tuned SWaG on a smaller dataset of 8,000 waveforms from the Sichuan-Yunnan region in China. This transfer learning approach allows the model to capture local seismic characteristics with relatively little data.
Evaluation and Key Insights
A primary challenge in generative AI is objective evaluation. The authors employed a "downstream task" validation method: they trained standard AI seismology models (like EQTransformer and MagNet) using only synthetic data generated by SWaG. The success of these models on real-world test data serves as a proxy for the realism of the generated waveforms.
Key insights from this study include:
- Bias Correction: Real-world earthquake catalogs are often imbalanced, dominated by small events. By generating a uniform distribution of magnitudes, SWaG helped train models that are less biased toward overestimating small quakes.
- Efficiency of Transfer Learning: Pre-training on global data followed by local fine-tuning is a viable strategy for regions with limited observational data.
Results
The performance of models trained on SWaG data was remarkable:
- Phase Picking: An EQTransformer model trained solely on synthetic data achieved 99% recall and 99% precision on real seismic waveforms, outperforming models trained on larger, non-local real datasets.
- Magnitude Estimation: The MagNet model trained on synthetic data accurately predicted real magnitudes and adhered to the Gutenberg–Richter law, successfully smoothing out biases found in models trained on imbalanced real data.
- Inference Speed: SWaG is highly efficient, generating a 60-second waveform in approximately 0.2 seconds on an NVIDIA A800 GPU.
Limitations and Future Work
Despite its success, SWaG has limitations. It currently operates at a 50 Hz sampling rate; increasing this to 100 Hz proved challenging, as the network struggled with high-frequency components. Additionally, the required data normalization strips absolute amplitude information, which is critical for local magnitude calculations. Future work will focus on handling high-frequency data and developing generative methods that preserve absolute amplitude or use duration-based magnitude labels.
Summary updated