3D Gravity Inversion Using Physics-Coupled Shifted-Window Transformers
Three-dimensional vertical gravity inversion (Δg_z → Δρ) is severely ill-posed due to analytical non-uniqueness and rapid geometric sensitivity decay with depth. Classical depth-weighted L2 Tikhonov solvers smear geological contacts and underestimate contrasts, whereas focusing IRLS algorithms sharpen compact bodies but remain computationally costly and prone to shallow local minima on dipping or bipolar structures. We present Swin3D v9.1, a compact (2.73M parameters) physics-coupled 3D Shifted-Window (Swin) and axial Transformer inside Mod3D for ground (h ≈ 0.3–2 m) and airborne (h up to 160 m) gravity inversion over undulating topography. The architecture integrates a fixed 19-channel analytical derivative stem, additive 9-D survey conditioning, 1/d² depth lifting, learnable vertical Green's attention biases, 7-class lithology prototype cross-attention, and two frozen coarse-to-fine spatial-pyramid forward/adjoint residual stages. Jointly predicting 3D density contrast Δρ̂ and a heteroscedastic Laplace uncertainty scale b̂_ρ, Swin3D v9.1 attains a held-out composite Smooth 3D IoU of 0.617 ± 0.164, vertical centroid error |Δz| of 37.9 ± 36.0 m, 3D SSIM of 0.903, and 5.41% gravity misfit across N = 128 disjoint test scenes spanning ground, detrended, airborne relief-draped, and anisotropic surveys. On four canonical models and three independent non-inverse-crime out-of-distribution benchmarks (a grid-free analytical sphere and two 25 m fine-mesh structures), Swin3D v9.1 outperforms Python/PyTorch FFT Tikhonov L2 (0.547 vs. 0.119 canonical; 0.609 vs. 0.125 OOD IoU) and Focusing IRLS (0.332 canonical; 0.192 OOD), executing in 172.1 ms on CPU (59×, 4 matched threads) and 103.1 ms on Apple CoreML Neural Engine (99×). Without calibrated field data, this study is framed strictly as a synthetic methodological investigation restricted to vertical gravity. Code & frozen checkpoints: https://github.com/igorcerovsky/Mod3D/tree/main/.inv Interactive WebGL2 demo: https://igorcerovsky.github.io/Mod3D/
Authors
- Igor Cerovský
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-26
- DOI
- https://doi.org/10.5281/zenodo.24570482
- Primary Topic
- Geophysical and Geoelectrical Methods
- Type
- article
- Field-Weighted Citation Impact
- 0.00