Optimal Bayesian design for model discrimination via classification

Markus Hainy, David J. Price, Olivier Restif, Christopher C. DrovandiStat. Comput 2022 · DOI

Abstract Optimal Bayesian Design (OBD) is a critical framework for selecting experimental conditions that maximize information gain for model selection. However, traditional OBD methods are often computationally prohibitive, especially for models with intractable likelihoods. This paper proposes a novel approach that treats model discrimination as a supervised classification problem. By employing machine learning classifiers like Random Forests (RF) and Classification and Regression Trees (CART), the authors estimate the expected misclassification error directly from simulated data. This method bypasses the need for explicit posterior probability calculations, significantly reducing the number of required simulations. The approach is validated on several stochastic models, demonstrating superior efficiency and comparable accuracy to likelihood-based methods.

Introduction

In scientific research, selecting the most appropriate mathematical model to describe observed phenomena is a fundamental task. Bayesian experimental design provides a formal framework for this by optimizing "controllable factors"—such as sampling times or dosages—to maximize the expected information gain. For model discrimination, the objective is to find a design that best distinguishes between competing hypotheses.

The standard approach involves minimizing the expected misclassification error or maximizing mutual information. However, these metrics typically require thousands of simulations and full Bayesian inference for every potential design. For complex models in biology and epidemiology where likelihood functions are intractable, researchers often turn to Approximate Bayesian Computation (ABC). While useful, ABC remains computationally expensive and scales poorly with data dimensionality.

Methods

The authors propose a "machine learning shortcut" by reframing model discrimination as a classification task. The methodology follows a four-step process:

  1. Simulation: For a given design, a training set is generated where the "label" is the index of the model used for simulation and the "features" are the resulting data or summary statistics.
  2. Classification: A classifier, such as CART or Random Forest, is trained to map the data to the model labels.
  3. Loss Function: The design objective is defined as the misclassification error rate of the trained classifier. Minimizing this error corresponds to finding the optimal design.
  4. Optimization: To navigate the design space, the authors use a Coordinate Exchange algorithm. Since the error estimates are stochastic, a Gaussian Process (GP) is fitted over the results to create a smooth surrogate surface, facilitating global optimization.

Experiments and Results

The framework was evaluated using three case studies of increasing complexity.

Epidemiological Markov Processes

The authors considered four variations of disease spread models, defined by different transition rates and event types. This setup allowed for testing the method's ability to discriminate between closely related stochastic processes.

Model specifications for the epidemiological Markov process case study.

Performance Comparison

In a two-model validation test, the classification-based designs were compared against "ground truth" results obtained via expensive numerical integration. The ML-derived designs were nearly identical to the optimal likelihood-based designs, proving that the shortcut does not sacrifice quality.

Furthermore, the Random Forest approach demonstrated significant efficiency gains. In the epidemiological example, it was approximately twice as fast as ABC-based methods while providing smoother, less noisy estimates of the loss function across the design space.

Comparison of scaled expected loss across observation times for various classifiers and ABC methods.

High-Dimensional Biological Modeling

The method was also applied to a macrophage model describing Salmonella replication. In this high-dimensional setting where standard ABC struggles due to the "curse of dimensionality," the Random Forest successfully identified optimal sampling strategies that significantly outperformed traditional equidistant sampling.

Discussion and Conclusion

The classification-based approach to OBD offers several advantages. First, it is "order-correct"; it identifies the most likely model even if the exact posterior probabilities are not perfectly estimated. Second, Random Forests are inherently robust to high-dimensional summary statistics. Finally, the misclassification error rate provides an intuitive and immediate metric for design performance.

While the stochastic nature of the objective function requires smoothing techniques like Gaussian Processes, the overall framework represents a significant step forward in making optimal design accessible for complex, simulation-based models. Future research will explore extending this framework to parameter estimation and real-time sequential experimental design.

Summary updated

BibTeX
@article{hainy2022optimal,
  author = {Markus Hainy and David J. Price and Olivier Restif and Christopher C. Drovandi},
  title = {{Optimal Bayesian design for model discrimination via classification}},
  journal = {Stat. Comput.},
  year = {2022},
  doi = {10.1007/s11222-022-10078-2},
}
Figure