Bayesian optimization with adaptive surrogate models for automated experimental design

Bowen Lei, Tanner Kirk, Anirban Bhattacharya, Debdeep Pati, Xiaoning Qian, Raymundo Arróyave, Bani K. MallickNpj 2021

Abstract

Bayesian optimization (BO) is an indispensable tool to optimize objective functions that either do not have known functional forms or are expensive to evaluate. Currently, optimal experimental design is always conducted within the workflow of BO leading to more efficient exploration of the design space compared to traditional strategies. This can have a significant impact on modern scientific discovery, in particular autonomous materials discovery, which can be viewed as an optimization problem aimed at looking for the maximum (or minimum) point for the desired materials properties. The performance of BO-based experimental design depends not only on the adopted acquisition function but also on the surrogate models that help to approximate underlying objective functions. In this paper, we propose a fully autonomous experimental design framework that uses more adaptive and flexible Bayesian surrogate models in a BO procedure, namely Bayesian multivariate adaptive regression splines and Bayesian additive regression trees. They can overcome the weaknesses of widely used Gaussian process-based methods when faced with relatively high-dimensional design space or non-smooth patterns of objective functions. Both simulation studies and real-world materials science case studies demonstrate their enhanced search efficiency and robustness.

Introduction: The Challenge of Materials Discovery

Materials discovery is essentially a high-stakes "hide and seek" game. Researchers aim to identify specific combinations of elements and processing conditions that yield optimal properties, such as maximum hardness or specific magnetic traits. Because physical experiments and high-fidelity simulations are expensive and time-consuming, researchers increasingly rely on Bayesian Optimization (BO) to guide the experimental process, deciding which experiment to run next to maximize information gain.

Traditionally, BO relies on Gaussian Processes (GPs) as surrogate models to map the design space. However, GPs face significant hurdles in materials science:

  1. The Curse of Dimensionality: Performance degrades as the number of input features increases.
  2. Smoothness Assumptions: GPs assume a smooth property landscape, yet physical properties often change abruptly, such as during phase transitions.
  3. Feature Selection: GPs are not inherently designed to ignore "noise" variables—unimportant features that do not affect the outcome.

Methods: Adaptive Bayesian Surrogates

To address these limitations, this framework replaces standard GPs with two more flexible Bayesian models:

  • Bayesian Multivariate Adaptive Regression Splines (BMARS): This model utilizes a collection of "splines" (flexible mathematical curves) to fit data. BMARS is particularly effective at capturing non-linear interactions and automatically performs feature selection by including only relevant variables in its basis functions.
  • Bayesian Additive Regression Trees (BART): An ensemble learning method that fits data using a sum of many small decision trees. As a tree-based model, BART does not assume continuity or smoothness, making it ideal for the "jagged" or non-smooth property landscapes common in physical systems.

The framework employs the Expected Improvement (EI) acquisition function to balance "exploitation" (refining known high-performing regions) and "exploration" (searching unknown areas of the design space).

Benchmarking and Datasets

The authors evaluated the framework using both synthetic benchmarks and complex real-world materials challenges:

  • Synthetic Functions: The models were tested against the Rosenbrock function (a smooth but narrow valley) and the Rastrigin function (a highly multi-modal and jagged surface). These were augmented with "noise" dimensions to test the models' ability to filter irrelevant data.
Synthetic benchmark functions: (a) the smooth Rosenbrock function and (b) the highly multi-modal Rastrigin function.
  • MAX Phases: A dataset of 403 stable ternary layered carbides/nitrides. The objective was to find the material with the maximum bulk modulus ($K$) using 13 physical features.
  • High Entropy Alloys (HEAs): A large discrete space of 36,273 compositions in the CoCrFeMnNiV-Al system. The goal was to find the global minimum and maximum Stacking Fault Energy (SFE) using 41 potential predictors.

Key Insights and Results

Flexibility Over Smoothness

The primary advantage of BMARS and BART is their ability to handle sudden transitions. While the mathematical elegance of GPs assumes a continuous world, physical systems often exhibit discontinuities. The proposed models proved much more realistic surrogates for these systems.

Automatic Relevance Detection

In the HEA study, the models were presented with 41 features. They successfully ignored irrelevant data and identified that specific heat and valence electron concentration were the primary drivers of Stacking Fault Energy. This automatic feature selection is critical when dealing with high-dimensional experimental spaces.

Efficiency and Robustness

  • Search Speed: In the MAX phase study, BART and BMARS found optimal materials in significantly fewer iterations than standard GP models.
  • Noise Tolerance: When 16 random noise variables were added to the MAX phase data, BART’s performance remained stable, while traditional BO methods slowed significantly.
  • Large-Scale Convergence: In the HEA dataset of over 36,000 possibilities, the BMARS-based optimizer converged to the global minimum in approximately 40 iterations—exploring less than 0.25% of the total space.

Conclusion

While BMARS and BART involve more computational overhead than simple GPs, this is negligible compared to the weeks required for laboratory experiments. By providing more robust and efficient search capabilities, these adaptive surrogate models pave the way for fully Autonomous Materials Research (AMR) platforms—robotic labs capable of running AI-driven experiments with minimal human intervention.

Reference: Lei, B., Kirk, T.Q., Bhattacharya, A. et al. Bayesian optimization with adaptive surrogate models for automated experimental design. npj Comput Mater 7, 194 (2021). https://doi.org/10.1038/s41524-021-00662-x

Summary updated

BibTeX
@inproceedings{lei2021bayesian,
  author = {Bowen Lei and Tanner Kirk and Anirban Bhattacharya and Debdeep Pati and Xiaoning Qian and Raymundo Arróyave and Bani K. Mallick},
  title = {{Bayesian optimization with adaptive surrogate models for automated experimental design}},
  booktitle = {Npj},
  year = {2021},
  doi = {10.1038/s41524-021-00662-x},
}
Figure