CO-BED: Information-Theoretic Contextual Optimization via Bayesian Experimental Design

Desi R. Ivanova, Joel Jennings, Tom Rainforth, Cheng Zhang, Adam Foster

In the world of machine learning, we often face a "cold start" problem: how do we gather the most useful data to make the best decisions later? Whether it's personalized medicine, drug discovery, or targeted marketing, we need to design experiments that don't just teach us about a model, but specifically teach us how to find the optimum.

A new paper from researchers at Oxford and Microsoft Research, titled CO-BED: Information-Theoretic Contextual Optimization via Bayesian Experimental Design, introduces a powerful, model-agnostic framework that does exactly this. By framing contextual optimization through the lens of Bayesian Experimental Design (BED), they’ve created a way to design experiments that are mathematically guaranteed to be "optimally informative."

TL;DR

CO-BED is a general framework for designing contextual experiments that maximize information gain about the optimal rewards in target scenarios. It uses black-box variational methods and continuous relaxations to handle complex models and discrete actions, consistently outperforming standard heuristics and specialized baselines.

What Problem Does This Paper Address?

Most experimental design methods focus on parameter estimation—they want to learn the "true" underlying model as accurately as possible. However, in many real-world applications, we don't actually care about the whole model; we only care about finding the best action for a given context (e.g., the best dosage for a specific patient profile).

Existing methods for "optimum-targeting" (like Entropy Search in Bayesian Optimization) are often "bespoke"—they are tightly coupled to specific models like Gaussian Processes and don't scale well to large batches of experiments or high-dimensional spaces. Furthermore, they often struggle with contextual information, where the optimal action changes depending on external factors.

Methods

The core of CO-BED is a new objective function called CMV-EIG (Contextual Max-Value Expected Information Gain).

  1. Information-Theoretic Objective: CMV-EIG measures the mutual information between the outcomes of an experiment and the maximum achievable rewards in a set of "evaluation contexts." This makes the approach transductive: it specifically targets information that helps us perform well at deployment time.
  2. Black-Box Variational Optimization: Because calculating mutual information is notoriously difficult ("doubly intractable"), the authors use the InfoNCE lower bound. They train a neural network "critic" to estimate this bound, allowing them to optimize the experimental design using simple stochastic gradient descent.
  3. Handling Discrete Actions: Experimental designs often involve discrete choices (e.g., "Treatment A" vs "Treatment B"). To make these choices differentiable for gradient-based optimization, CO-BED employs the Gumbel-Softmax relaxation, treating discrete actions as continuous during training.
  4. Model-Agnosticism: Because it relies on sampling rather than analytical likelihoods, CO-BED works with any model—from simple linear regressions to complex "implicit" simulators.
Illustration of transductive experimental design, targeting a specific evaluation context.

Key Insights and Ideas

  • Targeting the Optimum vs. the Model: The "aha moment" here is that you can be much more efficient if you stop trying to learn everything. By focusing only on the "max-values," CO-BED ignores parts of the parameter space that don't affect the final decision.
  • Transductive Design: The framework explicitly separates "experimental contexts" (where you can collect data) from "evaluation contexts" (where you will be judged). This allows the system to realize, for example, that testing a sub-optimal action in one context might be the best way to learn about the optimal action in another.
  • The Power of Relaxation: Using Gumbel-Softmax allows the framework to "smoothly" explore discrete action spaces, finding optimal experimental batches that traditional greedy heuristics might miss.

Key Results

  • Superior Performance: In Gaussian Process experiments, CO-BED significantly outperformed "bespoke" GP acquisition functions (like LEVI+LP), achieving lower regret at deployment.
  • Scalability: In a Causal Graph experiment, CO-BED successfully optimized a 5,000-dimensional design space, whereas standard Upper Confidence Bound (UCB) baselines struggled to handle the heterogeneity of the treatments.
  • Efficiency in Linear Bandits: CO-BED performed on par with or better than specialized algorithms, particularly excelling when the experimental budget (batch size) was small.
  • Robustness: Ablation studies showed that the framework is highly robust to the choice of "temperature" in the Gumbel-Softmax relaxation, making it easy to tune.
Comparison of sampling strategies and resulting Expected Information Gain (EIG) across different methods.

Limitations and Future Work

  • Computational Cost: Training a neural network critic for every experiment is more computationally expensive than using a simple heuristic like "Random" or "UCB." However, the authors argue this cost is negligible compared to the cost of running real-world physical or clinical experiments.
  • Continuous Rewards: The current formulation assumes that rewards are continuous. Future work could extend this to categorical or binary outcomes.
  • Multi-round Adaptation: While this paper focuses on designing a single large batch of experiments, the framework could theoretically be extended to multi-round, adaptive experimental design.

Summary updated

BibTeX
@inproceedings{ivanova2023co,
  author = {Desi R. Ivanova and Joel Jennings and Tom Rainforth and Cheng Zhang and Adam Foster},
  title = {{CO-BED: Information-Theoretic Contextual Optimization via Bayesian Experimental Design}},
  booktitle = {International Conference on Machine Learning},
  year = {2023},
  url = {https://openreview.net/forum?id=2ooUXQQCPJ},
}
Figure