Bayesian Optimization of CVaR with Unknown Hyperparameters
Authors: Valentin Margraf, Jonas Hanselle, Viktor Bengs, Serafima Lebedeva, Eyke Hüllermeier, Marcel Wever
Organizations: LMU Munich · Munich Center for Machine Learning (MCML) · German Research Center for Artificial Intelligence (DFKI) · RPTU Kaiserslautern-Landau · Leibniz University Hannover · L3S Research Center
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.
Figures & tables
Figure 1: Surrogate misspecification distorts CVaR estimation. Left: the objective f(x,w) , with a sharp ridge at w≈0.85 for x≲0.4 . Right: the true CVaRα[f(x,W)] over designs x (black). A well-specified surrogate ( ℓw=0.04 , blue) resolves the ridge and its CVaR band contains the truth, while the over-smoothed surrogate ( ℓw=3.0 , orange) is tail-blind and recommends a near-worst design ( x≈0.22 ).
Figure 2: Candidate pool of three GPs: the one generating the objective ( ℓw=0.20 , oracle) and two oversmoothers ( ℓw∈{2.0,8.0} ). Left: the GP sample f(x,w) . Middle: simple regret of the recommended design, averaged over 5 seeds. Right: HE-CV-UCB eliminates both oversmoothers after a median of 4 and 13 iterations, respectively.
Figure 3: CVaR regret on the synthetic spike function averaged over 10 seeds. The baselines select or average high-likelihood source GPs that are tail-blind, HE-CV-UCB removes the oversmoothers and reaches zero regret.
Figure 4: CVaR regret of the recommended design vs. budget on robot pushing (left) , the exothermic batch reactor (middle) , and SAT solver configuration (right) . HE-CV-UCB matches the best baselines on robot pushing and reaches substantially lower CVaR regret on the reactor and SAT. Mean ± 1 SEM over 10 seeds.
Figure 5: CVaR regret comparing to from-scratch single-task models (no transfer). Mean ± 1 SEM over 10 seeds.
Appendix figures & tables6 assets
Supplementary material from the paper’s appendix.
Appendix
Benchmark
dx
dW
∣Θ∣
ninit
budget
seeds
α
Spike (synthetic)
1
1
9
8
30
10
0.90
Robot push (goal-transfer)
3
2
8
10
60
10
0.70
SPEAR (cluster-transfer)
26
10
7
40
80
10
0.70
Reactor (scale-transfer)
3
3
9
16
40
10
0.98
Appendix
Table 1: Benchmark configurations. Budget is BO iterations after the initial design; total evaluations =ninit+budget . α is the confidence-level CVaR parameter (worst 1−α fraction).
Method
final W/T/L
AUC W/T/L
HE-CV-UCB
4/12/0
6/10/0
ρ KG apx
1/14/1
0/15/1
CV-TS
0/15/1
0/14/2
BMA-UCB
0/15/1
2/13/1
CV-UCB
0/14/2
0/12/4
Appendix
Table 2: Significant wins/ties/losses over every pair of methods that share the transferred candidate pool, pooled over the four benchmarks (spike, robot pushing, reactor and SPEAR. Each entry is a paired two-sided exact Wilcoxon signed-rank test over the shared seeds: a win denotes significantly lower regret ( p<0.05 ), a loss significantly higher, and a tie no significant difference.
Figure 6: Reactor under VaR0.98 : VaR regret vs. budget. The method ordering matches the CVaR result. Mean ± 1 SEM.
Figure 7: Fraction of candidate surrogates surviving over the BO run. On spike and the reactor, HE-CV-UCB prunes source surrogates; on robot push and SPEAR the pool remains essentially intact.
Figure 8: SPEAR across targets and pool budgets: t1 / t5 at snapshot budgets 120 and 300 (left to right). Mean ± 1 SEM.
Figure 9: CVaR regret vs. budget on robot push (left), reactor (middle), and SPEAR (right) under the three recommender rules (rows).
This paper studies theoretical guarantees of a one-step lookahead Bayesian optimization (BO) method. Although the empirical effectiveness of one-step lookahead BO methods, such as entropy search, has been studied extensively, they often rely on computationally intractable approximations, and their regret guarantees remain underdeveloped. Thus, this paper analyzes a one-step lookahead BO method, which we refer to as optimal-point variance reduction (OVR), that requires only posterior sampling and Monte Carlo approximations. We obtain a uniform Monte Carlo estimation error bound over an input domain in an acquisition function computation. Furthermore, we show that the regularized OVR, with a slight modification to facilitate exploration, achieves a vanishing Bayesian expected simple regret upper bound. Finally, we validate the performance of OVR and regularized OVR through numerical experiments.
Conditional Value-at-Risk (CVaR) is a widely used risk-sensitive objective for learning under rare but high-impact losses, yet its statistical behavior under heavy-tailed data remains poorly understood. Unlike expectation-based risk, CVaR depends on an endogenous, data-dependent quantile, which couples tail averaging with threshold estimation and fundamentally alters both generalization and robustness properties. In this work, we develop a learning-theoretic analysis of CVaR-based empirical risk minimization under heavy-tailed and contaminated data. We establish sharp, high-probability generalization and excess risk bounds under minimal moment assumptions, covering fixed hypotheses, finite and infinite classes, and extending to β-mixing dependent data; we further show that these rates are minimax optimal. To capture the intrinsic quantile sensitivity of CVaR, we derive a uniform Bahadur-Kiefer type expansion that isolates a threshold-driven error term absent in mean-risk ERM and essential in heavy-tailed regimes. We complement these results with robustness guarantees by proposing a truncated median-of-means CVaR estimator that achieves optimal rates under adversarial contamination. Finally, we show that CVaR decisions themselves can be intrinsically unstable under heavy tails, establishing a fundamental limitation on decision robustness even when the population optimum is well separated. Together, our results provide a principled characterization of when CVaR learning generalizes and is robust, and when instability is unavoidable due to tail scarcity.
Dept. of Mathematics, IISER, Pune. · Dept. of Computer Science and Automation, Indian Institute of Sciecne, Bangalore. · The Alan Turing Institute, Greater London, England, UK.
For finite-horizon tabular CVaR reinforcement learning, prior work proves a O(τ−1SAK) leading regret bound for arbitrary normalized return laws and the sharper O(SAK/τ) rate under a density lower bound. We show that the same Bernstein CVaR-UCBVI algorithm attains the sharper rate without continuity assumptions. The key is a selected-budget self-bound: the conditional variance of the episode shortfall is at most τ plus the value-estimation width. Substitution into the original Bernstein decomposition yields, with high probability, O(SAK/τ+(SAHK1/4+S2AH)/τ) regret for arbitrary normalized return laws, including atomic, mixed, and continuous laws. The τ−1/2 leading term matches the expected-regret minimax lower bound up to logarithmic factors. Thus Bernstein CVaR-UCBVI is minimax-optimal over the full return-law class in the leading-order regime; the lower-order terms retain their τ−1 dependence.