Papers › Improving black-box optimization in VAE latent space using decoder uncertainty

Improving black-box optimization in VAE latent space using decoder uncertainty

30 Jun 2021NeurIPS 2021 12arXiv:2107.00096archive 2025-07-28

Pascal Notin, José Miguel Hernández-Lobato, Yarin Gal

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.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2107.00096")

Code

Syntology Ran 0 of 8 code samples harvested from 1 repository linked to this paper; 8 have no recorded run.

By repository: community (archive-listed): 8 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

pascalnotin/uncertainty_guided_optimization mentioned on GitHubpytorchMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

8 samples harvested; 0 ran; 0 honoured the contract we drafted; 8 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

8unverified

Licence: 0 of the 8 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from pascalnotin/uncertainty_guided_optimization. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

LDE pascalnotin/uncertainty_guided_optimization/utils/optimization_utils.py community (archive-listed) unverified MIT (permissive) · 20b3d08481214b2f · report
LSE pascalnotin/uncertainty_guided_optimization/utils/optimization_utils.py community (archive-listed) unverified MIT (permissive) · c89d89cbabceb5a8 · report
atom_features pascalnotin/uncertainty_guided_optimization/JTVAE/fast_jtnn/jtmpn.py community (archive-listed) unverified MIT (permissive) · 8defa56cfba45b58 · report
dfs pascalnotin/uncertainty_guided_optimization/JTVAE/fast_jtnn/mol_tree.py community (archive-listed) unverified MIT (permissive) · 4027a8a9d160edc2 · report
get_config_file pascalnotin/uncertainty_guided_optimization/utils/rd_filters.py community (archive-listed) unverified MIT (permissive) · 7aee3ccc4e667f90 · report
have_slots pascalnotin/uncertainty_guided_optimization/JTVAE/fast_jtnn/jtnn_dec.py community (archive-listed) unverified MIT (permissive) · da21481c18314904 · report
onek_encoding_unk pascalnotin/uncertainty_guided_optimization/JTVAE/fast_jtnn/jtmpn.py community (archive-listed) unverified MIT (permissive) · 5fe179a1fb051e63 · report
read_rules pascalnotin/uncertainty_guided_optimization/utils/rd_filters.py community (archive-listed) unverified MIT (permissive) · 5ccb47bdcb3ec477 · report

Tasks

DecoderDrug Design

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections