Bayesian Optimization (BO) is the standard tool for optimizing "black-box" functions that are expensive to evaluate, such as the hyperparameters of a deep neural network or the design of a chemical molecule. Traditionally, BO relies on Gaussian Processes (GPs) to build a surrogate model of the objective function. GPs are elegant because they provide closed-form uncertainty estimates, telling us not just where the function is likely to be high, but where we are most uncertain.
However, GPs face a fundamental "cubic wall." As noted by Jost Tobias Springenberg and Frank Hutter, the computational cost of updating a GP scales as $O(n^3)$, where $n$ is the number of observations. In modern machine learning, where we might want to perform thousands of evaluations or leverage massive historical datasets, this cubic complexity makes standard BO prohibitively slow.
To break through this wall, researchers have developed a suite of methods that replace or reformulate the traditional GP surrogate to achieve scalability without losing the benefits of uncertainty-aware exploration.
Replacing the Surrogate Model
The most direct way to scale BO is to swap the GP for a model with better scaling properties.
Bayesian Neural Networks
Neural networks scale linearly with the number of data points, but they typically lack the calibrated uncertainty needed for BO. BOHAMIANN addresses this by using Stochastic Gradient Hamiltonian Monte Carlo (SGHMC) to generate a robust posterior for a neural network. This allows the model to handle high-dimensional spaces and multi-task settings where GPs struggle. Similarly, Irina Rish and Nadhir Hassen introduced BOGGN, which uses Gauss-Newton approximations to make Bayesian Neural Networks even more efficient for hyperparameter tuning.
Tree-Based Models
Random Forests and Gradient Boosting Machines are naturally adept at handling categorical inputs and high-dimensional spaces. Hyperboost, developed by Jeroen van Hoof and Joaquin Vanschoren, replaces GPs with Gradient Boosting models using quantile regression to estimate performance bounds. To get the best of both worlds, Difan Deng and Marius Lindauer proposed BOinG, which uses a Random Forest to identify promising global regions and a local GP to refine the search within those regions.
Reframing Optimization as Classification
A more radical shift involves moving away from regression entirely. Instead of trying to predict the exact value of the objective function $f(x)$, we can ask a simpler question: "Is this point $x$ likely to be better than the best points I've seen so far?"
This is the core intuition behind BORE (Bayesian Optimization by Density-Ratio Estimation), introduced by Aaron Klein and Louis C. Tiao in BORE: Bayesian Optimization by Density-Ratio Estimation. BORE reframes BO as a binary classification problem. By training a classifier to distinguish between "good" observations (the top $\tau$ percent) and "bad" ones, the model implicitly learns the density ratio between these two groups. This ratio is mathematically equivalent to the Expected Improvement acquisition function.
Because BORE can use any off-the-shelf classifier—like an XGBoost model or a deep neural network—it bypasses the $O(n^3)$ bottleneck entirely. This approach has been extended to batch settings by Rafael Oliveira and even applied to adaptive robotics by Rel Guzman Apaza.
Scaling Through Approximation and Locality
If one insists on using GPs, the cubic complexity can be mitigated through mathematical approximations or by restricting the model's scope.
- Sparse and Lazy Updates: STOAT uses sparse GPs to handle big data, while Raju Ram and Janis Keuper introduced Lazy Gaussian Processes, which use iterative Cholesky updates to reduce complexity to $O(n^2)$, achieving massive speedups in hyperparameter optimization.
- Vecchia Approximations: Borrowing from spatial statistics, Felix Jimenez and Matthias Katzfuss demonstrated that Vecchia approximations allow for linear scaling, making it possible to optimize "spiky" landscapes with thousands of observations.
- Trust Regions: For high-dimensional problems with multiple objectives, David Eriksson and Maximilian Balandat developed MORBO. Instead of one global GP, MORBO uses multiple local surrogate models within coordinated "trust regions," allowing BO to scale to hundreds of parameters.
Learning from the Past: Meta-Learning
Finally, scalability isn't just about handling more points in a single run; it's about not starting from scratch every time. Ying Wei and colleagues introduced Transferable Neural Processes (TNP) to meta-learn across different optimization tasks. By using an attention mechanism to weigh historical trials from previous datasets, TNP can find optimal configurations up to 10x faster than standard BO, effectively "scaling" the efficiency of the search process itself.
By moving beyond the rigid structure of exact Gaussian Processes, these diverse approaches—from density-ratio estimation to neural processes—have transformed Bayesian Optimization from a niche tool for small-scale problems into a robust framework capable of tackling the massive datasets and high-dimensional challenges of modern engineering.