TL;DR
Latent-space Bayesian Optimization (BO) is a powerful tool for de novo scientific discovery, but it is notoriously slow, often spending minutes computing the next candidate while the actual evaluation takes seconds. By restricting the search space to a hypersphere and utilizing a linear surrogate model, this paper introduces a method that achieves a 100×+ wall-clock speedup. This turns BO from a computational bottleneck into a nearly instant, drop-in addition to high-throughput screening pipelines.
What Problem Does This Paper Address?
In fields like drug discovery and materials science, researchers use pretrained generative models (like VAEs or diffusion models) to design novel molecules or proteins. To find the best candidates, they perform Latent-Space Bayesian Optimization (LSBO), using a probabilistic surrogate model—typically a Gaussian Process (GP)—to guide the search.
However, a massive mismatch has emerged: modern virtual screenings and simulations are incredibly fast (taking only seconds), while standard GP-based BO requires cubic time complexity $O(n^3)$ to fit models and optimize acquisition functions. As a result, researchers often abandon BO in favor of cheap, non-adaptive "shotgun" random sampling simply because BO takes too long in terms of wall-clock time. Furthermore, standard BO searches within a hypercube, which often leads it into "dead spaces"—regions where the generative model produces invalid or unrealistic designs.
Methods
The authors solve both the speed and validity problems with a elegant geometric twist: they restrict the entire optimization domain to a sphere of radius $\sqrt{d}$ and use a simple linear surrogate model.
- Spherical Restriction: Most generative models use an isotropic Gaussian base distribution. In high dimensions, probability mass concentrates almost entirely on a thin spherical shell (the "thin shell" phenomenon). Restricting search to this sphere ensures the algorithm only samples valid, high-likelihood designs.
- Linear Surrogates with Spherical Symmetry: Instead of complex, non-linear GPs, the authors use a linear model ($f(z) = z^\top \beta + c$). Because the domain is a perfect sphere, the global symmetry allows the authors to derive nearly closed-form solutions.
- Fast Computations: Model fitting is reduced to a single upfront eigendecomposition and a quick 1D numerical root-find. Similarly, optimizing popular acquisition functions like Expected Improvement (EI) and Thompson Sampling (TS) reduces to simple 1D root-finding or direct projections, completely bypassing slow gradient-descent loops.
Datasets
The method was evaluated across several diverse high-dimensional benchmarks:
- GuacaMol Benchmark Suite: Four multi-property molecular optimization tasks (OSMB, PDOP, RANO, ZALE) evaluated using a SELFIES-VAE ($d=256$) and a COATI-LDM Flow model ($d=512$).
- Protein Structure Optimization: Maximizing the structural similarity (TM-score) of generated proteins against a reference conformation of calmodulin (1CLL) using the Boltz-2 foundation model ($d=3549$).
- Image Generation: Text-to-image alignment optimization using Stable Diffusion v1.5 ($d=16,384$) evaluated via CLIP score and ImageReward.
Key Insights and Ideas
- The Thin Shell is a Feature, Not a Bug: Searching outside the typical latent shell yields low-quality or unrealistic data. For instance, decoding images off-shell in Stable Diffusion results in blurry or overexposed artifacts (see Figure 2). Restricting search to the sphere inherently acts as a regularizer against "reward-hacking" unconstrained or overconfident oracles.
- Symmetry Unlocks Speed: Prior work tried using linear models on spheres but mapped a hypercube onto a partial shell. This boundary broke global symmetry. By utilizing the whole spherical shell, the authors unlocked the exact geometry needed to turn non-convex optimization into trivial 1D searches.
- Linear Models are Surprisingly Expressive on Spheres: While a linear model sounds restrictive, restricting it to a sphere allows it to model non-monotonic, complex behavior relative to the original latent space, matching the sample efficiency of deep non-linear GPs.
Key Results
- 100×+ Speedup: The proposed method completes its model fitting and acquisition steps in less than one second per iteration, compared to tens of minutes for standard GP baselines.
- High-Throughput Parity: When scaled to large batch sizes ($q = 1000$), the method runs nearly as fast as non-adaptive shotgun sampling while delivering significantly higher-scoring designs.
- Extreme Scalability: The algorithm successfully optimized prompts in a 16,384-dimensional space (Stable Diffusion), a regime where standard BO baselines are completely mathematically and computationally intractable.
Limitations and Future Work
The primary limitation of this approach is its reliance on local linearity. The method assumes that the objective function is sufficiently smooth across the acquired points. If the generative model induces severe multimodal structures or sharp discontinuities in the latent space, a linear surrogate may struggle.
Future work could explore adapting this framework to handle moderately non-linear functions on the sphere without sacrificing the closed-form computational advantages that make it so fast.
Summary updated