Abstract
Traditional Bayesian Optimization (BO) often requires hundreds of evaluations to reach global optima, a limitation in high-cost domains like drug discovery. We present ProfBO (Procedure-inFormed Bayesian Optimization), a framework designed for the "few-shot" regime (under 20 evaluations). ProfBO leverages Markov Decision Process (MDP) priors and Transformer-based Prior-Fitted Neural Networks (PFNs) to learn procedural knowledge from previous optimization trajectories. By integrating Model-Agnostic Meta-Learning (MAML) and positional encodings, ProfBO significantly outperforms state-of-the-art methods in data efficiency and search speed.
Introduction
Bayesian Optimization is a powerful tool for optimizing expensive black-box functions. However, its efficiency is often limited by the use of general-purpose priors, such as Gaussian Processes (GPs), which do not incorporate domain-specific procedural knowledge. In fields like drug discovery, where each evaluation is costly and time-consuming, there is a critical need for methods that can find optima in very few iterations. The authors identify that while existing methods focus on modeling the response surface, they often ignore the strategic "procedural knowledge" inherent in how successful optimizations were historically conducted.
Methodology: Procedure-inFormed BO
ProfBO shifts the paradigm from modeling static functions to modeling the optimization process itself. The architecture is built upon three pillars: MDP Priors, Prior-Fitted Neural Networks (PFNs), and Meta-Learning.
- MDP Priors: Optimization is framed as a Markov Decision Process. A lightweight Deep Q-Network (DQN) agent is trained on source tasks to learn efficient search strategies.
- Prior-Fitted Neural Networks (PFNs): Instead of traditional GPs, ProfBO uses Transformer-based PFNs. These models perform Bayesian inference in a single forward pass, offering superior flexibility and speed.
- MAML and Positional Encoding: To ensure generalization to unseen tasks, the framework employs Model-Agnostic Meta-Learning (MAML). Furthermore, positional encodings are added to the Transformer to capture the sequential nature of optimization trajectories, which is essential for learning procedural logic.
Experimental Results
The model was evaluated on high-stakes benchmarks, including molecular docking for Covid-19 and cancer research (Covid-B and Cancer-B), as well as hyperparameter optimization (HPO-B).
ProfBO demonstrated superior performance across all benchmarks, achieving lower regret than state-of-the-art baselines like FSBO and OptFormer. Notably, ProfBO is 3.34x faster to train than its closest competitor, NAP, due to its efficient MDP prior generation. Visual analysis confirms that ProfBO can model complex objective functions accurately after as few as three evaluation points, a feat traditional GPs cannot match.
Conclusion
ProfBO represents a significant step forward in few-shot Bayesian Optimization. By treating optimization as a learnable procedure rather than just a surface-fitting problem, it achieves unprecedented data efficiency. While it depends on the availability of related source tasks for pre-training, its modular design and speed make it a robust candidate for accelerating discovery in chemistry, materials science, and beyond. Future work will explore higher-dimensional spaces and the integration of expert human trajectories into the MDP priors.
Summary updated