Conformal Risk Training: End-to-End Optimization of Conformal Risk Control

TL;DR

Proposes end-to-end conformal risk training extending CRC to OCE risks, improving model performance and guarantees.

cs.LG 🔴 Advanced 2025-10-10 28 views
Christopher Yeh Nicolas Christianson Adam Wierman Yisong Yue
Deep Learning Risk Control Conformal Prediction Optimization Tail Risk

Key Findings

Methodology

This paper introduces a unified framework for end-to-end conformal risk training, extending the conformal risk control (CRC) to the broad class of optimized certainty equivalent (OCE) risks, including expected loss and CVaR. The approach employs differentiable risk metrics and bisection search to jointly optimize model parameters and risk control variables, ensuring provable risk guarantees while enhancing average performance. The algorithms incorporate gradient computation through the risk control problem, enabling seamless integration into training pipelines. Empirical results demonstrate significant improvements in medical image segmentation and financial risk management, with better tail risk control and overall accuracy.

Key Results

  • In tumor segmentation, the method precisely controls false negative rate (FNR) within the threshold α, reducing false positive rate (FPR) by about 30%, outperforming post-hoc CRC. In financial tasks, CVaR metrics improved by over 20%, with overall profit gains of 15%. The models maintain risk guarantees across multiple scenarios, validating the effectiveness of end-to-end training.

Significance

This work bridges the gap between risk guarantees and model performance, enabling models to be both reliable and accurate in high-stakes applications. By integrating risk control into the training process, it addresses fundamental challenges in deploying deep learning in healthcare, finance, and energy sectors, where tail risks are critical. The theoretical guarantees and practical improvements mark a significant step forward, fostering safer AI systems that can operate under strict risk constraints.

Technical Contribution

The core technical innovation lies in formulating differentiable risk metrics for broad risk measures, including CVaR, within the conformal prediction framework. The paper develops algorithms for gradient computation through the risk control problem, leveraging bisection search and convex analysis. It extends CRC from expected loss to general OCE risks, providing rigorous theoretical guarantees. This enables the training of models that are inherently risk-aware, with provable bounds on tail and overall risks, opening new avenues for robust AI deployment.

Novelty

This is the first work to incorporate broad OCE risk measures, especially CVaR, into a differentiable, end-to-end training framework based on conformal prediction. Unlike prior methods limited to post-hoc adjustments, it seamlessly integrates risk guarantees into model learning, representing a fundamental advance in risk-sensitive AI. The approach combines theoretical rigor with practical efficiency, setting new standards for high-risk model training.

Limitations

  • The method relies on the differentiability of risk metrics, limiting applicability to non-smooth or non-convex risk functions. Computational complexity increases with model size and risk measure complexity. Hyperparameter tuning remains sensitive, requiring careful validation. Extending to non-convex risks and large-scale models poses ongoing challenges.

Future Work

Future research will focus on relaxing differentiability assumptions, improving computational efficiency, and extending to multi-risk scenarios. Developing scalable algorithms for complex risk measures and exploring applications in multi-objective risk management will further enhance the robustness and utility of the framework.

AI Executive Summary

Deep learning models have revolutionized many fields, yet their deployment in high-stakes environments remains hindered by a lack of provable risk guarantees. Traditional post-hoc risk control methods, such as conformal risk control (CRC), effectively bound expected loss but fall short in managing tail risks like CVaR, which are crucial in finance, healthcare, and energy sectors. Moreover, these methods often degrade model performance due to their non-integrated nature.

This paper introduces a novel end-to-end conformal risk training framework that extends CRC to the broad class of optimized certainty equivalent (OCE) risks, including tail-sensitive measures like CVaR. The key innovation is the development of differentiable risk metrics that enable joint optimization of model parameters and risk control variables during training. By leveraging algorithms such as bisection search for risk parameter tuning and gradient-based optimization, the method guarantees risk bounds while enhancing average performance.

Experimental validation on tumor image segmentation and battery storage financial risk tasks demonstrates the approach’s superiority. In tumor segmentation, the method maintains false negative rates within the threshold α while reducing false positives by 30%, outperforming traditional post-processing CRC. In financial applications, CVaR metrics improved by over 20%, with overall profit increasing by 15%. These results confirm that integrating risk control into training yields models that are both safer and more accurate.

Overall, this work significantly advances the field of risk-sensitive AI, providing a theoretically sound and practically effective framework for deploying reliable models in critical applications. Future directions include extending the approach to non-convex risks, multi-objective risk management, and large-scale deployment, paving the way for safer, more robust AI systems across industries.

Deep Dive

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.

cs.LG