Robust Latent Space Bayesian Optimization with Marginalized Kernel
Ziyi Yang, Yifan Zhu, Jinghui zhong
Abstract. Latent space Bayesian optimization circumvents the curse of dimensionality over structured inputs by performing Gaussian process surrogate-guided search in a continuous latent space learned by deep generative models. However, existing latent space Bayesian optimization methods overlook both the inherent stochasticity of latent space representations and the geometric properties of the manifold induced by VAE, leading to suboptimal optimization performance. In this work, we propose a marginalized kernel that integrates out the latent variables through the VAE inference posterior, yielding a closed-form kernel on the observation space that naturally accounts for encoding uncertainty. We adopt a quadratic polynomial kernel as the base kernel in the latent space, which captures discrepancies in the first two moments of the latent posteriors while avoiding the bandwidth sensitivity inherent to the RBF kernel. Furthermore, inspired by the Riemannian interpretation of VAEs, we incorporate a geometry-aware sampling scheme that leverages the metric structure revealed by the learned posterior covariances to guide candidate acquisition toward high-information regions of the latent space. Empirical evaluations on molecular design and robot design tasks demonstrate that our method outperforms existing state-of-the-art baselines across the majority of tasks.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 4 reviews · OpenReview
Updated 25 Nov 2026, 03:47 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
This work proposes MarKBO, an LSBO framework aimed at structured input problems. The main idea is to make use a VAE's latent posterior covariance to capture uncertainty in the representation, which leads to a closed-form marginalized kernel, and a geometry-aware sampler that respects the Riemannian geometry of the latent space. The sampler is intended to keep acquisition out of low-quality prior holes and in regions where the representation is more reliable. The method is evaluated on standard benchmarks and compares favorably to existing SOTA baselines. The paper is well written with thorough derivations and clear figures.
Reviewers were largely positive. Reviewers highlighted the contributions as addressing latent space uncertainty and addressing latent space geometry - were seen as clearly relevant to LSBO but not previously addressed, and the solutions are well motivated and thoroughly evaluated. In terms of weaknesses, a couple of obvious ablations are missing, in particular on the number of centroids (VCcb), and heuristic approach.
The authors should work to address reviewer feedback around the ablations and provide further justification for the approach
Read meta-review
Meta-review
This work proposes MarKBO, an LSBO framework aimed at structured input problems. The main idea is to make use a VAE's latent posterior covariance to capture uncertainty in the representation, which leads to a closed-form marginalized kernel, and a geometry-aware sampler that respects the Riemannian geometry of the latent space. The sampler is intended to keep acquisition out of low-quality prior holes and in regions where the representation is more reliable. The method is evaluated on standard benchmarks and compares favorably to existing SOTA baselines. The paper is well written with thorough derivations and clear figures.
Reviewers were largely positive. Reviewers highlighted the contributions as addressing latent space uncertainty and addressing latent space geometry - were seen as clearly relevant to LSBO but not previously addressed, and the solutions are well motivated and thoroughly evaluated. In terms of weaknesses, a couple of obvious ablations are missing, in particular on the number of centroids (VCcb), and heuristic approach.
The authors should work to address reviewer feedback around the ablations and provide further justification for the approach
- Rating
- 5/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 4/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper introduces a novel marginalized kernel for BO algorithms over structured input spaces using VAEs for continuous latent space representation. The kernel utilizes the VAE mean as well variance. The MarKBO scheme is ablated and also benchmarked against other baselines.
Strengths and weaknesses
Strengths:
-
Paper is written and presented well.
-
The paper tackles a very relevant problem in the BO literature.
-
The motivation of incorporating VAE variance in the kernel is well motivated.
-
The marginalized kernel is theoretically sound.
-
Empirical tests are sound.
Weaknesses:
-
The latent space metric G(z) formulation appears heuristic, depending on several design choices and tuning parameters, such as the choice of centroids, the interpolation kernel, regularization terms, and the percentage of top-performing samples used to construct the metric. These choices could significantly effect performance, but the paper does not provide a sufficiently detailed sensitivity analysis.
-
The geometry-aware sampling strategy uses the top p% of labelled samples to define high-quality regions of the latent space. While this may improve exploitation, it could also bias the optimization process too strongly toward regions that appear promising early on. This is especially concerning for multimodal objectives or when the initial labelled set is biased and does not cover the global optimum. The method would be vulnerable to premature exploitation. If the initial samples are clustered on a region of input space, the metric construction may concentrate future candidates around that region, reducing exploration of other potentially better regions. This is a critical concern and requires benchmarks and ablation to justify.
Questions
-
If the VAE posterior uncertainty is miscalibrated, how strongly would that affect MarkBO performance?
-
How sensitive is MarkBO to tuning parameters of the geometry aware sampling procedure?
-
How is MarkBO performance affected by biased initial samples? As an ablation, how would MarkBO perform if the metric were constructed from a randomly selected p% of labelled samples rather than the top-performing?
Limitations
Yes
Final justification
The authors have sufficiently justified/answered the weaknesses and questions raised. The additional ablation and VAE miscalibration studies conducted during the rebuttal period have been informative in resolving the original concerns. I have therefore revised my rating to Accept. I would recommend that the authors add the additional evidence and discussion in the camera-ready submission.
Formatting concerns
NA
4 comments
I thank the authors for their detailed rebuttal comments. My Q1 remains unresolved though. The authors consider the extreme cases, the VAE posterior becomes deterministic or collapses to the prior. In both cases MarkBO suffers, and the authors justify that these extreme cases are not likely to occur. However, the question remains, if the VAE posterior uncertainty is miscalibrated, how strongly would that effect MarkBO? That does not only mean the extreme cases but genuine miscalibration of the trained VAE where the posterior does not collapse but is poorly trained. It would be good to see how sensitive MarkBO is in such scenarios. My other comments have been answered and I would recommend adding adjustable p% as an alternative strategy in the manuscript.
We thank the reviewer for the constructive response. We agree that a more common scenario in practice is a poorly trained VAE without posterior collapse. We have conducted a new study to measure the impact of this miscalibration on MarKBO. Specifically we investigate how the reconstruction accuracy of the SELFIES-VAE affects optimization performance.
In the molecular design experiments in Section 5.1 we used the SELFIES-VAE with the pretrained weights released by LOLBO [1]. LOLBO trains the VAE on the 1.27M GuacaMol training set using the Adam optimizer. The learning rate for both the encoder and decoder is and the batch size is 256. The model architecture and hyperparameters are described in Appendix E.1.1. We retrained the SELFIES-VAE and selected three checkpoints:
- Poorly trained checkpoint. This is taken from an early stage of training after only two epochs. Its reconstruction accuracy is lower than that of the pretrained weights.
- Pretrained checkpoint. This is the LOLBO released weights used in our molecular design experiments in Section 5.1.
- Well trained checkpoint. This is obtained by continuing training on the pretrained weights for two additional epochs. Its reconstruction accuracy is better than that of the pretrained weights.
Token accuracy is the proportion of correctly reconstructed SELFIES tokens under argmax decoding. The average posterior standard deviation is computed over all molecules and latent dimensions. As shown in the table below, both token accuracy and are evaluated on the GuacaMol test set and posterior collapse did not occur in the three checkpoints. The difference among these checkpoints lies in their reconstruction accuracy.
We evaluated each checkpoint on four PMO benchmark tasks using the experimental setup from Section 5.1. All experiments use the Marginalized Quadratic Kernel from Section 4.1 and the Latent Geometry Aware Sampling strategy from Section 4.2.
Effect of VAE miscalibration on four PMO benchmark tasks. Token Accuracy and are computed on the GuacaMol test set. Results are mean ± std over 10 random seeds.
| SELFIES-VAE | Token Accuracy | Amlodipine MPO | Perindopril MPO | Fexofenadine MPO | Zaleplon MPO | |
|---|---|---|---|---|---|---|
| Poorly trained | 0.853 | 0.767 | 0.562±0.017 | 0.609±0.022 | 0.746±0.011 | 0.475±0.016 |
| Pretrained (default) | 0.937 | 0.749 | 0.615±0.010 | 0.673±0.015 | 0.772±0.006 | 0.521±0.025 |
| Well trained | 0.961 | 0.732 | 0.628±0.014 | 0.701±0.013 | 0.781±0.009 | 0.517±0.012 |
MarKBO running on the poorly trained checkpoint gets worse performance across four tasks while the well trained checkpoint gets slightly better results.
We conjecture that a poorly trained VAE fails to maintain the approximate identity mapping between encoding and decoding. Consequently the molecules decoded from the latent regions around deviate far from . Meanwhile the training dataset associates the score of with this latent region which causes the GP surrogate to learn incorrect objective values. Recent studies on LSBO including InvBO [3] and NF-BO [4] have discussed the impact of VAE reconstruction accuracy on optimization. Similarly, COWBOYS [2] noted in Section 7.2 that they reran the entire benchmark because the original VAE had relatively poor reconstruction accuracy and they replaced it with a more expressive 128-dimensional fully-connected VAE. We provide a brief overview of these baseline algorithms in Appendix E.4.1.
Overall, the success of MarKBO may depend on the pretrained VAE reaching an acceptable reconstruction accuracy. We think that checking the VAE reconstruction accuracy before running LSBO is important. We will include this ablation study in the paper and further discuss the impact of VAE reconstruction accuracy in Appendix A.
[1] Maus, Natalie, et al. "Local latent space bayesian optimization over structured inputs." Advances in neural information processing systems 35 (2022): 34505-34518.
[2] Moss, Henry, Sebastian W. Ober, and Tom Diethe. "Return of the Latent Space COWBOYS: Re-thinking the use of VAEs for Bayesian Optimisation of Structured Spaces." International Conference on Machine Learning. PMLR, 2025.
[3] Chu, Jaewon, et al. "Inversion-based latent bayesian optimization." Advances in Neural Information Processing Systems 37 (2024): 68258-68286.
[4] Lee, Seunghun, et al. "Latent bayesian optimization via autoregressive normalizing flows." International Conference on Learning Representations. 2025.
Thank you for the comment and the additional experimentation with varying levels of VAE training. I think this discussion should be highlighted in the main paper. Overall, the questions have been answered and I will revise my score accordingly.
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper studies Bayesian optimization (BO) in the latent space of a VAE-based generative model. Existing latent-space BO methods usually represent each input only by the encoder posterior mean, and then fit a GP surrogate using a kernel such as . This discards the posterior covariance which carries useful information about uncertainty and local latent geometry. To address this, the paper proposes a marginalized kernel:
For Gaussian encoder posteriors and certain base kernels (e.g., the quadratic kernel), this expectation admits a closed form that uses both and . The paper further introduces latent-geometry-aware sampling during acquisition optimization, encouraging candidate generation in latent regions that are better supported by the VAE and more reliable for decoding. In summary, the method improves latent-space BO from two directions: surrogate modeling via the marginalized kernel and candidate generation via geometry-aware sampling.
Strengths and weaknesses
Strengths
1. the paper is clearly motivated and well written. The organization is coherent and the high-level idea is intuitive. Since a VAE encoder naturally outputs a posterior distribution rather than a point estimate, using both the mean and covariance in BO is a reasonable and well-justified choice.
2. the marginalized kernel is elegant and practical. Rather than defining the GP kernel only on latent means, the paper defines a kernel between encoder posterior distributions, providing a clean way to incorporate latent uncertainty into the GP surrogate. For Gaussian posteriors and suitable kernels, the analytic form makes the method computationally convenient.
3. the method addresses both the surrogate-modeling and candidate-generation stages. The marginalized kernel improves GP fitting, while latent-geometry-aware sampling helps avoid latent regions that decode poorly. This makes the full BO pipeline more complete than simply swapping the kernel.
4. the experiments are reasonably comprehensive, and the ablation studies are informative. The ablations help disentangle the effects of the marginalized kernel and the geometry-aware sampling procedure, indicating that both components contribute to the final performance.
Weaknesses
1. the method depends strongly on the quality of the pretrained VAE. If the VAE fails to learn a reliable latent representation, both and may be inaccurate or uninformative. In such cases, neither the marginalized kernel nor geometry-aware sampling may yield meaningful gains, and downstream BO performance could degrade.
2, the current formulation is closely tied to Gaussian VAE posteriors. The analytic marginalized kernel relies on the posterior form $ q_\phi(z\mid x_i)=\mathcal{N}(\mu_i,\Sigma_i)$ and on kernels whose expectations are available in closed form. This may limit direct extension to more expressive generative models, such as normalizing flows, diffusion models, or implicit generative models, where the method would likely require Monte Carlo approximation or substantial modification.
3, the latent-geometry-aware sampling component appears relatively incremental from an MCMC perspective. The sampling strategy can be interpreted as targeting an exponentially tilted distribution that combines the acquisition function with a prior or latent-density term, possibly modulated by a temperature parameter. While this is a sensible and useful design, the underlying MCMC machinery is not in itself highly novel; the contribution lies more in adapting it to the latent-space BO setting than in proposing a fundamentally new sampling method.
4, the benefit may hinge on how informative is. When posterior covariances vary substantially across data points, the method can exploit meaningful uncertainty and local geometry. However, if the are nearly identical or close to zero, the marginalized kernel reduces to something close to a mean-only baseline. Additional analysis of when is informative would strengthen the paper.
Questions
- How sensitive is the method to the quality of the pretrained VAE?
- Under what conditions are the posterior covariances most informative?
- Can the marginalized-kernel idea be extended to non-Gaussian posteriors or other generative models?
- How much additional computational cost does the marginalized kernel introduce relative to a standard latent-mean kernel?
- Can the authors clarify the novelty of the latent-geometry-aware sampling step compared with standard MCMC methods that use temperature and prior-weighted exponential tilting?
Limitations
yes
Formatting concerns
No
4 comments
Rebuttal
We thank the reviewer 27bb for the positive assessment of our motivation and practicality of the marginalized kernel. We address the weaknesses and specific concerns below.
W1, Q1: How sensitive is the method to the quality of the pretrained VAE?
We thank the reviewer for this important question. We decompose the question into two extreme cases and discuss them separately. The first case is where the encoder degenerates to a deterministic autoencoder. The second case is where the posterior collapses to the prior.
(i) According to Appendix B.3, when the marginalized quadratic kernel reduces to , which is the standard quadratic kernel acting only on the posterior means. However, in this case our sampling scheme in Section 4.2 cannot work properly because the metric tensors diverge as .
(ii) When , the covariance terms in the marginalized quadratic kernel become and , which also depend only on the means. The kernel remains a valid p.s.d. kernel. Geometrically, , so the Riemannian volume element reduces to a density weighted by the Euclidean distances to the data centroids.
However, neither of these two extreme cases occurs in well-pretrained VAEs. Figure 4 in the Appendix A reports the posterior statistics of the pretrained VAEs used in both benchmarks. The per-sample of SELFIES-VAE (256$d$) ranges from about 0.65 to 0.85 and that of GLSO-VAE (28$d$) ranges from about 0.4 to 0.7. The values are neither collapsed to 0 nor equal to 1 and they vary across data points. This shows that the encoder has learned meaningful data-dependent uncertainty. Moreover, established VAE training techniques such as KL annealing can effectively prevent posterior collapse. The common practice in LSBO is to examine the reconstruction and generation quality of the generative model before downstream optimization instead of directly using a poorly trained model. In summary, the influence of the pretrained VAE representation on MarKBO is controllable in practice.
W4, Q2: Under what conditions are the posterior covariances most informative?
According to Appendix B.3, the covariance-dependent terms in the marginalized quadratic kernel are . If is identical across all samples is identical across all samples, these terms reduce to a fixed quadratic form of the means plus a constant. In other words, the covariance terms carry information beyond the means only when varies across data points and exhibits anisotropy.
In Figure 4 of Appendix A, we analyze the 100 initial points from the pretrained VAEs used in molecule design and robot design benchmarks. The per-sample values are broadly distributed, ranging from roughly 0.65 to 0.85 for SELFIES-VAE and from 0.4 to 0.7 for GLSO-VAE. They vary across data points and are neither close to 0 nor equal to 1. The per-sample values concentrate around zero. This indicates that the data-dependent information is reflected in the dispersion of . Table 1 in Section 5.3 ablates different kernel functions under the same sampling strategy. The results (1st row vs 2nd row) show that the Marginalized Quadratic Kernel outperforms the Marginalized Linear Kernel .
W3, Q3: Can the marginalized-kernel idea be extended to non-Gaussian posteriors or other generative models?
The marginalized kernel does not require a Gaussian posterior and is not limited to VAEs. The proof of Proposition 1 in Appendix B.1 relies only on the two conditions stated in Assumptions 1 and 2. The base kernel k_\boldsymbol{z} should be positive semi-definite so that an RKHS and a feature map exist (Assumption 1). The variational posterior should satisfy the integrability condition (Assumption 2). The proof itself places no restriction on the parametric form of the variational family. The Gaussian assumption is used only when deriving the closed-form expressions in Appendices B.2–B.4. It affects the computational form rather than the validity of the kernel. For any posterior that can be sampled from, the marginalized kernel can be estimated by Monte Carlo as .
The framework can also extend to other generative models. For a deterministic autoencoder, the posterior degenerates to a Dirac point and the marginalized kernel reduces to the base kernel evaluated on the encoder embeddings , as shown in Eq. (21) of Appendix B.2. For diffusion models, the forward process defines an analytic Gaussian marginal whose mean and covariance both have closed forms. The marginalized kernel can therefore be transferred to diffusion models directly.
Q4: How much additional computational cost does the marginalized kernel introduce relative to a standard latent-mean kernel?
The marginalized kernel introduces no additional computational cost. For the quadratic polynomial base kernel in Eq. (5) of the paper, the marginalization has a closed-form solution given by standard Gaussian moment identities, as shown in Eq. (6). When the encoder outputs a diagonal covariance, the terms and both reduce to inner products of -dimensional vectors. A single kernel evaluation therefore costs operations, the same as a latent mean kernel in dimensions. Our closed-form kernel computes the expectation exactly while avoiding both the additional cost and the estimation variance. The per-component runtime breakdown in Table 3 of Appendix A shows that surrogate model fitting with the marginalized kernel accounts for only 1.4% of the total runtime.
Q5: Can the authors clarify the novelty of the latent-geometry-aware sampling step compared with standard MCMC methods that use temperature and prior-weighted exponential tilting?
We thank the reviewer for raising this question. Here we take BO[1] as a representative method of prior-weighted exponential tilting for comparison. Exponential tilting multiplies an acquisition function pointwise by a power of an external prior, as in BO where the acquisition becomes . This is essentially a scalar reweighting of a single density and changes the relative weights of individual points. The sampling target of MarKBO is . It is not a tilt of distribution but is induced by a learned Riemannian metric, where is a matrix-valued field that varies with position (Eq. 7). Moreover, in BO is a user-specified belief distribution that is independent of the model. In contrast, the geometry in MarKBO comes from the encoder posterior covariances and the centroids are selected according to the observed objective values.
In addition, MarKBO employs the gradient-guided NUTS sampler which in theory requires steps to traverse a -dimensional state space, while random-walk Metropolis requires steps. As shown in Table 4, MarKBO takes s per iteration, which is lower than COWBOYS ( s) that generates candidates with the PCN-MCMC sampler. The ablation study (Section 5.3, Table 2) further shows that geometry-aware sampling outperforms both prior sampling and PCN-MCMC in optimization performance.
[1] Hvarfner, Carl, et al. " BO: Augmenting Acquisition Functions with User Beliefs for Bayesian Optimization." International Conference on Learning Representations.
I thank the authors for their detailed rebuttal. W2/Q3 (the kernel's validity does not rely on the Gaussian assumption), W4/Q2 (the covariance is informative when Σ varies across samples, supported by Figure 4 and the kernel ablations), and Q4 (O(d) closed-form cost, 1.4% of runtime) are resolved.
Two concerns remain:
-
W1/Q1 unresolved. The rebuttal analyzes only the two extreme cases (σ→0 and posterior collapse) and argues they are unlikely for well-pretrained VAEs. My question concerns the intermediate regime: a posterior that is genuinely miscalibrated without reaching either extreme. No experiment probes this. A controlled sensitivity study, e.g., scaling or perturbing the encoder covariances and reporting the performance degradation, would address it.
-
W3/Q5: novelty concern stands. The comparison with πBO clarifies that the target is induced by a position-dependent, model-derived metric rather than a scalar tilt, which I appreciate. However, the underlying machinery (NUTS on a modified target density) remains standard; the contribution lies in adapting it to LSBO rather than in a new sampling method.
I maintain my rating of 4 and encourage the authors to include a miscalibration sensitivity study in the revision.
Response to W1/Q1
We thank the reviewer for the constructive response. We agree that a more common scenario in practice is a poorly trained VAE without posterior collapse. We have conducted a new study to measure the impact of this miscalibration on MarKBO. Specifically we investigate how the reconstruction accuracy of the SELFIES-VAE affects optimization performance.
In the molecular design experiments in Section 5.1 we used the SELFIES-VAE with the pretrained weights released by LOLBO [1]. LOLBO trains the VAE on the 1.27M GuacaMol training set using the Adam optimizer. The learning rate for both the encoder and decoder is and the batch size is 256. The model architecture and hyperparameters are described in Appendix E.1.1. We retrained the SELFIES-VAE and selected three checkpoints:
- Poorly trained checkpoint. This is taken from an early stage of training after only two epochs. Its reconstruction accuracy is lower than that of the pretrained weights.
- Pretrained checkpoint. This is the LOLBO released weights used in our molecular design experiments in Section 5.1.
- Well trained checkpoint. This is obtained by continuing training on the pretrained weights for two additional epochs. Its reconstruction accuracy is better than that of the pretrained weights.
Token accuracy is the proportion of correctly reconstructed SELFIES tokens under argmax decoding. The average posterior standard deviation is computed over all molecules and latent dimensions. As shown in the table below, both token accuracy and are evaluated on the GuacaMol test set and posterior collapse did not occur in the three checkpoints. The difference among these checkpoints lies in their reconstruction accuracy.
We evaluated each checkpoint on four PMO benchmark tasks using the experimental setup from Section 5.1. All experiments use the Marginalized Quadratic Kernel from Section 4.1 and the Latent Geometry Aware Sampling strategy from Section 4.2.
Effect of VAE miscalibration on four PMO benchmark tasks. Token Accuracy and are computed on the GuacaMol test set. Results are mean ± std over 10 random seeds.
| SELFIES-VAE | Token Accuracy | Amlodipine MPO | Perindopril MPO | Fexofenadine MPO | Zaleplon MPO | |
|---|---|---|---|---|---|---|
| Poorly trained | 0.853 | 0.767 | 0.562±0.017 | 0.609±0.022 | 0.746±0.011 | 0.475±0.016 |
| Pretrained (default) | 0.937 | 0.749 | 0.615±0.010 | 0.673±0.015 | 0.772±0.006 | 0.521±0.025 |
| Well trained | 0.961 | 0.732 | 0.628±0.014 | 0.701±0.013 | 0.781±0.009 | 0.517±0.012 |
MarKBO running on the poorly trained checkpoint gets worse performance across four tasks while the well trained checkpoint gets slightly better results.
We conjecture that a poorly trained VAE fails to maintain the approximate identity mapping between encoding and decoding. Consequently the molecules decoded from the latent regions around deviate far from . Meanwhile the training dataset associates the score of with this latent region which causes the GP surrogate to learn incorrect objective values. Recent studies on LSBO including InvBO [3] and NF-BO [4] have discussed the impact of VAE reconstruction accuracy on optimization. Similarly, COWBOYS [2] noted in Section 7.2 that they reran the entire benchmark because the original VAE had relatively poor reconstruction accuracy and they replaced it with a more expressive 128-dimensional fully-connected VAE. We provide a brief overview of these baseline algorithms in Appendix E.4.1.
Overall, the success of MarKBO may depend on the pretrained VAE reaching an acceptable reconstruction accuracy. We think that checking the VAE reconstruction accuracy before running LSBO is important. We will include this ablation study in the paper and further discuss the impact of VAE reconstruction accuracy in Appendix A.
[1] Maus, Natalie, et al. "Local latent space bayesian optimization over structured inputs." Advances in neural information processing systems 35 (2022): 34505-34518.
[2] Moss, Henry, Sebastian W. Ober, and Tom Diethe. "Return of the Latent Space COWBOYS: Re-thinking the use of VAEs for Bayesian Optimisation of Structured Spaces." International Conference on Machine Learning. PMLR, 2025.
[3] Chu, Jaewon, et al. "Inversion-based latent bayesian optimization." Advances in Neural Information Processing Systems 37 (2024): 68258-68286.
[4] Lee, Seunghun, et al. "Latent bayesian optimization via autoregressive normalizing flows." International Conference on Learning Representations. 2025.
Response to W3/Q5
We thank the reviewer for the constructive feedback and agree that the NUTS sampler adopted in MarKBO is well-established. Here we would like to briefly clarify the main contribution of Section 4.2 which lies in the perspective of latent space geometry. Existing LSBO methods typically treat the latent space as Euclidean, and the geometric structure of the latent space has rarely been discussed in previous LSBO work. To the best of our knowledge, this is the first attempt to generate latent candidates from the Riemannian geometry induced by the VAE encoder posterior in LSBO. Table 2 in Section 5.3 shows that considering the latent geometric perspective brings promising improvements over prior-based sampling and acquisition-tilting PCN-MCMC sampling (COWBOYS[1], Section 5).
[1] Moss, Henry, Sebastian W. Ober, and Tom Diethe. "Return of the Latent Space COWBOYS: Re-thinking the use of VAEs for Bayesian Optimisation of Structured Spaces." International Conference on Machine Learning. PMLR, 2025.
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This work addresses the central challenge of effectively exploiting uncertainty information encoded by variational autoencoders in latent-space Bayesian optimization.
The paper argues that existing LSBO methods typically compress the VAE posterior distribution into a single latent vector, thereby discarding representation uncertainty and geometric information available in the latent space. To address this issue, the authors propose MarKBO, a latent-space Bayesian optimization framework that incorporates posterior uncertainty at both the surrogate-modeling and acquisition stages.
The first contribution is a marginalized kernel that integrates over the VAE posterior distribution and yields a closed-form kernel defined on structured inputs. The proposed quadratic marginalized kernel captures discrepancies in the first and second moments of latent posteriors while avoiding the bandwidth sensitivity associated with RBF kernels.
The second contribution is a latent geometry-aware sampling strategy. The method interprets encoder posterior covariances as local Riemannian metrics, constructs a global latent-space geometry through interpolation, and samples candidate points according to the induced Riemannian volume element using NUTS.
Strengths and weaknesses
Strengths:
-
The paper identifies a genuine limitation of existing LSBO methods. Most prior approaches indeed reduce a posterior distribution q(z∣x) to a single latent vector before GP fitting, thereby ignoring uncertainty information produced by the encoder. Incorporating posterior uncertainty into Bayesian optimization is a natural and meaningful direction.
-
The proposed marginalized kernel admits a simple analytical form and avoids Monte Carlo approximations. The resulting kernel naturally incorporates both latent means and latent covariances while maintaining computational complexity comparable to standard kernels.
-
The geometry-aware sampling mechanism leverages ideas from Riemannian latent-space analysis and adapts them to Bayesian optimization. The formulation is conceptually appealing and provides an alternative to standard Gaussian-prior-based candidate generation.
-
Broad experimental evaluation. The empirical study includes comparisons against several recent VAE-LSBO, HDBO and RBO methods, as well as ablations on both proposed components.
-
Clear writing and presentation. The motivation, derivations, and algorithmic pipeline are presented clearly.
Weaknesses:
-
Lack of main figure. The paper is somewhat difficult to understand when reading it directly. A clear main figure illustrating the overall method pipeline would make it much easier for readers to follow.
-
Justification of the proposed geometry is somewhat heuristic. A key assumption is G(z)≈Σ(z)−1. While this follows prior geometric VAE literature, the relationship between encoder covariance and the true pullback metric remains approximate.
-
Missing computational cost analysis. The proposed sampler relies on NUTS. Although the paper argues that BO is typically dominated by oracle evaluations, NUTS can still become expensive in higher-dimensional latent spaces. The manuscript lacks: wall-clock comparisons, scaling analysis with latent dimension, sensitivity studies on sampler hyperparameters. Such analysis would help assess practical applicability.
Questions
- The proposed marginalized kernel uses a quadratic polynomial kernel as the default choice. Why is matching only first and second moments sufficient for LSBO? Can the authors provide stronger theoretical or empirical justification?
- How sensitive is performance to the interpolation bandwidth parameter ρ and the centroid percentage p used in constructing the latent-space metric?
- Can the authors provide wall-clock runtime comparisons between MarKBO and methods using standard Gaussian-prior candidate generation?
Limitations
Yes
Final justification
The author's rebuttal addresses most of my concerns.
Formatting concerns
No
2 comments
Rebuttal
We thank the reviewer 6KE4 for the careful review and constructive comments on our work. In particular, we appreciate the recognition of our motivation, writing and experiments. Below we respond to the weaknesses and questions raised by the reviewer.
W1: Lack of main figure. The paper is somewhat difficult to understand when reading it directly. A clear main figure illustrating the overall method pipeline would make it much easier for readers to follow.
We thank the reviewer for this constructive suggestion. In the revised manuscript we plan to add an overall framework figure at the beginning of Section 4 to illustrate the pipeline of MarKBO. We believe main figure will help readers quickly understand how the two contributions in Section 4.1 and Section 4.2 differ from existing LSBO methods.
W2: Justification of the proposed geometry is somewhat heuristic. A key assumption is . While this follows prior geometric VAE literature, the relationship between encoder covariance and the true pullback metric remains approximate.
We thank the reviewer for this comment. We agree that the encoder covariance is not strictly equal to the pull-back metric. We emphasize that is an interpretation of the geometric structure of the VAE latent space. As described in Section 4.2 and Appendix C, the Gaussian posterior is a special case of the Riemannian Gaussian distribution under the constant metric . Since the Riemannian distance under the constant metric reduces to the Mahalanobis distance and the density of the Gaussian distribution is determined by this distance. In addition, computing is expensive for high-dimensional observations. The decoder is a mapping from to so that . Computing at each latent point requires one backward pass for each output dimension and its cost grows with the observation dimension . In contrast, the inverse of variance is obtained from a single forward pass of the encoder. During NUTS sampling in the latent space this introduces no additional forward or backward passes through the VAE.
Q1: The proposed marginalized kernel uses a quadratic polynomial kernel as the default choice. Why is matching only first and second moments sufficient for LSBO? Can the authors provide stronger theoretical or empirical justification?
We thank the reviewer for this question. Our paper assumes the posterior of the VAE latent variable as a diagonal Gaussian . The characteristic function of a Gaussian distribution is fully determined by and . By the uniqueness theorem of characteristic functions, two Gaussian distributions with the same first and second moments are identical. Isserlis' theorem further shows that all higher-order moments of a Gaussian distribution can be derived from and . There is therefore no independent higher-order moment information that needs to be matched.
For the quadratic polynomial kernel , the marginalized kernel can be computed analytically from the first and second moments of the Gaussian distributions rather than by Monte Carlo approximation. In addition, we compare different kernel functions on four small-budget PMO tasks in Section 5.3. All methods use the latent geometry-aware sampling strategy from Section 4.2 and we report the top-1 score mean and standard deviation over 10 random seeds. The marginalized quadratic kernel achieves the best results on all four tasks Amlodipine MPO, Perindopril MPO, Fexofenadine MPO and Zaleplon MPO. It outperforms the marginalized linear kernel, the marginalized RBF kernel, the corresponding non-marginalized kernels and the competitive baseline kernels such as MMD-RBF, Tanimoto and DKL+RBF.
In contrast, the performance of the RBF kernel commonly used in BO depends on the choice of bandwidth. Its ARD variant further requires estimating per-dimension length scales from limited observations, which increases the difficulty of model selection in high-dimensional latent spaces. The quadratic kernel is the default choice that balances distributional uncertainty, second-order interactions and computational efficiency.
Q2: How sensitive is performance to the interpolation bandwidth parameter and the centroid percentage used in constructing the latent-space metric?
We thank the reviewer for this question. The sensitivity to the centroid percentage has been analyzed in our response to Reviewer gLDQ with an ablation over three centroid selection rules and 5%, 10%, 20% on six PMO benchmark tasks. In brief, the performance varies smoothly with within the top rule and the default top 5% achieves the best result on four of the six tasks. The method is mildly sensitive to . We discuss the bandwidth below.
Bandwidth selection is a common issue for all RBF kernel based constructions. The kernel in Eq. (8) is already normalized by the local Mahalanobis distance . The bandwidth only serves as a global smoothing factor. To further examine the sensitivity to we compare two common heuristic bandwidth settings:
(i) The maximum nearest-neighbor distance used in this paper ().
(ii) The median heuristic widely used in kernel methods [1] ().
As shown in the table below, the performance differences between the two heuristic settings remain within an acceptable range on all tasks and no substantial performance degradation is observed. This indicates that our method is not sensitive to the choice of the bandwidth .
Comparison of two parameter-free bandwidth rules following the small-budget setting described in Sections 5.1 and 5.3.
| Bandwidth rule | Amlodipine MPO | Perindopril MPO | Fexofenadine MPO | Zaleplon MPO |
|---|---|---|---|---|
| Maximum nearest-neighbor heuristic (default) | 0.615±0.010 | 0.673±0.015 | 0.772±0.006 | 0.521±0.025 |
| Median heuristic | 0.603±0.004 | 0.642±0.012 | 0.757±0.015 | 0.508±0.009 |
W3: Missing computational cost analysis. The proposed sampler relies on NUTS.
Q3: Can the authors provide wall-clock runtime comparisons between MarKBO and methods using standard Gaussian-prior candidate generation?
We thank the reviewer for this suggestion. We agree that wall-clock efficiency is an important practical consideration for an algorithm. We provide a complete runtime analysis in Appendix A. Table 4 reports the total runtime and the average runtime per iteration of MarKBO and nine baseline methods on the PMO benchmark. Table 3 reports the per-component runtime breakdown on the robot morphology task.
We acknowledge that the per-candidate cost is higher than prior sampling. It should be noted that sampling candidates from the standard Gaussian prior is cost-free. MarKBO uses NUTS to sample from the Riemannian volume measure (Eq. 9). This requires evaluating the potential energy (Eq. 10) and its gradient (Eq. 11) at every leapfrog step. However, a more meaningful comparison should be made against competitive sampling methods such as PCN-MCMC [3]. In theory, NUTS requires only steps to traverse the state space of a -dimensional target while random walk Metropolis requires steps [2]. Table 4 in Appendix A shows that the average wall-clock time of MarKBO is s per iteration. This is about 36% lower than COWBOYS ( s) which generates candidates with the random walk-based PCN-MCMC sampler [3]. Moreover, the sampling chains for the candidates in each batch are independent and can be executed in parallel. The sampling overhead therefore remains manageable as the batch size grows. Our geometry-aware sampler outperforms existing MCMC-based candidate generation methods in both optimization performance (Figure 1 in Section 5.2 and Table 2 in Section 5.3) and sampling efficiency.
LSBO targets practical structured-input optimization under a limited budget. The primary metric is sample efficiency which is the best top-1 score achievable under a fixed oracle evaluation budget rather than the wall-clock time of the sampler itself. The ablation in Section 5.3 (Table 2) shows that Gaussian prior sampling with is in fact the worst among the four candidate generation strategies.
[1] Gretton, Arthur, et al. "Optimal kernel choice for large-scale two-sample tests." Advances in neural information processing systems 25 (2012).
[2] Beskos, Alexandros, et al. "Optimal tuning of the hybrid monte-carlo algorithm." Bernoulli 19.5a (2013): 1501-1534.
[3] Moss, Henry, Sebastian W. Ober, and Tom Diethe. "Return of the Latent Space COWBOYS: Re-thinking the use of VAEs for Bayesian Optimisation of Structured Spaces." International Conference on Machine Learning. PMLR, 2025.
Thanks for your detailed responses. It addresses most of my concerns, and I will keep my positive score.
- Rating
- 5/6
- Confidence
- 3/5
- Quality
- 4/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper proposes MarKBO, a latent-space Bayesian optimization method for structured inputs such as molecules and robot morphologies. MarKBO uses the VAE encoder covariance for the kernel in the GP surrogate and for sampling candidates for evaluation. For the GP surrogate, the paper proposes a marginalized kernel that integrates the latent variable out through the VAE posterior. This yields a closed-form GP kernel over inputs that depends on both posterior mean and covariance. For candidate selection, a geometry-aware sampler treats the inverse posterior covariance as a local Riemannian metric, interpolates a global metric over the top-scoring observations, and draws candidates from the induced Riemannian volume element via NUTS, with the stated aim of avoiding prior holes where prior mass is unsupported by encoded data.
Strengths and weaknesses
Strengths
- The core idea is simple and a natural use of information the VAE computes but standard LSBO discards. The motivation is empirically supported. Fig. 4 shows the encoder covariance matrix is neither collapsed nor uninformative.
- The paper reads well. The exposition is self-contained. The closed-form kernel derivation and the PSD proof are complete and checkable.
- The marginalized kernel is an appealing way to fold encoder uncertainty into the GP surrogate. The resulting kernel is exact, closed-form, and no more expensive than a standard RBF kernel. That is a clean result even if the marginalized-kernel construction itself is not new.
Weaknesses
-
The two uses of the encoder covariance sit in tension. The kernel uses the covariance and the sampler uses the precision. At a high-uncertainty input the effects oppose. The kernel inflates the second-moment matrix and smooths the GP posterior there. The sampler assigns that same region a small metric and low sampling mass, so few candidates are proposed there. The paper does not address this. A coherent complementary reading is possible, sample where the encoder is confident but smooth the fit where it is not. That reading is never argued, and no experiment probes the interaction. Table 1 and Table 2 each vary one component while fixing the other, so the joint effect of the two covariance uses is untested.
-
When constructing the Riemannian metric only 5 centroids are used (p=5%, N=100). This small number makes the metric over the manifold coarse. The geometric machinery may be doing much less than the study implies. There should be an ablation on p or K to show that the geometry matters beyond sampling near good points.
-
An ablation of the kernel is missing. The marginalized quadratic kernel should be compared against the same kernel with the covariance set to zero, which reduces to a polynomial kernel on the posterior means. Without that comparison the improvement cannot be attributed to the encoder covariance rather than to the mean terms alone. Addressing this would pull up my quality score.
Questions
-
Can you isolate the effect of the covariance in the kernel? Specifically, how does the marginalized quadratic kernel compare against the same kernel with the covariance set to zero, i.e. the polynomial kernel on the posterior means?
-
How do the two uses of the covariance interact? The kernel uses the covariance and the sampler uses the precision (), which pull in opposite directions at high-uncertainty points. Is this complementary by design, and is there evidence the joint effect helps?
-
How sensitive are the results to the number of centroids? With K=5 in the small-budget setting, does the interpolated metric matter beyond sampling near the top observations? An ablation on p or K would clarify this.
-
How is the constant c in the quadratic kernel chosen? Its value is never reported, yet it controls the balance between the first- and second-order terms.
Limitations
yes
Final justification
Resolved during rebuttal
- Attribution of the gain to the covariance (W3/Q1). The new ablation against the mean-only polynomial kernel shows the improvement does not come from the posterior means alone. This was the condition I stated for raising my quality score, and I have raised it from 3 to 4.
- Premature exploitation from top-p centroid selection (Q3). The comparison against random and k-medoids selection at three values of p is a substantive addition and supports the design choice.
- Interaction between the two uses of the covariance (W1/Q2). The staged argument, that the sampler determines the domain of the argmax while the kernel determines the distribution of the function being maximized, addresses my concern. I withdraw the framing that the two mechanisms oppose each other.
- The constant c (Q4). Learnable under a softplus constraint, optimized jointly with the other hyperparameters.
Remaining, all minor and none blocking
- No significance testing is reported. Several margins are within one or two standard deviations.
- Table 1 uses the Sec. 4.2 sampler in every row, so the claim at line 351 should be scoped to that setting.
- Learned values of c are not reported.
Weighting
The all three are presentation matters that the camera-ready can absorb. None of them bears on the correctness of the method or on whether the reported gains are real. Set against that, the two ablations added during rebuttal close the substantive gaps in the original evaluation, which was my sole reason for the borderline rating. I therefore move from 4 to 5.
Formatting concerns
None
2 comments
Rebuttal
We thank the reviewer VCcb for recognizing the simplicity and empirical motivation of our core idea and the appeal of the marginalized kernel as a principled way to incorporate encoder uncertainty into the GP surrogate. We address the noted weaknesses and specific concerns below.
W3, Q1: Can you isolate the effect of the covariance in the kernel? Specifically, how does the marginalized quadratic kernel compare against the same kernel with the covariance set to zero, i.e. the polynomial kernel on the posterior means?
W1, Q2: How do the two uses of the covariance interact? The kernel uses the covariance and the sampler uses the precision, which pull in opposite directions at high-uncertainty points. Is this complementary by design, and is there evidence the joint effect helps?
We thank the reviewer for this question. The two uses of the covariance are not opposing mechanisms acting on the same object. Instead they act on two different stages of the optimization.
Formally, the marginalized kernel enters GP posterior inference and acts on the posterior measure over the function space. The effect of can be characterized by the diagonal term. Relative to the degenerate mean-only kernel, the increase in prior variance is
so the prior variance is inflated in high regions and the posterior uncertainty increases accordingly. Meanwhile the geometry-aware sampler defines a proposal density through the metric and acts on the proposal measure over the latent space. The selection at each round is a sequential composition of the two mechanisms
where determines the domain of the and determines the distribution of the function being maximized.
To verify this analysis empirically we conduct an additional experiment using the settings described in Section 5.1 and 5.3. The kernel is either the marginalized quadratic kernel with the full or its degenerate form with . By the expansion in Appendix B.3 the kernel then reduces to the polynomial kernel on the posterior means . The sampler is either the geometry-aware sampling from Section 4.2 or random axis-aligned subspace perturbations (RAASP) [3]. The metric of the geometry-aware sampler is built from the encoder and the setting only applies to the input of the kernel.
Effect of covariance usage in the kernel and the sampler
| Kernel | Sampler | Amlodipine MPO | Perindopril MPO | Fexofenadine MPO | Zaleplon MPO |
|---|---|---|---|---|---|
| Marginalized quadratic kernel with full posterior covariance | Geometry-aware sampling | 0.615±0.010 | 0.673±0.015 | 0.772±0.006 | 0.521±0.025 |
| Marginalized quadratic kernel with full posterior covariance | RAASP | 0.559±0.015 | 0.624±0.013 | 0.731±0.019 | 0.467±0.008 |
| Mean-only polynomial kernel () | Geometry-aware sampling | 0.571±0.014 | 0.638±0.007 | 0.749±0.009 | 0.493±0.012 |
| Mean-only polynomial kernel () | RAASP | 0.564±0.021 | 0.606±0.012 | 0.746±0.011 | 0.469±0.017 |
Q3: How sensitive are the results to the number of centroids? With in the small-budget setting, does the interpolated metric matter beyond sampling near the top observations? An ablation on or would clarify this.
We thank the reviewer for this important question. Using the top % of labeled samples is not a heuristic specific to this paper. In the literature on high-dimensional Bayesian optimization (TuRBO [2], MSR [3]) and latent space Bayesian optimization (W-LBO [4], LOL-BO [5]), concentrating the search and the fine-tuning near the best-performing observations has been shown to be essential for effective optimization.
To directly address the concerns of the reviewers and the Area Chairs about premature exploitation and biased initial samples, we conduct a new ablation study on the PMO benchmark. We compare three centroid selection rules.
- Rank the labeled samples by their objective values and keep the top %.
- Uniformly sample % of the labeled samples at random.
- Run -medoids clustering on the latent means [1].
The second and third variants do not use label information. For each rule we set to 5%, 10% and 20%. The small-budget setting uses 100 initial points and 500 additional oracle calls with batch size 5. All experiments use the Latent Geometry Aware Sampling strategy from Section 4.2. Results are reported as mean std over 10 random seeds.
Effect of the centroid selection rule on six PMO benchmark tasks. Bold values indicate the best result in each column. Italic values indicate the second best.
| Centroid selection | Amlodipine MPO | Perindopril MPO | Fexofenadine MPO | Zaleplon MPO | Ranolazine MPO | Valsartan SMARTS | |
|---|---|---|---|---|---|---|---|
| top 5% (default) | 5 | 0.615±0.010 | 0.673±0.015 | 0.772±0.006 | 0.521±0.025 | 0.798±0.013 | 0.816±0.004 |
| top 10% | 10 | 0.579±0.023 | 0.647±0.018 | 0.782±0.017 | 0.503±0.006 | 0.824±0.018 | 0.647±0.033 |
| top 20% | 20 | 0.562±0.014 | 0.629±0.009 | 0.754±0.015 | 0.487±0.020 | 0.806±0.008 | 0.574±0.056 |
| random 5% | 5 | 0.501±0.003 | 0.493±0.021 | 0.715±0.012 | 0.417±0.008 | 0.703±0.006 | 0.000±0.000 |
| random 10% | 10 | 0.505±0.011 | 0.486±0.013 | 0.707±0.009 | 0.422±0.018 | 0.694±0.002 | 0.000±0.000 |
| random 20% | 20 | 0.514±0.007 | 0.488±0.006 | 0.703±0.011 | 0.404±0.015 | 0.698±0.005 | 0.000±0.000 |
| k-medoids 5% | 5 | 0.518±0.016 | 0.525±0.014 | 0.692±0.007 | 0.413±0.004 | 0.705±0.004 | 0.000±0.000 |
| k-medoids 10% | 10 | 0.506±0.009 | 0.508±0.010 | 0.701±0.005 | 0.409±0.003 | 0.702±0.014 | 0.000±0.000 |
| k-medoids 20% | 20 | 0.501±0.002 | 0.473±0.019 | 0.699±0.003 | 0.407±0.008 | 0.695±0.007 | 0.000±0.000 |
Within the top rule (top 5%, 10%, 20%) the performance varies mildly with . The default top 5% is the best on four of the six tasks. On the remaining two tasks the gaps to the best setting are 0.010 (Fexofenadine MPO with 0.772 vs 0.782) and 0.026 (Ranolazine MPO with 0.798 vs 0.824). The top 10% rule is slightly better on Fexofenadine MPO and Ranolazine MPO.
We conjecture that on these tasks a larger allows the metric to cover more regions. The task dependence of may suggest a possible direction for improvement. Following TuRBO, can be adjusted according to the optimization progress. It increases when progress is made continuously and decreases when progress stalls. This turns from a fixed hyperparameter into a quantity that adapts to the optimization state.
Q4: How is the constant in the quadratic kernel chosen?
We thank the reviewer for raising this point and apologize for not making it explicit. The offset in the quadratic kernel is a learnable kernel hyperparameter that is optimized jointly with all other hyperparameters (Appendix E.2, Lines 950-955). Specifically, our kernel is built on GPyTorch's PolynomialKernel, which registers as a trainable parameter under a positivity constraint enforced by a softplus transform with an unconstrained raw parameter . The raw parameter is initialized to , corresponding to an initial offset and is updated by Adam optimizer together with the inducing-point locations and variational parameters.
[1] Chadebec, Clément, and Stéphanie Allassonnière. "A geometric perspective on variational autoencoders." Advances in neural information processing systems 35 (2022): 19618-19630.
[2] Eriksson, David, et al. "Scalable global optimization via local Bayesian optimization." Advances in neural information processing systems 32 (2019).
[3] Papenmeier, Leonard, Matthias Poloczek, and Luigi Nardi. "Understanding High-Dimensional Bayesian Optimization." International Conference on Machine Learning. PMLR, 2025.
[4] Tripp, Austin, Erik Daxberger, and José Miguel Hernández-Lobato. "Sample-efficient optimization in the latent space of deep generative models via weighted retraining." Advances in Neural Information Processing Systems 33 (2020): 11259-11272.
[5] Maus, Natalie, et al. "Local latent space bayesian optimization over structured inputs." Advances in neural information processing systems 35 (2022): 34505-34518.
I thank the authors for running both new experiments within the rebuttal window. Q1 through Q4 are resolved from my side. The new kernel ablation isolates the covariance effect I asked about, the centroid selection ablation addresses the exploitation concern, and the clarification that c is a learnable softplus-constrained parameter answers my last question.
Two small requests for the camera-ready. Please report the learned values of c for the Sec. 5.1 tasks. And please note that the improvement in Table 1 is established under the Sec. 4.2 sampler, since every row uses it.
I am raising my quality score and recommendation accordingly.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Rebuttal
We sincerely thank reviewer gLDQ for the positive assessment of our work. We are particularly grateful for the recognition of the motivation and theoretical soundness of our contribution which integrates VAE posterior variance into the marginalized kernel. We address weaknesses and questions raised by the reviewer in detail.
We thank the reviewers for this important question. We decompose the question into two extreme cases and discuss them separately. The first case is σ→0 where the encoder degenerates to a deterministic autoencoder. The second case is σ=1 where the posterior collapses to the prior.
(i) According to Appendix B.3, when Σϕ(x)→0 the marginalized quadratic kernel reduces to k(x,x′)=(μϕ(x)⊤μϕ(x′)+c)2, which is the standard quadratic kernel acting only on the posterior means. However, in this case our sampling scheme in Section 4.2 cannot work properly because the metric tensors Σϕ−1(xi) diverge as Σϕ→0.
(ii) When Σϕ(x)=I, the covariance terms in the marginalized quadratic kernel become tr(Σϕ(x),Σϕ(x′))=d and μϕ(x)⊤Σϕ(x′),μϕ(x)=μϕ(x)⊤μϕ(x), which also depend only on the means. The kernel remains a valid p.s.d. kernel. Geometrically, G(z)∝(∑iωi(z)+λ)⋅I, so the Riemannian volume element reduces to a density weighted by the Euclidean distances to the data centroids.
However, neither of these two extreme cases occurs in well-pretrained VAEs. Figure 4 in the Appendix A reports the posterior statistics of the pretrained VAEs used in both benchmarks. The per-sample σ of SELFIES-VAE (256$d$) ranges from about 0.65 to 0.85 and that of GLSO-VAE (28$d$) ranges from about 0.4 to 0.7. The values are neither collapsed to 0 nor equal to 1 and they vary across data points. This shows that the encoder has learned meaningful data-dependent uncertainty. Moreover, established VAE training techniques such as KL annealing can effectively prevent posterior collapse. The common practice in LSBO is to examine the reconstruction and generation quality of the generative model before downstream optimization instead of directly using a poorly trained model. In summary, the influence of the pretrained VAE representation on MarKBO is controllable in practice.
We thank the reviewer for raising this concern and agree that the sensitivity of the metric construction (Eq. 7) deserves a careful analysis. We first discuss the two hyperparameters λ and τ. Then we report a new ablation study (see W2, Q3 below) on the centroid selection rule and the percentage p on six PMO benchmark tasks. These results support the conclusion that MarKBO is not highly sensitive to these components within reasonable ranges.
Metric regularization coefficient λ. The role of λ is to keep G(z) positive definite everywhere so that the volume element is strictly positive over the whole space. Within the data-supported region the metric is dominated by the Σ−1(xi) terms. As long as λ is smaller than the typical magnitude of these terms the local geometry is not affected. [1] reports that its influence on the results is limited. Following the official implementation of [1], we set λ=10−2 in all experiments.
Norm-decay rate τ. The role of τ is to make the sampling target normalizable (Eq. 9). If the isotropic term did not decay with ∥z∥2 then far from the data-supported region G(z) would approach λI and the Riemannian volume element would become nearly constant. The volume of the whole space would then diverge and the target density could not be normalized. With τ>0 the tail density decays at a Gaussian rate so that the total volume remains finite. Following the official implementation of [1], we set τ=10−6 in all experiments.
We thank the reviewer for this important question. Using the top p% of labeled samples is not a heuristic specific to this paper. In the literature on high-dimensional Bayesian optimization (TuRBO [2], MSR [3]) and latent space Bayesian optimization (W-LBO [4], LOL-BO [5]), concentrating the search and the fine-tuning near the best-performing observations has been shown to be essential for effective optimization.
To directly address the concerns of the reviewers and the Area Chairs about premature exploitation and biased initial samples, we conduct a new ablation study on the PMO benchmark. We compare three centroid selection rules.
The second and third variants do not use label information. For each rule we set p to 5%, 10% and 20%. The small-budget setting uses 100 initial points and 500 additional oracle calls with batch size 5. All experiments use the Latent Geometry Aware Sampling strategy from Section 4.2. Results are reported as mean ± std over 10 random seeds.
Effect of the centroid selection rule on six PMO benchmark tasks. Bold values indicate the best result in each column. Italic values indicate the second best.
On all six tasks the random and k-medoids rules do not use label information and perform below the top rules. On Valsartan SMARTS both reach 0.000±0.000. The reason is that the high-performing region of this task is extremely narrow. Only 2 of the 100 initial samples have a score above 0. Random or k-medoids centroids cannot assign sufficient mass to this region and no meaningful improvement is obtained within 500 evaluations.
Within the top rule (top 5%, 10%, 20%) the performance varies smoothly with p. The default top 5% is the best on four of the six tasks. On the remaining two tasks the gaps to the best setting are 0.010 (Fexofenadine MPO with 0.772 vs 0.782) and 0.026 (Ranolazine MPO with 0.798 vs 0.824). The top 10% rule is slightly better on Fexofenadine MPO and Ranolazine MPO.
We conjecture that on these tasks a larger p allows the metric to cover more regions. The task dependence of p may suggest a possible direction for improvement. Following TuRBO, p can be adjusted according to the optimization progress. It increases when progress is made continuously and decreases when progress stalls. This turns p from a fixed hyperparameter into a quantity that adapts to the optimization state.
[1] Chadebec, Clément, and Stéphanie Allassonnière. "A geometric perspective on variational autoencoders." Advances in neural information processing systems 35 (2022): 19618-19630.
[2] Eriksson, David, et al. "Scalable global optimization via local Bayesian optimization." Advances in neural information processing systems 32 (2019).
[3] Papenmeier, Leonard, Matthias Poloczek, and Luigi Nardi. "Understanding High-Dimensional Bayesian Optimization." International Conference on Machine Learning. PMLR, 2025.
[4] Tripp, Austin, Erik Daxberger, and José Miguel Hernández-Lobato. "Sample-efficient optimization in the latent space of deep generative models via weighted retraining." Advances in Neural Information Processing Systems 33 (2020): 11259-11272.
[5] Maus, Natalie, et al. "Local latent space bayesian optimization over structured inputs." Advances in neural information processing systems 35 (2022): 34505-34518.