TL;DR
DiBO (Diffusion models for Black-box Optimization) is a novel framework that tackles high-dimensional optimization by treating candidate selection as a posterior inference problem. By fine-tuning a diffusion model to act as an "amortized sampler," the method efficiently balances exploration and exploitation, significantly outperforming traditional Bayesian Optimization and existing generative baselines in spaces with hundreds of dimensions.
The Challenge of High-Dimensional Optimization
Optimizing "black-box" functions—where we only observe inputs and outputs without knowing the underlying mathematical structure—is a cornerstone of modern science, utilized in everything from drug discovery to hyperparameter tuning.
Standard Bayesian Optimization (BO) is the gold standard for sample efficiency in these tasks. However, it hits a wall known as the "curse of dimensionality." As the number of input variables grows into the hundreds, BO's surrogate models (like Gaussian Processes) become computationally expensive and struggle to provide accurate uncertainty estimates.
Recent "generative" approaches attempt to solve this by learning a mapping from high scores back to the input space. Unfortunately, these methods often suffer from limited expressivity or tend to "hallucinate" high-scoring points in regions where no actual data exists. The core challenge is finding a way to stay near the known data manifold while aggressively searching for global optima in complex, high-dimensional landscapes.
Introducing DiBO: Methods and Architecture
To overcome these limitations, the authors introduce DiBO, a framework that operates in two iterative phases:
Phase 1: Training the World Model
- Diffusion Prior: DiBO trains a diffusion model to capture the distribution of the current dataset. This acts as a "prior," keeping the search focused on realistic regions of the input space.
- Ensemble Proxies: An ensemble of neural networks is trained to predict function values. Using an ensemble allows the system to calculate an Upper Confidence Bound (UCB), which quantifies both the predicted reward and the model's uncertainty.
- Reweighted Training: To ensure the models prioritize high-performing areas, the training data is reweighted based on their function values.
Phase 2: Amortized Posterior Inference
- Instead of simply searching for the maximum of the UCB score (a notoriously difficult task in high-dimensional spaces), DiBO defines a target posterior distribution that combines the diffusion prior and the UCB reward.
- Fine-tuning with RTB: The diffusion model is fine-tuned using Relative Trajectory Balance (RTB) loss. This transforms the diffusion model into an "amortized sampler" capable of quickly generating diverse candidates from the high-probability regions of the posterior.
- Refinement: After sampling, a "local search" is performed using gradient ascent on the unnormalized posterior density to nudge candidates toward local peaks.
Key Insights and Ideas
- Optimization as Sampling: Rather than treating candidate selection as a pure maximization problem—which often gets stuck in local optima—DiBO treats it as a sampling problem. This naturally maintains diversity and prevents the "over-exploitation" of a single, potentially sub-optimal region.
- The Diffusion Prior is a Safety Rail: High-dimensional models often hallucinate amazing scores in empty regions of the search space. By multiplying the reward (UCB score) by a diffusion prior, DiBO ensures it only explores regions that are somewhat related to the existing data manifold.
- Amortization via Fine-tuning: Sampling from a complex posterior is usually slow, often requiring Markov Chain Monte Carlo (MCMC) methods. By fine-tuning the diffusion model to become the sampler, the authors "amortize" the cost, making candidate generation nearly instantaneous once the model is updated.
Datasets and Key Results
The authors evaluated DiBO on a mix of challenging synthetic and real-world benchmarks, including synthetic functions (Rastrigin, Ackley, Levy, and Rosenbrock) in 200D and 400D, MuJoCo Locomotion (HalfCheetah-102D), RoverPlanning-100D, and LassoBench (DNA-180D).
DiBO consistently outperformed state-of-the-art baselines like TuRBO, LA-MCTS, and other diffusion-based optimizers (DDOM, Diff-BBO):
- Synthetic Tasks: On the 400D Rastrigin and Ackley tasks, DiBO found significantly higher-scoring designs with fewer evaluations than any other method.
- Real-World Tasks: In the DNA-180D task, DiBO reached optimal values much faster than traditional BO methods, which struggled to scale.
- Efficiency: Despite using complex diffusion models, the average running time per round was comparable to or faster than many BO methods. For example, in Rastrigin-400D, DiBO took ~80s per round compared to TuRBO's ~1089s.
Limitations and Future Work
While highly effective, DiBO has a few limitations to address in future research:
- Retraining Overhead: The current framework requires retraining the diffusion model and proxies in every round. While manageable in the tested scenarios, it could become a bottleneck for extremely large-scale problems.
- Model Reuse: Implementing "warm-starting" or more efficient model updates could help avoid training from scratch each round.
- Discrete Spaces: Currently, DiBO is designed for continuous search spaces. Extending this framework to discrete or categorical data (like protein sequences) would be a highly valuable next step.
Summary updated