Blade: A Derivative-free Bayesian Inversion Method using Diffusion Priors

Hongkai Zheng, Austin Wang, Zihui Wu, Zhengyu Huang, Ricardo Baptista, Yisong YuearXiv 2025 · DOI

Abstract

Blade is a novel derivative-free Bayesian inversion framework designed to solve high-dimensional, nonlinear inverse problems without requiring gradients of the forward model. By integrating the generative capabilities of diffusion models with the efficiency of ensemble-based statistical linearization, Blade produces highly accurate and well-calibrated uncertainty estimates. Evaluated across synthetic benchmarks, fluid dynamics, and image restoration tasks, Blade demonstrates superior performance in capturing multi-modal distributions and maintaining Bayesian calibration compared to existing derivative-free methods.

Introduction

In scientific and engineering domains, "inverse problems" involve inferring hidden causes ($x$) from noisy observations ($y$). These problems are often characterized by two significant hurdles. First, the "forward model" $\mathcal{G}(x)$—the simulation mapping causes to effects—is frequently a complex, non-differentiable numerical code, precluding the use of gradient-based optimization. Second, defining realistic priors in high-dimensional spaces is challenging; traditional Gaussian priors often fail to capture the intricate structures of data like atmospheric flows or human faces.

Existing derivative-free approaches, such as Markov Chain Monte Carlo (MCMC), often fail to scale to high dimensions. Other ensemble-based methods frequently collapse to a single "blurred" average, failing to represent the true posterior uncertainty. Blade (Bayesian inversion, Linearization, Alternating updates, Derivative-free, and Ensembling) addresses these issues by leveraging diffusion models as powerful, data-driven priors within an ensemble-based framework.

Methods

Blade's architecture rests on three primary pillars: Split Gibbs Sampling (SGS), statistical linearization, and diffusion priors.

Overview of the Blade framework, illustrating the alternating ensemble likelihood and prior steps, along with statistical linearization of the forward model.

Split Gibbs Sampling (SGS)

Blade decouples the inversion problem into two alternating phases: a "likelihood step" that fits the observed data and a "prior step" that ensures the solution adheres to the data distribution. This decoupling allows for modular integration of complex priors.

Statistical Linearization

To handle black-box forward models without derivatives, Blade employs an ensemble of interacting particles. By analyzing the ensemble's spread, the method constructs a local "surrogate" linear model ($A_t z + b_t$) on the fly. This approach, inspired by Ensemble Kalman Filters, is adapted to support multi-modal distributions by assigning individual potentials to particles.

Diffusion Priors and Annealing

For the prior step, Blade utilizes a pre-trained diffusion model. This allows the algorithm to guide particles toward realistic states based on massive datasets. An annealing schedule is employed to gradually tighten the connection between the data and the prior, ensuring thorough exploration of the posterior space before convergence.

Results and Discussion

The authors evaluated Blade across synthetic benchmarks, fluid dynamics (InverseBench Navier-Stokes), and image restoration (FFHQ256).

Comparison of Blade against other methods on synthetic and fluid dynamics tasks. (a) shows multi-modality capture, (b) visualizes Navier-Stokes recovery, and (c) highlights superior calibration (SSR near 1.0).

Superior Calibration and Multi-modality

A key strength of Blade is its Bayesian calibration. In the Navier-Stokes problem, Blade achieved a Spread-Skill Ratio (SSR) near 1.0, indicating near-perfect calibration. In contrast, competing methods like Ensemble Kalman Sampling (EKS) with Diffusion Priors were often over-confident, with SSRs below 0.1. Furthermore, Blade successfully captures multiple distinct "modes" in the posterior, whereas EKS often merges them into a single blurry average.

High-Dimensional Exploration

Unlike many ensemble methods that get trapped in a low-dimensional subspace, Blade's diffusion step introduces sufficient nonlinearity and guided noise to explore the full ambient dimension of the problem (e.g., all 16,384 pixels in a $128 \times 128$ image).

Accuracy and Efficiency

In nonlinear tasks like image phase retrieval, Blade outperformed existing black-box methods in both PSNR and SSIM. It also demonstrated high sample efficiency, outperforming supervised U-Nets when task-specific training data was limited. Theoretical analysis confirms that Blade's error remains bounded even with imperfect score functions or linearizations.

Conclusion

Blade presents a robust framework for derivative-free Bayesian inversion, combining the strengths of diffusion models and ensemble methods. While it offers superior calibration and accuracy, it involves computational overhead from iterative diffusion steps and sensitivity to hyperparameters like effective observation noise. Future work will focus on optimizing these aspects and refining the theoretical understanding of discretization errors in the time-stepping process.

Summary updated

BibTeX
@misc{zheng2025blade,
  author = {Hongkai Zheng and Austin Wang and Zihui Wu and Zhengyu Huang and Ricardo Baptista and Yisong Yue},
  title = {{Blade: A Derivative-free Bayesian Inversion Method using Diffusion Priors}},
  year = {2025},
  eprint = {2510.10968},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.10968},
}
Figure