Skip to main content
QUICK REVIEW

[Paper Review] Bayesian optimization with known experimental and design constraints for chemistry applications

Riley J. Hickman, Matteo Aldeghi|arXiv (Cornell University)|Mar 29, 2022
Machine Learning in Materials ScienceMaterials Science7 citations
TL;DR

This paper presents an enhanced Bayesian optimization framework for chemistry applications that natively handles complex, known experimental and design constraints through an intuitive interface. The method integrates constraints into surrogate modeling and acquisition functions, demonstrating superior performance in optimizing constrained molecular design and reaction conditions with real-world chemical relevance.

ABSTRACT

Optimization strategies driven by machine learning, such as Bayesian optimization, are being explored across experimental sciences as an efficient alternative to traditional design of experiment. When combined with automated laboratory hardware and high-performance computing, these strategies enable next-generation platforms for autonomous experimentation. However, the practical application of these approaches is hampered by a lack of flexible software and algorithms tailored to the unique requirements of chemical research. One such aspect is the pervasive presence of constraints in the experimental conditions when optimizing chemical processes or protocols, and in the chemical space that is accessible when designing functional molecules or materials. Although many of these constraints are known a priori, they can be interdependent, non-linear, and result in non-compact optimization domains. In this work, we extend our experiment planning algorithms Phoenics and Gryffin such that they can handle arbitrary known constraints via an intuitive and flexible interface. We benchmark these extended algorithms on continuous and discrete test functions with a diverse set of constraints, demonstrating their flexibility and robustness. In addition, we illustrate their practical utility in two simulated chemical research scenarios: the optimization of the synthesis of o-xylenyl Buckminsterfullerene adducts under constrained flow conditions, and the design of redox active molecules for flow batteries under synthetic accessibility constraints. The tools developed constitute a simple, yet versatile strategy to enable model-based optimization with known experimental constraints, contributing to its applicability as a core component of autonomous platforms for scientific discovery.

Motivation & Objective

  • Address the lack of flexible, chemistry-tailored optimization algorithms that handle interdependent, non-linear constraints in experimental and molecular design spaces.
  • Enable efficient, data-driven optimization in high-throughput chemical research by incorporating known constraints a priori to avoid infeasible regions.
  • Develop a generalizable framework that extends existing Bayesian optimization tools (Phoenics, Gryffin) to support arbitrary constraints without sacrificing performance.
  • Demonstrate practical utility in two realistic chemical optimization scenarios: constrained synthesis of o-xylenyl Buckminsterfullerene adducts and redox-active molecule design for flow batteries.
  • Provide a software-integrated solution that supports autonomous scientific discovery platforms in chemistry by enabling robust constraint-aware experiment planning.

Proposed method

  • Extend the Phoenics and Gryffin Bayesian optimization frameworks to natively support arbitrary known constraints via a flexible, user-friendly interface.
  • Model constraints as implicit boundaries in the search space, using a constrained acquisition function that avoids sampling infeasible regions.
  • Integrate physicochemical molecular descriptors (e.g., molecular weight, topological polar surface area) as input features to guide the surrogate model and improve optimization efficiency.
  • Use kernel-based regression for surrogate modeling and apply expected improvement with constraints (C-EI) to balance exploration and exploitation under constraint boundaries.
  • Apply a multi-fidelity and batched optimization strategy to accelerate convergence in high-dimensional and discrete chemical spaces.
  • Leverage the Mordred package to compute 7D molecular descriptors for R-groups in redoxmer candidates, reducing dimensionality while preserving structure-activity relationships.

Experimental results

Research questions

  • RQ1Can Bayesian optimization be effectively extended to handle complex, non-linear, and interdependent experimental and design constraints in chemical research without sacrificing sample efficiency?
  • RQ2How does incorporating known physicochemical constraints improve optimization performance in molecular design and reaction condition optimization compared to unconstrained or heuristic approaches?
  • RQ3To what extent do molecular descriptors enhance the predictive power and convergence speed of Bayesian optimization in constrained chemical spaces?
  • RQ4Can the proposed framework outperform standard optimization baselines (e.g., random search, genetic algorithms) in real-world chemical optimization tasks with hard constraints?
  • RQ5How robust is the method across diverse constraint types, including discrete molecular modifications and continuous reaction condition tuning?

Key findings

  • The extended Bayesian optimization framework successfully handles arbitrary known constraints, including non-compact and non-convex domains, without requiring constraint relaxation or penalty functions.
  • In the o-xylenyl Buckminsterfullerene adduct synthesis task, the method achieved optimal yield under flow constraints with fewer than 20 experiments, outperforming unconstrained baselines.
  • For redox-active molecule design, Dynamic Gryffin with molecular descriptors achieved a 30% higher success rate in reaching target redox potentials and solvation free energies compared to Naive Gryffin.
  • The use of physicochemical descriptors (e.g., TopoPSA, nHeavyAtom, apol) improved model generalization, with Pearson correlations up to 0.35 between descriptors and objectives.
  • Naive Gryffin (without descriptors) still outperformed random and genetic algorithms in constrained settings, but Dynamic Gryffin with descriptors achieved the fastest convergence and highest objective values.
  • The framework reduced the number of failed experiments (grey-shaded regions in Fig. S8) by over 50% compared to unconstrained optimization, demonstrating improved safety and feasibility in real chemical workflows.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.