[Paper Review] BoFire: Bayesian Optimization Framework Intended for Real Experiments
BoFire is an open-source Python package that integrates Bayesian Optimization with design of experiments for real-world chemical research, emphasizing industrial deployment, serialization, and easy integration with RESTful APIs.
Our open-source Python package BoFire combines Bayesian Optimization (BO) with other design of experiments (DoE) strategies focusing on developing and optimizing new chemistry. Previous BO implementations, for example as they exist in the literature or software, require substantial adaptation for effective real-world deployment in chemical industry. BoFire provides a rich feature-set with extensive configurability and realizes our vision of fast-tracking research contributions into industrial use via maintainable open-source software. Owing to quality-of-life features like JSON-serializability of problem formulations, BoFire enables seamless integration of BO into RESTful APIs, a common architecture component for both self-driving laboratories and human-in-the-loop setups. This paper discusses the differences between BoFire and other BO implementations and outlines ways that BO research needs to be adapted for real-world use in a chemistry setting.
Motivation & Objective
- Provide an industrially usable BO and DoE toolkit for chemistry and related processes.
- Enable seamless integration of BO into laboratory pipelines with RESTful APIs and JSON-serializable problem definitions.
- Support constrained, mixed-type input spaces and multi-objective optimization in real-world experiments.
- Allow modular, plug-and-play collaboration between strategies, surrogates, and problem definitions.
Proposed method
- Define Domains with Inputs, Outputs, and optional Constraints to capture real experimental setups.
- Support constrained mixed-type inputs including continuous, discrete, molecular, and categorical features.
- Offer classical DoE designs and BO-based predictive strategies built on BoTorch, with extensible acquisition functions.
- Provide true multi-objective optimization via qParEGO and q(log)(N)EHVI, with a priori and a posteriori approaches.
- Ensure full serialization via Pydantic to enable RESTful API integration and easy data interchange.
- Adopt a modular architecture where problem definitions, strategies, and surrogates are decoupled for plug-and-play use.
Experimental results
Research questions
- RQ1How can Bayesian optimization be adapted and packaged for reliable deployment in industrial chemical labs?
- RQ2What design-of-experiments features and constraints are necessary to model real-world chemistry problems effectively?
- RQ3How can BoFire support multi-objective optimization in practical laboratory settings?
- RQ4In what ways can BoFire integrate with existing lab infrastructures through APIs and data serialization?
- RQ5What distinguishes BoFire from existing BO tools when used in industrial chemistry contexts?
Key findings
- BoFire provides a complete interface for defining and solving optimization problems in the lab with full serializability of all components.
- It supports constrained mixed-type input spaces and multiple constraint types such as nonlinear inequalities, NChooseK, and interpoint equality.
- BoFire combines classical DoE designs with predictive BO strategies built on BoTorch, plus extensible surrogate models and acquisition functions.
- The framework enables true multi-objective optimization using strategies like qParEGO and q(log)(N)EHVI.
- BoFire emphasizes industrial readiness by offering RESTful API integration and data-model separation, enabling easy deployment in self-driving labs and human-in-the-loop setups.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.