基于地震波形特征向量的相似地震检索方法研究

Research on a similar earthquake retrieval method based on feature vectors of seismic waveforms

  • 摘要: 相似地震波形匹配检索是重复地震与相似地震研究的重要方法,其核心目标是在大规模波形库中快速识别与目标事件在波形形态上相近的候选事件。传统波形互相关方法虽能有效识别相似波形,但计算代价较高,难以适应持续增长的海量波形库检索。本文提出一种基于地震波形特征向量的相似地震检索方法,对同台站三分量事件波形进行统一预处理后,输入冻结的“谛听”地震波大模型DiTingSFM-0.1B与EQTransformer预训练模型,从候选隐藏层提取固定维度向量构建波形特征向量,并以余弦相似度开展向量近邻检索。利用斯坦福地震数据集(STEAD)中美国俄克拉荷马(Oklahoma)2015年与加州帕克菲尔德(Parkfield)2015—2016年的近震数据构建测试集,开展方法检验测试。结果表明,对于同台站历史库中至少存在一条水平震中距离不超过5 km且三分量归一化互相关系数不低于0.8的参考事件的查询,DiTingSFM-0.1B layer3的Top-5召回率在两个测试集上分别为0.919和0.922,EQTransformer Encoder(EQT-Enc)分别为0.811和0.914,均高于随机检索,且高排序候选的目录位置整体更为集中。在四川长宁区域密集台阵数据上进行跨数据检验,冻结预训练隐藏表征仍能够直接形成具有检索意义的向量特征,同时在保持编码器冻结的条件下,联合采用注意力聚合、线性投影和监督对比训练后,DT-L3和EQT-Enc的Top-5召回率分别达到0.835和0.748。不同数据集下测试结果表明预训练模型隐藏特征中保留了地震波形特征信息,可用于相似波形检索,且具有跨数据集检索潜力,但时间聚合和向量空间校准方式等特征组合方式可影响波形特征表达能力,对检索性能造成一定影响。效率测试表明,在本文实验条件下,向量索引查询开销远低于单 CPU 线程 ObsPy 逐对互相关,并且固定维度向量也便于历史波形的索引构建与紧凑存储。研究结果表明,基于地震波形特征向量的相似波形检索技术具有可行性,可为大规模事件波形库的快速匹配以及相似地震或重复地震识别研究提供有效支持。

     

    Abstract:
    Similar-earthquake waveform retrieval identifies historical events resembling a query and supports studies of repeating earthquakes, event-family structure, and regional seismicity. Cross-correlation measures waveform similarity pointwise, but its cost grows with archive size. General-purpose seismic models learn multiscale waveform representations through pretraining. We examine retrieval from frozen pretrained features and how readout affects performance.
    Three-component records are linearly detrended, tapered, and normalized by component standard deviations, without further filtering. Event windows containing P and S phases are aligned to the P arrival. Frozen DiTingSFM-0.1B and EQTransformer yield temporal features from candidate hidden layers. Masked maximum pooling excludes padding positions from aggregation, and L2 normalization yields fixed-dimensional vectors. Cosine similarity ranks same-station historical records to return the Top-K candidates. Offline historical encoding and online retrieval enable reuse through nearest-neighbor indices.
    In-domain tests use the Oklahoma2015 and Parkfield2015—2016 subsets of the Stanford Earthquake Dataset (STEAD), containing 3 095 and 1 742 records from 1 423 and 974 catalog events, respectively. At each station, origin-time ordering assigns the first 80% to the historical archive and the last 20% to queries. Reference similar records have horizontal epicentral distances within 5 km of the query and three-component normalized cross-correlation coefficients (NCC)of at least 0.8. Top-K recall is the fraction of queries with available references that retrieve at least one reference among the Top-K candidates. Candidate distances and waveform comparisons assess retrieval quality.
    Retrieval depends on architecture and layer selection. DiTing layer3 (DT-L3) and the EQTransformer Encoder (EQT-Enc) perform well among their respective candidate layers. With fixed maximum pooling, Top-5 recalls in Oklahoma2015 and Parkfield2015–2016 are 0.919 and 0.922 for DT-L3 and 0.811 and 0.914 for EQT-Enc, above random baselines of 0.022 and 0.027. Mean horizontal epicentral distances to first-ranked candidates are 6.16 and 3.65 km for DT-L3, 9.42 and 5.60 km for EQT-Enc, and 22.78 and 18.71 km for random retrieval. Examples show consistent waveforms and nearby catalog locations. NCC-based calibration reveals model-dependent cosine-score distributions and indicates that vectors also reflect the similarity of waveform pairs judged similar by cross-correlation.
    Cross-dataset tests use the 2021 Changning dense-array data from Sichuan. Initial quality control yields 5 558 events at 105 stations; temporal partitioning and event-window screening produce 93 558 historical records and 24 200 queries. Fixed maximum pooling gives Top-5 recall of 0.570 for DT-L3 and 0.648 for EQT-Enc, above the random baseline of 0.023. Together with the STEAD results, this confirms meaningful ranking by frozen features, while performance varies with data source and observation conditions. Fixed maximum pooling and an uncalibrated cosine space do not ensure cross-dataset consistency.
    With encoders frozen, four readouts are compared: A, fixed maximum pooling; B, maximum pooling plus linear projection; C, attention aggregation plus linear projection; and D, attention aggregation alone. B−D use supervised contrastive loss to learn temporal weights or channel transformations. Training/validation contain 20 000/5 000 reference similar-waveform pairs from STEAD outside the Oklahoma and Parkfield test stations and regions. Source events and similar-event families are isolated between splits. None of the three test datasets is used for readout training or model selection.
    Configuration C raises DT-L3 Top-5 recall to 1.000, 0.991, and 0.835 in Oklahoma, Parkfield, and Changning, and EQT-Enc recall to 0.892, 0.948, and 0.748. Attention aggregation alone gives no consistent gains, linking improvements to combined temporal aggregation, channel transformation, and supervision. Gains with unchanged encoders indicate retrievable similarity information in pretrained features. As a handcrafted reference, FAST retains its official fingerprint-encoding and hash-search core; its same-station event-window adaptation achieves 0.919, 0.983, and 0.847. DT-C exceeds FAST in the two STEAD regions but is slightly lower in Changning; EQT-C is slightly lower in all three regions. These results support the feasibility of pretrained-feature retrieval but do not represent FAST’s native continuous-stream detection performance ceiling. Future dedicated waveform embeddings will be compared under a unified protocol.
    Nearest-neighbor indexing reduces online search costs. For 100 000 expanded vectors, single-CPU-thread HNSW returns Top-5 candidates in a median 0.236 ms, matching exact inner-product candidate sets for tested queries. Single-threaded ObsPy cross-correlation requires 2 073.74 ms against 4 800 real historical waveforms. With feature extraction included, queries against a 4 837-vector timing library from both datasets achieve median end-to-end latencies of 67.89 ms for DT-L3 and 10.23 ms for EQT-Enc, using fixed maximum pooling, RTX 3090 inference, and single-CPU-thread HNSW. These timings show query efficiency and representation reuse in this configuration. Offline encoding avoids repeated pairwise waveform correlation during online queries, supporting large-scale archive searches and similar-event retrieval as archives grow.
    Frozen pretrained features provide initial representations for similar-waveform retrieval, improved through supervised readout adaptation. Recall, catalog distances, and waveform cases jointly demonstrate feasibility. NCC and catalog proximity define the evaluation references; physical source relationships require independent seismological constraints. Indexable, reusable, compact fixed-dimensional vectors support rapid historical matching and provide an experimental basis for dedicated similar-earthquake waveform embedding models.

     

/

返回文章
返回