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

Bayesian Optimization of Composite Grey Box Functions

This direction is no longer present in the current build. Its last version stays readable and citable here.

Version 1 of 111 papers16 conceptsfrozen 2026-10-04

In traditional Bayesian Optimization (BO), we treat an expensive function as a "black box." We provide an input, observe an output, and use a surrogate model—typically a Gaussian Process (GP)—to guess where the optimum might lie. This approach is powerful because it requires no knowledge of the function's inner workings. However, in many real-world scenarios, we actually know the "shape" of the problem, even if the individual components are expensive to evaluate.

Recent research has shifted toward grey-box optimization, where we exploit the known structural composition of a function to achieve massive gains in sample efficiency.

Beyond the Black Box

Consider a function $f(x) = g(h(x))$. In a black-box setting, we would model $f$ directly. But in many engineering problems, $h(x)$ might be an expensive physical simulation, while $g$ is a known, cheap mathematical transformation (like a safety constraint or a cost function).

Raul Astudillo and Peter I. Frazier demonstrated in Bayesian Optimization of Composite Functions that modeling the inner component $h$ rather than the full composite $f$ allows the optimizer to reach the same results in less than a quarter of the evaluations. By leveraging the known structure of $g$, the algorithm can better anticipate how uncertainty in the simulation $h$ will propagate to the final objective.

The Challenge of Non-Gaussianity

The primary hurdle in grey-box optimization is that Gaussian Processes do not play well with composition. If we place a GP prior on $h(x)$, the resulting distribution of $g(h(x))$ is almost never Gaussian unless $g$ is linear.

This creates a problem for standard acquisition functions like Expected Improvement (EI) or Upper Confidence Bound (UCB), which rely on the clean analytical properties of the normal distribution. When the objective distribution becomes non-Gaussian, we lose the ability to easily calculate where the next best sample point is.

To solve this, researchers have developed methods to propagate uncertainty through these non-linear layers:

  1. Recursive Propagation: In Regret Bounds for Noise-Free Cascaded Kernelized Bandits, Jonathan Scarlett and Zihan Li proposed GPN-UCB. This algorithm calculates a global confidence bound by recursively refining uncertainty estimates through each layer of a network, matching the fundamental mathematical limits of what is possible in "cascaded" systems.
  2. Implied Posteriors: Instead of forcing the output to be a GP, researchers like Wenjie Xu and Colin Jones work with the "implied" posterior. As detailed in Bayesian Optimization of Expensive Nested Grey-Box Functions, they maintain rigorous confidence intervals even as errors accumulate across multiple nested stages.

From Simulations to Reinforcement Learning

The "composite" framing isn't just for simple function nesting; it is the core structure of Reinforcement Learning (RL). In an MDP, the value function is defined by the Bellman equation—a recursive composition of transitions and rewards.

Jasmine Bayrooti and colleagues applied these grey-box principles to RL in No-Regret Thompson Sampling for Finite-Horizon Markov Decision Processes with Gaussian Processes. By treating the Bellman update as a non-linear composition of GPs, they developed specialized confidence bounds that allow an agent to learn optimal behavior in continuous environments without needing to simplify or discretize the world.

Robustness and Constraints

This direction also extends to "Distributionally Robust" problems, where we want to optimize for the worst-case scenario under environmental noise. Yu Inatsu and Ichiro Takeuchi showed in Bayesian Optimization for Distributionally Robust Chance-constrained Problem that while robustness requirements break standard GP properties, modeling the underlying components allows for solving complex chance-constrained problems that were previously intractable.

Why It Works: The Intuition

The intuition behind the success of this research direction is information preservation.

When we use a black-box model, we throw away the "blueprint" of the system. If we know that $f(x) = \sin(h(x))$, a black-box GP has to learn the periodic nature of the sine wave and the behavior of $h(x)$ simultaneously. A grey-box approach, however, knows the sine wave is there. It only spends its "budget" learning the unknown $h(x)$. By modeling the components we don't know and plugging them into the structures we do know, we create a surrogate model that is far more accurate with significantly less data.

Papers in this version

History & citationVersion 1 · 2026-10-04

No longer present in the current build · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_bayesian_optimization_of_composite_grey__0027be75,
  title = {Bayesian Optimization of Composite Grey Box Functions},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/bayesian-optimization-of-composite-grey-box-functions/rdr_0027be75e6314b178e934f1d6dd44f1d},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-30},
}

This exact version (version 1, frozen text):

@misc{lacuna_bayesian_optimization_of_composite_grey__0027be75_v1,
  title = {Bayesian Optimization of Composite Grey Box Functions},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/bayesian-optimization-of-composite-grey-box-functions/rdr_0027be75e6314b178e934f1d6dd44f1d/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-30},
}