TL;DR
Standard Bayesian Optimization (BO) relies on asymptotic convergence guarantees, demanding hundreds of function queries that wet-lab experiments and expensive simulations cannot afford. ProfBO (Procedure-inFormed BO) enables true few-shot black-box optimization ($\le 20$ to $40$ iterations) by modeling historical search trajectories from related source tasks as Markov Decision Process (MDP) priors, embedding them into a Prior-Fitted Neural Network (PFN) and fine-tuning via meta-learning.
What Problem Does This Paper Address?
In high-stakes scientific discovery—such as molecular docking for COVID-19 or cancer therapeutics, and chemical manufacturing—evaluating an objective function requires costly physical wet-lab tests or intense numerical simulations. While traditional Bayesian Optimization excels at black-box optimization, it often requires 100 to 1,000+ iterations to locate global optima.
Existing transfer-learning and meta-BO methods either:
- Learn static response surfaces (e.g., meta-Gaussian Processes or deep kernel surrogates) while ignoring the temporal, step-by-step nature of the optimization path, or
- Train end-to-end reinforcement learning (RL) policies directly on search tasks, which is computationally cumbersome, sample-inefficient, and prone to instability in higher dimensions.
The authors ask: Can we design a BO algorithm that discovers near-optimal candidates in very few shots (e.g., fewer than 40–90 queries)?
Methods
ProfBO bridges Bayesian simulation-based inference with reinforcement learning priors:
[Source Tasks Meta-Data] ──> [Lightweight DQN Agent] ──> [MDP Trajectory Priors]
│
[General Prior (GP)] ──────> [Base Transformer PFN] ───────> [MAML + Positional Encoding] ──> [ProfBO Surrogate]
- MDP Trajectory Priors: Instead of assuming evaluations are exchangeable points on a response surface, the authors model optimization histories as trajectories from an MDP. A lightweight Deep Q-Network (DQN) is trained on related source-task evaluations where actions are query locations and rewards reflect negative simple regret.
- PFN Trajectory Surrogate: Prior-Fitted Networks (PFNs) use Transformers to perform instantaneous Bayesian posterior inference in a single forward pass without GP matrix inversions. ProfBO is first pre-trained on generic Gaussian Process priors to anchor uncertainty quantification in unexplored spaces.
- Positional Encoding + MAML Fine-Tuning: Unlike standard PFNs (which enforce permutation invariance), ProfBO reintroduces positional encodings to capture the sequence of steps. To prevent the model from memorizing task-specific quirks, Model-Agnostic Meta-Learning (MAML) is applied across the source MDP priors, forcing the Transformer to meta-learn generalizable optimization dynamics.
Datasets
The authors evaluated ProfBO across three primary testbeds:
- Covid-B (New Benchmark): Derived from 24 million molecular docking evaluations from the ZINC15 dataset against SARS-CoV-2 protein structures. Molecules are represented via 26-dimensional PCA-reduced continuous Molecular Quantum Number (MQN) embeddings across 5 distinct target receptor problems.
- Cancer-B (New Benchmark): Molecular docking against 5 cancer target proteins (three meta-train sets: 6T2W, NSUN2, RTCB; two meta-test sets: WHSC, WRN), totaling over 700k evaluations in 26 dimensions.
- HPO-B: A standard hyperparameter optimization benchmark across classification algorithms, evaluating 6 diverse tasks (ranging from 2 to 18 dimensions) up to 90 iterations, plus an extended 13-problem evaluation.
Key Insights and Ideas
- Optimization History Is Not Exchangeable: Treating past queries as unordered data points discards valuable procedural knowledge. An optimization trajectory inherently reflects decision sequences (exploration vs. exploitation).
- The Synergy of Positional Encodings and MAML: Adding positional encodings allows the model to leverage temporal search dynamics, but increases the danger of overfitting to spurious correlations. MAML acts as a regularizer across tasks, extracting transferrable procedural heuristics rather than task-specific surface details.
- Decoupled Architecture Yields Speed: Rather than relying on heavy Transformers to act as the RL policy directly (as in NAP), ProfBO uses simple 4-layer MLPs for DQN trajectory generation, offloading inference to the Transformer via supervised PFN loss.
Key Results
- Few-Shot Efficacy: Across Covid-B and Cancer-B, ProfBO consistently achieves lower average simple regret and ranks #1 against baselines (GP, Meta-GP, FSBO, TNP, TNP+, NAP, OptFormer) within 20 to 40 iterations.
- Real-World Screening Success: In Covid-B, ProfBO discovered compounds within the top 0.5% of docking scores across almost all tasks within 20 iterations, reaching a 100% success rate across trials by iteration 40 on 6 out of 7 targets.
- Training Efficiency: On five Covid-B problems (~1M evaluations each), ProfBO trained in 1,176 seconds (1,045s for MDP priors + 131s fine-tuning), running 3.34× faster than NAP (3,925s).
- Component Contributions: Ablation studies on HPO-B and the drug benchmarks verified that omitting either MAML or positional encodings sharply degraded performance, confirming the necessity of both for trajectory-based meta-surrogates.
Limitations and Future Work
- Principled MDP Generation: Generating MDP priors currently relies on discrete or grid-based DQN training. Systematically expanding MDP generation across arbitrary continuous domains, vastly different dataset scales, and mismatched dimensionality remains an open challenge.
- Theoretical Guarantees: While empirical results show strong gains from MAML-based adaptation in meta-BO, rigorous theoretical regret bounds under trajectory-dependent priors have yet to be established.
- Understanding Procedural Priors: Further mathematical analysis is required to formalize exactly how sequential correlations alter the posterior geometry of the acquisition landscape.
Summary updated