Nevergrad
Dozens of black-box optimizers behind one ask/tell API
Latest: v1.0.12 (April 2024)
Gradient-free (derivative-free) optimization platform from FAIR (2018), bundling dozens of evolutionary and bandit algorithms — CMA-ES, differential evolution, particle swarm and more — behind one ask/tell API, with benchmarks for comparing them. Widely used for hyperparameter tuning and black-box problems where gradients don't exist.
Why it matters
Puts dozens of derivative-free optimizers, including CMA-ES, differential evolution, particle swarm and bandit methods, behind one ask/tell API with benchmarks for comparing them. It is a standard choice for hyperparameter tuning and black-box problems where gradients don't exist, and it plugs into Hydra's multirun sweeper.
Facts
- ~4k GitHub stars; plugs directly into Hydra as a sweeper, so many researchers use Nevergrad daily without realizing it.
Try it yourself
Documentation ↗ pip install nevergrad ↗ Code on GitHub ↗
Sources
GitHub · nevergrad ↗facebookresearch.github.io ↗