A Distribution Optimization Framework for Confidence Bounds of Risk Measures

Hao Liang, Zhi-Quan Luo

In standard machine learning, models are typically optimized for the expected value or average outcome. However, in high-stakes and safety-critical scenarios—such as a surgeon deciding on a treatment plan, an autonomous vehicle navigating a busy intersection, or a hedge fund manager protecting a portfolio—the average case is not enough. In these domains, we care deeply about the "tails" of the distribution: the rare but catastrophic outcomes.

To quantify these worst-case scenarios, practitioners rely on risk measures like Conditional Value at Risk (CVaR) or Entropic Risk Measure (ERM). The fundamental challenge, however, is that the true underlying distribution of data is never perfectly known; we only have access to finite empirical samples. To make safe, mathematically sound decisions, we must construct a confidence interval (CI)—a range where we are highly confident the true risk lies.

Definitions of common Risk Measures

Existing methods typically use "Global Lipschitz Constants" to build these intervals. Essentially, they assume the risk measure is as sensitive as it could possibly be across all imaginable distributions. This "one-size-fits-all" approach makes the resulting confidence bounds overly conservative and loose, which ultimately leads to inefficient and overly timid decision-making.

The Distribution Optimization Approach

To address this inefficiency, recent research introduces a novel "Distribution Optimization" framework. Instead of calculating a generic "safety margin" and simply adding it to an empirical estimate, this framework treats the search for a confidence bound as a constrained optimization problem.

  1. The Confidence Ball: The authors define a set of distributions that are "close" to the observed empirical distribution (the data actually collected). They measure this closeness using two distinct metrics: the Wasserstein distance (which evaluates the cost of moving probability mass) and the Supremum distance (which looks at the maximum vertical gap between cumulative distribution functions).
  2. Optimization: To find the Upper Confidence Bound (UCB), the framework asks a specific question: "What is the highest possible risk value any distribution within this 'closeness ball' could yield?"
  3. Closed-Form Solutions: Crucially, the authors prove that for most popular risk measures, this complex optimization yields a simple, "closed-form" solution. The "worst-case" distribution is essentially a specific, calculable transformation of the observed data.
Transformations of the empirical distribution under the Supremum distance

Instead of just adding a numerical margin to the final result, this framework actually "reshapes" the distribution. For example, under the Wasserstein distance, the UCB is found by taking some probability mass from the "good" outcomes and shifting it toward the "worst-case" boundary—akin to a water-filling process.

As a secondary contribution, the authors also introduce a new baseline that uses "local" sensitivity (Local Lipschitz Constants, or LLC), which measures how much the risk changes near the actual observed data rather than globally.

Key Insights and Results

The framework's efficacy stems from the realization that risk measures are inherently "monotonic"—if every outcome gets worse, the risk score must go up. Because of this, the worst-case distribution must lie on the absolute edge of the defined confidence ball.

Furthermore, unlike global bounds, these new bounds are sample-size adaptive. If the observed data is "well-behaved," the bounds shrink much faster than traditional methods would allow.

The framework was rigorously evaluated using synthetic datasets (various configurations of Beta distributions) and established Bandit benchmarks:

  • Tighter Bounds: In every experiment encompassing CVaR, ERM, and other measures, the proposed "Optimal" bounds were significantly tighter than both the traditional Global Lipschitz (GLC) and the new Local Lipschitz (LLC) methods.
  • Better Bandits: When applied to the "CVaR Bandit" problem—where an agent must explore and choose the least risky "arm" of a multi-armed bandit—the algorithm using these tighter bounds achieved much lower regret. It identified the safe choice faster because its safety buffers weren't unnecessarily inflated.
  • Theoretical Guarantees: The authors provided a new "problem-dependent" regret bound for CVaR bandits, mathematically proving that their method fills a critical gap in existing performance guarantees.

Limitations and Future Work

While highly effective, the primary framework currently assumes the data falls within a known, bounded range (e.g., between 0 and 1). While the authors mention potential extensions for "semi-unbounded" data like log-normal distributions, the mathematics become significantly more complex for truly heavy-tailed data.

Additionally, the paper focuses on a single random variable. In real-world applications, risk is often multivariate (e.g., managing a portfolio of multiple correlated stocks). Generalizing this distribution optimization approach to high-dimensional spaces remains an important next step. Finally, while the algorithms are efficient, the optimization approach carries a slightly higher computational overhead than simply adding a constant, which may be a factor in ultra-high-frequency decision environments.

Summary updated

BibTeX
@inproceedings{liang2023distribution,
  author = {Hao Liang and Zhi-Quan Luo},
  title = {{A Distribution Optimization Framework for Confidence Bounds of Risk Measures}},
  booktitle = {International Conference on Machine Learning},
  year = {2023},
  url = {https://openreview.net/forum?id=7zvVPRUri8},
}
Figure