NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Modulated Bayesian Optimization using Latent Gaussian Process Models

Erik Bodin, Markus Kaiser, Ieva Kazlauskaite, Neill D. F. Campbell, Carl Henrik Ek

Modulated Bayesian Optimization using Latent Gaussian Process Models

Standard Bayesian Optimization (BO) often fails when objective functions are "messy"—full of local oscillations or discontinuities that distract the surrogate model. This paper introduces Modulating Surrogates using Latent Gaussian Processes (LGPs) to intentionally "ignore" these irrelevant details, treating them as irreducible uncertainty so the optimizer can focus on the global trend and find the optimum faster.

The Problem: Distraction by Detail

Bayesian Optimization is the go-to method for finding the maximum or minimum of expensive, "black-box" functions, such as tuning machine learning hyperparameters or designing physical components. Usually, we assume these functions are smooth and well-behaved.

However, real-world functions are often "detrimental": they might have high-frequency oscillations, jumps, or non-stationary noise. Standard surrogate models, like Gaussian Processes (GPs), try to model every single wiggle in the data. When the data is complex, the GP gets "distracted," wasting expensive function evaluations trying to map out irrelevant local details instead of searching for the global peak. The authors argue that modeling the objective as precisely as possible is actually the wrong goal for BO.

Methods: Learning What to Ignore

The authors propose a shift in philosophy: instead of building a more complex model to capture every detail, build a model that knows what to ignore.

  1. Latent Gaussian Processes (LGP): Unlike a standard GP that assumes simple additive noise ($y = f(x) + \epsilon$), an LGP introduces a latent variable $h$ that interacts non-linearly with the input: $f(x, h)$. This allows the model to "absorb" complex structures—like a sudden spike or a jagged region—into the noise distribution itself.
  2. Modulation Prior: They reparameterize the LGP so that a single parameter, $\sigma_h$, controls the "coarseness" of the function. By setting this prior, the user can tell the model: "Ignore any features smaller than this scale."
  3. Data Ignorance Effect: If a data point doesn't fit the smooth global trend, the LGP can move that point's latent $h$ value far away in the "latent space," effectively reducing its influence on the rest of the model.
  4. Inference: Because the LGP posterior is intractable, the authors use Markov Chain Monte Carlo (MCMC) methods—specifically Slice Sampling and Hamiltonian Monte Carlo (HMC)—to marginalize out the latent variables and hyperparameters.
Figure 2: Comparison of surrogate behaviors. The LGP can be tuned to follow local oscillations (left), ignore them entirely (middle), or capture a broad trend (right) to guide the acquisition function (blue) toward the global optimum.

Key Insights and Ideas

  • Utility Over Accuracy: The core insight is that for optimization, accuracy is secondary to utility. A "wrong" model that captures the global trend is more useful than a "right" model that gets lost in local details.
  • Absorbing Complexity: By treating oscillations as "irreducible uncertainty" rather than "signal," the acquisition function remains confident about the global structure.
  • Robustness to Misspecification: Standard GPs are very sensitive to their assumptions. The LGP is "self-healing" because it can categorize "broken" parts of the function as latent noise.

Key Results

  • Superior Reliability: In the "Corrupted Holder Table" test, standard GPs and even "Warped GPs" plateaued early. The LGP reliably ignored the corruption and found the true optimum.
  • Benchmark Dominance: Across 18 different benchmark functions, the LGP was either the top performer or statistically tied for the top in almost every case, particularly on functions labeled as "complicated" or "oscillatory."
  • Robot Pushing: On the non-smooth robot pushing task, the LGP found better solutions with much lower variance across runs compared to homoscedastic and heteroscedastic GPs.
Figure 6: The LGP fitting a highly complex and oscillatory function. By treating high-frequency wiggles as latent noise, the model (red line) captures the underlying trend, providing a more useful surrogate for optimization than a standard GP.

Limitations and Future Work

  • Computational Overhead: Using MCMC is significantly more computationally expensive than the simple matrix algebra used for standard GPs. This makes the method less suitable for "cheap" objective functions.
  • Prior Sensitivity: While the authors use a hierarchical prior, performance still depends on the candidate set of scales provided.
  • General Non-Linear Treatment: The authors propose a heuristic for "collapsing" the latent variable during prediction ($h_* = 0$). Finding a more theoretically grounded way to handle these non-linear interactions during the acquisition phase is an open research question.

Summary updated

BibTeX
@inproceedings{bodin2019modulated,
  author = {Erik Bodin and Markus Kaiser and Ieva Kazlauskaite and Neill D. F. Campbell and Carl Henrik Ek},
  title = {{Modulated Bayesian Optimization using Latent Gaussian Process Models}},
  booktitle = {International Conference on Machine Learning},
  year = {2019},
  doi = {10.48550/arxiv.1906.11152},
}
Figure