Golem: An algorithm for robust experiment and process optimization

Matteo Aldeghi, Florian Häse, Riley J. Hickman, Isaac Tamblyn, Alán Aspuru-GuzikarXiv 2021

Introduction

In the pursuit of automated discovery and "self-driving laboratories," researchers typically aim to identify parameters that maximize a specific outcome, such as chemical yield or material strength. However, standard optimization algorithms often operate under the idealized assumption that experimental inputs are perfectly precise. In practice, hardware limitations—such as fluctuating heaters or imprecise liquid dispensers—introduce "input uncertainty." Golem is a new, model-agnostic algorithm designed to find robust optimal conditions that remain high-performing even when real-world conditions are noisy or variable.

The Challenge of Input Uncertainty

Standard optimization strategies are prone to identifying "performance cliffs"—optimal points that yield excellent results under perfect control but suffer catastrophic failure with even minor deviations in input. This lack of robustness can lead to lab-scale successes that fail to translate to industrial processes.

Conceptual overview of Golem's approach to input uncertainty, showing the relationship between the raw objective function f(x) and the robust merit g(x) under a noise distribution p(x).

As illustrated in the figure above, Golem shifts the focus from the raw performance $f(x)$ to a "robust merit" $g(x)$, which represents the expected performance given a specific probability distribution of input noise. By targeting stable plateaus rather than unstable peaks, Golem ensures that the identified solutions are reliable.

The Golem Methodology

Golem is designed to be optimizer-agnostic, acting as a probabilistic filter that can be integrated with existing tools like Bayesian Optimization or Genetic Algorithms. The core innovation lies in the use of tree-based surrogate models (e.g., Random Forests).

Because tree-based models partition the input space into discrete "tiles" with constant predicted values, the expectation of the objective function—the robust merit—can be calculated using a closed-form analytical solution. This "tree trick" makes the computation of robustness both mathematically simple and computationally efficient, scaling quadratically with observations while remaining fast enough for real-time use on standard hardware.

Experimental Evaluation

The authors evaluated Golem across a diverse set of challenges:

  • Synthetic Benchmarks: Testing on non-convex functions like Bertsimas, Cliff, and Sine.
  • Noise Profiles (S1-S8): Evaluating performance against eight uncertainty distributions, including Normal, Gamma, Uniform, Poisson, and Discrete Laplace.
  • High-Dimensional Scaling: Testing robustness in spaces up to 6D.
  • Real-World Application: Calibrating a High-Performance Liquid Chromatography (HPLC) protocol using a dataset of 1,386 experiments.

Results and Discussion

Golem demonstrated a universal ability to improve the performance of six different optimization algorithms (including Gryffin, GPyOpt, and Hyperopt) across nearly all benchmark surfaces.

Cumulative regret comparison across eight noise scenarios (S1-S8). The purple boxes represent optimizers enhanced by Golem, showing consistently lower regret compared to standard versions (yellow).

Key findings from the study include:

  • Universal Improvement: As shown in the box plots above, Golem-enhanced optimizers consistently achieved lower cumulative regret across various noise regimes.
  • Clustering for Success: In noisy environments, standard optimizers often produce scattered results. Golem effectively clusters identified optima around the true robust minimum.
  • HPLC Success: In the analytical chemistry case study, Golem successfully identified parameter settings that maintained high peak areas while significantly reducing result variance.
  • Handling Categorical Data: Unlike Gaussian Process-based methods, Golem naturally handles discrete and categorical variables, which are common in chemical research.

Conclusion

Golem provides a powerful, computationally efficient framework for robust optimization. By analytically accounting for input noise through tree-based surrogates, it allows researchers to navigate the Pareto front of robustness—balancing absolute performance against stability. While it requires a basic model of equipment uncertainty, its ability to "filter" data for existing optimizers makes it a versatile tool for both laboratory discovery and industrial process refinement.

Summary updated

BibTeX
@misc{aldeghi2021golem,
  author = {Matteo Aldeghi and Florian Häse and Riley J. Hickman and Isaac Tamblyn and Alán Aspuru-Guzik},
  title = {{Golem: An algorithm for robust experiment and process optimization}},
  year = {2021},
  eprint = {2103.03716},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2103.03716},
}
Figure