A Hybrid Gradient Method to Designing Bayesian Experiments for Implicit Models

Jiaxin Zhang, Sirui Bi, Guannan ZhangarXiv 2021

Abstract

Designing optimal experiments is challenging when the underlying model is an implicit "black box" simulator lacking analytical gradients. This paper introduces SAGABED, a hybrid gradient framework that integrates neural mutual information estimation with evolution strategies. By combining the Smoothed Mutual Information Least-square Estimator (SMILE) with Guided Evolution Strategies (ES), SAGABED enables efficient experimental design optimization in high-dimensional spaces without requiring pathwise gradients. We demonstrate its effectiveness on high-dimensional linear regression and quantum control tuning, showing superior scalability and stability compared to traditional Bayesian Optimization and gradient-based methods.

Introduction

In scientific research, Bayesian Experimental Design (BED) seeks to identify experimental parameters that maximize the Mutual Information (MI) between observed data and latent model parameters. However, many modern simulators are "implicit models"—they generate outputs but do not provide a closed-form likelihood function. This intractability makes calculating MI and its gradients extremely difficult.

Existing approaches typically fall into two categories: gradient-based methods that require often-unavailable pathwise gradients, and black-box optimizers like Bayesian Optimization (BO) that suffer from the "curse of dimensionality." As the number of design variables increases, BO becomes computationally prohibitive and often fails to converge to an optimal design.

Methodology: The SAGABED Framework

The authors propose SAGABED (Stochastic Approximate Gradient Ascent for BED), a unified framework that optimizes experimental designs ($\xi$) and neural MI estimators simultaneously. It leverages three core innovations:

  1. SMILE (Smoothed Mutual Information Least-square Estimator): To estimate the MI lower bound, the authors utilize SMILE, which employs density ratio clipping. This technique significantly reduces the high variance typically associated with neural MI estimation, leading to more stable training.
  2. Guided Evolution Strategies (ES): To optimize the design variables without analytical gradients, SAGABED uses Evolution Strategies. By incorporating Guided ES, the search is focused on a lower-dimensional subspace, enhancing efficiency in high-dimensional design spaces.
  3. Joint Optimization Loop: Unlike traditional two-stage BED (estimate then optimize), SAGABED updates both the neural network parameters and the experimental design in a single, scalable loop. This "hybrid" approach provides gradient-like efficiency while remaining gradient-free regarding the simulator.

Experimental Results

The performance of SAGABED was evaluated against standard Stochastic Gradient Ascent (SGA) and Bayesian Optimization (BO) across two benchmarks.

Scalability in High Dimensions

In a noisy linear regression task, the researchers tested the methods across varying design dimensions ($D$). As shown in the figure below, while BO performs well in low dimensions (e.g., $D=1$), its performance degrades significantly as $D$ increases to 100. In contrast, SAGABED (SMILE+GES) maintains high MI lower bounds and demonstrates superior stability and scalability.

Scalability of SAGABED compared to MINE+SGD and MINE+BO across dimensions D=1 to D=100.

Precision in Quantum Control Tuning

The framework was also applied to a real-world quantum control problem: optimizing pulse sequences to manipulate qubits. The goal is to pinpoint physical parameters (Rabi frequency and detuning) with high confidence.

Comparison of the hybrid gradient method (SAGABED) and Bayesian optimization for quantum control tuning.

As illustrated in the comparison above, the designs generated by SAGABED lead to posterior distributions with significantly lower variance compared to those from BO. This increased precision allows for more accurate parameter estimation with fewer experimental iterations.

Conclusion

SAGABED represents a significant advancement in Bayesian Experimental Design for implicit models. By bridging the gap between deep learning-based MI estimation and evolution-based optimization, it overcomes the scalability limits of black-box methods and the gradient requirements of traditional SGA. While the method requires a non-trivial simulation budget and careful hyperparameter tuning, its ability to handle high-dimensional, intractable simulators opens new avenues for automated scientific discovery.

Summary updated

BibTeX
@misc{zhang2021hybrid,
  author = {Jiaxin Zhang and Sirui Bi and Guannan Zhang},
  title = {{A Hybrid Gradient Method to Designing Bayesian Experiments for Implicit Models}},
  year = {2021},
  eprint = {2103.08594},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2103.08594},
}
Figure