arXiv:2610.18306cs.LGOct 2026

Manuscript Offprint

arXiv:2610.18306

Bayesian Optimization of CVaR with Unknown Hyperparameters

Valentin Margraf, Jonas Hanselle, Viktor Bengs, Serafima Lebedeva, Eyke Hüllermeier, Marcel Wever

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

We study Bayesian optimization of the Conditional Value-at-Risk (CVaR) of an expensive black-box function that depends on a decision and an environmental variable. Existing no-regret algorithms assume that the correct Gaussian process (GP) kernel and its hyperparameters are known. In practice, however, they must be estimated from limited data, often yielding a misspecified surrogate. This is especially damaging for CVaR because misspecification can distort the estimated tail-risk and thus lead to catastrophic decisions. We propose HE-CV-UCB, the first no-regret algorithm for CVaR Bayesian optimization with unknown GP hyperparameters. Given a finite candidate set containing a well-specified model, HE-CV-UCB adaptively eliminates those inconsistent with the observed data, actively queries where the survivors disagree, and returns a design that is robust across the surviving candidates. We prove that it attains cumulative regret matching the oracle rate of CV-UCB up to a factor depending only on the candidate set's size. Across synthetic benchmarks and three real-world applications, HE-CV-UCB achieves competitive performance and frequently outperforms existing CVaR Bayesian optimization methods.

1 Introduction

Bayesian optimization (BO) is a popular framework for optimizing expensive black-box functions Garnett [2023], with applications spanning materials design Zhang et al. [2020], drug discovery Colliandre and Muller [2024], and hyperparameter optimization Snoek et al. [2012], Lindauer et al. [2022]. BO proceeds iteratively by fitting a probabilistic surrogate model to the evaluations observed so far, typically a Gaussian process (GP) Rasmussen and Williams [2006], and selecting new evaluations through an acquisition function that balances exploration and exploitation. In many real-world applications, however, the outcome depends not only on the controllable decision variable but also on uncertain environmental conditions. A portfolio allocation is exposed to stochastic market movements Liang

Figure

— Truth — ℓw=0.04\ell_w = 0.04 — ℓw=3.0\ell_w = 3.0 ★ Opt. ✗ Bad

Figure 1: Surrogate misspecification distorts CVaR estimation. Left: the objective f(x,w)f(x, w), with a sharp ridge at w≈0.85w \approx 0.85 for x≲0.4x \lesssim 0.4. Right: the true CVaR α[f(x,W)]\alpha[f(x, W)] over designs xx (black). A well-specified surrogate ( ℓw=0.04\ell_w = 0.04, blue) resolves the ridge and its CVaR band contains the truth, while the oversmoothed surrogate ( ℓw=3.0\ell_w = 3.0, orange) is tail-blind and recommends a near-worst design ( x≈0.22x \approx 0.22).

et al. [2017], Millar and Li [2025], a treatment plan to variability in patient response An et al. [2017], and an solver configuration to differences in problem-instance difficulty Hutter et al. [2014]. Classical BO typically optimizes expected performance. In safety-critical applications, however, optimizing the average can be misleading: a decision with excellent expected performance may still incur catastrophic losses under unfavorable conditions. A portfolio may collapse during a market downturn, a treatment may fail for a vulnerable patient, or a solver configuration may time out on particularly difficult instances. This motivates risk-sensitive objectives such as Conditional Value-at-Risk (CVaR), which measures the expected outcome among the worst (1−α)(1 - \alpha)-fraction of realizations for a risk level α∈(0,1)\alpha \in (0, 1).

Existing CVaR BO algorithms, such as CV-UCB and CV-TS [Nguyen et al., 2021b], achieve sublinear regret under the assumption that the Gaussian process is correctly specified. In practice, this assumption is rarely satisfied. Kernel families are chosen heuristically, and their hyperparameters are typically selected from limited observations by maximum-likelihood or maximum-a-posteriori estimation, procedures that can be unreliable in finite-data regimes [Lalchand and Rasmussen, 2019] and thus result in misspecified surrogates. Surrogate misspecification is particularly harmful for CVaR optimization because it can translate into inaccurate risk estimates and consequently unsafe decisions, as illustrated in Figure 1. While several algorithms address unknown hyperparameters in mean-based Bayesian optimization [Berkenkamp et al., 2019, Bogunovic and Krause, 2021, Ziomek et al., 2024, 2025], the corresponding problem for CVaR optimization has remained unexplored.

We close this gap with Hyperparameter-Elimination CVaR-UCB (HE-CV-UCB), the first no-regret algorithm for CVaR Bayesian optimization that does not require the true kernel hyperparameters to be known. Instead, HE-CV-UCB assumes only that the true model belongs to a finite candidate set. Building on the hyperparameter-elimination framework of Ziomek et al. [2025], our algorithm maintains this set of candidates, discards those whose predictions become statistically inconsistent with the observed data, actively queries where the surviving candidates disagree, and recommends a design that is robust across the remaining candidates. Such candidate sets can be obtained for example from surrogates fitted on related tasks, hyperparameter posterior samples, or domain knowledge. Our contributions are as follows.

• We identify surrogate misspecification as a key challenge for CVaR Bayesian optimization because it can lead to inaccurate risk estimates and thus catastrophic decisions.

• We propose HE-CV-UCB, the first no-regret algorithm for CVaR Bayesian optimization with unknown kernel hyperparameters, which maintains a finite set of candidate models, actively eliminates those inconsistent with the observations, and recommends a design that is robust across the surviving candidates.

• We prove that HE-CV-UCB achieves cumulative regret O(∣Θ∣B+∣Θ∣ξTT+βT∣Θ∣TγT)\mathcal{O}(|\Theta|B + |\Theta|\sqrt{\xi_T T} + \beta_T |\Theta|\sqrt{T\gamma_T}), recovering the oracle rate of CV-UCB up to a multiplicative factor of ∣Θ∣|\Theta|.

• We demonstrate on synthetic benchmarks and three real-world applications that HE-CV-UCB achieves statistically significant improvements over competing methods while never being significantly outperformed.

References (28)