A Scalable Gradient-Free Method for Bayesian Experimental Design with Implicit Models

Jiaxin Zhang, Sirui Bi, Guannan Zhang

Abstract

Bayesian Experimental Design (BED) is a critical framework for maximizing the information gained from scientific experiments. However, applying BED to modern simulators presents two significant hurdles: the "implicit model" problem, where likelihood functions are analytically unavailable, and the "scalability wall," where traditional optimization techniques like Bayesian Optimization (BO) fail in high-dimensional design spaces. We introduce SAGABED (Stochastic Approximate Gradient Ascent for BED), a novel framework that addresses these challenges by combining a smoothed variational information estimator with guided evolution strategies. Our results demonstrate that SAGABED can optimize designs with up to 500 variables, a regime previously inaccessible to gradient-free BED methods.

Introduction

In many scientific domains, researchers rely on complex stochastic simulators to model physical processes. The goal of Bayesian Experimental Design is to select experimental parameters—designs—that maximize the Mutual Information (MI) between the resulting data and the underlying model parameters.

Traditional BED methods face severe limitations. First, many simulators are "black boxes" (implicit models) that provide data samples but no tractable likelihood or gradients. Second, standard optimization approaches like BO do not scale well; as the number of design variables increases, the computational cost becomes prohibitive and accuracy degrades. SAGABED overcomes these issues by providing a unified, gradient-free optimization loop that scales to hundreds of dimensions.

Methodology

SAGABED integrates two core components into a single training procedure:

1. SMILE: Smoothed Mutual Information Lower-bound Estimator

Calculating MI directly for implicit models is intractable. SAGABED utilizes the SMILE estimator, a variational lower bound that employs a clipping function on density ratios. This smoothing mechanism significantly reduces the variance of the MI estimate compared to other neural estimators like MINE. While introducing a slight bias, the reduced variance provides a much more stable signal for the optimizer, which is crucial for convergence in high-dimensional spaces.

2. Guided Evolution Strategies (GES)

To optimize the design without access to simulator gradients, SAGABED employs Guided Evolution Strategies. GES approximates gradients by sampling random perturbations in the design space. It improves efficiency by tracking a low-dimensional subspace of successful historical directions, allowing the method to focus its search and scale effectively to high dimensions.

Unified Optimization Loop

Unlike "two-stage" methods that alternate between MI estimation and design optimization, SAGABED updates the neural MI estimator and the experimental design parameters simultaneously. This end-to-end approach streamlines the training process and improves overall efficiency.

Experimental Evaluation

The authors evaluated SAGABED across three distinct scenarios: a benchmark linear regression model, a pharmacokinetic (PK) model for drug distribution, and a quantum control tuning task.

Scalability and Performance

In the linear regression benchmark, SAGABED successfully matched the performance of gradient-based methods that had access to internal simulator knowledge. As shown in Figure 1, while simpler methods perform adequately at low dimensions (D=1), SAGABED (SMILE+GES) maintains robust performance as dimensionality increases to D=100, whereas BO-based methods begin to lag.

Comparison of MI lower bound estimation and optimization across varying dimensions (D=1 to D=100) for linear regression.

The scalability is even more evident in the pharmacokinetic model experiments. As the number of measurement timings (dimensions) increases to 500, SAGABED continues to provide a stable and high MI lower bound, significantly outperforming baselines that struggle with high variance or poor scaling.

Scalability of SAGABED (SMILE+GES) compared to baselines in high-dimensional settings up to D=500.

Real-World Application: Quantum Control

In the quantum control task—a true implicit model where gradients are entirely inaccessible—SAGABED produced designs that resulted in significantly narrower posterior distributions for physical parameters compared to BO. This indicates that the designs chosen by SAGABED are substantially more informative, leading to more certain scientific conclusions.

Discussion and Conclusion

SAGABED represents a significant step forward for Bayesian Experimental Design. By prioritizing variance reduction (via SMILE) and leveraging efficient gradient approximation (via GES), it breaks the dimensionality curse that has long plagued gradient-free BED.

Key Insights: - Gradient-Free Versatility: SAGABED is compatible with legacy scientific codebases where internal gradients are unavailable. - Stability over Unbiasedness: The use of a smoothed estimator proves that a low-variance, slightly biased signal is superior for optimization than a high-variance, unbiased one. - High-Dimensional Capability: Successfully optimizing up to 500 dimensions opens new possibilities for complex experimental setups.

Future work will explore reducing the computational overhead of simulator forward passes through parallelization and extending the framework to sequential experimental design, where designs are updated iteratively as data is collected.

Summary updated

BibTeX
@inproceedings{zhang2021scalable,
  author = {Jiaxin Zhang and Sirui Bi and Guannan Zhang},
  title = {{A Scalable Gradient-Free Method for Bayesian Experimental Design with Implicit Models}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2021},
}
Figure