A Model-Based Method for Minimizing CVaR and Beyond

Si Yi Meng, Robert M. Gower

Introduction

In many machine learning applications, minimizing the average loss—known as Expected Risk Minimization (ERM)—is the standard objective. However, in safety-critical domains such as finance, healthcare, and autonomous driving, average performance may be less important than performance in worst-case scenarios. Conditional Value-at-Risk (CVaR) has emerged as a vital metric for these contexts, as it quantifies "tail risk" by measuring the average of the top $1-\beta$ percent of losses.

Despite its utility, CVaR is notoriously difficult to optimize. Its objective function is non-smooth, and the standard optimization tool, the Stochastic Subgradient Method (SGM), often struggles. SGM is "blind" to the underlying structure of the CVaR objective and is highly sensitive to the choice of step size, frequently requiring extensive manual tuning to prevent divergence.

The SPL+ Algorithm

To address these challenges, this paper introduces SPL+, a stochastic prox-linear method tailored for CVaR minimization. SPL+ improves upon standard methods through two primary innovations: structural modeling and unit-balancing regularization.

1. Exploiting Objective Structure

Unlike SGM, which linearizes the entire objective function, SPL+ employs a "tighter" model. It linearizes only the internal components of the max{0, .} function within the CVaR definition. This approach creates a more accurate local approximation of the loss surface. By respecting the truncated nature of the objective, SPL+ becomes mathematically "aware" of the problem's shape, leading to better convergence constants.

2. Resolving the "Clash of Units"

A significant contribution of this work is the identification of a dimensional inconsistency in standard proximal methods. In CVaR optimization, the objective involves both model parameters ($\theta$) and a quantile parameter ($\alpha$). These variables often exist in different units; for example, if the loss is measured in currency, $\alpha$ is also in currency, while $\theta$ may be unitless.

Using a single regularization parameter (or step size) for both leads to a "clash of units." SPL+ introduces separate regularization parameters, $\lambda_\theta$ and $\lambda_\alpha$. The authors propose a default scaling strategy based on the initial loss ($\ell_0$) to balance these units. This allows a single hyperparameter $\lambda=1$ to perform effectively across a wide variety of problems, drastically reducing the need for hyperparameter searches.

3. Computational Efficiency

Despite using a more sophisticated local model, the authors derive a closed-form solution for the SPL+ update step. This ensures that the computational cost per iteration remains as low as that of SGM, making it suitable for large-scale applications.

Experimental Evaluation

The authors evaluated SPL+ against SGM across synthetic benchmarks and real-world datasets from the LIBSVM repository, including YearPredictionMSD, E2006-tfidf, mushrooms, and Covertype. Synthetic data utilized Normal, Gumbel, and LogNormal distributions to simulate varying levels of tail heaviness.

Hyperparameter Robustness

The most striking result is the "basin of stability" observed in sensitivity plots. While SGM typically only converges within a narrow range of step sizes (e.g., $10^{-2}$ to $10^{-1}$), SPL+ remains stable and performant across several orders of magnitude. This robustness makes SPL+ a much more reliable algorithm for practitioners.

Theoretical and Practical Convergence

Theoretically, SPL+ matches the $O(1/\sqrt{T})$ convergence rate of SGM. However, in practice, it consistently outperforms SGM due to superior constants in the rate. Furthermore, the paper proves that in the limit where one seeks to minimize the single worst-case loss ("max loss"), SPL+ naturally simplifies into a known class of efficient adaptive methods, such as the Polyak step-size method with slack.

Conclusion and Future Work

SPL+ represents a significant step forward in making tail-risk optimization practical and robust. By combining structural awareness with dimensional analysis, the method mitigates the hyperparameter sensitivity that has long plagued CVaR optimization.

Future research directions include:

  • Sampling Efficiency: Exploring importance sampling to bias the algorithm toward high-loss examples, potentially accelerating convergence.
  • Deep Learning: Extending the model-based prox-linear approach to non-convex objectives found in deep neural networks.
  • Regularization Trade-offs: Investigating the use of CVaR as a regularizer for standard ERM to balance average-case performance with safety constraints.

Summary updated

BibTeX
@inproceedings{meng2023model,
  author = {Si Yi Meng and Robert M. Gower},
  title = {{A Model-Based Method for Minimizing CVaR and Beyond}},
  booktitle = {International Conference on Machine Learning},
  year = {2023},
  url = {https://openreview.net/forum?id=dWEKxwes02},
}
Figure