Papers
Topics
Authors
Recent
Search
2000 character limit reached

PyBADS: Fast and robust black-box optimization in Python

Published 27 Jun 2023 in stat.ML and cs.LG | (2306.15576v1)

Abstract: PyBADS is a Python implementation of the Bayesian Adaptive Direct Search (BADS) algorithm for fast and robust black-box optimization (Acerbi and Ma 2017). BADS is an optimization algorithm designed to efficiently solve difficult optimization problems where the objective function is rough (non-convex, non-smooth), mildly expensive (e.g., the function evaluation requires more than 0.1 seconds), possibly noisy, and gradient information is unavailable. With BADS, these issues are well addressed, making it an excellent choice for fitting computational models using methods such as maximum-likelihood estimation. The algorithm scales efficiently to black-box functions with up to $D \approx 20$ continuous input parameters and supports bounds or no constraints. PyBADS comes along with an easy-to-use Pythonic interface for running the algorithm and inspecting its results. PyBADS only requires the user to provide a Python function for evaluating the target function, and optionally other constraints. Extensive benchmarks on both artificial test problems and large real model-fitting problems models drawn from cognitive, behavioral and computational neuroscience, show that BADS performs on par with or better than many other common and state-of-the-art optimizers (Acerbi and Ma 2017), making it a general model-fitting tool which provides fast and robust solutions.

Definition Search Book Streamline Icon: https://streamlinehq.com
References (31)
  1. Mark A Abramson, Charles Audet and Sébastien Le Digabel “OrthoMADS: A deterministic MADS instance with orthogonal directions” In SIAM Journal on Optimization 20.2 SIAM, 2009, pp. 948–966
  2. Luigi Acerbi “Variational Bayesian Monte Carlo” In Advances in Neural Information Processing Systems 31, 2018, pp. 8222–8232
  3. Luigi Acerbi “An Exploration of Acquisition and Mean Functions in Variational Bayesian Monte Carlo” In PMLR 96, 2019, pp. 1–10
  4. Luigi Acerbi “Variational Bayesian Monte Carlo with noisy likelihoods” In Advances in Neural Information Processing Systems 33, 2020, pp. 8211–8222
  5. Luigi Acerbi and Wei Ji Ma “Practical Bayesian Optimization for Model Fitting with Bayesian Adaptive Direct Search” In Advances in Neural Information Processing Systems 30, 2017, pp. 1834–1844
  6. “Exploring Bayesian Optimization” https://distill.pub/2020/bayesian-optimization In Distill, 2020 DOI: 10.23915/distill.00026
  7. “Mesh Adaptive Direct Search Algorithms for Constrained Optimization” In SIAM Journal on Optimization 17, 2006, pp. 188–217
  8. “Stochastic mesh adaptive direct search for blackbox optimization using probabilistic estimates” In Computational Optimization and Applications 79.1, 2021, pp. 1–34
  9. “Algorithm 1027: NOMAD Version 4: Nonlinear Optimization with the MADS Algorithm” In ACM Transactions on Mathematical Software 48.3 New York, NY, USA: Association for Computing Machinery, 2022 DOI: 10.1145/3544489
  10. “BoTorch: A Framework for Efficient Monte-Carlo Bayesian Optimization” In Advances in Neural Information Processing Systems 33, 2020 URL: http://arxiv.org/abs/1910.06403
  11. “Causal inference in the multisensory brain” In Neuron 102.5 Elsevier, 2019, pp. 1076–1087
  12. Christoph Daube, Robin A.A. Ince and Joachim Gross “Simple Acoustic Features Can Explain Phoneme-Based Predictions of Cortical Responses to Speech” In Current Biology 29.12, 2019, pp. 1924–1937.e9
  13. Geng Deng and Michael C Ferris “Adaptation of the UOBYQA algorithm for noisy functions” In Proceedings of the 2006 winter simulation conference, 2006, pp. 312–319 IEEE
  14. “Well production optimization using streamline features-based objective function and Bayesian adaptive direct search algorithm” In Petroleum Science 19.6, 2022, pp. 2879–2894
  15. Roman Garnett “Bayesian Optimization” Cambridge University Press, 2023
  16. “Array programming with NumPy” In Nature 585.7825, 2020, pp. 357–362
  17. “PyVBMC: Efficient Bayesian inference in Python” In Journal of Open Source Software 8.86 The Open Journal, 2023, pp. 5428 DOI: 10.21105/joss.05428
  18. “GPflowOpt: A Bayesian Optimization Library using TensorFlow” In arXiv preprint – arXiv:1711.03845, 2017 URL: https://arxiv.org/abs/1711.03845
  19. “Quantum reinforcement learning during human decision-making” In Nature Human Behaviour 4.3, 2020, pp. 294–307
  20. “Topology Comparison and Sensitivity Analysis of Fuel Cell Hybrid Systems for Electric Vehicles” In IEEE Transactions on Transportation Electrification IEEE, 2022
  21. “The impact of wildfires on the recreational value of heathland: A discrete factor approach with adjustment for on-site sampling” In Journal of Environmental Economics and Management 101, 2020, pp. 102317
  22. Carl Edward Rasmussen and Christopher K.I. Williams “Gaussian processes for machine learning” OCLC: ocm61285753, Adaptive computation and machine learning Cambridge, Mass: MIT Press, 2006
  23. “A new method to achieve dynamic heat input monitoring in robotic belt grinding of Inconel 718” In Journal of Manufacturing Processes 57, 2020, pp. 575–588
  24. “A novel energy partition model for belt grinding of Inconel 718” In Journal of Manufacturing Processes 64 Elsevier, 2021, pp. 1296–1306
  25. Luis Miguel Rios and Nikolaos V. Sahinidis “Derivative-free optimization: a review of algorithms and comparison of software implementations” In Journal of Global Optimization 56.3, 2013, pp. 1247–1293
  26. “Taking the Human Out of the Loop: A Review of Bayesian Optimization” In Proceedings of the IEEE 104.1, 2016, pp. 148–175
  27. “Input Warping for Bayesian Optimization of Non-Stationary Functions” In Proceedings of the 31st International Conference on Machine Learning 32.2, Proceedings of Machine Learning Research Bejing, China: PMLR, 2014, pp. 1674–1682
  28. “On the generality and cognitive basis of base-rate neglect” In Cognition 226, 2022, pp. 105160
  29. “Benchmark of Bayesian Optimization and Metaheuristics for Control Engineering Tuning Problems with Crash Constraints”, 2022 arXiv:2211.02571 [eess.SY]
  30. “Optimal policy for multi-alternative decisions” In Nature Neuroscience 22.9, 2019, pp. 1503–1511
  31. “Expertise increases planning depth in human gameplay” In Nature, 2023
Citations (4)

Summary

No one has generated a summary of this paper yet.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Continue Learning

We haven't generated follow-up questions for this paper yet.

Collections

Sign up for free to add this paper to one or more collections.