Risk-Averse Classification

Constantine Alexander Vitt, Darinka Dentcheva, Hui Xiong · DOI

Abstract

We develop a new approach to solving classification problems, which is based on the theory of coherent measures of risk and risk sharing ideas. The proposed approach aims at designing a risk-averse classifier. The new approach allows for associating distinct risk functionals to each class. The risk may be measured by different (non-linear in probability) measures. We analyze the structure of the new classifier design problem and establish its theoretical relation to known risk-neutral design problems. In particular, we show that the risk-sharing classification problem is equivalent to an implicitly defined optimization problem with unequal, implicitly defined but unknown, weights for each data point. We implement our methodology in a binary classification scenario on several different data sets and carry out numerical comparison with classifiers which are obtained using the Huber loss function and other loss functions known in the literature. We formulate specific risk-averse support vector machines in order to demonstrate the viability of our method.

Introduction

Standard machine learning classifiers, such as the classic Support Vector Machine (SVM), are typically "risk-neutral." They aim to minimize the expected (average) loss across a dataset. However, in many real-world applications, misclassifications carry vastly different costs. For instance, in medical diagnosis or disaster prediction, a false negative is significantly more consequential than a false positive. Furthermore, real-world data often exhibits "heavy tails"—rare but extreme outliers that can disproportionately influence a standard model. This paper introduces a framework for risk-averse classification that leverages coherent measures of risk from financial mathematics to provide a more robust and flexible alternative to traditional methods.

Methodology: Risk-Sharing and Coherent Measures

The core of the proposed approach is the Risk-Sharing Classification Problem (RSCP). Instead of a single global loss function, the framework treats each class as a distinct entity with its own "risk attitude." This is achieved through the use of coherent measures of risk, which possess mathematical properties like convexity and monotonicity that are ideal for quantifying uncertainty.

A primary tool employed is the Average Value-at-Risk (AVaR). Unlike standard expectation, which averages all errors, AVaR focuses on the "tail" of the error distribution—for example, the worst 10% of misclassifications. By minimizing the risk in these tails, the resulting classifier becomes more robust to outliers.

Geometric representation of the risk-averse classification boundary separating classes $K_1$ and $K_2$, highlighting the distances used to calculate risk for misclassified points.

The authors reformulate the standard SVM optimization problem into a Risk-Averse SVM (RSSVM). Geometrically, this involves finding a decision boundary $\varphi(\cdot; \pi)$ that minimizes the risk associated with the distances of points from their correct regions, as illustrated in the figure above.

Theoretical Insights

A significant theoretical contribution of this work is the proof that the risk-sharing classification problem is mathematically equivalent to a standard optimization problem with implicit weighting. The chosen risk measure automatically determines weights for each data point: "easy" points are down-weighted, while "risky" points (those near the boundary or misclassified) are up-weighted.

Furthermore, because the problem is framed as a multi-objective optimization (balancing risk between classes), it produces a Pareto frontier of optimal classifiers. This allows practitioners to select a model that perfectly balances trade-offs like Precision and Recall based on specific application needs.

Experimental Evaluation

The methodology was tested on three datasets from the UCI Machine Learning Repository:

  • WDBC (Breast Cancer): The risk-averse "risk_cvar" model achieved an $F_1$-score of 0.953, compared to 0.916 for the risk-neutral benchmark.
  • Pima Indians Diabetes: Used to evaluate performance on standard binary classification.
  • Seismic-bumps: A highly imbalanced dataset where the target class represents only 6.6% of the data. The risk-averse formulation prioritized these rare, high-risk events, leading to superior $F_1$ and AUC scores.

Numerical analysis confirmed that risk-averse models successfully "trimmed the tails" of the error distribution, reducing the Total Risk (measured by AVaR) by nearly 50% compared to standard formulations.

Conclusion

This research demonstrates that incorporating risk-averse principles into classification leads to more robust models, especially in the presence of class imbalance or high-cost errors. While the current work focuses on affine classifiers and requires tuning of the scalarization factor $\lambda$, it opens new avenues for applying risk theory to complex machine learning models like deep neural networks.

Summary updated

BibTeX
@article{vitt2025risk,
  author = {Constantine Alexander Vitt and Darinka Dentcheva and Hui Xiong},
  title = {{Risk-Averse Classification}},
  journal = {Ann. Oper. Res.},
  year = {2025},
  doi = {10.1007/s10479-019-03344-6},
}
Figure