
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 two-minute video 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:
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
- 🧑💻 Development
- 🌐 GitHub Source