TL;DR
AFGG (Acquisition Function-Guided Generation) is a novel framework for Bayesian Optimization over discrete spaces that combines frozen, pretrained generative models with surrogates defined directly in data space. By sampling from an "acquisition-tilted" distribution via a diffusion bridge, it achieves state-of-the-art performance in molecular design while allowing researchers to easily incorporate domain-specific knowledge.
What Problem Does This Paper Address?
Optimizing discrete structures like molecules or proteins is notoriously difficult. The search space is combinatorial and "valid" designs (like chemically stable molecules) are incredibly sparse. Standard Bayesian Optimization (BO) relies on gradients to find the best next candidate, but discrete spaces don't have gradients.
The current "gold standard" is Latent-Space BO (LSBO), which trains a generative model (like a VAE) to map discrete data into a continuous latent space. However, LSBO has three major headaches:
- Domain Knowledge Gap: It’s hard to use domain-specific tools (like specialized chemical kernels) in an abstract latent space.
- Conflicting Goals: The latent space has to be good for both generating data and modeling the objective function—two goals that often clash.
- Decoding Failure: Optimization often pushes the search into "empty" regions of the latent space where the decoder produces gibberish.
Methods
The authors propose Acquisition Function-Guided Generation (AFGG). Instead of trying to maximize an acquisition function across a discrete space, they treat the problem as a sampling task.
- The Tilted Target: They define a target distribution that is the product of a pretrained generative model (which knows what "valid" looks like) and the acquisition function (which knows what "good" looks like).
- The Diffusion Bridge: To get around the lack of gradients in discrete space, they embed this target into a continuous diffusion process. This "smooths" the acquisition function by averaging it over a noised posterior, creating a clear gradient for the sampler to follow.
- Tilted Mean Difference: A key mathematical insight is that the guidance signal simplifies to the difference between the standard posterior mean and an acquisition-weighted mean. This means you don't even need to differentiate the acquisition function itself!
- Backbones: They implemented AFGG using two different generative models: a Categorical Diffusion model (CDCD) and an Autoregressive Normalizing Flow (SeqFlow).
Datasets
The framework was evaluated on the Practical Molecular Optimization (PMO) benchmark, which consists of 25 diverse molecular design objectives (e.g., similarity to Albuterol, docking scores for DRD2). The generative models were pretrained on the GuacaMol dataset, a standard collection of roughly 1.6 million molecules.
Key Insights and Ideas
- Decoupling is Powerful: By keeping the generative model frozen and the surrogate in data space, AFGG avoids the "overfitting" and "latent-space shift" issues common in LSBO.
- Generative Quality is the Bottleneck: The paper shows that the SeqFlow variant significantly outperforms the CDCD variant. This suggests that as generative models for proteins and molecules get better, AFGG will automatically become more powerful without needing a change in the BO logic.
- Guidance vs. Optimization: Rather than "finding the peak," AFGG "steers the generator." This keeps the search within the "manifold" of valid designs that the generator was trained on, preventing the decoder from failing.
Key Results
AFGG sets a new high bar for molecular optimization:
- State-of-the-Art: The SeqFlow variant achieved the best results on the majority of the 25 PMO benchmarks, outperforming strong baselines like TuRBO, LOL-BO, and COWBOYS.
- Sample Efficiency: In sequential settings (one molecule at a time), AFGG found significantly better molecules within a tight budget of 300 evaluations.
- Robustness: It works well in both sequential and batch settings (evaluating 5 molecules at once).
The final performance table below highlights how the SeqFlow variant (far right) dominates the benchmark suite, often by substantial margins.
Limitations and Future Work
- Computational Cost: The SeqFlow variant requires multiple passes through the normalizing flow for every guidance step, making it more computationally expensive than simpler baselines.
- Dependence on Priors: AFGG is only as good as its pretrained generator. If the generator has "blind spots" in a high-performing region of the chemical space, AFGG might never find those molecules.
- Future Directions: The authors suggest that the next big step is applying AFGG to protein foundation models. Since these models are massive and expensive to train, a framework like AFGG that uses them as "frozen" backbones is highly attractive for biological sequence design.
Summary updated