Honegumi β Accelerating the adoption of Bayesian optimization for science
ο
Tip
New to Bayesian optimization? Start with A Gentle Introduction to Bayesian Optimization and explore our concept guides and coding tutorials on key optimization principles.
Real-world chemistry and materials science optimization tasks are complex! Noise, objectives, tasks, parameters, parameter types, and constraints riddle our optimization campaigns. However, applying state-of-the-art algorithms to these tasks isnβt trivial, even for veteran materials informatics practitioners. Additionally, Python libraries can be cumbersome to learn and use serving as a barrier to entry for interested users. To address these challenges, we present Honegumi, an interactive script generator for materials-relevant Bayesian optimization using the Ax Platform.
Create your optimization script using the grid below! Select options from each row to generate a code template. Hover over the β icons to get more information and see whether itβs a good choice.
Whatβs the scope of honegumi?ο
Similar to PyTorchβs installation docs, users interactively toggle the options to generate the desired code output. These scripts are unit-tested, and invalid configurations are crossed out. This means you can expect the scripts to run without throwing errors. Honegumi is not a wrapper for optimization packages; instead, think of it as an interactive tutorial generator. Honegumi is the first Bayesian optimization template generator of its kind, and we envision that this tool will reduce the barrier to entry for applying advanced Bayesian optimization to real-world science tasks.
Note
If you like this tool, please consider starring it on GitHub. If youβre interested in contributing, reach out to sterling.baird@utoronto.ca π
Concept Docs and Tutorialsο
Understanding Bayesian optimization requires both theoretical knowledge and practical experience. Our documentation is structured to support this dual approach. The concept guides provide in-depth explanations of fundamental principles, from the basics of single-objective optimization to advanced topics like multitask optimization and fully Bayesian Gaussian process models. These theoretical foundations are complemented by hands-on coding tutorials that demonstrate real-world applications across various materials science domains.
The tutorials walk you through practical scenarios such as optimizing 3D printed materials, developing biodegradable polymers with specific strength requirements, and efficiently screening anti-corrosion coatings. Each tutorial bridges theory and practice, showing how to apply advanced optimization concepts to solve tangible engineering challenges. Whether youβre new to Bayesian optimization or looking to implement sophisticated multi-objective strategies, our documentation provides the guidance needed to successfully apply these techniques to your specific materials science challenges.
A Perfect Pairing with LLMsο
Tip
Use Honegumi with ChatGPT to create non-halucinatory, custom Bayesian optimization scripts. See an example ChatGPT transcript and the videos below.
While Large Language Models excel at pattern recognition, they often struggle to create reliable Bayesian optimization scripts from scratch. Honegumi complements LLMs by providing validated templates that can then be customized through LLM assistance. Watch below as we demonstrate this workflow by optimizing a cookie recipe using Honegumi and ChatGPT:
Overviewο
Tutorial #2 walkthroughο
API Usageο
Have a look at our API usage tutorials
Citingο
If you find Honegumi useful, please consider citing:
Baird, Sterling G., Andrew R. Falkowski, and Taylor D. Sparks. βHonegumi: An Interface for Accelerating the Adoption of Bayesian Optimization in the Experimental Sciences.β arXiv, February 4, 2025. https://doi.org/10.48550/arXiv.2502.06815.
@misc{baird_honegumi_2025,
title = {Honegumi: {{An Interface}} for {{Accelerating}} the {{Adoption}} of {{Bayesian Optimization}} in the {{Experimental Sciences}}},
shorttitle = {Honegumi},
author = {Baird, Sterling G. and Falkowski, Andrew R. and Sparks, Taylor D.},
year = {2025},
month = feb,
number = {arXiv:2502.06815},
eprint = {2502.06815},
primaryclass = {cs},
publisher = {arXiv},
doi = {10.48550/arXiv.2502.06815},
archiveprefix = {arXiv},
keywords = {Computer Science - Machine Learning,Condensed Matter - Materials Science},
}
Zenodo snapshots of the GitHub releases (beginning with v0.3.2
) are available at
Contentsο
- π° Tutorials
- Single Objective Optimization of 3D Printed Materials
- Multi Objective Optimization of Polymers for Strength and Biodegradability
- Batch Optimization of Anti-Corrosion Coatings
- Optimizing MAX Phases with Featurization
- Multi-Task Optimization Across Ceramic Binder Systems
- Benchmarking Acquisition Functions
- π Concepts
- π¦Ύ API Usage
- π§βπ» Development
- π GitHub Source