Bayesian optimization has been proven as an effective tool in accelerating scientific discovery. A standard implementation (e.g., scikit-learn), however, can accommodate only small training data. PHYSBO is highly scalable due to an efficient protocol that employs Thompson sampling, random feature maps, one-rank Cholesky update and automatic hyperparameter tuning. Technical features are described in COMBO's document and PHYSBO's report (open access). PHYSBO was developed based on COMBO for academic use.
- Python >= 3.9
- NumPy
- SciPy
-
ODAT-SE (for continuous space optimization)
python3 -m pip install odat-se
-
From PyPI (recommended)
python3 -m pip install physbo
-
From source (for developers)
-
Download or clone the github repository
git clone https://github.com/issp-center-dev/PHYSBO
-
Install via pip
# ./PHYSBO is the root directory of PHYSBO # pip install options such as --user are avaiable python3 -m pip install ./PHYSBO
-
python3 -m pip uninstall physboFor an introductory tutorial please consult the documentation. (English / 日本語)
'examples/simple.py' is a simple example.
A tutorial and a dataset of a paper about PHYSBO can be found in PHYSBO Gallery.
UV is recommended to make a virtual environment and install dependencies for development.
When using UV, the command uv sync --extra tests will install the dependencies to run tests like pytest.
Test files are in tests/ directory, and use pytest to run tests.
uv run pytest testsWhen using UV, the command uv sync --extra docs will install the dependencies for building the documentation like sphinx.
The command
uv run bash docs/make_docs.shwill build the documentation into docs/built.
PHYSBO was developed based on COMBO for academic use. PHYSBO is distributed under Mozilla Public License version 2.0 (MPL v2).
We hope that you cite the following references when you publish the results using PHYSBO:
-
- Bibtex
@article{PHYSBO-paper2022, title = {Bayesian optimization package: PHYSBO}, journal = {Computer Physics Communications}, volume = {278}, pages = {108405}, year = {2022}, issn = {0010-4655}, doi = {https://doi.org/10.1016/j.cpc.2022.108405}, author = {Yuichi Motoyama and Ryo Tamura and Kazuyoshi Yoshimi and Kei Terayama and Tsuyoshi Ueno and Koji Tsuda}, keywords = {Bayesian optimization, Multi-objective optimization, Materials screening, Effective model estimation} }
-
- Bibtex
@misc{PHYSBO-paper2026, doi = {10.48550/ARXIV.2603.01349}, url = {https://arxiv.org/abs/2603.01349}, author = {Motoyama, Yuichi and Yoshimi, Kazuyoshi and Aoyama, Tatsumi and Terayama, Kei and Tsuda, Koji and Tamura, Ryo}, keywords = {Computational Physics (physics.comp-ph), Materials Science (cond-mat.mtrl-sci), FOS: Physical sciences, FOS: Physical sciences}, title = {Update of PHYSBO: Improving Usability and Portability of Bayesian Optimization for Physics and Materials Research}, publisher = {arXiv}, year = {2026}, copyright = {arXiv.org perpetual, non-exclusive license} }
© 2020- The University of Tokyo. All rights reserved. This software was developed with the support of "Project for advancement of software usability in materials science" of The Institute for Solid State Physics, The University of Tokyo.