cs.LGOct 16, 2026

Acquisition Function-Guided Generation for Bayesian Optimization over Discrete Spaces

Authors: Tommaso Ancilli, Thomas Wedenig, Henry Moss, Robert Peharz

Organizations: Institute of Machine Learning and Neural Computation, TU Graz, Austria · Graz Center for Machine Learning (GraML), Austria · School of Mathematical Sciences, Lancaster University, UK

Abstract

Bayesian optimization (BO) over discrete spaces is challenging due to missing gradients and the sparsity of valid solutions. Latent-space BO sidesteps both issues by fitting a surrogate in the latent space of a generative model, which however substantially complicates the direct incorporation of domain knowledge that is naturally expressed in the original discrete space. In this work, we instead combine a pretrained generative model with a surrogate defined directly in data space, where inductive biases such as domain-specific kernels can be readily incorporated. Rather than maximizing the acquisition function over the discrete design space, our method samples candidates from the generative model under a distribution tilted by the acquisition function. To recover useful gradients for sampling, we embed this tilted distribution into a diffusion bridge that yields a smooth, posterior-averaged acquisition function. This leads to acquisition function guided generation (AFGG), which we instantiate with a categorical diffusion model and an autoregressive normalizing flow. Across a broad suite of molecular benchmarks, the diffusion model variant performs on par with leading BO methods, while the flow model variant outperforms state-of-the-art methods in most cases and remains highly competitive otherwise. Our implementation is available at https://anonymous.4open.science/r/afgg.

Figures & tables

Appendix figures & tables16 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Search at the Cost of Sampling: Nearly-Instant Latent Space Bayesian Optimization

    Sep 16, 2026Donney Fan, Colin Doumont, Aleksandra Kalisz +4Surrogate ModelingBayesian Optimization

  2. Generative Models as Adaptive Trust Regions for Discrete Bayesian Optimisation

    Oct 12, 2026Michael Dodds, Erik Bodin, Sebastian W. Ober +3Bayesian OptimizationBlack-Box Optimization

  3. Improving Bayesian Optimization via Training-Aware Conditional Diffusion Models

    Jun 7, 2026Yilin Zheng, Haowei Wang, Szu Hui Ng +1Bayesian OptimizationBlack-Box Optimization