Seismic networks must decide, every few seconds, whether a recorded signal came from an earthquake, a quarry blast, a landslide or ice collapse, or just noise. The best current classifiers turn each waveform into a spectrogram (an image of energy across time and frequency) and pass it through a small convolutional network that pools the image down to one label. The physical evidence that separates these sources often lives in small parts of that image. Examples are a sharp high-frequency onset, the faint periodic ripples that delay-fired blasts leave in the spectrum, and attenuation changes above 10 Hz. A network trained only to output a label has no reason to keep track of where those features sit. It can reach high accuracy on its home catalog while relying on coarser cues that fail to transfer to new regions, new source distances, or scarce anthropogenic data.
We propose to pretrain the spectrogram encoder without labels. An encoder-decoder with skip connections, which copy high-resolution feature maps from early layers straight to the decoder, learns to restore deliberately hidden fine structure in unlabeled seismic spectrograms. The hidden regions are short windows around energy onsets and narrow high-frequency bands. After pretraining we throw the decoder away and fine-tune only the encoder, at the same size as today's lightweight discriminators, so it can still run in real time. The claim is that what the encoder learns to preserve during pretraining matters for discrimination. Encoders pretrained to rebuild fine time-frequency detail should transfer better to out-of-domain events and low-label anthropogenic settings than encoders trained by supervised classification or by generic self-supervision.
Core Claim and Positioning
The motivating evidence comes from two literatures that have not been joined. On the seismic side, Exploration of Machine Learning Methods to Seismic Event Discrimination in the Pacific Northwest trained four-way classifiers on about 200,000 three-component waveforms. Its spectrogram CNNs, including the 70k-parameter QuakeXNet, reach 92–94% accuracy against 89% for a Random Forest, but errors remain on emergent, low signal-to-noise events and on surface events that resemble shallow explosions. Their networks are pure classification pipelines trained from scratch. Probing the evolution of fault properties during the seismic cycle with deep learning found that a 7-layer CNN separating foreshocks from aftershocks loses performance when energy above 10 Hz is filtered out, and that it degrades at distant stations. Both findings suggest the discriminative signal is fine-grained and easily lost. The classic Lg Depth Estimation and Ripple Fire Characterization Using Artificial Neural Networks showed that delay-fired blasts leave narrow spectral modulations that encode shot timing, another detail-level cue.
On the dense-prediction side, Transfer Learning for Segmentation Problems: Choose the Right Encoder and Skip the Decoder showed that classification pretraining discards spatial information, while contrastive-plus-reconstruction pretraining (ConRec) preserves it. With 1% of Oxford Flowers labels, ConRec reaches Dice 85.7 against 77.7 for SimCLR. The same paper reports that a pretrained decoder adds nothing (LUNA Dice 75.20 random-decoder vs. 75.10 fully pretrained). That result supplies our design choice of keeping the pretrained encoder and discarding the decoder. SEIS: Subspace-based Equivariance and Invariance Scores for Neural Representations measured how well each layer tracks where things are in the input. That positional sensitivity falls from about 0.9 in early ResNet-18 layers, and skip connections act as bypasses that keep the lost spatial information. We reuse its score as a diagnostic.
The closest seismic use of reconstruction is Deep-seismic-prior-based reconstruction of seismic data using convolutional neural networks. It fits an untrained U-Net to a single reflection section to fill missing traces, reaching 32.68 dB against 19.11 dB for Singular Spectrum Analysis on irregular gaps. It does no discrimination and needs about 7 minutes of optimization per patch. We take its lesson that skip-connected convolutional networks represent coherent seismic structure well. We use that property as a pretraining signal for a fast classifier, not as a test-time interpolator. Our proposal differs from all of these in one respect: none trains an event discriminator whose encoder was shaped by an objective that rewards keeping fine time-frequency detail.
Research Program
The pretraining corpus is the Pacific Northwest waveform set with labels removed, augmented with unlabeled continuous recordings from the same network, cut into windows and converted to three-component spectrograms. The encoder matches QuakeXNet's depth and parameter count. A light decoder with skip connections is attached only during pretraining.
The key ingredient is the masking scheme, which we call detail masking. Each training spectrogram has two kinds of regions hidden. The first is short time spans placed at detected energy onsets, using a simple kurtosis or short-term/long-term average trigger. The second is narrow frequency bands, sampled more often above 10 Hz. The reconstruction loss is computed only on hidden regions and is weighted by local spectral gradient, so sharp structure counts more than smooth background.
There is a risk that skip connections let the decoder fill the hidden regions from shallow neighbouring features without the deep encoder learning anything. Hidden regions are zeroed at the input, so a shallow path can only interpolate, while restoring an onset's shape or a ripple pattern requires context. We still test this directly by ablating the skips. After pretraining, the decoder is discarded and the encoder is fine-tuned with a classification head.
We analyze the representations as well as the accuracy. A frozen-feature linear probe tests whether onset time and band-limited energy can be read from deep encoder layers. The SEIS score measures sensitivity to time shifts layer by layer for each pretraining scheme. A counterfactual test uses spectrograms in which onsets are smeared or ripple modulations removed. Synthetic ripple-fire events are built by summing delayed copies of single-shot blast records, following the mechanism in Baumgardt et al. The test asks whether each model's predictions respond to these physically meaningful edits.
Baselines
The naive reference is QuakeXNet 2D trained from scratch on the target labels, as in Kharita et al.. It reports 92–94% accuracy on the common PNW test set, with the Random Forest at 89%. We retrain it with our splits and the same tuning budget, a fixed number of hyperparameter trials per method, so that differences reflect pretraining and not tuning. On the home PNW test set we do not expect large gains, and a gain of under one point there would not count as a win. Winning means a consistent margin on out-of-domain sets and in low-label regimes, with PNW accuracy no lower than this baseline.
The strongest competing pretraining baselines use the same encoder, the same unlabeled corpus, and the same compute in GPU-hours. The first is generic masked reconstruction with random patch masking and no gradient weighting. The second is contrastive pretraining in the SimCLR style. The third is supervised pretraining on the full PNW labels, followed by transfer. SimCLR is the comparison point Dippel et al. beat by 8 Dice in the low-label image setting, and random-mask reconstruction is the most likely spoiler. The Random Forest on engineered features (TSFEL statistics, kurtosis, band energy ratios) is kept as the interpretable classical reference.
For the Chimayó low-label detection task, the strongest reported result is Seismic-Net at precision 0.889 and recall 0.923 with 800k parameters (Seismic-Net). Our encoder is roughly ten times smaller. Matching that precision and recall would count as success, and exceeding it would be a clear win.
Two ablations isolate the key ingredient. Removing the skip connections during pretraining tests whether the bypasses matter for what the encoder learns. Comparing detail masking with random masking tests whether the content of the reconstruction target matters beyond reconstruction itself. For the ESEC and near-field blast sets we found no reported result on Lacuna, so those comparisons are only among the methods we run.
Why not just…?
Why not just keep QuakeXNet and add saliency maps for interpretability? Saliency maps explain what a trained network uses. They do not change what it uses. If the network relies on coarse cues, the maps will show coarse cues. Our counterfactual edits test what the scratch-trained model responds to. If it already responds strongly to onset and ripple edits and transfers well, the premise of this proposal is weakened, and we would report that.
Why not just use generic masked-autoencoder or contrastive pretraining? This is the real threat. Self-supervision of any kind may account for most of the gain. Dippel et al. show that the choice of objective matters for spatial tasks, but they work on images and segmentation, not classification. The random-mask versus detail-mask comparison under matched compute settles the question. If the two tie on out-of-domain and low-label tests, we will report that the benefit comes from self-supervision, not from preserving detail.
Why not just reduce pooling or feed higher-resolution spectrograms to the classifier? That keeps detail available but gives the network no incentive to encode it. Seismic-Net's dense connections already improve the precision-recall balance over ResNet (0.889/0.923 vs. 0.581/0.960). We include a reduced-pooling QuakeXNet variant at matched parameters as an additional baseline.
Why not jointly train phase picking with discrimination? That route needs pick labels, which are scarce for blasts and mass wasting, the classes where anthropogenic events are most often misclassified. Our objective needs no labels. Joint training is a natural follow-up once pretraining is shown to help.
Proposed Experiments and Decisive Checks
The primary experiment fine-tunes each pretrained encoder on PNW at 1%, 10%, and 100% of the labels. Each model is then evaluated on the PNW test set, and zero-shot on the Exotic Seismic Event Catalog (ESEC) of surface events and on the near-field blast set (explosions within 50 km). We report balanced accuracy and per-class recall, paying particular attention to surface events versus explosions.
Two transfer experiments follow. On the Chimayó set (33 training events), we compare precision and recall against Seismic-Net. On the Amatrice-Visso-Norcia subset, we fine-tune on foreshock/aftershock labels and repeat Laurenti et al.'s below-10-Hz band-pass test and their distant-station evaluation, asking whether detail pretraining reduces the loss at far stations. The synthetic ripple-fire set is used to test sensitivity to shot-delay modulation.
The claim is supported if three things hold. Detail-masked pretraining must beat both random-mask and contrastive pretraining on ESEC and near-field blasts, and in the 1% regime, across three seeds. Removing the skips during pretraining must shrink that gain. The probe and SEIS scores must show that onset timing survives deeper into the encoder.
The claim fails in any of three cases. If random masking ties detail masking, the benefit is generic self-supervision. If no pretraining beats the scratch QuakeXNet out of domain, the idea does not help. If gains appear only on the home PNW test set, they likely reflect fitting that catalog's label quirks, not better physics.
References
- Exploration of Machine Learning Methods to Seismic Event Discrimination in the Pacific Northwest
- Probing the evolution of fault properties during the seismic cycle with deep learning
- Lg Depth Estimation and Ripple Fire Characterization Using Artificial Neural Networks
- Transfer Learning for Segmentation Problems: Choose the Right Encoder and Skip the Decoder
- SEIS: Subspace-based Equivariance and Invariance Scores for Neural Representations
- Deep-seismic-prior-based reconstruction of seismic data using convolutional neural networks
- Seismic-Net: A Deep Densely Connected Neural Network to Detect Seismic Events