Ax is an accessible, general-purpose platform for understanding, managing,
deploying, and automating adaptive experiments.
Adaptive experimentation is the machine-learning guided process of iteratively
exploring a (possibly infinite) parameter space in order to identify optimal
configurations in a resource-efficient manner. Ax currently supports Bayesian
optimization and bandit optimization as exploration strategies. Bayesian
optimization in Ax is powered by
BoTorch, a modern library for
Bayesian optimization research built on PyTorch.
For full documentation and tutorials, see the Ax website
Why Ax?
Expressive API: Ax has an expressive API that can address many real-world
optimization tasks. It handles complex search spaces, multiple objectives,
constraints on both parameters and outcomes, and noisy observations. It
supports suggesting multiple designs to evaluate in parallel (both
synchronously and asynchronously) and the ability to early-stop evaluations.
Strong performance out of the box: Ax abstracts away optimization details
that are important but obscure, providing sensible defaults and enabling
practitioners to leverage advanced techniques otherwise only accessible to
optimization experts.
State-of-the-art methods: Ax leverages state-of-the-art Bayesian
optimization algorithms implemented in , to
deliver strong performance across a variety of problem classes.
Note: Make sure the pip being used to install ax-platform is actually the
one from the newly created Conda environment. If you're using a Unix-based OS,
you can use which pip to check.
Installing with Extras
Ax can be installed with additional dependencies, which are not included in the
default installation. For example, in order to use Ax within a Jupyter notebook,
install Ax with the notebook extra:
pip install "ax-platform[notebook]"
Extras for using Ax with MySQL storage (mysql), for running Ax's tutorial's
locally (tutorials), and for installing all dependencies necessary for
developing Ax (dev) are also available.
To use fully Bayesian (SAAS) models -- e.g. SAASBO / SAAS_MTGP, or the API's
method="quality" generation strategy -- install the fully_bayesian extra,
which pulls in the optional JAX / NumPyro backend:
pip install "ax-platform[fully_bayesian]"
Install Ax from source
You can install the latest (bleeding edge) version from GitHub using pip.
The bleeding edge for Ax depends on bleeding edge versions of BoTorch and
GPyTorch. We therefore recommend installing those from Github as well.
Please open an issue on our issues page
with any questions, feature requests or bug reports! If posting a bug report,
please include a minimal reproducible example (as a code snippet) that we can
use to reproduce and debug the problem you encountered.
See recommendation for installing PyTorch for MacOS users above.
The above example limits the cloned directory size via the
--depth
argument to git clone. If you require the entire commit history you may remove
this argument.
@inproceedings{olson2025ax,
title = {{Ax: A Platform for Adaptive Experimentation}},
author = {
Olson, Miles and Santorella, Elizabeth and Tiao, Louis C. and
Cakmak, Sait and Garrard, Mia and Daulton, Samuel and
Lin, Zhiyuan Jerry and Ament, Sebastian and Beckerman, Bernard and
Onofrey, Eric and Igusti, Paschal and Lara, Cristian and
Letham, Benjamin and Cardoso, Cesar and Shen, Shiyun Sunny and
Lin, Andy Chenyuan and Grange, Matthew and Kashtelyan, Elena and
Eriksson, David and Balandat, Maximilian and Bakshy, Eytan.
},
booktitle = {AutoML 2025 ABCD Track},
year = {2025}
}