Manuscript Offprint
arXiv:2610.19187Structure-aware Bayesian full waveform inversion via diffusion-regularized Stein variational gradient descent
Abstract
Full waveform inversion (FWI) is a powerful tool for high-resolution subsurface model reconstruction, but it remains highly nonlinear and ill-posed, especially when the initial model is inaccurate or the acquired data are noisy and incomplete. Annealed Stein variational gradient descent (ASVGD) provides a particle-based Bayesian framework for FWI by approximating the posterior distribution with an ensemble of velocity models, thereby enabling uncertainty quantification beyond a single deterministic solution. However, conventional ASVGD-FWI commonly relies on simple handcrafted priors, such as Gaussian or smoothing assumptions, which are often insufficient to represent complex geological structures. To address this limitation, we introduce a learned diffusion model (DM) as an implicit regularization mechanism within the ASVGD-FWI framework. Instead of explicitly evaluating the diffusion prior density, the trained diffusion model acts as a learned geological projection operator that guides updated particles toward the distribution of plausible velocity models. In this way, the proposed method combines data consistency from FWI, posterior diversity from ASVGD, and structural realism from the diffusion prior. Numerical experiments demonstrate that the diffusion-regularized ASVGD-FWI produces more geologically consistent mean models, suppresses nonphysical artifacts, and yields uncertainty estimates that are more concentrated around structurally complex and poorly constrained regions. These results suggest that learned diffusion priors can effectively enhance Bayesian FWI by improving both inversion stability and the interpretability of posterior uncertainty.
1 Introduction
Full waveform inversion (FWI) has been attracting more and more attention in the field of seismic exploration due to its superior capability of high-resolution subsurface model construction [1, 2]. It can refine the subsurface models by iterative minimizing the differences between the observed data and the predicted data [3, 4, 5]. However, FWI is a highly nonlinear inverse problem, and an inaccurate initial model may cause the inversion to converge to an erroneous solution [6, 7, 8]. Such a convergence failure can further degrade subsequent seismic imaging and interpretation.
To address this issue, considerable efforts have been made to stabilize the inversion process from different perspectives. One common strategy is to construct a reliable initial model using traveltime tomography or prior information from well logs [9, 10, 11], which can effectively reduce background velocity errors and provide a more favorable starting point for inversion. Next, a variety of robust objective functions have been developed to enlarge the convergence basin of FWI and alleviate the limitations of the commonly used L2-norm misfit [12, 13, 14, 15, 16]. In addition, low-frequency information is known to reduce FWI's dependence on the accuracy of the initial model, and reconstructing missing low-frequency components has therefore become an effective alternative strategy [17, 18, 19]. Recently, motivated by the remarkable success of deep learning (DL) in modeling complex nonlinear mappings, data-driven FWI (DDFWI) has been proposed to directly estimate subsurface models from shot gathers without requiring an initial model [20, 21, 22, 5, 23]. This strategy has the potential to substantially advance FWI by alleviating its strong dependence on accurate initial models.
However, most of the aforementioned approaches rely on deterministic formulations. As a result, they typically yield only a single possible solution and cannot provide a quantitative assessment of the reliability or uncertainty of the inverted model. To address this limitation, increasing attention has been paid to Bayesian inference (nondeterministic FWI frameworks), which aim to estimate not only the posterior mean but also the associated posterior variance [24, 25]. The central idea of the Bayesian method is to estimate the posterior probability distribution over all possible models that can explain the observed data, thereby providing a more comprehensive characterization of the solution space. Generally, Markov chain Monte Carlo (MCMC) is one of the most classical approaches for characterizing the posterior distribution, in which a sequence of samples is generated by exploring the model space through stochastic transitions [26, 27]. Within the MCMC framework, many successful applications have been demonstrated in geophysical inverse problems, such as gravity inversion [28], resistivity inversion [29], dispersion inversion [30, 31], and FWI [32, 33, 34]. Nevertheless, conventional MCMC methods are often computationally demanding, which limits their applicability to high-dimensional problems [35]. Consequently, more efficient MCMC variants have been introduced, including delayed-acceptance algorithms [36, 37], gradient-based MCMC [38, 39, 40], and Hamiltonian Monte Carlo [41, 42, 43].
More recently, the rapid progress of generative models, especially diffusion models, has inspired the use of learned diffusion priors to enhance the structural fidelity of inversion results, leading to encouraging performance [44, 45, 46]. Inspired by the capability of diffusion models to characterize complex model distributions, [47] introduced a diffusion-model-based particle initialization scheme into the SVGD framework, thereby improving the computational efficiency and robustness of conventional SVGD-FWI. To further investigate the role of structural prior information in conventional SVGD-FWI, we propose a diffusion-regularized SVGD framework for uncertainty evaluation in FWI. The learned diffusion prior is trained on a newly developed dataset, GeoFWI [48], which contains more geologically realistic structural patterns. Instead of using the diffusion model only for particle initialization or post-processing, we incorporate the pretrained diffusion model as an implicit regularization term directly into the SVGD particle update. In this way, the particle evolution is jointly guided by the data likelihood and the learned geological prior.
Unlike the classic SVGD framework, where particle updates are mainly driven by the data likelihood, likelihood-driven updates alone may produce geologically inconsistent samples and inversion artifacts, especially in the presence of noise, limited illumination, or data incompleteness. By incorporating a learned diffusion prior, the particles are guided toward realistic subsurface model distributions during the update process. This helps enhance structural fidelity, stabilize the inversion, and improve the reliability and interpretability of posterior uncertainty estimation. Numerical experiments on both synthetic and field data demonstrate that the proposed method significantly reduces posterior uncertainty and produces more geologically reasonable inversion results, confirming the effectiveness and superiority of the diffusion-regularized SVGD-FWI framework.
2.1 GeoFWI dataset and diffusion prior
We begin this section by briefly describing the GeoFWI dataset, which serves as the training dataset for learning the diffusion prior. The recently developed GeoFWI dataset contains ap-proximately 50,000 velocity models that cover a variety of geological structures, including folds, faults, and salt bodies. Each velocity model is represented on a grid, and the velocity values span from 1500 m/s to 4500 m/s. The dataset is constructed with progressively increasing structural complexity, where the number of layers ranges from 2 to 11. The dataset can be accessed at https://github.com/aaspip/geofwi, and the detailed sample counts for each model family are provided in [48]. As shown in Figure 1, the GeoFWI dataset contains representative velocity models with different geological patterns and structural complexities. These examples involve various subsurface scenarios, including folded layers, faulted structures, salt bodies, and models with different numbers of stratigraphic layers. The dataset, therefore, captures both large-scale background velocity variations and local high-contrast anomalies, providing rich structural information for learning the distributions of geological models. This structural diversity is particularly important for diffusion prior to training, as it enables the pretrained diffusion model to characterize realistic subsurface patterns and guide the SVGD particles toward geologically plausible solutions during inversion.

Figure 1: Representative samples from the GeoFWI dataset, including folding structures, faults, and salt bodies with varying numbers of layers.
Next, a denoising diffusion probabilistic model (DDPM) [49] is employed to learn an implicit structural prior from the training velocity models. The forward diffusion process gradually corrupts clean samples by adding Gaussian noise over multiple time steps (e.g., ) until they approach a nearly pure noise distribution. Conversely, the reverse process trains a neural denoising network to progressively remove the injected noise and reconstruct samples that follow the learned data distribution. Mathematically, given a clean sample , the forward and reverse diffusion process can be expressed using a stochastic differential equation (SDE) [50]
where is the noise schedule, is the model status at time , is a predefined Brownian motion, and the score function represents the data log probability density at time . Specifically, we employ a U-Net architecture with a base channel width of 64 and a single input/output channel. The diffusion process consists of 1000 forward steps, while 250 denoising diffusion implicit model (DDIM) sampling steps are used during inference. The model is trained using the standard noise-prediction objective with a batch size of 32 and a learning rate of for 300000 iterations. We adopt an exponential moving average of the model parameters with a decay rate of 0.995 to improve training stability; more details are provided in [48, 51].
2.2 Theory of annealed SVGD FWI
Bayesian inference aims to estimate the posterior probability density function (PDF) conditioned on the observed data . According to the Bayes's rule, the PDF can be written as
where represents the likelihood, which quantifies how well the synthetic data generated from model explains the observed data , and is the Gaussian noise variance. Moreover, represents the prior information imposed on the model parameters, and is the normalization constant, which is also called the evidence.
Due to the substantial computational cost and complexity associated with direct sampling from the posterior distribution , SVGD has emerged as an efficient deterministic particle-based inference method. Starting from an initial surrogate distribution , SVGD iteratively transports particles toward the target posterior distribution by seeking an optimal transformation that minimizes the KL divergence between and , which has the following form
Within the SVGD framework [52], the optimal update direction ( ) is derived from the gradient of the KL divergence, guiding the approximate distribution toward the target posterior distribution . Given a set of initial particles, the gradient can be derived as
where denotes the kernel function. In this study, we adopt a radial basis function (RBF) kernel to quantify particle similarity and govern their interactions during updates. The parameter h denotes the kernel bandwidth, which controls the effective range of particle interactions.
and the kernel’s sensitivity to interparticle distances. Commonly, we can set , where denotes the total number of particles. Further details regarding the bandwidth selection strategy can be found in [52]. Reading from left to right, Equation 6 shows that the particle update direction is jointly determined by a data-misfit-driven driving force and a kernel-induced repulsive force associated with particle similarity. The former guides the particles toward regions of high posterior probability, while the latter preserves particle diversity, enabling the inversion to characterize posterior uncertainty rather than yielding only a single deterministic solution.
Mathematically, since we are using a set of initial particles to approximate the expectation of equation 6, it can be rewritten using the empirical average over the particles as
where represents the j-th particle, and is the current iteration index. However, when applied to high-dimensional inverse problems, classic SVGD can exhibit mode collapse and insufficient posterior dispersion, which may compromise uncertainty characterization. To mitigate these issues, [35] proposed an annealed SVGD (ASVGD) FWI framework in which a heuristic temperature parameter is introduced to adaptively balance the driving and repulsive forces throughout the iterations. The resulting annealed update direction is given by
where is hyperbolic tangent schedule [53], L denotes the maximum number of iterations, and p is empirically set to 3 [35]. Then the initial particles can be updated via
Compared with classic SVGD, annealed SVGD enables particles to explore a broader region of the model space during the early iterations and gradually concentrate in high-posterior-probability regions at later stages. This progressive transition helps mitigate premature particle collapse and better preserve posterior diversity.
2.3 Annealed SVGD for FWI with implicit diffusion prior
Although annealed SVGD provides an efficient framework for posterior approximation and uncertainty quantification, the conventional inversion process does not explicitly enforce the structural plausibility of the recovered models. In the presence of noise, limited acquisition coverage, or inaccuracies in the physical modeling, likelihood-driven particle updates may introduce nonphysical structures and inversion artifacts into the posterior samples, leading to biased estimates and unreliable uncertainty characterization. Therefore, incorporating a learned structural diffusion prior is essential to constrain the particle evolution toward geologically plausible regions of the model space, suppress spurious features, and improve both the robustness of the inversion and the credibility of the resulting uncertainty estimates. Following the Bayesian formulation, diffusion regularization can be incorporated into the model prior distribution. Let denote an implicit diffusion-model-based regularization functional that incorporates learned structural prior information into the inversion. Then the diffusion regularized model prior can be expressed as

Figure 2: A sketch of diffusion model guided annealed SVGD FWI, where a diffusion prior is introduced for improved geological plausibility.
where is a normalization factor. According to Bayes' theorem, the corresponding posterior distribution with diffusion regularization is
(13)
Taking the negative logarithm of equation 13, we obtain
where is a normalization factor for posterior distribution. According to equation 5, we reformulate the objective by incorporating a structural prior into the KL-divergence minimization, thereby constraining the posterior approximation toward geologically plausible solutions and improving the reliability of the final inversion results. The diffusion prior guided variational objective function can be formulated as
Using the definition of the KL divergence and substituting equation 14 into equation 15, the variational objective function becomes
Since Z is independent of , minimizing equation 16 is equivalent to minimizing the KL divergence between and the diffusion-regularized target distribution . To illustrate the effect of the learned diffusion prior, we conduct a simple smoothing test on a randomly selected velocity model. Figure 3a shows the clean velocity model, and Figure 3b shows the perturbed model after adding random noise. For comparison, we apply both Gaussian filtering (e.g., with a standard deviation of 2 for the Gaussian kernel) and the learned diffusion prior to the perturbed model. As shown in Figure 3c, Gaussian filtering can suppress part of the random noise, but it also blurs sharp interfaces and smooths important geological structures. In contrast, the diffusion-regularized result in Figure 3d better preserves the main layered structures and the salt-body boundary while reducing the random perturbations. Figures 3e and 3f show the corresponding update fields generated by Gaussian filtering and the diffusion prior, respectively. The Gaussian-filter update exhibits strong responses along geological interfaces, indicating that the smoothing operator blurs not only random noise but also structural boundaries. By contrast, the diffusion-prior update is more spatially adaptive and less destructive to coherent geological structures. This comparison suggests that the learned diffusion prior acts as an effective structure-preserving regularization mechanism, resulting in a lower mean squared error (MSE) of 12554.57 compared with 17590.99 obtained using Gaussian filtering.. Then, following equation 6, we can employ the shaping regularization framework [54] to integrate the annealed SVGD update with the learned structural prior. Accordingly, the diffusion-model-guided update direction, denoted by , can be expressed as
where denotes the diffusion-based shaping operator that embeds the learned structural prior into the input , with representing the pretrained diffusion-model parameters. The particles can be refined iteratively with a diffusion prior via
Based on equation 17, we can recognize that the diffusion-guided ASVGD update follows a splitting scheme where the particles are first refined using the annealed SVGD gradient and then fully modified by the pretrained diffusion model, which serves as an implicit structural-shaping operator, projecting the particles toward the learned geological model manifold. Specifically, Figure 2 illustrates the workflow of the proposed diffusion-regularized annealed SVGD inversion framework. After the annealed SVGD update, the resulting particle models are passed through the pretrained diffusion model, which serves as an implicit structural-shaping operator to enhance their geological plausibility.
3 EXAMPLES
In this section, we use several synthetic and field examples to validate the effectiveness of the proposed diffusion-regularized annealed SVGD FWI, which demonstrates superior stability and accuracy compared to the classic annealed SVGD method. Notably, the GeoFWI training samples have a fixed size of , which may differ from the dimensions of the velocity models used in subsequent numerical experiments. To address this size inconsistency when applying the diffusion prior, we adopt a commonly used patch-based strategy [44, 46]. Specifically, in the following numerical examples, each velocity model is divided into overlapping patches with a shift size of 10 to mitigate patch boundary artifacts. The diffusion prior is then applied to each patch independently, and the regularized patches are finally merged to reconstruct the complete diffusion-regularized model. For seismic forward modeling, we use the Deepwave package [55] to numerically solve the acoustic wave equation, and the inversion is implemented under the PyTorch framework with automatic differentiation.

(b)
(c)
(d)
(e)
(f)
Figure 3: Illustration of the structure-preserving behavior of the learned diffusion prior. (a) Clean velocity model. (b) Perturbed velocity model with random perturbation. (c) Filtered result using Gaussian smoothing. (d) Filtered result using the learned diffusion prior. (e) Filtering difference corresponding to Gaussian smoothing. (f) Filtering difference corresponding to the diffusion prior. Compared with Gaussian smoothing, the diffusion prior suppresses random perturbations while better preserving coherent geological structures and sharp interfaces.
3.1 Synthetic data
The first experiment is the well-known Marmousi model borrowed from [35] as shown in Figure 4. The model consists of grid points with a spatial interval of 20 m. Figure 4a shows the ground-truth velocity model, while its smoothed counterpart, displayed in Figure 4b, is used as the initial model for inversion. A 7 Hz Ricker wavelet with a temporal sampling interval of 1 ms is employed as the source signature, and 5 shots are evenly distributed along the surface. In addition, a water layer is imposed at the top of the model and remains fixed, and we set four absorptive boundary conditions throughout the inversion. Notably, we assume that the observed seismic data are contaminated by additive, independent Gaussian noise. Figure 5 shows the corresponding noisy observed data. To evaluate the noise level of the observed data, we define the data signal-to-noise ratio (DSNR) as
where represents the clean seismic data, is noise and the DSNR of Figure 5 is 15.7 dB. To construct the initial particle ensemble for the Marmousi inversion, Gaussian random fields (GRFs) are added to the smoothed initial model (e.g., Figure 4b), and a more detailed introduction to GRFs can be found in [56, 35, 47]. The GRF perturbations introduce spatially correlated variations into the velocity models, enabling the particles to cover a broader range of plausible initial solutions while preserving the large-scale background structure. We generate 50 particles, and Figure 6 shows 9 randomly selected initial particles from the resulting ensemble, where we can see that although the particles preserve the overall large-scale velocity trend, they exhibit noticeable local variations in both velocity magnitude and spatial structure. These perturbations provide sufficient diversity for posterior exploration while maintaining physically reasonable initial models.
Then we conduct 100 iterations for both the classic ASVGD FWI and the diffusion-regularized ASVGD FWI, with a learning rate of 100. Figure 7 presents the final posterior mean and stan-

Distance (m)
(b)
Distance (m)
Figure 4: (a) Marmousi model (ground truth). (b) The initial Marmousi model was used for inversion.

Figure 5: Observed data generated using real Marmousi model (DSNR=15.7 dB).

Figure 6: Nine randomly selected initial particles generated by perturbing the smoothed Marmousi model with GRFs.
Table 1: Performance statistics of the inverted Marmousi model using classic ASVGD and diffusion-guided ASVGD using different metrics. The symbol means the smaller value is better, and means the larger value is better. The better results are marked in red.
| Metric | classic ASVGD | diffusion-guided ASVGD |
|---|---|---|
| MAE ↓ | 94.80 | 92.68 |
| SSIM ↑ | 0.69 | 0.72 |
| MSNR (dB) ↑ | 21.19 | 21.48 |
dard deviation (std) obtained using ASVGD-FWI and diffusion-regularized ASVGD-FWI. Both methods successfully recover the major subsurface structures and provide a reasonable characterization of the associated inversion uncertainty. However, the diffusion-regularized approach yields improved structural continuity, sharper interfaces, and fewer inversion artifacts, while producing a more spatially concentrated and interpretable uncertainty distribution. To provide a quantitative comparison, Table 1 summarizes the Mean Absolute Error (MAE), Structural Similarity Index Measure (SSIM), and model SNR (MSNR), where we can see that compared with classic ASVGD, the proposed method can reduce the error and improve the structural fidelity of the final inversion result. Additionally, the std obtained by conventional ASVGD is widely distributed across the middle and deep parts of the model, suggesting relatively large, spatially dispersed particle variability. In the diffusion-regularized result, the uncertainty is more localized around deep structures, high-contrast interfaces, and structurally complex regions, where the seismic data provide weaker constraints. Meanwhile, the std in relatively smooth and well-resolved regions is reduced. Specifically, Figure 8 compares vertical velocity profiles obtained using classic ASVGD and diffusion-regularized ASVGD. The diffusion-regularized approach exhibits consistently narrower uncertainty envelopes, particularly in the middle and deeper portions of the model. This suggests that the diffusion prior constrains the particle ensemble more effectively, resulting in a more concentrated posterior distribution and reduced uncertainty while retaining the dominant velocity trends.
Next, we use the Overthrust model to further evaluate the superiority of the diffusion-regularized ASVGD method. Figure 9 presents the ground-truth and initial Overthrust velocity

Figure 7: Estimated mean value of Marmousi model using (a) classic ASVGD method and (b) diffusion-regularized ASVGD method. Estimated std value of the Marmousi model using (c) classic ASVGD method and (d) diffusion-regularized ASVGD method.
(a)
Classic ASVGD
distance=1000.00 m

(b)
Diffusion-ASVGD
distance=1000.00 m
Figure 8: Verticle profile comparison of the Marmousi model. (a) Vertical profile showing mean and three confidence intervals for the experiment using classic ASVGD. (b) Vertical profile showing mean and three confidence intervals for the experiment using diffusion-guided ASVGD.
Table 2: Performance statistics of the inverted Overthrust model using classic ASVGD and diffusion-guided ASVGD using different metrics. The symbol means the smaller value is better, and means the larger value is better. The better results are marked in red.
| Metric | classic ASVGD | diffusion-guided ASVGD |
|---|---|---|
| MAE ↓ | 173 | 153 |
| SSIM ↑ | 0.62 | 0.64 |
| SNR (dB) ↑ | 24.7 | 25.3 |
models used in the inversion. The computational domain is discretized into a grid with a spatial interval of . A Ricker wavelet sampled at a temporal interval of 2 ms is used as the source signature. We set four absorbing boundary conditions, and 10 shots are uniformly distributed along the surface. Figure 10 shows 5 observed shots corresponding to a real Overthrust model, where Gaussian noise is added, and the DSNR is about . Similar to the previous example, we generate 50 initial particles by perturbing the initial model shown in Figure 9b with GRFs. Figure 11 presents nine representative particles from the resulting ensemble. These particles remain relatively smooth and preserve similar large-scale, low-frequency velocity characteristics, while exhibiting sufficient spatial variability to support posterior exploration. Based on the 50 initial particles generated, we also perform 100 inversion iterations with a learning rate of 100 for both classic ASVGD and diffusion-regularized ASVGD. Figure 12 compares the posterior mean and std obtained using conventional ASVGD and diffusion-regularized ASVGD. Although both methods recover the major structural features of the Overthrust model, the diffusion-regularized result in Figure 12b exhibits sharper layer boundaries, improved structural continuity, and fewer spatially scattered artifacts than the conventional ASVGD result shown in Figure 12a. In particular, the folded structures in the shallow and middle parts of the model, as well as the major high-velocity interfaces at greater depths, are more clearly delineated after introducing the diffusion prior. This indicates that the learned structural prior effectively guides the particles toward geologically plausible regions of the model space. Moreover, the std produced by conventional ASVGD in Figure 12c is broadly distributed, especially in the deeper part of the model, suggesting relatively diffuse particle variability. By contrast, the uncertainty shown in Figure 12d is more localized around major interfaces, folded structures, and high-contrast boundaries, where limited illumination and strong structural complexity make the model parameters more difficult to constrain. Such a localized uncertainty pattern is more closely associated with structurally complex regions and is therefore more interpretable from a geological perspective. Moreover, Table 2 shows the quantitative comparison corresponding to the Overthrust model, where we can see that with the help of diffusion prior, the proposed method can lead to a lower residual and reach a better result with higher structure fidelity. In detail, Figure 13 shows the vertical profile comparison corresponding to Overthrust model. We can see that diffusion-ASVGD provides a posterior mean that more closely follows the true velocity profile. Some visible improvements become more pronounced below approximately depth, where classic ASVGD shows broader uncertainty intervals and stronger fluctuations, while diffusion-ASVGD maintains a more concentrated and stable posterior distribution. Overall, the diffusion-regularized ASVGD method provides better structural fidelity, suppresses nonphysical fluctuations, and yields a more spatially meaningful characterization of posterior uncertainty.
3.2 Field data
We then apply the proposed method to a field dataset acquired in offshore China to assess its feasibility in practice. Figure 14a presents the initial velocity model corresponding to the field data. The model is discretized into grid points with a spatial sampling interval of .

Distance (m)
Distance (m)
Figure 9: (a) Overthrust model (ground truth). (b) Initial Overthrust model used for inversion.

Figure 10: Observed data generated using real Overthrust model (DSNR=16.9 dB).
The acquisition geometry consists of 40 shots, with the seismic data band-pass filtered between 5 and 15 Hz. The sources are spaced at 200 m intervals, and the temporal sampling interval is 2

Figure 11: Nine randomly selected initial particles generated by perturbing the smoothed Overthrust model with GRFs.
(a)

(b)
(c)
(d)
Figure 12: Estimated mean value of the Overthrust model using (a) the classic ASVGD method and (b) the diffusion-guided ASVGD method. Estimated standard deviation value of the Overthrust model using (c) the classic ASVGD method and (d) the diffusion-guided ASVGD method.
ms. As shown in Figure 14b, each shot gather contains 240 traces with a receiver spacing of 25 m. Like the previous synthetic example, we generate 50 particles by adding GRFs to the initial model shown in Figure 14, and the partially generated particles are displayed in Figure 15. From Figure 15, we can see that the background velocity structures remain largely consistent across particles, whereas the local perturbations show clear diversity. Based on the generated particles, we then perform 30 iterations for both the classic ASVGD and the diffusion-regularized ASVGD FWI, using a constant learning rate of 30. Figure 16 depicts the final estimated mean value and uncertainty distribution of the field data, showing that, compared with the classic ASVGD result, the diffusion-regularized ASVGD method produces a more geologically
Classic ASVGD distance=9000.00 m
(b)
Diffusion-ASVGD distance=9000.00 m

Figure 13: Verticle profile comparison of the Overthrust model. (a) Vertical profile showing mean and three confidence intervals for the experiment using classic ASVGD. (b) Vertical profile showing mean and three confidence intervals for the experiment using diffusion-guided ASVGD.
consistent velocity model with smoother, more continuous background structures. As indicated by the red arrows, the classic ASVGD result shows several localized anomalous perturbations, likely due to insufficient illumination, acquisition limitations, or noise in the field data. These artifacts result in less geologically plausible velocity structures and greater uncertainty in the corresponding std map. In contrast, the diffusion-regularized ASVGD method suppresses these non-geological anomalies and produces a more coherent, structurally plausible velocity model. These observations suggest that the diffusion prior effectively suppresses non-geological artifacts and guides the particles toward a more reliable posterior distribution.
To evaluate the reliability of the inversion results, we then perform reverse-time migration (RTM) and extract the angle-domain common image gather (ADCIG) for further intuitive comparison. Figure 17 shows the final migration profiles and ADCIG at different locations. Obviously, compared with the classic ASVGD result, the diffusion-regularized ASVGD result produces a better-focused RTM image with more continuous reflectors (e.g., marked by the black arrows). The corresponding ADCIGs also show flatter events and weaker residual move-out, indicating improved kinematic consistency of the inverted mean velocity model. Moreover, we can see that the event energy is more focused in Figure 17d. These observations suggest that the diffusion prior helps suppress non-geological velocity anomalies caused by insufficient illumination or field-data noise, thereby improving the structural plausibility and imaging reliability of conventional ASVGD FWI.

Distance (m)
(b)
Figure 14: (a) Initial model corresponding to the field data. (b) Partial field shot gathers.
4 Discussion
In this section, we will interpret the potential mechanism of diffusion prior and conduct additional experiments to evaluate the robustness and the limitations of the proposed method. All the experiments are based on the Overthrust model shown in Figure 9.
4.1 Role of the diffusion prior in structural information incorporation
We first show an intuitive example to help understand the potential mechanism of diffusion prior and its role of structural information incorporation. Figure 18 illustrates the progressive incorporation of structural information in diffusion-regularized ASVGD-FWI. In the early iterations, the recovered model primarily captures the large-scale velocity trend, whereas the layered interfaces and complex structural features remain relatively blurred. This behavior indicates that the inversion is initially dominated by the data-driven update, allowing the model to account for the observed data before more detailed structural constraints are introduced. With increasing iterations, fault-related structures, curved stratigraphic layers, and sharp velocity contrasts become increasingly pronounced and better organized. The diffusion prior therefore acts as a progressive structural regularizer, enhancing geologically meaningful features while suppressing unstable artifacts. At 85 iterations, the model preserves the large-scale background

Figure 15: Nine randomly selected initial particles for the field data case, generated by perturbing the initial model using GRFs.
(a)

(b)
(c)
(d)
Figure 16: Field-data inversion results. Estimated mean velocity models obtained using (a) the classic ASVGD method and (b) the diffusion-regularized ASVGD method. Estimated standard deviation maps obtained using (c) the classic ASVGD method and (d) the diffusion-regularized ASVGD method. The red arrows highlight the artifacts may be caused by insufficient illumination, acquisition limitations, or noise in the field data.
trend while recovering finer structural details, demonstrating that the diffusion prior and the data-driven SVGD update work together to produce a geologically consistent and structurally informative inversion result. Furthermore, since the initial particles in SVGD are generated by adding GRF perturbations to the initial velocity model, we further evaluate the effectiveness of the learned diffusion prior in suppressing such GRF-induced perturbations. The results are shown in Figure 19. In this experiment, we randomly select a velocity model with folded layers from the GeoFWI dataset, as shown in Figure 19(a), and add a GRF perturbation to obtain

Figure 17: Migration profile obtained using the velocity model of (a) classic ASVGD method and (b) diffusion-regularized ASVGD method. (c) ADCIG at different locations corresponding to Fig 17a. (d) ADCIG at different locations corresponding to Fig 17b. The black arrows highlight the visible improvements in the image profile and ADCIG gathers, indicating enhanced image resolution.
the perturbed model shown in Figure 19(b). Figures 19(c)-(f) present the regularized results and the corresponding error maps obtained using conventional Gaussian smoothing (e.g., variance is set to 1) and diffusion-based regularization, respectively. Compared with conventional Gaussian smoothing, the learned diffusion prior more effectively suppresses the GRF-induced perturbations while preserving sharp layer boundaries and structural details. In contrast, Gaussian smoothing tends to blur the interfaces and introduces larger deviations from the reference model, thereby compromising structural fidelity.
4.2 Influence of the number of initial particles
We then discuss the number of initial particles on the final results. Under the same configuration, we increase the number of particles to 100 and keep the other parameters unchanged for inversion. Figure 20 shows the final estimated mean value and std distribution after 100 iterations, where we can see that the results obtained with 100 particles show a similar posterior mean model to that obtained with 50 particles. This indicates that 50 particles are already sufficient to capture the dominant features of the posterior distribution under the guidance of the diffusion prior. Increasing the number of particles to 100 does not lead to a substantial improvement in the mean velocity model. However, the uncertainty estimation becomes more stable when more particles are used. Compared with the result obtained with 50 particles, the std map from 100 particles shows more continuous and statistically stable uncertainty patterns, especially around complex structures and deep interfaces. This is because a larger number of particles provides a better approximation of the posterior distribution and reduces the influence of random fluctuations from individual particles. Therefore, increasing the number of particles mainly improves the stability of posterior uncertainty estimation, whereas the improvement in the posterior mean model is relatively limited. Meanwhile, the computational cost increases almost proportionally with the number of particles. In our experiments, we use an NVIDIA GeForce RTX 5090 GPU. The inversion with 50 particles requires approximately 20 minutes, whereas increasing the particle number to 100 roughly doubles the computational time to about

Figure 18: Evolution of the velocity mean at different iterations: (a) 5, (b) 25, (c) 45, and (d) 85 iterations. The results demonstrate that the inversion process progressively incorporates structural information, evolving from a smooth large-scale background model to a geologically consistent model with coherent layers, sharper velocity contrasts, and more detailed fault-related structures.
(a)

(b)
(c)
(d)
(e)
(f)
Figure 19: Comparison of Gaussian smoothing and diffusion-based regularization for suppressing GRF-induced perturbations. (a) Reference velocity model. (b) GRF-perturbed velocity model. (c) Result after conventional Gaussian smoothing. (d) Result after diffusion-based regularization. (e) Difference between the Gaussian-smoothed model and the reference model. (f) Difference between the diffusion-regularized model and the reference model. The diffusion prior more effectively suppresses GRF-induced perturbations while preserving the layer boundaries and structural features.
40 minutes. Thus, 50 particles provide a reasonable balance between computational efficiency and inversion stability.

Distance (m)
(b)
Distance (m)
Figure 20: (a) Estimated velocity mean value using 100 different initial particles. (b) Estimated std map using 100 different initial particles.
4.3 Influence of noise level on the final uncertainty evaluation
Next, we investigate the influence of noise on the final inversion results by adding stronger noise to the generated shot gathers, yielding a DSNR of 2 dB. In this experiment, the same 50 initial particles are used, and all other inversion parameters are kept unchanged. The final inversion results are shown in Figure 21. As expected, the proposed diffusion-regularized ASVGD method can still recover the main velocity structures, indicating its robustness under strong noise contamination. However, compared with the result shown in Figure 12b, the posterior mean model becomes less continuous and contains more local perturbations, especially in the deep region and near the model boundaries. This is because strong noise contaminates the data-misfit gradient, making particle evolution less stable. Even under this low-DSNR condition, the diffusion-regularized inversion still preserves the main geological structures and converges to a relatively plausible solution. This indicates that the diffusion prior helps stabilize the ASVGD particle evolution by providing additional geological constraints beyond the noisy data likelihood. Although inversion uncertainty inevitably increases with higher noise levels, the proposed method shows improved robustness to noise and can partially mitigate the adverse effects of noisy observations.
(a)

(b)
Distance (m)
Figure 21: (a) Estimated velocity mean value under a DSNR of 2 dB. (b) Estimated std map under a DSNR of 2 dB.
4.4 Key factors in diffusion regularization and computational cost analysis
Finally, we compare the computational costs of the classic ASVGD method and the diffusion-regularized ASVGD method. Taking the Overthrust example shown in Figure 12 as an illustration, the total computational cost for classic ASVGD and diffusion-regularized ASVGD are approximately 870 s and 964 s, respectively. This comparison indicates that incorporating the diffusion prior introduces only a modest additional computational overhead while providing the benefits of diffusion-based regularization. Additionally, the choice of the starting timestep and shift size for the diffusion regularization also play an important role. In general, an earlier starting timestep (e.g., ) results in a more deterministic denoising process, whereas a later starting timestep (e.g., t is closer to 1000) introduces greater stochasticity and uncertainty. As the inversion progresses and the estimated model becomes increasingly accurate, an earlier starting timestep is therefore preferred to reduce unnecessary perturbations and improve inversion accuracy. In our experiment, we set shift size to 10 to reduce the boundary influence.
related with patching scheme and more discussion can be found in [46]. More importantly, the training dataset used for the diffusion model can also significantly influence the final performance. Constructing geologically plausible and sufficiently diverse training datasets is essential for improving generalizability, particularly in field-data applications, because a broader range of samples enables the network to implicitly learn richer structural and geological features. Once trained, the diffusion prior can then be incorporated into the inversion as an adaptive, data-driven constraint without any extra parameter selection and local slope estimation.
5 Conclusion
In this paper, we develop a novel diffusion-regularized ASVGD method to improve the stability and structural reliability of particle-based Bayesian full-waveform inversion. The proposed method incorporates a learned diffusion prior into the ASVGD particle evolution, allowing the inversion to be guided not only by the data likelihood but also by geological prior information learned from a diverse and representative dataset of velocity models. In this way, the diffusion guidance provides an effective regularization mechanism for suppressing non-geological perturbations while preserving large-scale background velocity trends and structurally coherent features. Numerical and field data examples validate that the integration of diffusion-based geological priors with ASVGD-FWI, which enhances conventional particle-based Bayesian inversion by jointly improving posterior estimation, uncertainty characterization, and imaging consistency, which provides a promising approach for mitigating noise- and illumination-related artifacts in challenging FWI applications, especially when reliable prior information is needed to stabilize the inversion of field data.
6 Acknowledgements
The authors would like to thank Texas Consortium of Computational Seismology (TCCS), the Texas Seismological Network and Seismology Research (TexNet), and the State of Texas, which provided financial support for this publication under the University of Texas at Austin award # 201503664.
7 Conflict of Interest
The authors declare no conflicts of interest relevant to this study.
8 Open Research Section
The open-source repository of diffusion-guided ASVGD FWI, including codes, and examples, can be accessed via [57].
References
[1] R. Gerhard Pratt, Changsoo Shin, and G. J. Hick. Gauss–Newton and full newton methods in frequency-space seismic waveform inversion. Geophysical Journal International, 133(2):341–362, 1998.
[2] J. Virieux and S. Operto. An overview of full-waveform inversion in exploration geophysics. Geophysics, 74(6):WCC1–WCC26, 2009.
[3] Joseph P Vantassel, Krishna Kumar, and Brady R Cox. Using convolutional neural networks to develop starting models for near-surface 2-D full waveform inversion. Geophysical Journal International, 231(1):72–90, 05 2022.
[4] C Li, G Liu, and Y Deng. Nonstationary phase-corrected full-waveform inversion with attenuation compensation in viscoacoustic medium. Journal of Geophysics and Engineering, 19(4):724–738, 07 2022.
[5] Arnab Dhara and Mrinal K Sen. Elastic full-waveform inversion using a physics-guided deep convolutional encoder-decoder. IEEE Transactions on Geoscience and Remote Sensing, 61:1–18, 2023.
[6] Odile Gauthier, Jean Virieux, and Albert Tarantola. Two-dimensional nonlinear inversion of seismic waveforms; numerical results. Geophysics, 51(7):1387–1403, 07 1986.
[7] Antoine Guitton, Gboyega Ayeni, and Esteban Díaz. Constrained full-waveform inversion by model reparameterization. Geophysics, 77(2):R117–R127, 2012.
[8] Tariq A. Alkhalifah. Full waveform inversion in an anisotropic world: Where are the parameters hiding? 01 2016.
[9] Cédric Taillandier, Mark Noble, Hervé Chauris, and Henri Calandra. First-arrival travel-time tomography based on the adjoint-state method. Geophysics, 74(6):WCB1–WCB10, 2009.
[10] Jiashun Yao and Yanghua Wang. Building a full-waveform inversion starting model from wells with dynamic time warping and convolutional neural networks. Geophysics, 87(2):R223–R230, 2022.
[11] Qingchen Zhang, Shijun Cheng, Wei Chen, and Weijian Mao. Well- and Structure-Constrained Initial Velocity Building for Full-Waveform Inversion via a Generative Diffusion Model. IEEE Transactions on Geoscience and Remote Sensing, 63:1–14, 2025.
[12] Michael Warner and Lluís Guasch. Adaptive waveform inversion: Theory. Geophysics, 81(6):R429–R445, 2016.
[13] Hejun Zhu and Sergey Fomel. Building good starting models for full-waveform inversion using adaptive matching filtering misfit. Geophysics, 81(5):U61–U72, 2016.
[14] Yunan Yang, Björn Engquist, Junzhe Sun, and Brittany F. Hamfeldt. Application of optimal transport and the quadratic Wasserstein metric to full-waveform inversion. Geophysics, 83(1):R43–R62, 2018.
[15] Bingbing Sun and Tariq Alkhalifah. ML-misfit: A neural network formulation of the misfit function for full-waveform inversion. Frontiers in Earth Science, Volume 10 - 2022, 2022.
[16] C Li, G Liu, F Li, and Z Wang. Robust joint adaptive multiparameter waveform inversion with attenuation compensation in viscoacoustic media. Geophysics, pages R231–R246, 03 2024.
[17] Oleg Ovcharenko, Vladimir Kazei, Mahesh Kalita, Daniel Peter, and Tariq Alkhalifah. Deep learning for low-frequency extrapolation from multioffset seismic data. Geophysics, 84(6):R989–R1001, 2019.
[18] Z Wang, G Liu, J Du, C Li, and J Qi. Low-Frequency Extrapolation of Prestack Viscoacoustic Seismic Data Based on Dense Convolutional Network. IEEE Transactions on Geoscience and Remote Sensing, 60:1–13, 2022.
[19] Shijun Cheng, Yi Wang, Qingchen Zhang, Randy Harsuko, and Tariq Alkhalifah. A Self-Supervised Learning Framework for Seismic Low-Frequency Extrapolation. Journal of Geophysical Research: Machine Learning and Computation, 1(3):e2024JH000157, 2024.
[20] Fangshu Yang and Jianwei Ma. Deep-learning inversion: A next-generation seismic velocity model building method. Geophysics, 84(4):R583–R599, 2019.
[21] Shucai Li, Bin Liu, Yuxiao Ren, Yangkang Chen, Senlin Yang, Yunhai Wang, and Peng Jiang. Deep learning inversion of seismic data. IEEE Transactions on Geoscience and Remote Sensing, 58(3):2135–2149, 2020.
[22] Zhongping Zhang and Youzuo Lin. Data-Driven Seismic Waveform Inversion: A Study on the Robustness and Generalization. IEEE Transactions on Geoscience and Remote Sensing, 58(10):6900–6913, 2020.
[23] Mahdi Saadat, Hosein Hashemi, and Majid Nabi-Bidhendi. Generalizable data driven full waveform inversion for complex structures and severe topographies. Petroleum Science, 21(6):4025–4033, 2024.
[24] Malcolm Sambridge and Klaus Mosegaard. MONTE CARLO METHODS IN GEOPHYSICAL INVERSE PROBLEMS. Reviews of Geophysics, 40(3):3–1–3–29, 2002.
[25] M.K. Sen and P.L. Stoffa. Global Optimization Methods in Geophysical Inversion. Cambridge University Press, 2013.
[26] James Martin, Lucas C. Wilcox, Carsten Burstedde, and Omar Ghattas. A Stochastic Newton MCMC Method for Large-Scale Statistical Inverse Problems with Application to Seismic Inversion. SIAM Journal on Scientific Computing, 34(3):A1460–A1487, 2012.
[27] Leandro Passos de Figueiredo, Dario Grana, Mauro Roisenberg, and Bruno B. Rodrigues. Gaussian mixture Markov chain Monte Carlo method for linear seismic inversion. Geophysics, 84(3):R463–R476, 04 2019.
[28] Klaus Mosegaard and Albert Tarantola. Monte carlo sampling of solutions to inverse problems. Journal of Geophysical Research: Solid Earth, 100(B7):12431–12447, 1995.
[29] Alberto Malinverno. Parsimonious Bayesian Markov chain Monte Carlo inversion in a nonlinear geophysical problem. Geophysical Journal International, 151(3):675–688, 12 2002.
[30] T. Bodin, M. Sambridge, K. Gallagher, and N. Rawlinson. Transdimensional inversion of receiver functions and surface wave dispersion. Journal of Geophysical Research: Solid Earth, 117(B2), 2012.
[31] Erica Galetti, Andrew Curtis, Brian Baptie, David Jenkins, and Heather Nicolson. Trans-dimensional Love-wave tomography of the British Isles and shear-velocity structure of the East Irish Sea Basin from ambient-noise interferometry. Geophysical Journal International, 208(1):36–58, 01 2017.
[32] Anandaroop Ray, Sam Kaplan, John Washbourne, and Uwe Albertin. Low frequency full waveform seismic inversion within a tree based Bayesian framework. Geophysical Journal International, 212(1):522–542, 01 2018.
[33] Xin Fu and Kristopher A. Innanen. An MCMC-based approach to time-lapse full-waveform inversion. SEG/AAPG/SEPM First International Meeting for Applied Geoscience & Energy: D011S147R001, 09 2021.
[34] Shuhua Hu, Zeyu Zhao, and Mrinal K Sen. Bayesian full-waveform inversion using adaptive Markov chain Monte Carlo methods. Geophysics, 90(5):R325–R344, 08 2025.
[35] Miguel Corrales, Sean Berti, Bertrand Denel, Paul Williamson, Mattia Aleardi, and Matteo Ravasi. Annealed stein variational gradient descent for improved uncertainty estimation in full-waveform inversion. Geophysical Journal International, 241(2):1088–1113, 05 2025.
[36] J. Andrés Christen and Colin Fox. Markov chain Monte Carlo Using an Approximation. Journal of Computational and Graphical Statistics, 14(4):795–810, 2005.
[37] T. Cui, C. Fox, and M. J. O'Sullivan. Bayesian calibration of a large-scale geothermal reservoir model by a new adaptive delayed acceptance Metropolis Hastings algorithm. Water Resources Research, 47(10), 2011.
[38] Mattia Aleardi. A gradient-based Markov chain Monte Carlo algorithm for elastic pre-stack inversion with data and model space reduction. Geophysical Prospecting, 69(5):926–948, 2021.
[39] Zeyu Zhao and Mrinal K. Sen. Uncertainty quantification for full-waveform inversion with a mini-batch gradient-based sampling method. SEG/AAPG International Meeting for Applied Geoscience & Energy: D011S047R004, 08 2022.
[40] Sean Berti, Mattia Aleardi, and Eusebio Stucchi. A computationally efficient Bayesian approach to full-waveform inversion. Geophysical Prospecting, 72(2):580–603, 2024.
[41] Mark Girolami and Ben Calderhead. Riemann manifold Langevin and Hamiltonian Monte Carlo methods. Journal of the Royal Statistical Society: Series B (Statistical Methodology), 73(2):123–214, 2011.
[42] Mrinal K. Sen and Reetam Biswas. Transdimensional seismic inversion using the reversible jump Hamiltonian Monte Carlo algorithm. Geophysics, 82(3):R119–R134, 03 2017.
[43] Andreas Fichtner, Andrea Zunino, and Lars Gebraad. Hamiltonian Monte Carlo solution of tomographic inverse problems. Geophysical Journal International, 216(2):1344–1363, 02 2019.
[44] Fu Wang, Xinquan Huang, and Tariq A. Alkhalifah. A Prior Regularized Full Waveform Inversion Using Generative Diffusion Models. IEEE Transactions on Geoscience and Remote Sensing, 61:1–11, 2023.
[45] Hanchen Wang, Yinpeng Chen, Jeeun Kang, Yixuan Wu, Young Jin Kim, and Youzuo Lin. WaveDiffusion: Exploring Full Waveform Inversion via Joint Diffusion in the Latent Space, 2025.
[46] Chao Li and Yangkang Chen. Learned Diffusion Model Regularization for Full Waveform Inversion. Geophysical Prospecting, 74(4):e70188, 2026.
[47] Mohammad H Taufik and Tariq Alkhalifah. Accelerating Bayesian full waveform inversion using reconstruction-guided diffusion sampling. Geophysical Journal International, 245(2):ggag066, 05 2026.
[48] Chao Li, Yiran Shen, Sergey Fomel, Umair Bin Waheed, Alexandros Savvaidis, and Yangkang Chen. GeoFWI: A Large Velocity Model Data Set for Benchmarking Full Waveform Inversion Using Deep Learning. Journal of Geophysical Research: Machine Learning and Computation, 3(2):e2025JH001037, 2026.
[49] Jonathan Ho, Ajay Jain, and Pieter Abbeel. Denoising diffusion probabilistic models. Advances in neural information processing systems, 33:6840–6851, 2020.
[50] Yang Song, Jascha Sohl-Dickstein, Diederik P Kingma, Abhishek Kumar, Stefano Ermon, and Ben Poole. Score-based generative modeling through stochastic differential equations. arXiv preprint arXiv:2011.13456, 2020.
[51] Yiran Shen, Yangkang Chen, and Björn Engquist. Diffusion-guided optimization for full waveform inversion. 2026.
[52] Qiang Liu and Dilin Wang. Stein Variational Gradient Descent: A General Purpose Bayesian Inference Algorithm, 2019.
[53] Francesco D'Angelo and Vincent Fortuin. Annealed stein variational gradient descent. 2021.
[54] Sergey Fomel. Shaping regularization in geophysical-estimation problems. Geophysics, 72(2):R29–R36, 2007.
[55] Alan Richardson. Deepwave. June 2026.
[56] Muhammad Izzatullah, Matteo Ravasi, and Tariq Alkhalifah. Physics reliable frugal uncertainty analysis for full waveform inversion, 2023.
[57] Chao Li. Diffusion guided asvgd fwi. Zenodo, 2026.