MALIBO: Meta-learning for Likelihood-free Bayesian Optimization

Jiarong Pan, Stefan Falkner, Felix Berkenkamp, Joaquin Vanschoren

TL;DR

MALIBO is a novel meta-learning framework for Bayesian Optimization (BO) that ditches traditional, computationally expensive surrogate models in favor of a "likelihood-free" approach. By directly learning the utility of queries across tasks and incorporating task-specific uncertainty, it achieves state-of-the-art performance on AutoML benchmarks while scaling significantly better than Gaussian Process-based methods.

What Problem Does This Paper Address?

Bayesian Optimization is the gold standard for optimizing "black-box" functions that are expensive to evaluate, such as tuning the hyperparameters of a massive neural network. Traditionally, BO builds a probabilistic surrogate model (usually a Gaussian Process) to predict the function's behavior and uses an acquisition function to decide where to sample next.

However, traditional BO has three major bottlenecks:

  1. Scalability: Gaussian Processes scale cubically with the number of observations, making them sluggish as data accumulates.
  2. Sensitivity: Real-world data often has varying scales and complex noise types that break the rigid assumptions of standard surrogate models.
  3. Task Adaptation: While meta-learning (using data from past tasks) can speed up new optimizations, most methods struggle when a new task is significantly different from what they've seen before, often leading to overconfident, poor decisions.

Methods

The authors introduce MALIBO (MetA-learning for LIkelihood-free BO), which sidesteps the surrogate model entirely.

1. Likelihood-free BO (LFBO)

Instead of trying to model the actual function values, MALIBO treats BO as a classification problem. It learns to distinguish "good" points (those likely to improve the objective) from "bad" ones. This makes the model invariant to the scale of the observations and more robust to different noise distributions.

2. Structured Neural Network

As shown in the architecture diagram below, MALIBO uses a shared feature extractor (ResFFN) to learn general patterns across tasks. To adapt to a specific new task, it learns a low-dimensional task embedding.

Schematic of the MALIBO architecture, showing the task-agnostic and task-specific components.

3. Uncertainty and Exploration

To handle the uncertainty of a new task, MALIBO uses the Laplace approximation to estimate the posterior distribution of the task embedding. It then employs Thompson Sampling—drawing samples from this distribution—to create an exploratory acquisition function that isn't afraid to check unvisited regions of the search space.

4. Gradient Boosting Fallback

If a new task is a total outlier that the meta-learned model can't handle, MALIBO includes a Gradient Boosting (GB) residual model. This acts as a safety net, allowing the system to regress back to a standard optimizer based solely on the current task's data if the meta-knowledge proves unhelpful.

Datasets

The authors evaluated MALIBO on a rigorous suite of benchmarks:

  • AutoML Benchmarks: HPOBench (hyperparameter optimization for neural networks), NASBench201 (neural architecture search), and HPO-B (a large-scale benchmark with 16 different search spaces).
  • Synthetic Ensembles: Forrester, Quadratic, Branin, and Hartmann3D functions, often modified with multiplicative noise to test robustness.

Key Insights and Ideas

  • Bypassing the Surrogate: By learning the utility of a point directly rather than its value, MALIBO avoids the "mean-squared error" trap where a model focuses on predicting high-error regions that don't actually matter for finding the optimum.
  • Task Embeddings as Priors: The regularization of task embeddings during training ensures they follow a known distribution (a Multivariate Normal). This allows the model to treat a new task as a "cold start" problem that gracefully warms up as more data is collected.
  • The Power of Residuals: The integration of Gradient Boosting is a clever "best of both worlds" move. It allows the model to leverage deep meta-features when they work, but fall back to robust, local optimization when they don't.

Key Results

MALIBO consistently outperformed a wide array of state-of-the-art meta-learning BO methods (like ABLR, FSBO, and PFN) across almost all benchmarks.

  • Performance: As shown in the regret curves below, MALIBO reached lower normalized regret faster than competitors in HPOBench, NASBench201, and HPO-B, demonstrating superior "anytime" performance.
Normalized regret curves on HPOBench, NASBench201, and HPO-B benchmarks, demonstrating MALIBO's superior optimization performance.
  • Efficiency: MALIBO's runtime per iteration is orders of magnitude faster than many GP-based meta-learning methods, scaling linearly rather than cubically.
  • Robustness: In tests with heavy multiplicative noise, MALIBO remained stable while traditional GP-based methods saw their performance degrade significantly.

Limitations and Future Work

While powerful, the authors note a few areas for improvement:

  • The Threshold Parameter: The quantile threshold (which defines what counts as a "good" point) is currently a fixed hyperparameter. A more probabilistic treatment of this threshold could improve results.
  • Uni-modal Priors: MALIBO assumes task embeddings follow a single Gaussian distribution. For highly diverse task sets, a Gaussian Mixture Model might be more appropriate.
  • Hyperparameter Sensitivity: The regularization weight is generally robust but might require tuning for extremely niche applications.

Summary updated

BibTeX
@inproceedings{pan2024malibo,
  author = {Jiarong Pan and Stefan Falkner and Felix Berkenkamp and Joaquin Vanschoren},
  title = {{MALIBO: Meta-learning for Likelihood-free Bayesian Optimization}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=3QM5SWfeov},
}
Figure