In this previous post, I introduced conditional value-at-risk (CVaR), a risk measure used in mathematical finance. -CVaR is the expected value of the loss conditional on the loss being greater than the -VaR. If is the random variable for the loss and is the -VaR (i.e. -quantile of ), then
Lemma from Rockafellar & Uryasev
It turns out that the CVaR can be thought of as the solution to a particular minimization problem. This formulation first appeared in Rockafellar & Uryasev (2000) (Reference 1), and I’ll present a simplified version here.
Denote the -CVaR of by , and assume that has a probability density function . (Reference 1 makes a similar assumption, but this assumption is more for mathematical simplicity rather than being a substantial blocker.) Let denote the ReLU function.
Lemma (Theorem 1 of Rockafellar & Uryasev (2000)). satisfies
While this lemma seems obscure, there have been applications. Reference 1 itself uses this formulation for minimizing CVaR, and see Reference 2 for a more modern application.
Where does this problem come from?
While interesting, the minimization problem seems to come out of nowhere. How does one even think to minimize such an expression as the one of the RHS?
I spent some time thinking about it and I think I have a plausible explanation. First, let’s rewrite the expression for CVaR:
This is exactly the RHS of the lemma, except that instead of minimizing over , we just plug in for .
This explains why we might think about the expression on the RHS, but why should -CVaR be the solution where we replace with , then minimize over ? The key to that mystery is that quantiles can be expressed as the solution of a minimization problem. In particular, if we define , then the -quantile of , , satisfies
(This previous post presents this idea but for the empirical distribution of a sample. Note that if we define , then is the pinball loss associated with quantile regression.) Let’s rewrite the expectation on the RHS more explicitly:
We recognize the expression inside the square brackets as the expression we are trying to minimize over to get the -CVaR! In summary,
Minimizing the expression in the lemma to get the -CVAR is equivalent to minimizing a linear transformation of the pinball loss to get the -quantile (or -VaR).
Credit: I learnt of CVaR and this lemma through a talk that Stefan Wager gave recently at a reading group. One of his students, Roshni Sahoo, used this lemma as the basis for a new method for learning from a biased sample (see Reference 2).
References:
- Rockafellar, R. T., and Uryasev, S. (2000). “Optimization of conditional value-at-risk.“
- Sahoo, R., et al. (2022). “Learning from a Biased Sample.“