Bayesian Optimization of Risk Measures

Sait Cakmak, Raul Astudillo, Peter I. Frazier, Enlu Zhou

TL;DR

This paper introduces a novel Bayesian Optimization (BO) framework for optimizing risk measures (like Value-at-Risk, VaR, and Conditional Value-at-Risk, CVaR) when the underlying system is an expensive black-box simulation. By modeling the underlying function directly rather than the risk measure itself, and intelligently selecting both the decision and the environmental conditions to test, the authors achieve superior sampling efficiency—often finding optimal solutions with less than half the evaluations required by standard methods.

The Challenge: Optimizing for Risk

In many high-stakes fields—like finance, healthcare, or disaster management—optimizing for "average" performance isn't enough. Decision-makers must be risk-averse. For example, a bank doesn't just care about average returns; it cares about the potential loss in a worst-case scenario, often quantified by VaR or CVaR.

The challenge is that estimating these risk measures usually requires many samples. If a single simulation of a system (like a portfolio or a disease spread model) takes an hour, and you need 100 samples to estimate the VaR for just one specific decision, the process becomes prohibitively slow.

Traditional Bayesian Optimization typically models the objective function directly. If you try to apply standard BO to risk measures, you hit a wall: a single "observation" of the risk measure is itself an expensive estimate. This paper tackles the inefficiency of optimizing $\rho[F(x, W)]$, where $F$ is an expensive black box, $x$ is your decision, $W$ is environmental randomness, and $\rho$ is a risk measure.

A New Paradigm: Modeling the Latent Function

The authors propose a paradigm shift in how we apply BO to risk by focusing on the latent function and joint selection:

  1. Statistical Modeling of the Latent Function: Instead of placing a Gaussian Process (GP) prior on the risk measure $\rho$, they place it on the underlying function $F(x, w)$. This allows the model to learn the relationship between decisions ($x$) and environmental variables ($w$) at a granular level.
  2. Joint Selection of $(x, w)$: Unlike previous methods that only choose the decision $x$ and let $w$ be sampled randomly, this approach allows the algorithm to pick specific pairs of $(x, w)$ to evaluate. This is crucial: to understand tail risks like VaR, evaluations should focus on the values of $w$ that lead to extreme outcomes.
  3. $\rho$KG (Risk-Averse Knowledge Gradient): They derive a new acquisition function based on the Knowledge Gradient. It calculates the expected improvement in the "minimum risk" achieved by making one more observation.
  4. $\rho$KGapx: Since $\rho$KG involves a nested, non-convex optimization problem that is computationally heavy, they introduce a faster approximation that restricts the search space for the inner optimization to previously evaluated points.
Illustration of the GP posterior, implied CVaR, and acquisition functions

To further speed up the search, they propose a two-time scale optimization trick where the inner optimization problem is solved fully only every $T$ iterations, using previous solutions as "warm starts" in between.

Key Insights and Results

The authors evaluated their approach on several benchmarks, including synthetic functions, a portfolio optimization simulator (CVXPortfolio), and a COVID-19 testing allocation model.

  • Information Efficiency: Modeling the underlying $F(x, w)$ is much more informative than modeling the aggregate $\rho$. It allows the algorithm to "understand" why a certain decision is risky by seeing which environmental conditions cause it to fail.
  • The Power of Choosing $w$: The realization that we don't need to sample the environment randomly is powerful. If the function is monotone in $w$, we might only need to evaluate a single, specific $w$ to determine the VaR. The algorithm learns to find these critical regions.
  • Sampling Efficiency: In all experiments, $\rho$KG and $\rho$KGapx matched or outperformed all benchmarks (including Expected Improvement and Max Value Entropy Search) while using less than 50% of the function evaluations.
  • Robustness: The methods performed well across different risk measures (both VaR and CVaR) and different types of environmental distributions.

Interestingly, even a baseline version of their model (picking $(x, w)$ randomly but using the GP on $F$) outperformed standard BO benchmarks. This proves that the statistical model itself is a massive part of the performance gain.

Limitations and Future Work

  • Control over $W$: The method assumes the user has a "simulation oracle"—meaning they can choose the environmental variable $w$ for their tests. In physical experiments where nature chooses $w$, this method would need adaptation.
  • Computational Overhead: While the sampling efficiency is high, the acquisition functions ($\rho$KG) are still computationally expensive to calculate compared to simpler metrics like Expected Improvement.
  • Scaling to High Dimensions: While tested up to 7 dimensions, the performance of the GP on $F(x, w)$ might struggle as the combined dimensionality of $x$ and $w$ grows very large.

Summary updated

BibTeX
@inproceedings{cakmak2020bayesian,
  author = {Sait Cakmak and Raul Astudillo and Peter I. Frazier and Enlu Zhou},
  title = {{Bayesian Optimization of Risk Measures}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2020},
  url = {https://openreview.net/forum?id=c-ePckK3FHVA},
}
Figure