Article view

PyBADS: Fast and robust black-box optimization in Python

By Gurjeet Sangra Singh, Luigi Acerbi

Article information

Publication
Published 29 February 2024
Institutions at publication
University of Geneva; HES-SO University of Applied Sciences and Arts Western Switzerland; HES-SO Genève; University of Helsinki
34 Citations OpenAlex, 3 December 2026 FULL LIST: Citations
Countries with citations No data yet
Usage Phase 3: not collected yet

Abstract

PyBADS is a Python implementation of the Bayesian Adaptive Direct Search (BADS) algorithm for fast and robust black-box optimization (Acerbi & 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 𝐷 ≈ 20 continuous input parameters and supports bounds or no constraints. PyBADS builds on the previous MATLAB implementation 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, behavioural, and computational neuroscience, show that BADS performs on par with or better than many other common and state-of-the-art optimizers (Acerbi & Ma, 2017), making it a general model-fitting tool which provides fast and robust solutions.

Citations per year

Citations per year
YearCitations
2024 4
2025 12
2026 18

OpenAlex counts citations by year for the last ten years only, so the total and the list of citing works can include earlier ones.

Works citing this article

OpenAlex counts 34 citations, but the citing work are not listed here yet: citing works are collected from OpenAlex a few at a time, and it lists most, not all, of the citations it counts.

Where its authors are based

Countries of the institutions the article's authors were affiliated to when it was published.

  • AUTHORS
  • CITATIONS No data yet
  • USAGE Phase 3
Authors by country
CountryAuthors
Finland1
Switzerland1