Improving black-box optimization in VAE latent space using decoder uncertainty
Pascal Notin, José Miguel Hernández-Lobato, Yarin Gal
Abstract
Optimization in the latent space of variational autoencoders is a promising approach to generate high-dimensional discrete objects that maximize an expensive black-box property (e.g., drug-likeness in molecular generation, function approximation with arithmetic expressions). However, existing methods lack robustness as they may decide to explore areas of the latent space for which no data was available during training and where the decoder can be unreliable, leading to the generation of unrealistic or invalid objects. We propose to leverage the epistemic uncertainty of the decoder to guide the optimization process. This is not trivial though, as a naive estimation of uncertainty in the high-dimensional and structured settings we consider would result in high estimator variance. To solve this problem, we introduce an importance sampling-based estimator that provides more robust estimates of epistemic uncertainty. Our uncertainty-guided optimization approach does not require modifications of the model architecture nor the training process. It produces samples with a better trade-off between black-box objective and validity of the generated samples, sometimes improving both simultaneously. We illustrate these advantages across several experimental settings in digit generation, arithmetic expression approximation and molecule generation for drug design.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 6bf26d57-3ecd-4da9-857a-59c3890c7894Cited by top-tier papers23
- Local Latent Space Bayesian Optimization over Structured InputsNatalie Maus, Haydn Thomas Jones, Juston Moore, Matt J. Kusner et al.NeurIPS 2022 · 118 citations
- End-to-End Diffusion Latent Optimization Improves Classifier GuidanceBram Wallace, Akash Gokul, Stefano Ermon, Nikhil NaikICCV 2023 · 118 citations
- HyAR: Addressing Discrete-Continuous Action Reinforcement Learning via Hybrid Action RepresentationBoyan Li, Hongyao Tang, Yan Zheng, Jianye Hao et al.ICLR 2022 · 79 citations
- Combining Latent Space and Structured Kernels for Bayesian Optimization over Combinatorial SpacesAryan Deshwal, Janardhan Rao DoppaNeurIPS 2021 · 65 citations
- LIMO: Latent Inceptionism for Targeted Molecule GenerationPeter Eckmann, Kunyang Sun, Bo Zhao, Mudong Feng et al.ICML 2022 · 60 citations
Builds on5
- Towards Evaluating the Robustness of Neural NetworksNicholas Carlini, David A. WagnerS&P 2017 · 9,786 citations
- BoTorch: A Framework for Efficient Monte-Carlo Bayesian OptimizationMaximilian Balandat, Brian Karrer, Daniel R. Jiang, Samuel Daulton et al.NeurIPS 2020 · 686 citations
- GraphAF: a Flow-based Autoregressive Model for Molecular Graph GenerationChence Shi, Minkai Xu, Zhaocheng Zhu, Weinan Zhang et al.ICLR 2020 · 532 citations
- Sample-Efficient Optimization in the Latent Space of Deep Generative Models via Weighted RetrainingAustin Tripp, Erik A. Daxberger, José Miguel Hernández-LobatoNeurIPS 2020 · 186 citations
- A Chance-Constrained Generative Framework for Sequence OptimizationXianggen Liu, Qiang Liu, Sen Song, Jian PengICML 2020 · 13 citations
Related papers
- Advancing Bayesian Optimization via Learning Correlated Latent SpaceSeunghun Lee, Jaewon Chu, Sihyeon Kim, Juyeon Ko et al.NeurIPS 2023 · 27 citations
- Mitigating over-Exploration in Latent Space Optimization using lesOmer Ronen, Ahmed Imtiaz Humayun, Richard G. Baraniuk, Randall Balestriero et al.ICML 2025
- Return of the Latent Space COWBOYS: Re-thinking the use of VAEs for Bayesian Optimisation of Structured SpacesHenry B. Moss, Sebastian W. Ober, Tom DietheICML 2025
- Path-Aware and Structure-Preserving Generation of Synthetically Accessible MoleculesJuhwan Noh, Dae-Woong Jeong, Kiyoung Kim, Sehui Han et al.ICML 2022 · 11 citations
- Joint Composite Latent Space Bayesian OptimizationNatalie Maus, Zhiyuan (Jerry) Lin, Maximilian Balandat, Eytan BakshyICML 2024 · 3 citations
