TL;DR
This paper introduces a new perspective on optimizing acquisition functions in Bayesian Optimization by reformulating them as compositional problems. This allows for the application of a broader range of optimizers, leading to significant empirical performance improvements across a wide range of tasks.
What Problem Does This Paper Address?
Bayesian Optimization (BO) is a powerful technique for optimizing expensive black-box functions, widely used in machine learning, engineering, and scientific discovery. A core component of BO is the acquisition function, which guides the search for the optimum. However, acquisition functions are often non-convex and high-dimensional, making their optimization a challenging and critical bottleneck. Existing methods for optimizing these functions can be computationally expensive and may struggle with complex landscapes. This paper investigates whether treating acquisition function maximization as a compositional optimization problem, leveraging existing literature on compositional optimization, can offer advantages.
Methods
The authors propose to reformulate popular acquisition functions (Expected Improvement, Probability of Improvement, Simple Regret, and Upper Confidence Bound) into compositional forms. This involves expressing them as nested expectations of random variables. This reformulation allows for the application of a wider array of optimization techniques, including those specifically designed for compositional objectives. They introduce novel algorithms like (C)L-BFGS and AdamOS, and explore memory-efficient adaptations of compositional methods. The core idea is to break down the complex acquisition function optimization into a series of simpler, nested optimization steps.
Datasets
The paper evaluates their methods on:
- Synthetic datasets: Five noiseless synthetic black-box functions (Levy, Ackley, Powell, Dixon-Price, Styblinski-Tang) across various dimensionalities (16D to 120D).
- Bayesmark: A benchmark suite of real-world tasks, specifically hyperparameter tuning for machine learning models (Decision Tree, Random Forest, K-Nearest Neighbours, Support Vector Machine, Linear, and Lasso models) on the Boston and Diabetes UCI datasets. These tasks involve noisy evaluations.
Key Insights and Ideas
- Compositional structure of acquisition functions: The paper demonstrates that many common acquisition functions possess an underlying compositional structure that can be exploited.
- Benefits of compositional optimization: By reformulating acquisition function maximization as a compositional problem, a broader class of optimizers can be applied, leading to improved performance and potentially better numerical stability.
- Empirical advantage of compositional optimizers: The study shows that compositional optimizers consistently outperform non-compositional ones in a significant percentage of experiments.
- Memory efficiency is achievable: Memory-efficient adaptations of compositional optimizers are proposed, mitigating the memory overhead associated with storing intermediate samples.
- FSM formulation outperforms ERM: The Finite-Sum Minimization (FSM) formulation of acquisition functions is shown to be beneficial over the Empirical Risk Minimization (ERM) version.
Key Results
- Outperformance of compositional optimizers: Across 3958 experiments, compositional optimizers outperformed traditional solvers in 67% of the time.
- Performance gains on Bayesmark: The paper highlights performance benefits for compositional optimizers on specific models (DT, RF) in regression tasks, while SVM and kNN showed benefits from non-compositional methods. For classification tasks, compositional optimizers offered modest gains for DT and RF, but non-compositional methods performed better on SVM.
- FSM vs. ERM: Figure 5 shows that the FSM formulation generally outperforms ERM for first-order methods, with statistical significance confirmed by Z-tests.
- Runtime efficiency: While compositional methods can be slower per iteration (1.5-2x), memory-efficient versions mitigate this, and the overall wall-clock time can be competitive, especially when black-box function evaluations are very expensive.
- Best performing optimizers: CAdam is highlighted as a particularly strong performer, achieving 25% of the best performances in some experiments.
Limitations and Future Work
- Scalability of Entropy Search: The paper notes that Entropy Search, a non-myopic acquisition function, scales poorly with dimensionality due to its compositional structure requiring GP posteriors over the search space.
- Non-myopic acquisition functions: The current work primarily focuses on myopic acquisition functions. Future work aims to extend the analysis to non-myopic acquisition functions.
- High-dimensional BO: The authors plan to investigate high-dimensional BO and compositional structures of causal BO.
- Hyperparameter sensitivity: While efforts were made to tune hyperparameters, the performance of first-order optimizers can still be sensitive to these choices.
- Real-world task variability: The performance of compositional vs. non-compositional optimizers on real-world tasks can vary depending on the model class and performance metric.
Summary updated