Published November 2, 2017 | Journal article | Version v1 | https://doi.org/10.21105/joss.00431

pyGPGO: Bayesian Optimization for Python

Files

10.21105.joss.00431.pdf

Files (3.9 MB)

Name Size Download all
md5:0f8a46e72bfbcee26943e0d3cc07bfef
267.1 kB Preview Download
md5:6007bc805f34876cda7a5a11eeabcad3
3.7 MB Preview Download

Additional details

Dates

Issued
November 2, 2017

References

  1. Jiménez, J., & Foreman-Mackey, D. (2017). hawk31/pyGPGO: Stable release. Nov 2017. (Version v.0.4.0.dev1) [Computer software]. Zenodo. https://doi.org/10.5281/zenodo.1040676
  2. Shahriari, B., Swersky, K., Wang, Z., Adams, R. P., & de Freitas, N. (2016). Taking the Human Out of the Loop: A Review of Bayesian Optimization. Proceedings of the IEEE, 104(1), 148–175. https://doi.org/10.1109/jproc.2015.2494218
  3. 10.1162/153244303322533223. (2000). 10.1162/153244303322533223. CrossRef Listing of Deleted DOIs, 1. https://doi.org/10.1162/153244303322533223
  4. Spearmint, Snoek, Jasper, Spearmint, https://github.com/HIPS/Spearmint, 2012
  5. scikit-optimize, scikit-optimize team., The, scikit-optimize, https://github.com/scikit-optimize/scikit-optimize, 2016
  6. MOE, Yelp, MOE, https://github.com/Yelp/MOE, 2014
  7. We propose a novel information-theoretic approach\backslashnfor Bayesian optimization called Predictive Entropy\backslashnSearch (PES). At each iteration, PES selects the\backslashnnext evaluation point that maximizes the expected\backslashninformation gained with respect to the global\backslashnmaximum. PES codifies this intractable acquisition\backslashnfunction in terms of the expected reduction in the\backslashndifferential entropy of the predictive distribution.\backslashnThis reformulation allows PES to obtain\backslashnapproximations that are both more accurate and\backslashnefficient than other alternatives such as Entropy\backslashnSearch (ES). Furthermore, PES can easily perform a\backslashnfully Bayesian treatment of the model\backslashnhyperparameters while ES cannot. We evaluate PES in\backslashnboth synthetic and realworld applications, including\backslashnoptimization problems in machine learning, finance,\backslashnbiotechnology, and robotics. We show that the\backslashnincreased accuracy of PES leads to significant gains\backslashnin optimization performance. , arXiv, arXiv:1406.2541v1, Hernández-Lobato, José Miguel and Hoffman, Matthew W and Ghahramani, Zoubin, arXiv:1406.2541v1, 10495258, Advances in Neural Information Processing Systems 28, 1–9, Predictive Entropy Search for Efficient Global Optimization of Black-box Functions, https://jmhldotorg.files.wordpress.com/2014/10/pes-final.pdf, 2014
  8. Bayesian optimization is a powerful frame- work for minimizing expensive objective functions while using very few function eval- uations. It has been successfully applied to a variety of problems, including hyperparam- eter tuning and experimental design. How- ever, this framework has not been extended to the inequality-constrained optimization setting, particularly the setting in which eval- uating feasibility is just as expensive as eval- uating the objective. Here we present con- strained Bayesian optimization, which places a prior distribution on both the objective and the constraint functions. We evaluate our method on simulated and real data, demon- strating that constrained Bayesian optimiza- tion can quickly find optimal and feasible points, even when small feasible regions cause standard methods to fail., Gardner, Jacob R. and Kusner, Matt J. and Xu, Zhixiang Eddie and Weinberger, Kilian Q. and Cunningham, John P., 9781634393973, Proceedings of the 31st International Conference on Machine Learning, 937–945, Bayesian Optimization with Inequality Constraints, 32, 2014
  9. Thompson sampling is one of oldest heuristic to address the exploration ex- ploitation trade-off, but it is surprisingly unpopular in the literature. We present here some empirical results using Thompson sampling on simulated and real data, and show that it is highly competitive. And since this heuristic is very easy to implement, we argue that it should be part of the standard baselines to compare against., Chapelle, Olivier and Li, Lihong, 9781618395993, Advances in Neural Information Processing Systems, 22492257, An Empirical Evaluation of Thompson Sampling, http://explo.cs.ucl.ac.uk/wp-content/uploads/2011/05/An-Empirical-Evaluation-of-Thompson-Sampling-Chapelle-Li-2011.pdf, 2011
  10. Vanchinathan, H. P., Nikolic, I., De Bona, F., & Krause, A. (2014). Explore-exploit in top-N recommender systems via Gaussian processes. Proceedings of the 8th ACM Conference on Recommender Systems, 225–232. https://doi.org/10.1145/2645710.2645733
  11. Salvatier, J., Wiecki, T. V., & Fonnesbeck, C. (2016). Probabilistic programming in Python using PyMC3. PeerJ Computer Science, 2, e55. https://doi.org/10.7717/peerj-cs.55
  12. SEEGER, M. (2004). GAUSSIAN PROCESSES FOR MACHINE LEARNING. International Journal of Neural Systems, 14(02), 69–106. https://doi.org/10.1142/s0129065704001899

Citations

  1. Branco-Katcher, M., Siefman, D., & Palmer, T. S. (2026). Constrained Bayesian Optimization for criticality experiment design with mixed inputs. Annals of Nuclear Energy, 228, 112058. https://doi.org/10.1016/j.anucene.2025.112058
  2. Yazgin, O., Luna, M. F., Neubauer, P., Martinez, E. C., & Cruz Bournazou, M. N. (2026). A KPI-based experimental design strategy for bioprocess development. Biochemical Engineering Journal, 230, 110096. https://doi.org/10.1016/j.bej.2026.110096
  3. Bajan, C., & Lambard, G. (2025). MADGUI: Multi-Application Design Graphical User Interface for active learning assisted by Bayesian optimization. Chemometrics and Intelligent Laboratory Systems, 258, 105323. https://doi.org/10.1016/j.chemolab.2025.105323
  4. Sy, M. P. M., Ballera, M. A., & Sy, R. C. M. (2025). Bayesian Optimization for a Permissioned Blockchain: A Data-Driven Approach to Optimal Parameter Selection. 2025 IEEE International Conference on Artificial Intelligence for Learning and Optimization (ICoAILO), 289–293. https://doi.org/10.1109/icoailo66760.2025.11156034
  5. Faculty of Automatic Control and Computers, U. P. of B. S. I. N. 313, . 060042 B. R., MATEESCU, A., POPESCU, D. C., Faculty of Automatic Control and Computers, U. P. of B. S. I. N. 313, . 060042 B. R., STEFAN, I. L., & Faculty of Automatic Control and Computers, U. P. of B. S. I. N. 313, . 060042 B. R. (2025). Machine Learning Control for Assistive Humanoid Robots Using Blackbox Optimization of PID Loops Through Digital Twins. Romanian Journal of Information Science and Technology, 28(1), 63–76. https://doi.org/10.59277/romjist.2025.1.06
  6. Aydogdu, I., & Wang, Y. (2024). Scalable Bayesian optimization based on exploitation-enhanced sparse Gaussian process. Structural and Multidisciplinary Optimization, 67(12), Article 215. https://doi.org/10.1007/s00158-024-03941-5
  7. Zhu, T.-F., Qian, R., Wei, X., Lu, A.-P., & Cao, D.-S. (2024). PatentNetML: A Novel Framework for Predicting Key Compounds in Patents Using Network Science and Machine Learning. Journal of Medicinal Chemistry, 67(2), 1347–1359. https://doi.org/10.1021/acs.jmedchem.3c01893
  8. Sarkar, R., Singh, S. B., & Dutta, A. (2024). Assessment of Bayesian guidance strategy to develop bake-hardening ferritic steel. Philosophical Magazine Letters, 104(1). https://doi.org/10.1080/09500839.2024.2366219
  9. Bailo, R., Barbaro, A., Gomes, S. N., Riedl, K., Roith, T., Totzeck, C., & Vaes, U. (2024). CBX: Python and Julia Packages for Consensus-Based Interacting Particle Methods. Journal of Open Source Software, 9(98), 6611. https://doi.org/10.21105/joss.06611
  10. S-GNN: State-Dependent Graph Neural Networks for Functional Molecular Properties. (2023). S-GNN: State-Dependent Graph Neural Networks for Functional Molecular Properties. In Computer Aided Chemical Engineering (pp. 575–581). Elsevier. https://doi.org/10.1016/b978-0-443-15274-0.50091-3
  11. Aouichaoui, A. R. N., Fan, F., Abildskov, J., & Sin, G. (2023). Application of interpretable group-embedded graph neural networks for pure compound properties. Computers & Chemical Engineering, 176, Article 108291. https://doi.org/10.1016/j.compchemeng.2023.108291
  12. Hou, R., Xie, C., Gui, Y., Li, G., & Li, X. (2023). Machine-Learning-Based Data Analysis Method for Cell-Based Selection of DNA-Encoded Libraries. ACS Omega, 8(21), 19057–19071. https://doi.org/10.1021/acsomega.3c02152
  13. Alnajim, K., & Abokifa, A. A. (2023). Bayesian Optimization for Contamination Source Identification in Water Distribution Networks. Water, 16(1), 168. https://doi.org/10.3390/w16010168
  14. Wang, K., & Dowling, A. W. (2022). Bayesian optimization for chemical products and functional materials. Current Opinion in Chemical Engineering, 36, Article 100728. https://doi.org/10.1016/j.coche.2021.100728
  15. Ishii, A., Kamijyo, R., Yamanaka, A., & Yamamoto, A. (2022). BOXVIA: Bayesian optimization executable and visualizable application. SoftwareX, 18, 101019. https://doi.org/10.1016/j.softx.2022.101019
  16. Song, Q., Bai, Y., & Chen, Q. (2022). The Spring of Processing Chemistry in Perovskite Solar Cells–Bayesian Optimization. The Journal of Physical Chemistry Letters, 13(46), 10741–10750. https://doi.org/10.1021/acs.jpclett.2c02635
  17. Viana, F. A. C., Gogu, C., & Goel, T. (2021). Surrogate modeling: tricks that endured the test of time and some recent developments. Structural and Multidisciplinary Optimization, 64(5), 2881–2908. https://doi.org/10.1007/s00158-021-03001-2
  18. Wang, D., Chen, N., Taranto, A. G., Jin, Y., Wen, C., & Kong, D.-X. (2021). Accelerating the identification of subtype selective inhibitors via Three-Dimensional Biologically Relevant Spectrum (BRS-3D): The monoamine oxidase subtypes as a case study. Bioorganic Chemistry, 106, 104503. https://doi.org/10.1016/j.bioorg.2020.104503
  19. Mondal, S., & Dutta, A. (2021). Atomistic design of nanocrystalline samples: A Bayesian approach. Materials Letters, 300, 130203. https://doi.org/10.1016/j.matlet.2021.130203
  20. Sakai, M., Nagayasu, K., Shibui, N., Andoh, C., Takayama, K., Shirakawa, H., & Kaneko, S. (2021). Prediction of pharmacological activities from chemical structures with graph convolutional neural networks. Scientific Reports, 11(1). https://doi.org/10.1038/s41598-020-80113-7
  21. Goay, C. H., Ahmad, N. S., & Goh, P. (2021). Transient Simulations of High-Speed Channels Using CNN-LSTM With an Adaptive Successive Halving Algorithm for Automated Hyperparameter Optimizations. IEEE Access, 9, 127644–127663. https://doi.org/10.1109/access.2021.3112134
  22. Sahu, A., Kandath, H., & Krishna, K. M. (2021). Model predictive control based algorithm for multi-target tracking using a swarm of fixed wing UAVs. 2021 IEEE 17th International Conference on Automation Science and Engineering (CASE), 1255–1260. https://doi.org/10.1109/case49439.2021.9551577
  23. Coletti, P., Libin, P., Petrof, O., Willem, L., Abrams, S., Herzog, S. A., Faes, C., Kuylen, E., Wambua, J., Beutels, P., & Hens, N. (2021). A data-driven metapopulation model for the Belgian COVID-19 epidemic: assessing the impact of lockdown and exit strategies. BMC Infectious Diseases, 21(1). https://doi.org/10.1186/s12879-021-06092-w
  24. Barros, B., Lacerda, P., Albuquerque, C., & Conci, A. (2021). Pulmonary COVID-19: Learning Spatiotemporal Features Combining CNN and LSTM Networks for Lung Ultrasound Video Classification. Sensors, 21(16), 5486. https://doi.org/10.3390/s21165486
  25. Mathern, A., Steinholtz, O. S., Sjöberg, A., Önnheim, M., Ek, K., Rempling, R., Gustavsson, E., & Jirstrand, M. (2020). Multi-objective constrained Bayesian optimization for structural design. Structural and Multidisciplinary Optimization, 63(2), 689–701. https://doi.org/10.1007/s00158-020-02720-2

1–25 of 32