DispFormer: A Pretrained Transformer Incorporating Physical Constraints for Dispersion Curve Inversion

Feng Liu, Bao Deng, Rui Su, Lei Bai, Wanli Ouyang
1/8/2025
8 citations
physics.geo-phcs.AI
transformer-attention

Official code: liufeng2317/DispFormer (22 stars, Jupyter Notebook, MIT, last commit 2025-09-11).

Abstract

Surface wave dispersion curve inversion is crucial for estimating subsurface shear-wave velocity (vs), yet traditional methods often face challenges related to computational cost, non-uniqueness, and sensitivity to initial models. While deep learning approaches show promise, many require large labeled datasets and struggle with real-world datasets, which often exhibit varying period ranges, missing values, and low signal-to-noise ratios.

Show full abstract

To address these limitations, this study introduces DispFormer, a transformer-based neural network for $v_s$ profile inversion from Rayleigh-wave phase and group dispersion curves. DispFormer processes dispersion data independently at each period, allowing it to handle varying lengths without requiring network modifications or strict alignment between training and testing datasets. A depth-aware training strategy is also introduced, incorporating physical constraints derived from the depth sensitivity of dispersion data. DispFormer is pre-trained on a global synthetic dataset and evaluated on two regional synthetic datasets using zero-shot and few-shot strategies. Results show that even without labeled data, the zero-shot DispFormer generates inversion profiles that outperform the interpolated reference model used as the pretraining target, providing a deployable initial model generator to assist traditional workflows. When partial labeled data available, the few-shot trained DispFormer surpasses traditional global search methods. Real-world tests further confirm that DispFormer generalizes well to dispersion data with varying lengths and achieves lower data residuals than reference models. These findings underscore the potential of DispFormer as a foundation model for dispersion curve inversion and demonstrate the advantages of integrating physics-informed deep learning into geophysical applications.

View on arXivView PDF

Code Implementations(1)

MIT

DispFormer: A Pretrained Transformer Incorporating Physical Constraints for Dispersion Curve Inversion

223Jupyter Notebook, PythonOct 12, 20241 years agoMIT

Similar Papers

Cite this paper

@article{liu2025dispformer,
  title  = {DispFormer: A Pretrained Transformer Incorporating Physical Constraints for Dispersion Curve Inversion},
  author = {Feng Liu and Bao Deng and Rui Su and Lei Bai and Wanli Ouyang},
  year   = {2025},
  eprint = {2501.04366},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.04366v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2501.04366.svg)](https://codeofpaper.com/paper/2501.04366)

Discussion