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

Causal Bayesian Optimization

Virginia Aglietti, Xiaoyu Lu, Andrei Paleyes, Javier González

Causal Bayesian Optimization (CBO) is a framework presented at AISTATS 2020 that leverages causal knowledge to optimize complex systems more efficiently than traditional "black-box" methods. By integrating the underlying causal graph and observational data, CBO identifies which variables are worth manipulating and predicts their effects, reaching global optima faster and at a lower cost than standard methods.

The Problem: Black-Box vs. Causal Optimization

In fields ranging from drug discovery to supply chain management, the goal is often to find the "best" setting for variables to maximize an outcome. Traditional Bayesian Optimization (BO) treats these variables as independent inputs to a black-box function. However, real-world systems are networks of cause-and-effect. Standard BO ignores this structure, which leads to several issues:

  1. Cost: Intervening on every variable is often prohibitively expensive.
  2. Suboptimality: Forcing a variable to a specific value can break natural relationships that lead to better indirect outcomes.
  3. Inefficiency: Standard BO ignores "observational" data—watching the system run naturally—which contains valuable clues about interventional behavior.
Causal graphs representing different optimization scenarios. The left graph shows a system with unobserved confounders (dashed lines), while the right shows a high-dimensional system where only a subset of variables directly influences the target Y.

Methodology: Causal Global Optimization

The authors propose Causal Global Optimization (CGO) and solve it using the CBO algorithm. The framework relies on two primary innovations:

Optimal Exploration Sets (POMIS)

Instead of searching through all possible combinations of variables, CBO uses the causal graph to identify Possibly-Optimal Minimal Intervention Sets (POMIS). This drastically reduces the search space by focusing only on variables that can materially impact the target outcome.

The Causal GP Prior

The "secret sauce" of CBO is the Causal Gaussian Process (GP) prior. Before performing any interventions, the algorithm uses do-calculus to estimate the objective function's shape using existing observational data. This information is baked into the GP's prior mean and variance, giving the optimizer a massive "head start."

Illustration of the Causal GP prior. The top-right plot shows a standard GP prior struggling to fit the true causal effect (black line) with few data points. The bottom-right plot shows the Causal GP prior, which uses observational data to provide a much more accurate initial estimate of the function.

Key Insights and Results

  • Causal Intrinsic Dimensionality: The complexity of an optimization problem is determined by the number of "parent" variables of the target outcome, not the total variable count. This allows CBO to handle high-dimensional problems that would paralyze standard BO.
  • The Power of "Watching": Observational data provides a mathematical bound on what happens during intervention, allowing the GP model to be certain in areas where no experiments have been run.
  • Faster Convergence: In synthetic and real-world-inspired tests (e.g., coral reef ecology and healthcare PSA levels), CBO reached global optima in roughly half the steps and at half the cost of standard BO.

Limitations and Future Work

The current framework assumes the causal graph is known beforehand. In many real-world scenarios, the graph is only partially understood. A natural next step is combining CBO with causal discovery algorithms, where the optimizer learns the system's structure while simultaneously trying to optimize the outcome.

Summary updated

BibTeX
@inproceedings{aglietti2020causal,
  author = {Virginia Aglietti and Xiaoyu Lu and Andrei Paleyes and Javier González},
  title = {{Causal Bayesian Optimization}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2020},
  url = {https://openreview.net/forum?id=GH9jIAtcEou},
}
Figure