Optimized Certainty Equivalent Risk-Controlling Prediction Sets

Jiayi Huang, Amirmohammad Farzaneh, Osvaldo SimeonearXiv 2026

TL;DR

This paper introduces Optimized Certainty Equivalent Risk-Controlling Prediction Sets (OCE-RCPS), a framework that provides rigorous, high-probability tail-risk guarantees (such as Conditional Value-at-Risk) for machine learning predictions. Unlike previous methods that only guarantee risk control on average across calibration datasets, OCE-RCPS ensures worst-case safety bounds hold reliably on any given trial, making it highly suitable for safety-critical fields like medical image segmentation.

What Problem Does This Paper Address?

In high-stakes applications like autonomous driving or medical diagnosis, point predictions from deep learning models are notoriously risky due to miscalibration. Conformal prediction addresses this by generating prediction sets (or regions) instead of single points, guaranteeing that the true answer lies within the set with a user-defined probability.

However, standard Risk-Controlling Prediction Sets (RCPS) only control the expected (average) loss. In medical imaging, a model that performs well on average but fails catastrophically on 5% of patients (e.g., completely missing a tumor boundary) is unacceptable.

To capture these worst-case tail behaviors, researchers recently turned to Optimized Certainty Equivalent (OCE) risk measures like Conditional Value-at-Risk (CVaR). While previous methods like OCE-CRC can control these tail risks, they only do so on average over all possible calibration datasets. If the specific calibration dataset you use happens to be an "unlucky" sample, the risk control fails. This paper tackles the challenge of providing a high-probability guarantee over the calibration data itself, ensuring the risk constraint is met on almost any random trial.

Methods

The authors propose OCE-RCPS, which combines OCE risk measures with advanced concentration inequalities to provide robust statistical guarantees.

  1. OCE Risk Modeling: Instead of standard expectation, the framework minimizes an OCE risk function, which can be tuned via a cost function to represent average risk, entropic risk, or CVaR.
  2. Waudby-Smith and Ramdas (WSR) UCB: To ensure the risk constraint holds with high probability ($1-\delta$), the method constructs an Upper Confidence Bound (UCB) on the risk using the state-of-the-art WSR concentration inequality.
  3. Data Splitting for Efficiency: The framework splits the available data into two subsets:
  4. An optimization dataset ($D^{opt}$) to learn an internal parameter ($t$) that optimizes the efficiency (minimizes the size) of the prediction sets.
  5. A calibration dataset ($D^{cal}$) to find the final threshold ($\hat{\lambda}$) that mathematically guarantees the UCB remains below the user's risk tolerance ($\alpha$).

Datasets

The method was evaluated on a medical image task focusing on tumor/polyp segmentation. The authors aggregated data from five open-source benchmarks:

  • Kvasir
  • Hyper-Kvasir
  • CVC-ClinicDB
  • CVC-ColonDB
  • ETIS-Larib

This yielded a combined dataset of 1,781 segmented polyp images. A pre-trained PraNet architecture was utilized as the base segmentation model.

Key Insights and Ideas

  • Average vs. High-Probability Safety: The core "aha" moment is realizing that "valid on average" is a weak guarantee for deployment. If a calibration method has a 65% satisfaction rate, it means 35% of the time, the deployed system will violate the safety threshold. OCE-RCPS shifts the guarantee to a user-controlled confidence level (e.g., 80% or 90% of trials).
  • The Price of Reliability: To guarantee safety in worst-case scenarios, the prediction sets must naturally grow. OCE-RCPS adaptively inflates the prediction set size to cover ambiguous regions when the calibration data indicates higher uncertainty.

Key Results

The authors compared OCE-RCPS against the baseline OCE-CRC across 1,000 independent trials with a target risk tolerance $\alpha = 0.2$ and a target satisfaction rate of $1-\delta = 0.8$.

  • CVaR Risk Control: For CVaR ($\beta = 0.9$), the baseline OCE-CRC achieved an average satisfaction rate of only 0.65, frequently violating the risk threshold. In contrast, OCE-RCPS achieved a 0.83 satisfaction rate, successfully clearing the 0.80 target.
  • Entropic Risk Control: For entropic risk ($\beta = 3$), OCE-CRC dropped to a 0.58 satisfaction rate, while OCE-RCPS achieved 0.93.
Fig. 1: Given an input x, e.g., an image, and a pre-trained model p(y|x), optimized certainty equivalent conformal risk control (OCE-CRC) [1] and the proposed OCE risk-controlling prediction sets (OCE-RCPS) find a hyperparameter configuration ˆλ, e.g., an inclusion threshold, such that the reliability constraint ROCE(ˆλ) ≤α is satisfied for any given OCE risk measure ROCE(·), e.g., the conditional value-at-risk (CVaR). OCE-CRC [1] ensures this condition only on average with respect to the calibration data used to optimize the hyperparameter λ. In contrast, OCE-RCPS ensures that the condition ROCE(ˆλ) ≤α holds with probability no smaller than a target level 1 −δ. The left panel of the figure shows representative results for the CVaR of the false negative rate (FNR) loss in a segmentation task [2], with white, red, and green pixels denoting correct predictions, false negatives, and false positives, respectively. The right panel of the figure compares the empirical distribution of the CVaR and of the relative prediction set size with targets α = 0.2 and 1 −δ = 0.8. While OCE-CRC yields hyperparameters ˆλ violating the requirement ROCE(ˆλ) ≤α with probability larger than the requirement δ = 0.2, the proposed OCE-RCPS meets the target satisfaction rate 1 −δ = 0.8.

As shown in the qualitative examples of Figure 1, OCE-RCPS achieves this reliability by slightly expanding the prediction set (reducing false negatives, shown in red) compared to the tighter but under-conservative boundaries of OCE-CRC.

Limitations and Future Work

  • Data Exchangeability: Like most conformal prediction methods, OCE-RCPS relies on the assumption that the calibration and test data are exchangeable (i.e., from the same distribution).
  • Future Directions: The authors note that a crucial next step is extending this framework to handle distribution shifts (where the deployment data differs from the calibration data) and testing its efficacy in other safety-critical domains like autonomous driving.

Summary updated

BibTeX
@misc{huang2026optimized,
  author = {Jiayi Huang and Amirmohammad Farzaneh and Osvaldo Simeone},
  title = {{Optimized Certainty Equivalent Risk-Controlling Prediction Sets}},
  year = {2026},
  eprint = {2602.13660},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2602.13660},
}
Figure