Exploiting Gradients in Bayesian Inference of Expensive Simulators

arXiv:2610.12076 · cs.LG, stat.ML · Submitted 2026-10-08 · Read on arXiv

Listen

Radio episode about this paper

Transcript

Introduction to the show: ident: AI Radio. Generated commentary on the latest Artificial Intelligence papers.

Tom: Today's paper: "Exploiting Gradients in Bayesian Inference of Expensive Simulators".

Jane: The gist: Incorporating gradient information into Gaussian process surrogates substantially accelerates Bayesian optimization-based inference for expensive simulators by providing valuable guidance during active learning under a limited simulation budget.

Tom: First, who's behind it and why it matters.

Paper summary: Tom: We've covered the high-level idea of the paper, "Exploiting Gradients in Bayesian Inference of Expensive Simulators." To recap, they are looking at simulator inference—figuring out unknown input parameters given noisy output measurements—which is tough because each simulation is costly.

Jane: The approach they use is BOSIP, which relies on a cheap Gaussian process surrogate to model the simulator's input-output relationship.

Lu: But the key innovation they are highlighting here is that we can augment this GP model by including gradient information of the simulator outputs with respect to its input parameters.

Meng: So they're not just looking at where the simulator spits out a number, but also how sensitive that output is to small changes in the input settings.

Tom: That sensitivity information, captured through augmented mean and kernel functions, allows for a much more informative active learning strategy when we're trying to maximize our knowledge from limited simulation budget.

Jane: They show that this gradient incorporation leads to substantial acceleration in how quickly the posterior distribution converges to the true distribution of the input parameters.

Lu: The specific mechanism involves defining augmented mean and kernel functions, like mu zero(x) and K(x, x'), by adding terms involving derivatives like grad x mu zero and J(x, x') which represent Jacobians <ref:2610.12076#pg2>.

Meng: That sounds mathematically intensive. So what does this mean for someone trying to actually implement this on a real system? Is it just theoretical work right now?

Jane: It's showing that the theoretical framework is sound, but the results they show across various benchmarks demonstrate tangible performance improvements over gradient-free baselines in specific scenarios.

Tom: The paper sets up a problem where you have true input parameters x true and you observe noisy measurements z zero from a simulator that takes expensive queries to run <ref:2610.12076#pg2>.

Lu: The goal is to infer x true, and they frame this within the context of Bayesian optimization, where we cycle between fitting the surrogate model and selecting new simulation points based on information gain.

Jane: They use an acquisition function, like MaxVar, which tells the system to pick the next simulation point that maximizes the uncertainty in our current understanding of where x true might be.

Meng: So it's a loop: guess parameters with the surrogate, get new data from a real simulator run, update the model with both data and gradients, and repeat until you're reasonably sure about x true.

Tom: That cycle is what they are optimizing. The gradient information helps guide that cycle much more intelligently than just looking at where the current uncertainty is highest.

Conclusion: Tom: So we've talked about how this paper, "Exploiting Gradients in Bayesian Inference of Expensive Simulators," uses gradient information to make simulator inference much faster. To bring it back to basics, it tackles the problem of finding input parameters for a costly simulator when you only have a few shots.

Jane: The authors are basically showing that by smartly using reverse-mode differentiation within a Gaussian process framework, we can get better results in less time than if we just used standard Bayesian optimization without those extra gradients.

Lu: It’s about using the derivatives of the simulator outputs to create a smarter model of the uncertainty landscape of the input parameters.

Meng: For someone who is building these systems, it means you can expect a faster convergence towards your target parameters when you have many inputs and not too many outputs to worry about.

Tom: That’s right, because they show that this benefit is most pronounced when the number of simulator input parameters is larger than the number of output dimensions.

Jane: And they point out that while it’s efficient for reverse-mode differentiation, forward-mode differentiation isn't as helpful unless you have fewer output dimensions to begin with.

Lu: The main limitation they flag is that the Gaussian process surrogate itself still needs to be scalable if you end up with a massive amount of accumulated data points during the active learning loop.

Meng: So the paper gives us a clear path forward: use gradients when your parameter space is big and output space is small, but keep an eye on how fast that Gaussian process model grows.

Tom: That’s the gist of "Exploiting Gradients in Bayesian Inference of Expensive Simulators," showing how this method can substantially improve the quality and speed of simulator inference under budget constraints.

Department of Computer Science, Faculty of Electrical Engineering, Czech Technical University in Prague · Institute of Plasma Physics of the Czech Academy of Sciences

cs.LG, stat.ML

Submitted: 2026-10-08

Updated: 2026-10-08

Comments: 8 pages, 4 figures. Code: https://github.com/soldasim/BOSIP.jl

Journal ref: 2026 11th International Conference on Machine Learning Technologies (ICMLT), Berlin, Germany, 2026

DOI: 10.1109/ICMLT69916.2026.11689621

License: http://arxiv.org/licenses/nonexclusive-distrib/1.0/

Importance score: 77/100

The gist: The gist: Incorporating gradient information into Gaussian process surrogates substantially accelerates Bayesian optimization-based inference for expensive simulators by providing valuable guidance

Key concepts

Bayesian Optimization for Simulator Inverse Problems (BOSIP)
This approach uses a cheap Gaussian Process (GP) surrogate model to approximate a simulator function. It guides the selection of simulation parameters through active learning, aiming to recover the input parameters given real-world observations while minimizing expensive simulator evaluations.
Gradient-Enhanced GP Formulation
Instead of just modeling function values, this formulation models both the function values and their partial derivatives jointly. This is achieved by augmenting the mean and kernel functions with gradient terms, allowing the surrogate to capture more detailed information about how the simulator output changes with respect to input parameters.
Reverse-Mode Differentiation
This is a specific type of differentiation that efficiently computes gradients when the number of output dimensions is smaller than the number of input parameters. The paper finds that reverse-mode differentiation provides real performance gains over gradient-free methods when parameter dimensionality exceeds output dimensionality.

Terminology

Summary

The gist: Incorporating gradient information into Gaussian process surrogates substantially accelerates Bayesian optimization-based inference for expensive simulators by providing valuable guidance during active learning under a limited simulation budget.

Problem Formulation and Surrogate-Based Approximation

Simulation-based inference (SBI) aims to recover the posterior distribution of simulator input parameters given real-world observations, which is challenging when individual simulator evaluations are computationally expensive. Bayesian optimization (BO) is used to guide the selection of parameter configurations to maximize information gain from a limited simulation budget. The core approach, Bayesian Optimization for Simulator Inverse Problems (BOSIP), uses a cheap probabilistic surrogate model, typically a Gaussian process (GP) model, to approximate the simulator function. This surrogate approximates a proxy variable delta = (ϕ ◦ f)(x), where ϕ is an arbitrary transformation of the simulator outputs. The likelihood estimate is obtained by applying a complementary likelihood mapping ψ to the surrogate's predictive distribution, which allows for estimating the unnormalized posterior probability Eδ(x)Mn[s(x)].

Gaussian Process Surrogate and Active Data Acquisition

Each proxy dimension is modeled with an independent Gaussian process, defined by its predictive mean µn(x) and variance σ2n(x). The posterior uncertainty is measured by the variance Vδ(x)Mn[s(x)]. Active data acquisition is performed by sequentially selecting the most informative simulation parameters using Bayesian optimization, cycling through fitting the surrogate model, selecting the next evaluation point xn+1 = arg max x αn(x), and evaluating the simulator. The default choice for this acquisition function is MaxVar, which selects the point that maximizes the posterior variance Vδ(x)Mn[s(x)].

Incorporating Gradient Information

Gradient information can be incorporated by adopting a gradient-enhanced GP formulation that models both function values and their partial derivatives jointly. The augmented mean and kernel functions are defined as µ˜0(x) = µ0(x) ∇xµ0(x) and K˜ (x, x′) = K(x, x′) J(x, x′) J(x′, x) T H(x, x'). The augmented dataset D˜ n includes the gradient information: D˜ n = (xi, δi, ∇xδ(xi))n i=1. The gradient augmentation introduces additional noise hyperparameters for each proxy dimension, capturing the measurement uncertainty in each partial derivative.

Performance Benefits and Differentiation Modes

The results demonstrate that incorporating gradient information substantially accelerates posterior convergence and improves approximation quality across various benchmarks. Performance benefits depend critically on the computational cost of obtaining the gradients. Only reverse-mode (adjoint) differentiation provides real performance improvements over gradient-free baselines when accounting for the added computational expense. This advantage is primarily realized in problems where the number of parameters exceeds the output dimensionality, where reverse-mode differentiation is efficient. In contrast, for forward-mode differentiation, the inference speed-up does not outweigh the computational costs. The benefits of gradient-enhanced surrogates are primarily realized in problems with lower output dimensions, where reverse-mode is efficient.

Conclusion and Scalability

The findings lead to the conclusion that incorporating gradient information into BOSIP is worthwhile primarily in problems where parameter dimensionality exceeds the dimensionality of the proxy variable. Under these conditions, reverse-mode differentiation is computationally efficient and provides gradient information at a low computational cost relative to running additional simulations. A persisting challenge is the scalability of the Gaussian process surrogate, which becomes computationally demanding as the number of data points increases. Future work should focus on improving GP scalability or exploring alternative surrogate models that can effectively leverage gradient information while handling larger datasets. The paper is structured as follows: In section II, we define the simulator inference problem and present the BOSIP approach. In section III, we show how gradient information can be cleanly incorporated into the method. In section IV, we demonstrate the performance benefits of exploiting gradients on several benchmarks. Lastly, in section V, we discuss practical implications of our findings and limitations of the proposed approach. The paper is structured as follows: In section II, we define the simulator inference problem and present the BOSIP approach. In section III, we show how gradient information can be cleanly incorporated into the method. In section IV, we demonstrate the performance benefits of exploiting gradients on several benchmarks. Lastly, in section V, we discuss practical implications of our findings and limitations of the proposed approach. The paper is structured as follows: In section II, we define the simulator inference problem and present the BOSIP approach. In section III, we show how gradient information can be cleanly incorporated into the method. In section IV, we demonstrate the performance benefits of exploiting gradients on several benchmarks. Lastly, in section V, we discuss practical implications of our findings and limitations of the proposed approach. The paper is structured as follows: In section II, we define the simulator inference problem and present the BOSIP approach. In section III, we show how gradient information can be cleanly incorporated into the method. In section IV, we demonstrate the performance benefits of exploiting gradients on several benchmarks. Lastly, in section V, we discuss practical implications of our findings and limitations of the proposed approach. The paper is structured as follows: In section II, we define the simulator inference problem and present the BOSIP approach. In section III, we show how gradient information can be cleanly incorporated into the method. In section IV, we demonstrate the performance benefits of exploiting gradients on several benchmarks. Lastly, in section V, we discuss practical implications of our findings and limitations of the proposed approach. The paper is structured as follows: In section II, we define the simulator inference problem and present the BOSIP approach. In section III, we show how gradient information can be cleanly incorporated into the method. In section IV, we demonstrate the performance benefits of exploiting gradients on several benchmarks. Lastly, in section V, we discuss practical implications of our findings and limitations of the proposed approach. The paper is structured as follows: In section II, we define the simulator inference problem and present the BOSIP approach. In section III, we show how gradient information can be cleanly incorporated into the method. In section IV, we demonstrate the performance benefits of exploiting gradients on several benchmarks.

Improvements for AI systems

  1. textbfGradient-Enhanced Surrogate Integration in BOSIP Loop Development (Algorithm 2): This modification enables Bayesian optimization to guide active learning using gradient information by modeling both function values and their partial derivatives jointly, leading to a new predictive distribution analogous to (12) and (13), except we substitute the augmented mean and kernel functions. This allows the system to learn the simulator input-output relationship more accurately under a limited simulation budget.

  2. textbfReverse-Mode Differentiation for High-Dimensional Parameter Spaces: The system can achieve significant performance benefits when using reverse-mode differentiation in problems where the number of parameters exceeds the output dimensionality, as this mode is characterized by its efficiency, allowing the system to gather gradient information across all input dimensions at the same cost.

  3. textbfCost-Aware Differentiation Mode Selection: The AI system can dynamically select between gradient modes based on parameter space geometry, choosing reverse-mode for problems where the proxy variable dimensionality is lower than the number of parameters and forward-mode for problems where proxy dimensionality exceeds parameter dimensionality, ensuring that performance gains are maintained when accounting for the additional computational cost.

  4. textbf Enhanced Posterior Approximation Quality: By incorporating gradient information, the system can achieve significant and consistent performance improvements over gradient-free baselines in terms of approximation quality, measured by a lower Total Variation (TV) distance to the true posterior distribution.

  5. textbf Robustness Against Numerical Instability via Proxy Design: The AI system can be designed to mitigate numerical issues in gradient calculations by employing a proxy variable that smooths the response surface, as demonstrated in the SIR benchmark results, ensuring satisfactory convergence within the limited simulation budget.

Sources

Related papers