Abstract
Large earthquakes can be destructive and quickly wreak havoc on a landscape. To mitigate immediate threats, early warning systems have been developed to alert residents, emergency responders, and critical infrastructure operators seconds to a minute before seismic waves arrive. These warnings provide time to take precautions and prevent damage. The success of these systems relies on fast, accurate predictions of ground motion intensities, which is challenging due to the complex physics of earthquakes, wave propagation, and their intricate spatial and temporal interactions. To improve early warning, we propose a novel AI-enabled framework, WaveCastNet, for forecasting ground motions from large earthquakes. WaveCastNet integrates a novel convolutional Long Expressive Memory (ConvLEM) model into a sequence to sequence (seq2seq) forecasting framework to model long-term dependencies and multi-scale patterns in both space and time. WaveCastNet, which shares weights across spatial and temporal dimensions, requires fewer parameters compared to more resource-intensive models like transformers and thus, in turn, reduces inference times. Importantly, WaveCastNet also generalizes better than transformer-based models to different seismic scenarios, including to more rare and critical situations with higher magnitude earthquakes. Our results using simulated data from the San Francisco Bay Area demonstrate the capability to rapidly predict the intensity and timing of destructive ground motions. Importantly, our proposed approach does not require estimating earthquake magnitudes and epicenters, which are prone to errors using conventional approaches; nor does it require empirical ground motion models, which fail to capture strongly heterogeneous wave propagation effects.
Introduction
Earthquake Early Warning (EEW) systems are a race against time. Traditional methods rely on quickly estimating an earthquake's magnitude and epicenter to predict ground shaking. However, these early estimates are often inaccurate, leading to false or missed alerts. While physics-based numerical simulations can model wave propagation more accurately, they are far too computationally expensive for the split-second requirements of real-time warning.
WaveCastNet aims to bridge this gap by providing a fast, accurate, and generalizable spatio-temporal forecasting tool. By bypassing the need for error-prone earthquake source parameter estimation, WaveCastNet forecasts high-dimensional seismic wavefields in real-time, offering a robust alternative for modern EEW systems.
Methodology: Convolutional Long Expressive Memory
The authors frame seismic forecasting as a sequence-to-sequence (Seq2Seq) problem: given a short window of observed wavefield data, the model predicts the next 100 seconds of motion. The core innovation is the Convolutional Long Expressive Memory (ConvLEM) cell.
Standard recurrent units, such as LSTMs, often struggle with the multiscale temporal patterns inherent in seismic data. ConvLEM addresses this by maintaining dual hidden states—"fast" and "slow" evolving—governed by coupled differential equations. This allows the model to capture both high-frequency transients and long-term wave trends. Unlike the original LEM, ConvLEM incorporates convolutional layers directly into its gating mechanisms, preserving the spatial structure of the 2D/3D seismic grid.
Additionally, the model features a specialized embedding layer capable of handling both "dense" gridded data and "sparse" irregular sensor data (similar to the ShakeAlert network) using a Masked Autoencoder (MAE) strategy.
Datasets and Evaluation
WaveCastNet was evaluated using a comprehensive suite of synthetic and real-world datasets:
- Synthetic Point-Source Data: 960 simulated earthquakes (magnitudes < M4.5) in the San Francisco Bay Area, generated using the SW4 physics package and the USGS 3D velocity model.
- Finite-Fault Simulations: Complex kinematic rupture models for events ranging from M4.5 to M7.0 to test generalization to large-scale disasters.
- Real-World Data: The 2018 M4.4 Berkeley earthquake. The model was tested on this data in a "zero-shot" manner, having been trained exclusively on simulations.
- MovingMNIST: A standard computer vision benchmark used to validate general spatio-temporal forecasting capabilities.
Key Results and Insights
WaveCastNet outperformed ConvLSTM, ConvGRU, and Transformer baselines in terms of Relative Frobenius Norm Error (RFNE). Key performance metrics and insights include:
- Real-Time Performance: On an NVIDIA A100 GPU, the model generates a full 100-second forecast in just 0.56 seconds, meeting the low-latency requirements of EEW.
- Generalization and Physics Learning: While trained only on small M4.5 events, the model maintained high accuracy (ACC ~0.95) for events up to M5.5. The model appears to internalize Huygens’ Principle, treating every spatial point as a potential secondary source, which allows it to generalize to earthquake locations not seen during training.
- Efficiency: WaveCastNet achieves superior generalization with significantly fewer parameters (~8.15M) compared to vision Transformers (~24M-33M). This "information bottleneck" prevents memorization and forces the model to learn underlying physical relationships.
- Zero-Shot Success: The ability to accurately predict the Peak Ground Velocity (PGV) and arrival times of the real-world Berkeley earthquake marks a significant milestone for "sim-to-real" transfer in geophysics.
Limitations and Future Directions
While promising, the current study has limitations. It is currently restricted to low-frequency waveforms (< 0.5 Hz), whereas engineering applications often require higher frequency data. For very large events (M6.5+), the model tends to underestimate amplitudes because the rupture duration can exceed the initial input window; "sliding-window" inference is a proposed mitigation.
Future work will explore generative models, such as Diffusion, for uncertainty-aware forecasting and self-supervised pretraining to further reduce reliance on labeled synthetic data.
Summary updated