Conformal Risk Training: End-to-End Optimization of Conformal Risk Control
Christopher Yeh, Nicolas Christianson, Adam Wierman, Yisong Yue
TL;DR
This work extends conformal risk control (CRC) from controlling the expected loss to a broad class of optimized certainty equivalent (OCE) risks, enabling provable tail-risk guarantees such as CVaR. It introduces conformal risk training (CRT), an end-to-end framework that differentiates through the risk-control mechanism during model training, yielding models that perform better on average while satisfying risk constraints. The authors derive CORC and CVaR-specific results, provide gradient computation strategies for the inner optimization, and demonstrate substantial improvements over post-hoc risk control in tumor segmentation and battery storage applications. Overall, this approach offers a practical, risk-aware training paradigm for high-stakes ML tasks with concrete guarantees and improved downstream utility.
Abstract
While deep learning models often achieve high predictive accuracy, their predictions typically do not come with any provable guarantees on risk or reliability, which are critical for deployment in high-stakes applications. The framework of conformal risk control (CRC) provides a distribution-free, finite-sample method for controlling the expected value of any bounded monotone loss function and can be conveniently applied post-hoc to any pre-trained deep learning model. However, many real-world applications are sensitive to tail risks, as opposed to just expected loss. In this work, we develop a method for controlling the general class of Optimized Certainty-Equivalent (OCE) risks, a broad class of risk measures which includes as special cases the expected loss (generalizing the original CRC method) and common tail risks like the conditional value-at-risk (CVaR). Furthermore, standard post-hoc CRC can degrade average-case performance due to its lack of feedback to the model. To address this, we introduce "conformal risk training," an end-to-end approach that differentiates through conformal OCE risk control during model training or fine-tuning. Our method achieves provable risk guarantees while demonstrating significantly improved average-case performance over post-hoc approaches on applications to controlling classifiers' false negative rate and controlling financial risk in battery storage operation.
