Safe Bayesian Optimization with Counterfactual Policies

Katherine Avery, Bruno Castro da Silva, David Jensen
7/6/2026
cs.LGcs.AI
bayesian

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

In many decision-making settings, new interventions are acceptable only if they do not reduce outcomes below some established threshold. For example, in clinical medicine, new treatments are often acceptable only if they do not worsen outcomes relative to an established standard of care.

Show full abstract

Safe Bayesian optimization maximizes an objective subject to safety constraints. In the setting that we consider here, safety is defined relative to a known baseline policy whose outcomes are counterfactual and therefore unobserved. Thus, the counterfactual outcomes of the baseline policy must be estimated and those (uncertain) estimates must be used to safely optimize the objective. We address this estimation problem by using conformal prediction to construct valid uncertainty intervals for counterfactual baseline outcomes, and we show how these intervals can be integrated into safe Bayesian optimization to ensure that constraint violations occur at or below a user-specified rate. We also show how to adapt these conformal estimates to different kinds of covariate shift. We provide a safety proof, experimental evidence, and a sensitivity analysis.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{avery2026safe,
  title  = {Safe Bayesian Optimization with Counterfactual Policies},
  author = {Katherine Avery and Bruno Castro da Silva and David Jensen},
  year   = {2026},
  eprint = {2607.05620},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2607.05620v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2607.05620.svg)](https://codeofpaper.com/paper/2607.05620)

Discussion