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

Adversarial Causal Bayesian Optimization

Scott Sussex, Pier Giuseppe Sessa, Anastasia Makarova, Andreas Krause

Introduction

Bayesian Optimization (BO) is the go-to strategy for optimizing expensive, black-box functions, such as finding the best drug dosage or tuning a machine learning model. Causal BO (CBO) improves upon standard BO by utilizing a known causal graph to understand how different variables interact, allowing an agent to learn faster and more efficiently.

However, existing CBO methods have a major blind spot: they assume the environment is static. In reality, external "adversaries"—which could be literal competitors, changing weather patterns, or shifting market forces—are constantly intervening in the system. For example, if a bike-sharing service optimizes its fleet based on a sunny Monday, its strategy might fail miserably on a rainy Tuesday.

To address this, researchers introduce Adversarial Causal Bayesian Optimization (ACBO). This framework tackles the challenge of optimizing a system where both the agent and an unpredictable environment are pulling the levers of a causal model simultaneously.

Comparison of standard Bayesian Optimization, Causal BO, and the proposed Adversarial Causal BO (ACBO).

Methods: CBO-MW Algorithm

To solve the ACBO problem, the authors propose Causal Bayesian Optimization with Multiplicative Weights (CBO-MW). This algorithm bridges two distinct domains:

  1. Online Learning: It employs the Multiplicative Weights (MW) update rule, a classic strategy for adversarial settings that maintains a probability distribution over possible actions.
  2. Causal Modeling: Instead of updating weights based solely on the reward actually received, CBO-MW uses the causal graph to estimate counterfactuals. It essentially asks: "Given what the adversary did, what reward would I have likely received if I had chosen a different action?"

To handle the uncertainty of unknown causal mechanisms, the algorithm uses a Causal UCB Oracle. This oracle propagates uncertainty through the graph to provide "optimistic" estimates of these counterfactual rewards. For complex, large-scale problems (like city-wide logistics), the authors also introduce D-CBO-MW, a decentralized version that scales by assuming the reward function follows "diminishing returns" (submodularity).

Key Insights

  • Causality Beats Complexity: The paper proves that the "regret" (the gap between the agent's performance and the theoretical best) depends on graph properties like sparsity and depth, rather than just the total number of variables. In sparse graphs, this leads to an exponential improvement in learning speed compared to non-causal methods.
  • The Power of "What If": By leveraging counterfactuals, the agent doesn't have to physically try every action to learn about it. Observing the adversary's impact on one part of the graph allows the agent to update its beliefs about many possible actions at once.
  • Adversaries as Non-Stationarity: A key conceptual takeaway is that "adversarial" doesn't have to mean "malicious." In this framework, an adversary is simply any external, non-random force that changes the system's rules over time.

Experiments and Results

The researchers evaluated their approach across both synthetic and real-world scenarios:

  • Synthetic Function Networks: They modified eight classic BO benchmarks (such as Alpine, Rosenbrock, and Ackley) to include adversarial components. They created "Penny" variants (inspired by the matching pennies game) and "Perturb" variants (where the adversary directly tweaks the agent's actions).
  • Shared Mobility System (SMS): A high-fidelity simulator using real-world trip data from Louisville, Kentucky (2021). The task was to reposition 40 bikes across 116 depots to maximize trips, while the "adversary" provided non-stationary demand influenced by real historical weather data (temperature and rainfall).

Key Findings: * Sublinear Regret: CBO-MW is the first algorithm for this setting to achieve sublinear regret, meaning it consistently gets closer to the optimal strategy over time. In contrast, standard non-adversarial methods (like GP-UCB) hit a "performance ceiling" and fail to adapt. * Superior Efficiency: In synthetic tests, CBO-MW outperformed non-causal adversarial methods (GP-MW) by a wide margin, especially in high-dimensional settings with sparse causal structures. * Real-World Impact: In the Louisville bike-sharing simulation, the decentralized D-CBO-MW learned demand patterns much faster than baselines. It successfully identified strategic "hotspots" for bike placement, even as weather and user behavior shifted.

Limitations and Future Work

While CBO-MW represents a significant step forward, the authors note a few limitations:

  • Computational Bottlenecks: Calculating the "optimistic counterfactual" is a difficult non-convex optimization problem. While the authors use neural networks and stochastic gradient ascent as an effective heuristic, finding a more robust or faster solver remains an open challenge.
  • Known Graphs: The algorithm assumes the causal graph is known beforehand. In many real-world scenarios, the graph itself might be unknown or only partially observed. Integrating causal discovery (learning the graph) into the adversarial optimization loop is a promising next step.
  • Submodularity Constraints: The scalable version (D-CBO-MW) relies on the assumption of submodular rewards. While common in resource allocation, this doesn't hold for all optimization problems.

Summary updated

BibTeX
@inproceedings{sussex2024adversarial,
  author = {Scott Sussex and Pier Giuseppe Sessa and Anastasia Makarova and Andreas Krause},
  title = {{Adversarial Causal Bayesian Optimization}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=YcW8i9VCf5},
}
Figure