FunBO: Discovering Acquisition Functions for Bayesian Optimization with FunSearch

Read original: arXiv:2406.04824 - Published 7/2/2024 by Virginia Aglietti, Ira Ktena, Jessica Schrouff, Eleni Sgouritsa, Francisco J. R. Ruiz, Alan Malek, Alexis Bellot, Silvia Chiappa
Total Score

0

FunBO: Discovering Acquisition Functions for Bayesian Optimization with FunSearch

Sign in to get full access

or

If you already have an account, we'll log you in

Overview

  • This paper introduces FunBO, a novel approach for discovering acquisition functions for Bayesian optimization.
  • The authors use a meta-learning technique called FunSearch to automatically generate acquisition functions that outperform existing methods on a variety of optimization problems.
  • FunBO is designed to be a practical and versatile tool for black-box optimization, with potential applications in machine learning, engineering, and other domains.

Plain English Explanation

Bayesian optimization is a powerful technique for finding the best solution to complicated problems, even when the underlying function is difficult to model or evaluate. However, the choice of acquisition function - the mathematical formula used to guide the optimization process - can have a significant impact on the algorithm's performance.

The researchers behind this paper realized that instead of relying on a fixed set of acquisition functions, it might be better to automatically discover new ones that are tailored to the specific problem at hand. They developed a meta-learning approach called FunSearch that can generate novel acquisition functions, and then combined it with Bayesian optimization to create a system called FunBO.

FunBO works by searching through a vast space of potential acquisition functions, evaluating them on a variety of test problems, and selecting the ones that perform the best. This allows it to discover acquisition functions that outperform traditional methods like expected improvement or upper confidence bound.

The authors demonstrate that FunBO can solve optimization problems more efficiently than existing Bayesian optimization techniques, making it a valuable tool for a wide range of applications. By automating the discovery of acquisition functions, FunBO removes a key bottleneck in the Bayesian optimization workflow and makes the technique more accessible and practical for real-world use.

Technical Explanation

The core of the FunBO system is the FunSearch meta-learning algorithm, which is used to automatically generate novel acquisition functions for Bayesian optimization. FunSearch works by defining a space of possible acquisition function representations, and then searching this space using a genetic programming approach to discover high-performing functions.

To evaluate the performance of candidate acquisition functions, FunBO uses a set of benchmark optimization problems, including functions from the TuRBO benchmark suite and the BBOB-2013 test suite. The authors also introduce a new set of synthetic functions designed to test the robustness and diversity of the discovered acquisition functions.

The paper presents extensive experimental results comparing FunBO to several state-of-the-art Bayesian optimization methods, including Robust Entropy Search, Cost-Sensitive Multi-Fidelity Bayesian Optimization, and the Empirical Attainment Function. The results show that FunBO outperforms these existing techniques on a wide range of optimization problems, demonstrating the effectiveness of the automated acquisition function discovery approach.

Critical Analysis

One potential limitation of the FunBO approach is that it relies on a set of benchmark problems to guide the search for acquisition functions. While the authors have made efforts to include a diverse set of test functions, there is always the risk that the discovered acquisition functions may not generalize well to real-world optimization problems with different characteristics.

Additionally, the FunSearch algorithm used to generate acquisition functions is itself a relatively complex system, with a number of hyperparameters and design choices that could impact its performance. The authors have made attempts to analyze the sensitivity of FunBO to these factors, but further research may be needed to fully understand the strengths and limitations of the approach.

Another area for further investigation could be the scalability of FunBO to high-dimensional optimization problems. The paper focuses primarily on low-dimensional test cases, and it's not clear how well the discovered acquisition functions would perform on more complex, real-world optimization tasks.

Despite these potential limitations, the FunBO system represents an exciting step forward in making Bayesian optimization more accessible and adaptable to a wider range of applications. By automating the discovery of acquisition functions, the researchers have opened up new possibilities for applying this powerful optimization technique in a wide variety of domains.

Conclusion

The FunBO paper introduces a novel approach for discovering acquisition functions for Bayesian optimization using a meta-learning technique called FunSearch. The authors demonstrate that FunBO can outperform existing Bayesian optimization methods on a variety of test problems, making it a promising tool for practical black-box optimization tasks.

By automating the selection of acquisition functions, FunBO removes a key bottleneck in the Bayesian optimization workflow and paves the way for more widespread adoption of the technique. The paper's insights and the FunBO system itself could have far-reaching implications for machine learning, engineering, and other fields that rely on efficient black-box optimization.



This summary was produced with help from an AI and may contain inaccuracies - check out the links to read the original source documents!

Follow @aimodelsfyi on 𝕏 →

Related Papers

FunBO: Discovering Acquisition Functions for Bayesian Optimization with FunSearch
Total Score

0

FunBO: Discovering Acquisition Functions for Bayesian Optimization with FunSearch

Virginia Aglietti, Ira Ktena, Jessica Schrouff, Eleni Sgouritsa, Francisco J. R. Ruiz, Alan Malek, Alexis Bellot, Silvia Chiappa

The sample efficiency of Bayesian optimization algorithms depends on carefully crafted acquisition functions (AFs) guiding the sequential collection of function evaluations. The best-performing AF can vary significantly across optimization problems, often requiring ad-hoc and problem-specific choices. This work tackles the challenge of designing novel AFs that perform well across a variety of experimental settings. Based on FunSearch, a recent work using Large Language Models (LLMs) for discovery in mathematical sciences, we propose FunBO, an LLM-based method that can be used to learn new AFs written in computer code by leveraging access to a limited number of evaluations for a set of objective functions. We provide the analytic expression of all discovered AFs and evaluate them on various global optimization benchmarks and hyperparameter optimization tasks. We show how FunBO identifies AFs that generalize well in and out of the training distribution of functions, thus outperforming established general-purpose AFs and achieving competitive performance against AFs that are customized to specific function types and are learned via transfer-learning algorithms.

Read more

7/2/2024

🛠️

Total Score

0

Bayesian Optimization of Function Networks with Partial Evaluations

Poompol Buathong, Jiayue Wan, Raul Astudillo, Samuel Daulton, Maximilian Balandat, Peter I. Frazier

Bayesian optimization is a powerful framework for optimizing functions that are expensive or time-consuming to evaluate. Recent work has considered Bayesian optimization of function networks (BOFN), where the objective function is given by a network of functions, each taking as input the output of previous nodes in the network as well as additional parameters. Leveraging this network structure has been shown to yield significant performance improvements. Existing BOFN algorithms for general-purpose networks evaluate the full network at each iteration. However, many real-world applications allow for evaluating nodes individually. To exploit this, we propose a novel knowledge gradient acquisition function that chooses which node and corresponding inputs to evaluate in a cost-aware manner, thereby reducing query costs by evaluating only on a part of the network at each step. We provide an efficient approach to optimizing our acquisition function and show that it outperforms existing BOFN methods and other benchmarks across several synthetic and real-world problems. Our acquisition function is the first to enable cost-aware optimization of a broad class of function networks.

Read more

6/17/2024

Evolve Cost-aware Acquisition Functions Using Large Language Models
Total Score

0

Evolve Cost-aware Acquisition Functions Using Large Language Models

Yiming Yao, Fei Liu, Ji Cheng, Qingfu Zhang

Many real-world optimization scenarios involve expensive evaluation with unknown and heterogeneous costs. Cost-aware Bayesian optimization stands out as a prominent solution in addressing these challenges. To approach the global optimum within a limited budget in a cost-efficient manner, the design of cost-aware acquisition functions (AFs) becomes a crucial step. However, traditional manual design paradigm typically requires extensive domain knowledge and involves a labor-intensive trial-and-error process. This paper introduces EvolCAF, a novel framework that integrates large language models (LLMs) with evolutionary computation (EC) to automatically design cost-aware AFs. Leveraging the crossover and mutation in the algorithmic space, EvolCAF offers a novel design paradigm, significantly reduces the reliance on domain expertise and model training. The designed cost-aware AF maximizes the utilization of available information from historical data, surrogate models and budget details. It introduces novel ideas not previously explored in the existing literature on acquisition function design, allowing for clear interpretations to provide insights into its behavior and decision-making process. In comparison to the well-known EIpu and EI-cool methods designed by human experts, our approach showcases remarkable efficiency and generalization across various tasks, including 12 synthetic problems and 3 real-world hyperparameter tuning test sets.

Read more

6/14/2024

🧠

Total Score

0

Large-Batch, Iteration-Efficient Neural Bayesian Design Optimization

Navid Ansari, Alireza Javanmardi, Eyke Hullermeier, Hans-Peter Seidel, Vahid Babaei

Bayesian optimization (BO) provides a powerful framework for optimizing black-box, expensive-to-evaluate functions. It is therefore an attractive tool for engineering design problems, typically involving multiple objectives. Thanks to the rapid advances in fabrication and measurement methods as well as parallel computing infrastructure, querying many design problems can be heavily parallelized. This class of problems challenges BO with an unprecedented setup where it has to deal with very large batches, shifting its focus from sample efficiency to iteration efficiency. We present a novel Bayesian optimization framework specifically tailored to address these limitations. Our key contribution is a highly scalable, sample-based acquisition function that performs a non-dominated sorting of not only the objectives but also their associated uncertainty. We show that our acquisition function in combination with different Bayesian neural network surrogates is effective in data-intensive environments with a minimal number of iterations. We demonstrate the superiority of our method by comparing it with state-of-the-art multi-objective optimizations. We perform our evaluation on two real-world problems -- airfoil design and 3D printing -- showcasing the applicability and efficiency of our approach. Our code is available at: https://github.com/an-on-ym-ous/lbn_mobo

Read more

9/6/2024